Plugin Directory

Changeset 1338499


Ignore:
Timestamp:
01/28/2016 11:05:15 PM (10 years ago)
Author:
zubaka
Message:

Fix special characters in the link

Location:
zbplayer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zbplayer/trunk/readme.txt

    r1269785 r1338499  
    44Tags: mp3, flash player, audio, easy control, noJS, small mp3 player, embed, media player, music player, mp3 player, cyrillic mp3 player, facebook share, share mp3, m4a, m4b, mp4, m4a player, m4b player, mp4 player, wav, wav player
    55Requires at least: 3.5
    6 Tested up to: 4.3.1
    7 Stable tag: 2.1.12
     6Tested up to: 4.4.1
     7Stable tag: 2.1.13
    88License: Dual Licensed under the MIT and GPLv2 or later
    99
     
    5151
    5252== Changelog ==
     53
     54= 2.1.13 =
     55*    Fixed special characters in the link
     56*    Admin design minor fixes
    5357
    5458= 2.1.12 =
  • zbplayer/trunk/zbPlayer.admin.php

    r1269785 r1338499  
    22/**
    33 *  zbPlayer Wordpress Plugin
    4  *  (c) 2013-2015 Vladimir Gilevich
     4 *  (c) 2013-2016 Vladimir Gilevich
    55 *  Dual Licensed under the MIT and GPL licenses
    66 *  See license.txt, included with this package for more
    77 *
    88 *  zbPlayer.admin.php
    9  *  Release 2.1.12 October 2015
     9 *  Release 2.1.13 January 2016
    1010 */
    1111
  • zbplayer/trunk/zbPlayer.php

    r1269801 r1338499  
    44Plugin URI: http://gilevich.com/portfolio/zbplayer
    55Description: Converts mp3 files links to a small flash player and a link to download file mp3 file. Also you can share your mp3 files with that plugin.
    6 Version: 2.1.12
     6Version: 2.1.13
    77Author: Vladimir Gilevich
    88Author URI: http://gilevich.com/
     
    1010*/
    1111
    12 define('ZBPLAYER_VERSION', "2.1.12");
     12define('ZBPLAYER_VERSION', "2.1.13");
    1313define('ZBPLAYER_DEFAULT_WIDTH', "500");
    1414define('ZBPLAYER_DEFAULT_INITIALVOLUME', "60");
     
    172172    $link = preg_split("/[\|]/", $matches[1]);
    173173    $link = $link[0];
     174
     175    // Fix links special characters
     176    $link = str_replace('&', '&', $link);
     177
    174178    $name = str_replace('_', ' ', strip_tags($matches[0]));
     179
     180    // Fix titles special characters
    175181    $titles = str_replace(
    176182        array('–', '—', '’', '‘', '&', '&'),
Note: See TracChangeset for help on using the changeset viewer.