Plugin Directory

Changeset 1252913


Ignore:
Timestamp:
09/24/2015 07:32:55 PM (11 years ago)
Author:
zubaka
Message:

Fix for symbols like "%26%238211%3B" + Tested up to 4.3.1

Location:
zbplayer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zbplayer/trunk/readme.txt

    r1185089 r1252913  
    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.2.2
    7 Stable tag: 2.1.10
     6Tested up to: 4.3.1
     7Stable tag: 2.1.11
    88License: Dual Licensed under the MIT and GPLv2 or later
    99
     
    5151
    5252== Changelog ==
     53
     54= 2.1.11 =
     55*    Tested up to Wordpress version 4.3.1
     56*    Fixed problem with display symbols like "’"
    5357
    5458= 2.1.10 =
  • zbplayer/trunk/zbPlayer.admin.php

    r1184887 r1252913  
    11<?php
    22/**
    3  *  zbPlayer Wordpress Plugin
    4  *  (c) 2013-2015 Vladimir Gilevich
    5  *  Dual Licensed under the MIT and GPL licenses
     3 *  zbPlayer Wordpress Plugin
     4 *  (c) 2013-2015 Vladimir Gilevich
     5 *  Dual Licensed under the MIT and GPL licenses
    66 *  See license.txt, included with this package for more
    77 *
    8  *  zbPlayer.admin.php
    9  *  Release 2.1.10 June 2015
     8 *  zbPlayer.admin.php
     9 *  Release 2.1.11 September 2015
    1010 */
    1111
  • zbplayer/trunk/zbPlayer.php

    r1185087 r1252913  
    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.10
     6Version: 2.1.11
    77Author: Vladimir Gilevich
    88Author URI: http://gilevich.com/
     
    1010*/
    1111
    12 define('ZBPLAYER_VERSION', "2.1.10");
     12define('ZBPLAYER_VERSION', "2.1.11");
    1313define('ZBPLAYER_DEFAULT_WIDTH', "500");
    1414define('ZBPLAYER_DEFAULT_INITIALVOLUME', "60");
     
    173173    $link = $link[0];
    174174    $name = str_replace('_', ' ', strip_tags($matches[0]));
    175     $titles = str_replace('&#8211;', '-', $name);
    176     $titles = str_replace('&#8212;', '-', $name);
    177     $titles = str_replace('&#038;', '&', $titles);
    178     $titles = str_replace('&amp;', '&', $titles);
     175    $titles = str_replace(
     176        array('&#8211;', '&#8212;', '&#8217;', '&#8216;', '&#038;', '&amp;'),
     177        array('-', '-', "'", "'", '&', '&'),
     178        $name
     179    );
     180    $titles = str_replace(
     181        array('%26%238211%3B', '%26%238212%3B', '%26%238217%3B', '%26%238216%3B', '%26%23038%3B'),
     182        array('-', '-', "'", "'", '&'),
     183        $titles
     184    );
    179185    if (get_option('zbp_download') == 'true') {
    180186        $linkInfo = zbp_mb_pathinfo($link);
Note: See TracChangeset for help on using the changeset viewer.