PowerPress Podcasting plugin by Blubrry - Version 7.4.2

Version Description

  • Released on 4/26/2019
  • Fixed T_FUNCTION bug for PHP 5.2 (not an issue if you have PHP 5.3 or newer)
Download this release

Release Info

Developer amandato
Plugin Icon 128x128 PowerPress Podcasting plugin by Blubrry
Version 7.4.2
Comparing to
See all releases

Code changes from version 7.4.1 to 7.4.2

Files changed (2) hide show
  1. powerpress.php +13 -10
  2. readme.txt +6 -1
powerpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 7.4.1
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.6
@@ -20,7 +20,7 @@ Credits:
20
  getID3(), License: GPL 2.0+ by James Heinrich <info [at] getid3.org> http://www.getid3.org
21
  Note: getid3.php analyze() function modified to prevent redundant filesize() function call.
22
 
23
- Copyright 2008-2017 Blubrry (http://www.blubrry.com)
24
 
25
  License: GPL (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)
26
 
@@ -35,7 +35,7 @@ if( !function_exists('add_action') ) {
35
  }
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
- define('POWERPRESS_VERSION', '7.4.1' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
@@ -3064,29 +3064,32 @@ function powerpress_raw_duration($duration)
3064
  }
3065
 
3066
  // For grabbing data from Podpress data stored serialized, the strings for some values can sometimes get corrupted, so we fix it...
 
3067
  function powerpress_repair_serialize($string)
3068
  {
3069
  if( @unserialize($string) )
3070
  return $string; // Nothing to repair...
3071
 
3072
  $string = preg_replace_callback('/(s:(\d+):"([^"]*)")/',
3073
- function ($matches) {
3074
- if( strlen($matches[3]) == $matches[2] ) return $matches[0]; return sprintf('s:%d:"%s"', strlen($matches[3]), $matches[3]);
3075
- },
3076
  $string);
3077
 
3078
  if( substr($string, 0, 2) == 's:' ) // Sometimes the serialized data is double serialized, so we need to re-serialize the outside string
3079
  {
3080
- $string = preg_replace_callback('/(s:(\d+):"(.*)";)$/',
3081
- function ($matches) {
3082
- if( strlen($matches[3]) == $matches[2] ) return $matches[0]; return sprintf('s:%d:"%s";', strlen($matches[3]), $matches[3]);
3083
- },
3084
  $string);
3085
  }
3086
 
3087
  return $string;
3088
  }
3089
 
 
 
 
 
 
 
3090
 
3091
  function powerpress_base64_encode($value)
3092
  {
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 7.4.2
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.6
20
  getID3(), License: GPL 2.0+ by James Heinrich <info [at] getid3.org> http://www.getid3.org
21
  Note: getid3.php analyze() function modified to prevent redundant filesize() function call.
22
 
23
+ Copyright 2008-2019 Blubrry (http://www.blubrry.com)
24
 
25
  License: GPL (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)
26
 
35
  }
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
+ define('POWERPRESS_VERSION', '7.4.2' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
3064
  }
3065
 
3066
  // For grabbing data from Podpress data stored serialized, the strings for some values can sometimes get corrupted, so we fix it...
3067
+
3068
  function powerpress_repair_serialize($string)
3069
  {
3070
  if( @unserialize($string) )
3071
  return $string; // Nothing to repair...
3072
 
3073
  $string = preg_replace_callback('/(s:(\d+):"([^"]*)")/',
3074
+ 'powerpress_repair_serialize_callback',
 
 
3075
  $string);
3076
 
3077
  if( substr($string, 0, 2) == 's:' ) // Sometimes the serialized data is double serialized, so we need to re-serialize the outside string
3078
  {
3079
+ $string = preg_replace_callback('/(s:(\d+):"(.*)"(;))$/',
3080
+ 'powerpress_repair_serialize_callback',
 
 
3081
  $string);
3082
  }
3083
 
3084
  return $string;
3085
  }
3086
 
3087
+ function powerpress_repair_serialize_callback($matches)
3088
+ {
3089
+ if( strlen($matches[3]) == $matches[2] )
3090
+ return $matches[0];
3091
+ return sprintf('s:%d:"%s"', strlen($matches[3]), $matches[3]) . (!empty($matches[4])?';':'');
3092
+ }
3093
 
3094
  function powerpress_base64_encode($value)
3095
  {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.1.1
7
- Stable tag: 7.4.1
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -235,6 +235,11 @@ To install Blubrry PowerPress manually, follow these steps:
235
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
236
 
237
 
 
 
 
 
 
238
  = 7.4.1 =
239
  * Released on 4/10/2019
240
  * Added logic to authentication email addresses differently for premium password protected podcasts.
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.1.1
7
+ Stable tag: 7.4.2
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
235
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
236
 
237
 
238
+ = 7.4.2 =
239
+ * Released on 4/26/2019
240
+ * Fixed `T_FUNCTION` bug for PHP 5.2 (not an issue if you have PHP 5.3 or newer)
241
+
242
+
243
  = 7.4.1 =
244
  * Released on 4/10/2019
245
  * Added logic to authentication email addresses differently for premium password protected podcasts.