PowerPress Podcasting plugin by Blubrry - Version 8.2.8

Version Description

  • Released 3/30/2020
  • Tested with new WordPress 5.4 beta
  • Subscribe on Email is now toggled by the checkbox in the Settings tab
  • Fixed a bug where Apple category tags with no subcategory were not generated correctly
Download this release

Release Info

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

Code changes from version 8.2.7 to 8.2.8

powerpress-subscribe.php CHANGED
@@ -705,21 +705,21 @@ function powerpress_do_subscribe_widget($settings, $PowerPressSettings)
705
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
706
  }
707
 
708
- if( !empty($settings['subscribe_feature_iheart']) ) {
709
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
710
  }
711
 
712
- if( !empty($settings['subscribe_feature_pandora']) ) {
713
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
714
  }
715
 
716
- if( !empty($settings['subscribe_feature_deezer']) ) {
717
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
718
  }
719
 
720
  //TODO Radio.com goes here
721
 
722
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
723
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
724
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
725
  }
705
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
706
  }
707
 
708
+ if( !empty($settings['iheart_url']) ) {
709
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
710
  }
711
 
712
+ if( !empty($settings['pandora_url']) ) {
713
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
714
  }
715
 
716
+ if( !empty($settings['deezer_url']) ) {
717
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
718
  }
719
 
720
  //TODO Radio.com goes here
721
 
722
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches )) {
723
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
724
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
725
  }
powerpress.php CHANGED
@@ -3,11 +3,11 @@
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.2.7
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
10
- Tested up to: 5.3.2
11
  Text Domain: powerpress
12
  Change Log:
13
  Please see readme.txt for detailed change log.
@@ -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.2.7' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
@@ -786,16 +786,19 @@ function powerpress_rss2_head()
786
  {
787
  $CatDesc = $Categories[$Cat1.'-00'];
788
  $SubCatDesc = $Categories[$Cat1.'-'.$SubCat1];
789
- echo "\t".'<itunes:category text="'. esc_html($CatDesc) .'">'.PHP_EOL;
790
- if( $SubCat1 != '00' )
791
- echo "\t\t".'<itunes:category text="'. esc_html($SubCatDesc) .'"></itunes:category>'.PHP_EOL;
 
 
 
 
 
792
 
793
- // End this category set
794
- echo "\t".'</itunes:category>'.PHP_EOL;
795
 
796
  //Get the googleplay category and put it in the feed
797
  $gplay_category = $googleplay_categories[$googleplay_category_mapping[$Cat1.'-00']];
798
- echo "\t",'<googleplay:category text="'. esc_html($gplay_category). '"/>'.PHP_EOL;
799
  }
800
 
801
  if( $Cat2 )
@@ -803,10 +806,14 @@ function powerpress_rss2_head()
803
  $CatDesc = $Categories[$Cat2.'-00'];
804
  $SubCatDesc = $Categories[$Cat2.'-'.$SubCat2];
805
 
806
- echo "\t".'<itunes:category text="'. esc_html($CatDesc) .'">'.PHP_EOL;
807
- if( $SubCat2 != '00' )
808
- echo "\t\t".'<itunes:category text="'. esc_html($SubCatDesc) .'"></itunes:category>'.PHP_EOL;
809
- echo "\t".'</itunes:category>'.PHP_EOL;
 
 
 
 
810
  }
811
 
812
  if( $Cat3 )
@@ -814,11 +821,14 @@ function powerpress_rss2_head()
814
  $CatDesc = $Categories[$Cat3.'-00'];
815
  $SubCatDesc = $Categories[$Cat3.'-'.$SubCat3];
816
 
817
- echo "\t".'<itunes:category text="'. esc_html($CatDesc) .'">'.PHP_EOL;
818
- if( $SubCat3 != '00' )
819
- echo "\t\t".'<itunes:category text="'. esc_html($SubCatDesc) .'"></itunes:category>'.PHP_EOL;
820
- // End this category set
821
- echo "\t".'</itunes:category>'.PHP_EOL;
 
 
 
822
  }
823
  // End Handle iTunes categories
824
 
@@ -987,9 +997,9 @@ function powerpress_rss2_item()
987
 
988
  // itunes episode image
989
  if( !empty( $EpisodeData['itunes_image']) ) {
990
- echo "\t\t".'<itunes:image href="' . esc_html( powerpress_url_in_feed(str_replace(' ', '+', $EpisodeData['itunes_image'])), 'double') . '" />'.PHP_EOL;
991
  } else if( !empty($powerpress_feed['itunes_image']) ) {
992
- echo "\t\t".'<itunes:image href="' . esc_html( powerpress_url_in_feed(str_replace(' ', '+', $powerpress_feed['itunes_image'])), 'double') . '" />'.PHP_EOL;
993
  }
994
 
