PowerPress Podcasting plugin by Blubrry - Version 9.7.1

Version Description

  • Released on 11/02/2022
  • Bugfix where posts with Blubrry programmatic ads would switch back to no ads when updated
Download this release

Release Info

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

Code changes from version 9.7 to 9.7.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: 9.7
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
@@ -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', '9.7' );
39
 
40
  // Translation support:
41
  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: 9.7.1
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
35
  }
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
+ define('POWERPRESS_VERSION', '9.7.1' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-metabox.php CHANGED
@@ -151,6 +151,9 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
151
  <input type="hidden" id="powerpress_program_keyword_<?php echo $FeedSlug; ?>"
152
  name="Powerpress[<?php echo $FeedSlug; ?>][program_keyword]"
153
  value="<?php echo !empty($ExtraData['program_keyword']) ? $ExtraData['program_keyword'] : ''; ?>"/>
 
 
 
154
 
155
  </div>
156
  <div id="media-file-details-<?php echo $FeedSlug; ?>" style="<?php echo $style3; ?>">
151
  <input type="hidden" id="powerpress_program_keyword_<?php echo $FeedSlug; ?>"
152
  name="Powerpress[<?php echo $FeedSlug; ?>][program_keyword]"
153
  value="<?php echo !empty($ExtraData['program_keyword']) ? $ExtraData['program_keyword'] : ''; ?>"/>
154
+ <input type="hidden" id="powerpress_ep_id_<?php echo $FeedSlug; ?>"
155
+ name="Powerpress[<?php echo $FeedSlug; ?>][podcast_id]"
156
+ value="<?php echo !empty($ExtraData['podcast_id']) ? $ExtraData['podcast_id'] : ''; ?>" />
157
 
158
  </div>
159
  <div id="media-file-details-<?php echo $FeedSlug; ?>" style="<?php echo $style3; ?>">
powerpressadmin.php CHANGED
@@ -2416,6 +2416,10 @@ function powerpress_edit_post($post_ID, $post)
2416
  $ToSerialize['no_player'] = 1;
2417
  $ToSerialize['no_links'] = 1;
2418
  }
 
 
 
 
2419
 
2420
  // WebM Support:
2421
  if( !empty($Powerpress['webm_src']) )
@@ -3310,7 +3314,9 @@ function powerpress_media_info_ajax()
3310
  $media_url = rtrim($GeneralSettings['default_url'], '/') .'/'. $media_url;
3311
  }
3312
  // for media creek urls, just verify the content.blubrry.com version
 
3313
  if (strpos($media_url, 'mc.blubrry.com') !== false) {
 
3314
  //remove query string
3315
  $media_url_array = explode('?', $media_url);
3316
  $media_url = $media_url_array[0];
@@ -3357,7 +3363,7 @@ function powerpress_media_info_ajax()
3357
  echo "$feed_slug\n"; // swap positions
3358
  echo "{$MediaInfo['length']}\n";
3359
  echo powerpress_readable_duration($MediaInfo['duration'], true) . "\n";
3360
- echo "{$MediaInfo['enclosure_url']}\n";
3361
  if (isset($MediaInfo['warnings']))
3362
  echo $MediaInfo['warnings'];
3363
 
2416
  $ToSerialize['no_player'] = 1;
2417
  $ToSerialize['no_links'] = 1;
2418
  }
2419
+
2420
+ if (isset($Powerpress['podcast_id'])) {
2421
+ $ToSerialize['podcast_id'] = $Powerpress['podcast_id'];
2422
+ }
2423
 
2424
  // WebM Support:
2425
  if( !empty($Powerpress['webm_src']) )
3314
  $media_url = rtrim($GeneralSettings['default_url'], '/') .'/'. $media_url;
3315
  }
3316
  // for media creek urls, just verify the content.blubrry.com version
3317
+ $orig_url = false;
3318
  if (strpos($media_url, 'mc.blubrry.com') !== false) {
3319
+ $orig_url = $media_url;
3320
  //remove query string
3321
  $media_url_array = explode('?', $media_url);
3322
  $media_url = $media_url_array[0];
3363
  echo "$feed_slug\n"; // swap positions
3364
  echo "{$MediaInfo['length']}\n";
3365
  echo powerpress_readable_duration($MediaInfo['duration'], true) . "\n";
3366
+ echo $orig_url ? $orig_url : "{$MediaInfo['enclosure_url']}\n";
3367
  if (isset($MediaInfo['warnings']))
3368
  echo $MediaInfo['warnings'];
3369
 
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: 6.0
7
- Stable tag: 9.7
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -185,6 +185,10 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
185
 
186
 
187
  == Changelog ==
 
 
 
 
188
  = 9.7 =
189
  * Released on 10/31/2022
190
  * New subscribe page design
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 6.0
7
+ Stable tag: 9.7.1
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
185
 
186
 
187
  == Changelog ==
188
+ = 9.7.1 =
189
+ * Released on 11/02/2022
190
+ * Bugfix where posts with Blubrry programmatic ads would switch back to no ads when updated
191
+
192
  = 9.7 =
193
  * Released on 10/31/2022
194
  * New subscribe page design