PowerPress Podcasting plugin by Blubrry - Version 8.7.13

Version Description

  • Released on 03/21/2022
  • Fixed media publishing bug
Download this release

Release Info

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

Code changes from version 8.7.12 to 8.7.13

Files changed (3) hide show
  1. powerpress.php +2 -2
  2. powerpressadmin.php +10 -5
  3. readme.txt +5 -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="https://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: 8.7.12
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
- define('POWERPRESS_VERSION', '8.7.12' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://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: 8.7.13
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
+ define('POWERPRESS_VERSION', '8.7.13' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin.php CHANGED
@@ -3733,11 +3733,16 @@ function powerpress_process_hosting($post_ID, $post_title)
3733
  }
3734
  else
3735
  {
3736
- $results = powerpress_get_media_info($EnclosureURL, $program_keyword);
3737
- // if error, try inputting just the file name in case it's unpublished
3738
- if ( strpos($EnclosureURL, 'content.blubrry.com') && (isset($results['error']) || !is_array($results)) ) {
3739
- $EnclosureUrLArray = explode('/', $EnclosureURL);
3740
- $EnclosureURL = end($EnclosureUrLArray);
 
 
 
 
 
3741
  $results = powerpress_get_media_info($EnclosureURL, $program_keyword);
3742
  }
3743
  }
3733
  }
3734
  else
3735
  {
3736
+ // order of logic below is reversed due to changes in powerpress_get_media_info to properly verify media in drafts
3737
+ // first, try as if the file is unpublished
3738
+ $EnclosureFullURL = $EnclosureURL;
3739
+ $EnclosureUrLArray = explode('/', $EnclosureURL);
3740
+ $EnclosureURL = end($EnclosureUrLArray);
3741
+ $results = powerpress_get_media_info($EnclosureURL, $program_keyword);
3742
+
3743
+ // if error, try the full URL
3744
+ if ( (isset($results['error']) || !is_array($results)) ) {
3745
+ $EnclosureURL = $EnclosureFullURL;
3746
  $results = powerpress_get_media_info($EnclosureURL, $program_keyword);
3747
  }
3748
  }
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.9
7
- Stable tag: 8.7.12
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -186,6 +186,10 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
186
 
187
  == Changelog ==
188
 
 
 
 
 
189
  = 8.7.12 =
190
  * Released on 03/18/2022
191
  * Fixed verify media bug
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.9
7
+ Stable tag: 8.7.13
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
186
 
187
  == Changelog ==
188
 
189
+ = 8.7.13 =
190
+ * Released on 03/21/2022
191
+ * Fixed media publishing bug
192
+
193
  = 8.7.12 =
194
  * Released on 03/18/2022
195
  * Fixed verify media bug