PowerPress Podcasting plugin by Blubrry - Version 7.4.4

Version Description

  • Releasd on 6/21/2019
  • Fixed bug introduced in last update that calculated the total number of episodes when viewing podcasts in channels and post types in PowerPress admin. (Thanks @edzila60610 for bringing to our attention!)
  • Removed all mentions of Google+. (Thanks @k_abel for bringing to our attention!)
  • Fixed notice message getting cut off for the "Clear Plugins Update Cache" option under "Tools". (Thanks @k_abel for bringing to our attention!)
  • Added option archive="true" for the powerpress_subscribe shortcode to allow for the shortcode to be added to archive/category pages.
Download this release

Release Info

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

Code changes from version 7.4.3 to 7.4.4

powerpress-player.php CHANGED
@@ -1342,7 +1342,7 @@ function powerpressplayer_build_blubrryaudio($media_url, $EpisodeData=array(), $
1342
  $instance++;
1343
 
1344
  // media URL is all we need., as long as it's hosted at blubrry.com...
1345
- if( preg_match('/content\.blubrry\.com/', $media_url) )
1346
  {
1347
  $playerSettings = get_option('powerpress_bplayer');
1348
  $hash = '';
1342
  $instance++;
1343
 
1344
  // media URL is all we need., as long as it's hosted at blubrry.com...
1345
+ if( preg_match('/(content|ins)\.blubrry\.com/', $media_url) )
1346
  {
1347
  $playerSettings = get_option('powerpress_bplayer');
1348
  $hash = '';
powerpress-subscribe.php CHANGED
@@ -382,6 +382,7 @@ function powerpress_subscribe_shortcode( $attr ) {
382
 
383
  // Only works on pages...
384
  if ( !is_singular() ) {
 
385
  return '';
386
  }
387
 
382
 
383
  // Only works on pages...
384
  if ( !is_singular() ) {
385
+ if( empty($attr['archive']) )
386
  return '';
387
  }
388
 
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.3
7
  Author: Blubrry
8
  Author URI: http://www.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', '7.4.3' );
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="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.4
7
  Author: Blubrry
8
  Author URI: http://www.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', '7.4.4' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-basic.php CHANGED
@@ -398,7 +398,6 @@ jQuery(document).ready( function() {
398
  <li><?php echo __('Tell the world about PowerPress by writing about it on your blog', 'powerpress'); ?>,
399
  <a href="https://twitter.com/home/?status=<?php echo urlencode( __('I\'m podcasting with Blubrry PowerPress (https://blubrry.com/powerpress/) #powerpress #wordpress', 'powerpress') ); ?>" target="_blank"><?php echo __('Twitter', 'powerpress'); ?></a>,
400
  <a href="https://www.facebook.com/share.php?u=<?php echo urlencode('https://www.blubrry.com/powerpress'); ?>&amp;t=<?php echo urlencode( __('I podcast with Blubrry PowerPress', 'powerpress')); ?>" target="_blank"><?php echo __('Facebook', 'powerpress'); ?></a>,
401
- <a href="https://plus.google.com/share?url==<?php echo urlencode('https://www.blubrry.com/powerpress'); ?>" target="_blank"><?php echo __('Google+', 'powerpress'); ?></a>,
402
  etc...</li>
403
  <li><a href="http://www.blubrry.com/contact.php" target="_blank"><?php echo __('Send us feedback', 'powerpress'); ?></a> (<?php echo __('we love getting suggestions for new features!', 'powerpress'); ?>)</li>
404
  </ul>
398
  <li><?php echo __('Tell the world about PowerPress by writing about it on your blog', 'powerpress'); ?>,
399
  <a href="https://twitter.com/home/?status=<?php echo urlencode( __('I\'m podcasting with Blubrry PowerPress (https://blubrry.com/powerpress/) #powerpress #wordpress', 'powerpress') ); ?>" target="_blank"><?php echo __('Twitter', 'powerpress'); ?></a>,
400
  <a href="https://www.facebook.com/share.php?u=<?php echo urlencode('https://www.blubrry.com/powerpress'); ?>&amp;t=<?php echo urlencode( __('I podcast with Blubrry PowerPress', 'powerpress')); ?>" target="_blank"><?php echo __('Facebook', 'powerpress'); ?></a>,
 
401
  etc...</li>
402
  <li><a href="http://www.blubrry.com/contact.php" target="_blank"><?php echo __('Send us feedback', 'powerpress'); ?></a> (<?php echo __('we love getting suggestions for new features!', 'powerpress'); ?>)</li>
403
  </ul>
powerpressadmin-jquery.php CHANGED
@@ -907,6 +907,7 @@ function powerpress_admin_jquery_header($title, $jquery = false)
907
  <?php
908
 
909
  // In case these functions haven't been included yet...
 
910
  require_once(ABSPATH . 'wp-admin/includes/admin.php');
911
 
912
  wp_admin_css( 'css/global' );
@@ -941,6 +942,7 @@ function powerpress_admin_jquery_footer($jquery = false)
941
  </body>
942
  </html>
943
  <?php
 
944
  }
945
 
946
  ?>
907
  <?php
908
 
909
  // In case these functions haven't been included yet...
910
+ if( !defined('WP_ADMIN') )
911
  require_once(ABSPATH . 'wp-admin/includes/admin.php');
912
 
913
  wp_admin_css( 'css/global' );
942
  </body>
943
  </html>
944
  <?php
945
+ exit();
946
  }
947
 
948
  ?>
powerpressadmin-tools.php CHANGED
@@ -187,10 +187,10 @@
187
  ?>
188
  <h4 style="margin-top: 8px;">Post to Social</h4>
189
  <p>
190
- Post to Social allows Blubrry podcast hosting customers to post to Twitter, Facebook and Google+ right from their WordPress site. Please go to https://www.blubrry.com, sign-in then go to the Post to Social settings in your blubrry account to setup.
191
  </p>
192
  <p>
193
- This feature is currently in beta testing and planned for production use in January, 2018.
194
  </p>
195
  <p style="margin-top: 5px;"><strong><a href="<?php echo $powerpress_beta_url; ?>&amp;feature=<?php echo (!empty($General['powerpress-beta-features'])?'0':'1'); ?>"><?php echo (!empty($General['powerpress-beta-features'])? __('Disable Beta Features', 'powerpress') : __('Enable Beta Features', 'powerpress') ); ?></a></strong></p>
196
  </td>
187
  ?>
188
  <h4 style="margin-top: 8px;">Post to Social</h4>
189
  <p>
190
+ Post to Social allows Blubrry podcast hosting customers to post to Twitter, Facebook and YouTube right from their WordPress site. Please go to https://www.blubrry.com, sign-in then go to the Post to Social settings in your blubrry account to setup.
191
  </p>
192
  <p>
193
+ This feature is currently in beta testing.
194
  </p>
195
  <p style="margin-top: 5px;"><strong><a href="<?php echo $powerpress_beta_url; ?>&amp;feature=<?php echo (!empty($General['powerpress-beta-features'])?'0':'1'); ?>"><?php echo (!empty($General['powerpress-beta-features'])? __('Disable Beta Features', 'powerpress') : __('Enable Beta Features', 'powerpress') ); ?></a></strong></p>
196
  </td>
powerpressadmin.php CHANGED
@@ -1325,7 +1325,7 @@ function powerpress_admin_init()
1325
 
1326
  delete_option('update_plugins'); // OLD method
1327
  delete_option('_site_transient_update_plugins'); // New method
1328
- powerpress_page_message_add_notice( sprintf( __('Plugins Update Cache cleared successfully. You may now to go the %s page to see the latest plugin versions.', 'powerpress'), '<a href="'. admin_url() .'plugins.php" title="'. __('Manage Plugins', 'powerpress') .'">'. __('Manage Plugins', 'powerpress') .'</a>') );
1329
 
1330
  }; break;
1331
  case 'powerpress-ios11-fields': {
@@ -3955,7 +3955,7 @@ function powerpress_admin_episodes_per_feed($feed_slug, $post_type='post')
3955
  if( $feed_slug != 'podcast' )
3956
  $field = '_'. $feed_slug .':enclosure';
3957
  global $wpdb;
3958
- if ( $results = $wpdb->get_results("SELECT COUNT(post_id) AS episodes_total FROM $wpdb->postmeta WHERE meta_key = '$field' AND post_status <> 'auto-draft' AND post_status <> 'trash' AND post_status <> 'inherit' ", ARRAY_A) ) {
3959
  if( count($results) )
3960
  {
3961
  foreach( $results as $key => $row ) {
1325
 
1326
  delete_option('update_plugins'); // OLD method
1327
  delete_option('_site_transient_update_plugins'); // New method
1328
+ powerpress_page_message_add_notice( sprintf( __('Plugins Update Cache cleared successfully. You may now to go the %s page to see the latest plugin versions.', 'powerpress'), '<a href="'. admin_url() .'plugins.php" title="'. __('Manage Plugins', 'powerpress') .'">'. __('Manage Plugins', 'powerpress') .'</a>'), 'inline', false );
1329
 
1330
  }; break;
1331
  case 'powerpress-ios11-fields': {
3955
  if( $feed_slug != 'podcast' )
3956
  $field = '_'. $feed_slug .':enclosure';
3957
  global $wpdb;
3958
+ if ( $results = $wpdb->get_results("SELECT COUNT(pm.post_id) AS episodes_total FROM $wpdb->posts AS p INNER JOIN $wpdb->postmeta AS pm ON pm.post_id = p.ID WHERE pm.meta_key = '$field' AND p.post_status <> 'auto-draft' AND p.post_status <> 'trash' AND p.post_status <> 'inherit' ", ARRAY_A) ) {
3959
  if( count($results) )
3960
  {
3961
  foreach( $results as $key => $row ) {
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.2.2
7
- Stable tag: 7.4.3
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -235,6 +235,14 @@ 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.3 =
239
  * Released on 6/12/2019
240
  * Updated labels for Subscribe buttons and links in admin.
@@ -472,4 +480,4 @@ Please [contact blubrry](http://www.blubrry.com/contact.php) with the link to yo
472
 
473
  == Blubrry Social ==
474
 
475
- [Twitter](https://twitter.com/blubrry) - [Facebook](https://www.facebook.com/blubrry) - [Google+](https://plus.google.com/u/0/104806426850567631953/posts)
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.2.2
7
+ Stable tag: 7.4.4
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.4 =
239
+ * Releasd on 6/21/2019
240
+ * Fixed bug introduced in last update that calculated the total number of episodes when viewing podcasts in channels and post types in PowerPress admin. (Thanks @edzila60610 for bringing to our attention!)
241
+ * Removed all mentions of Google+. (Thanks @k_abel for bringing to our attention!)
242
+ * Fixed notice message getting cut off for the "Clear Plugins Update Cache" option under "Tools". (Thanks @k_abel for bringing to our attention!)
243
+ * Added option `archive`="true" for the `powerpress_subscribe` shortcode to allow for the shortcode to be added to archive/category pages.
244
+
245
+
246
  = 7.4.3 =
247
  * Released on 6/12/2019
248
  * Updated labels for Subscribe buttons and links in admin.
480
 
481
  == Blubrry Social ==
482
 
483
+ [Twitter](https://twitter.com/blubrry) - [Facebook](https://www.facebook.com/blubrry) - [YouTube](https://www.youtube.com/channel/UC9sE1Yz2deZiGAP67xYx9Xg)