995
  if( !empty($EpisodeData['season']) ) {
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.2.8
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
10
+ Tested up to: 5.4
11
  Text Domain: powerpress
12
  Change Log:
13
  Please see readme.txt for detailed change log.
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
+ define('POWERPRESS_VERSION', '8.2.8' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
786
  {
787
  $CatDesc = $Categories[$Cat1.'-00'];
788
  $SubCatDesc = $Categories[$Cat1.'-'.$SubCat1];
789
+ echo "\t".'<itunes:category text="'. esc_attr($CatDesc);
790
+ if( $SubCat1 != '00' ) {
791
+ echo '">' . PHP_EOL . "\t\t" . '<itunes:category text="' . esc_attr($SubCatDesc) . '" />' . PHP_EOL;
792
+ // End this category set
793
+ echo "\t".'</itunes:category>'.PHP_EOL;
794
+ } else {
795
+ echo '" />'.PHP_EOL;
796
+ }
797
 
 
 
798
 
799
  //Get the googleplay category and put it in the feed
800
  $gplay_category = $googleplay_categories[$googleplay_category_mapping[$Cat1.'-00']];
801
+ echo "\t",'<googleplay:category text="'. esc_attr($gplay_category). '"/>'.PHP_EOL;
802
  }
803
 
804
  if( $Cat2 )
806
  $CatDesc = $Categories[$Cat2.'-00'];
807
  $SubCatDesc = $Categories[$Cat2.'-'.$SubCat2];
808
 
809
+ echo "\t".'<itunes:category text="'. esc_attr($CatDesc);
810
+ if( $SubCat2 != '00' ) {
811
+ echo '">' . PHP_EOL . "\t\t" . '<itunes:category text="' . esc_attr($SubCatDesc) . '" />' . PHP_EOL;
812
+ // End this category set
813
+ echo "\t".'</itunes:category>'.PHP_EOL;
814
+ } else {
815
+ echo '" />'.PHP_EOL;
816
+ }
817
  }
818
 
819
  if( $Cat3 )
821
  $CatDesc = $Categories[$Cat3.'-00'];
822
  $SubCatDesc = $Categories[$Cat3.'-'.$SubCat3];
823
 
824
+ echo "\t".'<itunes:category text="'. esc_attr($CatDesc);
825
+ if( $SubCat3 != '00' ) {
826
+ echo '">' . PHP_EOL . "\t\t" . '<itunes:category text="' . esc_attr($SubCatDesc) . '" />' . PHP_EOL;
827
+ // End this category set
828
+ echo "\t".'</itunes:category>'.PHP_EOL;
829
+ } else {
830
+ echo '" />'.PHP_EOL;
831
+ }
832
  }
833
  // End Handle iTunes categories
834
 
997
 
998
  // itunes episode image
999
  if( !empty( $EpisodeData['itunes_image']) ) {
1000
+ echo "\t\t".'<itunes:image href="' . esc_attr( powerpress_url_in_feed(str_replace(' ', '+', $EpisodeData['itunes_image'])), 'double') . '" />'.PHP_EOL;
1001
  } else if( !empty($powerpress_feed['itunes_image']) ) {
1002
+ echo "\t\t".'<itunes:image href="' . esc_attr( powerpress_url_in_feed(str_replace(' ', '+', $powerpress_feed['itunes_image'])), 'double') . '" />'.PHP_EOL;
1003
  }
1004
 
1005
  if( !empty($EpisodeData['season']) ) {
powerpressadmin-basic.php CHANGED
@@ -293,8 +293,7 @@ jQuery(document).ready( function() {
293
  <div>
294
  <input type="hidden" name="General[taxonomy_podcasting]" value="0" />
295
  <input type="checkbox" name="General[taxonomy_podcasting]" value="1" <?php echo ( !empty($General['taxonomy_podcasting']) ?' checked':''); ?> />
296
- <strong><?php echo __('Taxonomy Podcasting', 'powerpress'); ?></strong>
297
- <span style="font-size: 14px;">(<?php echo __('Feature sponsored by', 'powerpress'); ?> <a href="http://afterbuzztv.com/" target="_blank">AfterBuzzTV.com</a>)</span> -
298
  <?php echo __('Manage podcasting for specific taxonomies.', 'powerpress'); ?>
299
  <?php if( empty($General['taxonomy_podcasting']) ) { ?>
300
  <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
293
  <div>
294
  <input type="hidden" name="General[taxonomy_podcasting]" value="0" />
295
  <input type="checkbox" name="General[taxonomy_podcasting]" value="1" <?php echo ( !empty($General['taxonomy_podcasting']) ?' checked':''); ?> />
296
+ <strong><?php echo __('Taxonomy Podcasting', 'powerpress'); ?></strong> -
 
297
  <?php echo __('Manage podcasting for specific taxonomies.', 'powerpress'); ?>
298
  <?php if( empty($General['taxonomy_podcasting']) ) { ?>
299
  <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: amandato, blubrry
3
  Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts, google podcasts, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
- Tested up to: 5.3.2
7
- Stable tag: 8.2.7
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -231,11 +231,17 @@ To install Blubrry PowerPress manually, follow these steps:
231
  = Next Major Release Announcements =
232
  * We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
233
 
234
- * PowerPress 8.3 beta 1 will be available in early March, 2020! Please visit the [PowerPress Beta]https://create.blubrry.com/resources/powerpress/powerpress-beta/) page for more information.
235
 
236
  = Fan of PowerPress and want to show your support? =
237
  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!
238
 
 
 
 
 
 
 
239
  = 8.2.7 =
240
  * Released 3/20/2020
241
  * Stopped filling a default season number
3
  Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts, google podcasts, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
+ Tested up to: 5.4
7
+ Stable tag: 8.2.8
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
231
  = Next Major Release Announcements =
232
  * We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
233
 
234
+ * PowerPress 8.3 beta 1 will be available in April, 2020! Please visit the [PowerPress Beta]https://create.blubrry.com/resources/powerpress/powerpress-beta/) page for more information.
235
 
236
  = Fan of PowerPress and want to show your support? =
237
  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!
238
 
239
+ = 8.2.8 =
240
+ * Released 3/30/2020
241
+ * Tested with new WordPress 5.4 beta
242
+ * Subscribe on Email is now toggled by the checkbox in the Settings tab
243
+ * Fixed a bug where Apple category tags with no subcategory were not generated correctly
244
+
245
  = 8.2.7 =
246
  * Released 3/20/2020
247
  * Stopped filling a default season number