Plugin Directory

Changeset 2390561


Ignore:
Timestamp:
09/29/2020 09:05:06 PM (6 years ago)
Author:
zubaka
Message:

Version 2.4.1 added

Location:
zbplayer
Files:
28 added
3 edited

Legend:

Unmodified
Added
Removed
  • zbplayer/trunk/readme.txt

    r2284467 r2390561  
    4848== Changelog ==
    4949
     50= 2.4.1 =
     51*    Tested on WP version 5.5
     52*    Fixed deprecated syntax for PHP 7.4
     53
    5054= 2.4.0 =
    5155*    Tested on WP version 5.4
    5256*    Removed broken Facebook share functionality
    53 
    5457
    5558= 2.3.1 =
  • zbplayer/trunk/zbPlayer.admin.php

    r2284467 r2390561  
    77 *
    88 *  zbPlayer.admin.php
    9  *  Release 2.3.1 September 2017
     9 *  Release 2.4.1 September 2020
    1010 */
    1111
  • zbplayer/trunk/zbPlayer.php

    r2284467 r2390561  
    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.
    6 Version: 2.4.0
     6Version: 2.4.1
    77Author: Vladimir Gilevich
    88Author URI: http://gilevich.com/
     
    254254 *
    255255 * @param string $string String to encode
    256  * @return the encoded string
     256 * @return string encoded string
    257257 */
    258258function zbp_encode_source($string)
     
    261261        return zbp_urlencode($string);
    262262    }
    263     $source = utf8_decode($string);
    264263    $ntexto = "";
    265264    $codekey = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";
    266265    for ($i = 0; $i < strlen($string); $i++) {
    267                 $ntexto .= substr("0000".base_convert(ord($string{$i}), 10, 2), -8);
     266                $ntexto .= substr("0000".base_convert(ord($string[$i]), 10, 2), -8);
    268267    }
    269268    $ntexto .= substr("00000", 0, 6-strlen($ntexto)%6);
    270269    $string = "";
    271270    for ($i = 0; $i < strlen($ntexto)-1; $i = $i + 6) {
    272                 $string .= $codekey{intval(substr($ntexto, $i, 6), 2)};
     271                $string .= $codekey[intval(substr($ntexto, $i, 6), 2)];
    273272    }
    274273
     
    280279 *
    281280 * @param string $link
    282  * @return stting
     281 * @return string
    283282 */
    284283function zbp_urlencode($link)
Note: See TracChangeset for help on using the changeset viewer.