PowerPress Podcasting plugin by Blubrry - Version 6.2.2

Version Description

  • Released on 12/9/2015
  • WordPress 4.4 has changed how feed titles are set. Please update PowerPress immediately to avoid feed title issues.
  • Feed titles in WP 4.4 no longer use the get_bloginfo_rss filter. All other feed fields appear to still be using the get_bloginfo_rss filter at this time. We will be taking additional measures in future releases of PowerPress assuming WordPress core will be abandoning the get_bloginfo_rss filter for all other feed fields.
  • YOU MUST UPDATE POWERPRESS TO 6.2.2 IF YOU ARE USING WORDPRESS 4.4
  • Tested latest changes does not break backwards compatibility with WordPRess 4.3 or older.
  • Fixed Clammr typos (Thanks Robin for the heads up!)
  • Increased fields with maxlength 250 to 255 for iTunes settings (Thanks Robin for pointing out limit!)
Download this release

Release Info

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

Code changes from version 6.2.1 to 6.2.2

feed-podcast.php CHANGED
@@ -46,9 +46,8 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
46
  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
47
  <?php do_action('rss2_ns'); ?>
48
  >
49
-
50
  <channel>
51
- <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
52
  <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
53
  <link><?php bloginfo_rss('url') ?></link>
54
  <description><?php bloginfo_rss("description") ?></description>
46
  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
47
  <?php do_action('rss2_ns'); ?>
48
  >
 
49
  <channel>
50
+ <title><?php echo get_wp_title_rss(); ?></title>
51
  <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
52
  <link><?php bloginfo_rss('url') ?></link>
53
  <description><?php bloginfo_rss("description") ?></description>
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 iTunes, Google Play, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 6.2.1
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.7
@@ -35,7 +35,7 @@ if( !function_exists('add_action') )
35
  die("access denied.");
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
- define('POWERPRESS_VERSION', '6.2.1' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
@@ -607,10 +607,7 @@ function powerpress_rss2_head()
607
  $rss_image = $Feed['itunes_image'];
608
 
609
  echo "\t". '<image>' .PHP_EOL;
610
- if( is_category() && !empty($Feed['title']) )
611
- echo "\t\t".'<title>' . esc_html( get_bloginfo_rss('name') ) . '</title>'.PHP_EOL;
612
- else
613
- echo "\t\t".'<title>' . esc_html( get_bloginfo_rss('name') . get_wp_title_rss() ) . '</title>'.PHP_EOL;
614
  echo "\t\t".'<url>' . esc_html( str_replace(' ', '+', $rss_image)) . '</url>'.PHP_EOL;
615
  echo "\t\t".'<link>'. $Feed['url'] . '</link>' . PHP_EOL;
616
  echo "\t".'</image>' . PHP_EOL;
@@ -618,10 +615,7 @@ function powerpress_rss2_head()
618
  else // Use the default image
619
  {
620
  echo "\t". '<image>' .PHP_EOL;
621
- if( (is_category() || is_tax() || is_tag() ) && !empty($Feed['title']) )
622
- echo "\t\t".'<title>' . esc_html( get_bloginfo_rss('name') ) . '</title>'.PHP_EOL;
623
- else
624
- echo "\t\t".'<title>' . esc_html( get_bloginfo_rss('name') . get_wp_title_rss() ) . '</title>'.PHP_EOL;
625
  echo "\t\t".'<url>' . powerpress_get_root_url() . 'rss_default.jpg</url>'.PHP_EOL;
626
  echo "\t\t".'<link>'. $Feed['url'] . '</link>' . PHP_EOL;
627
  echo "\t".'</image>' . PHP_EOL;
@@ -1086,9 +1080,19 @@ function powerpress_bloginfo_rss($content, $field = '')
1086
  else if( is_category() )
1087
  return get_category_link( get_query_var('cat') );
1088
  }; break;
1089
- case 'name': {
1090
- if( !empty($Feed['title']) )
1091
- $new_value = $Feed['title'];
 
 
 
 
 
 
 
 
 
 
1092
  }; break;
1093
  case 'language': {
1094
  // Get the feed language
@@ -1121,23 +1125,65 @@ add_filter('get_bloginfo_rss', 'powerpress_bloginfo_rss', 10, 2);
1121
 
1122
  function powerpress_wp_title_rss($title)
1123
  {
1124
- if( powerpress_is_custom_podcast_feed() )
1125
  {
1126
- if( is_category() )
1127
  {
1128
- $Feed = get_option('powerpress_cat_feed_'.get_query_var('cat') );
1129
- if( $Feed && isset($Feed['title']) && $Feed['title'] != '' )
1130
- return ''; // We alrady did a custom title, lets not add the category to it...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1131
  }
1132
- else
 
 
 
1133
  {
1134
- return ''; // It is not a category, lets not mess with our beautiful title then
 
 
 
 
 
 
 
 
 
1135
  }
1136
  }
 
1137
  return $title;
1138
  }
1139
 
1140
- add_filter('wp_title_rss', 'powerpress_wp_title_rss');
1141
 
1142
  function powerpress_the_title_rss($title)
1143
  {
@@ -1177,7 +1223,7 @@ function powerpress_the_title_rss($title)
1177
 
1178
  if( !empty($GeneralSettings['seo_append_show_title']) )
1179
  {
1180
- $title_of_program = get_bloginfo_rss('name');
1181
 
1182
  if( defined('POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR') && POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR )
1183
  $new_title .= ' '. POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR .' '.$title_of_program;
@@ -1588,7 +1634,7 @@ function powerpress_load_general_feed_settings()
1588
  if( !empty($Feed['itunes_talent_name']) )
1589
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1590
  else
1591
- $powerpress_feed['itunes_talent_name'] = get_bloginfo_rss('name');
1592
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1593
  if( !empty($GeneralSettings['seo_itunes']) )
1594
  $powerpress_feed['enhance_itunes_summary'] = 1;
@@ -1646,7 +1692,7 @@ function powerpress_load_general_feed_settings()
1646
  if( !empty($Feed['itunes_talent_name']) )
1647
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1648
  else
1649
- $powerpress_feed['itunes_talent_name'] = get_bloginfo_rss('name');
1650
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1651
  if( !empty($GeneralSettings['seo_itunes']) )
1652
  $powerpress_feed['enhance_itunes_summary'] = 1;
@@ -1713,7 +1759,7 @@ function powerpress_load_general_feed_settings()
1713
  if( !empty($Feed['itunes_talent_name']) )
1714
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1715
  else
1716
- $powerpress_feed['itunes_talent_name'] = get_bloginfo_rss('name');
1717
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1718
  if( !empty($GeneralSettings['seo_itunes']) )
1719
  $powerpress_feed['enhance_itunes_summary'] = 1;
@@ -1777,7 +1823,7 @@ function powerpress_load_general_feed_settings()
1777
  if( !empty($FeedSettingsBasic['itunes_talent_name']) )
1778
  $powerpress_feed['itunes_talent_name'] = $FeedSettingsBasic['itunes_talent_name'];
1779
  else
1780
- $powerpress_feed['itunes_talent_name'] = get_bloginfo_rss('name');
1781
  $powerpress_feed['enhance_itunes_summary'] = 0;
1782
  if( isset($FeedSettingsBasic['enhance_itunes_summary']) )
1783
  $powerpress_feed['enhance_itunes_summary'] = $FeedSettingsBasic['enhance_itunes_summary'];
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 iTunes, Google Play, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 6.2.2
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.7
35
  die("access denied.");
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
+ define('POWERPRESS_VERSION', '6.2.2' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
607
  $rss_image = $Feed['itunes_image'];
608
 
609
  echo "\t". '<image>' .PHP_EOL;
610
+ echo "\t\t".'<title>' . get_wp_title_rss() . '</title>'.PHP_EOL;
 
 
 
611
  echo "\t\t".'<url>' . esc_html( str_replace(' ', '+', $rss_image)) . '</url>'.PHP_EOL;
612
  echo "\t\t".'<link>'. $Feed['url'] . '</link>' . PHP_EOL;
613
  echo "\t".'</image>' . PHP_EOL;
615
  else // Use the default image
616
  {
617
  echo "\t". '<image>' .PHP_EOL;
618
+ echo "\t\t".'<title>' . get_wp_title_rss() . '</title>'.PHP_EOL;
 
 
 
619
  echo "\t\t".'<url>' . powerpress_get_root_url() . 'rss_default.jpg</url>'.PHP_EOL;
620
  echo "\t\t".'<link>'. $Feed['url'] . '</link>' . PHP_EOL;
621
  echo "\t".'</image>' . PHP_EOL;
1080
  else if( is_category() )
1081
  return get_category_link( get_query_var('cat') );
1082
  }; break;
1083
+ case 'name': { // As of wp 4.4 title is handled by get_the_title_rss completely.
1084
+ if( version_compare($GLOBALS['wp_version'], 4.4, '<' ) ) {
1085
+ if( !empty($Feed['title']) )
1086
+ $new_value = $Feed['title'];
1087
+ else
1088
+ return ''; // Otherwise we need to set the blog title to blank (TEST)
1089
+ }
1090
+ // Otherwise WP 4.4+ we do what we've always done...
1091
+ else
1092
+ {
1093
+ if( !empty($Feed['title']) )
1094
+ $new_value = $Feed['title'];
1095
+ }
1096
  }; break;
1097
  case 'language': {
1098
  // Get the feed language
1125
 
1126
  function powerpress_wp_title_rss($title)
1127
  {
1128
+ if( version_compare($GLOBALS['wp_version'], 4.4, '>=' ) )
1129
  {
1130
+ if( powerpress_is_custom_podcast_feed() )
1131
  {
1132
+ if( is_category() ) {
1133
+ $Feed = get_option('powerpress_cat_feed_'.get_query_var('cat') );
1134
+ }
1135
+ else if( is_tax() || is_tag() ) {
1136
+ global $powerpress_feed;
1137
+ if( !empty($powerpress_feed['term_taxonomy_id']) )
1138
+ $Feed = get_option('powerpress_taxonomy_'.$powerpress_feed['term_taxonomy_id'] );
1139
+ }
1140
+ else
1141
+ {
1142
+ global $powerpress_feed;
1143
+
1144
+ if( !empty($powerpress_feed['post_type']) )
1145
+ {
1146
+ $feed_slug = get_query_var('feed');
1147
+ $PostTypeSettingsArray = get_option('powerpress_posttype_'.$powerpress_feed['post_type'] );
1148
+ if( !empty($PostTypeSettingsArray[ $feed_slug ]) )
1149
+ $Feed = $PostTypeSettingsArray[ $feed_slug ];
1150
+ }
1151
+ else
1152
+ {
1153
+ $Feed = get_option('powerpress_feed_'.get_query_var('feed') );
1154
+ if( empty($Feed) && get_query_var('feed') === 'podcast' )
1155
+ $Feed = get_option('powerpress_feed');
1156
+ }
1157
+ }
1158
+
1159
+ if( $Feed )
1160
+ {
1161
+ if( !empty($Feed['title']) )
1162
+ return esc_html( $Feed['title'] );
1163
+ }
1164
  }
1165
+ }
1166
+ else
1167
+ {
1168
+ if( powerpress_is_custom_podcast_feed() )
1169
  {
1170
+ if( is_category() )
1171
+ {
1172
+ $Feed = get_option('powerpress_cat_feed_'.get_query_var('cat') );
1173
+ if( $Feed && isset($Feed['title']) && $Feed['title'] != '' )
1174
+ return ''; // We alrady did a custom title, lets not add the category to it...
1175
+ }
1176
+ else
1177
+ {
1178
+ return ''; // It is not a category, lets not mess with our beautiful title then
1179
+ }
1180
  }
1181
  }
1182
+
1183
  return $title;
1184
  }
1185
 
1186
+ add_filter('get_wp_title_rss', 'powerpress_wp_title_rss');
1187
 
1188
  function powerpress_the_title_rss($title)
1189
  {
1223
 
1224
  if( !empty($GeneralSettings['seo_append_show_title']) )
1225
  {
1226
+ $title_of_program = get_wp_title_rss();
1227
 
1228
  if( defined('POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR') && POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR )
1229
  $new_title .= ' '. POWERPRESS_APPEND_SHOW_TITLE_SEPARATOR .' '.$title_of_program;
1634
  if( !empty($Feed['itunes_talent_name']) )
1635
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1636
  else
1637
+ $powerpress_feed['itunes_talent_name'] = get_wp_title_rss();
1638
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1639
  if( !empty($GeneralSettings['seo_itunes']) )
1640
  $powerpress_feed['enhance_itunes_summary'] = 1;
1692
  if( !empty($Feed['itunes_talent_name']) )
1693
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1694
  else
1695
+ $powerpress_feed['itunes_talent_name'] = get_wp_title_rss();
1696
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1697
  if( !empty($GeneralSettings['seo_itunes']) )
1698
  $powerpress_feed['enhance_itunes_summary'] = 1;
1759
  if( !empty($Feed['itunes_talent_name']) )
1760
  $powerpress_feed['itunes_talent_name'] = $Feed['itunes_talent_name'];
1761
  else
1762
+ $powerpress_feed['itunes_talent_name'] = get_wp_title_rss();
1763
  $powerpress_feed['enhance_itunes_summary'] = $Feed['enhance_itunes_summary'];
1764
  if( !empty($GeneralSettings['seo_itunes']) )
1765
  $powerpress_feed['enhance_itunes_summary'] = 1;
1823
  if( !empty($FeedSettingsBasic['itunes_talent_name']) )
1824
  $powerpress_feed['itunes_talent_name'] = $FeedSettingsBasic['itunes_talent_name'];
1825
  else
1826
+ $powerpress_feed['itunes_talent_name'] = get_wp_title_rss();
1827
  $powerpress_feed['enhance_itunes_summary'] = 0;
1828
  if( isset($FeedSettingsBasic['enhance_itunes_summary']) )
1829
  $powerpress_feed['enhance_itunes_summary'] = $FeedSettingsBasic['enhance_itunes_summary'];
powerpressadmin-basic.php CHANGED
@@ -546,7 +546,7 @@ SelectEmbedField(<?php echo $General['episode_box_embed']; ?>);
546
  <tr valign="top">
547
  <th scope="row"><?php echo __('Default Media URL', 'powerpress'); ?></th>
548
  <td>
549
- <input type="text" style="width: 80%;" name="General[default_url]" value="<?php echo esc_attr($General['default_url']); ?>" maxlength="250" />
550
  <p><?php echo __('e.g. http://example.com/mediafolder/', 'powerpress'); ?></p>
551
  <p><?php echo __('URL above will prefix entered file names that do not start with \'http://\'. URL above must end with a trailing slash. You may leave blank if you always enter the complete URL to your media when creating podcast episodes.', 'powerpress'); ?>
552
  </p>
@@ -760,7 +760,7 @@ function powerpressadmin_edit_googleplay($FeedSettings, $General, $FeedAttribs =
760
  <tr valign="top">
761
  <th scope="row"><?php echo __('Google Play Listing URL', 'powerpress'); ?></th>
762
  <td>
763
- <input type="text" style="width: 80%;" name="Feed[googleplay_url]" value="<?php echo esc_attr($FeedSettings['googleplay_url']); ?>" maxlength="250" />
764
  <p><?php echo __('Your listing URL will be issued to you from Google Play Music.', 'powerpress'); ?></p>
765
  <!-- <p><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id<strong>000000000</strong>'); ?></p> -->
766
 
@@ -778,7 +778,7 @@ function powerpressadmin_edit_googleplay($FeedSettings, $General, $FeedAttribs =
778
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
779
  </th>
780
  <td>
781
- <input type="text" name="Feed[googleplay_email]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['googleplay_email']); ?>" maxlength="250" />
782
  <div>(<?php echo __('Google will email this address when your podcast is accepted into the Google Play Music Podcast Directory.', 'powerpress'); ?>)</div>
783
  </td>
784
  </tr>
@@ -787,7 +787,7 @@ function powerpressadmin_edit_googleplay($FeedSettings, $General, $FeedAttribs =
787
  <?php echo __('Google Play Author', 'powerpress'); ?>
788
  </th>
789
  <td>
790
- <input type="text" name="Feed[googleplay_author]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['googleplay_author']); ?>" maxlength="250" />
791
  <div>(<?php echo __('iTunes Author will be used if left blank', 'powerpress'); ?>)</div>
792
  </td>
793
  </tr>
@@ -867,6 +867,7 @@ function powerpressadmin_edit_itunes_general($FeedSettings, $General, $FeedAttri
867
  }
868
 
869
  $itunes_feed_url = '';
 
870
  switch( $FeedAttribs['type'] )
871
  {
872
  case 'ttid':
@@ -891,7 +892,7 @@ function powerpressadmin_edit_itunes_general($FeedSettings, $General, $FeedAttri
891
  <tr valign="top">
892
  <th scope="row"><?php echo __('iTunes Subscription URL', 'powerpress'); ?></th>
893
  <td>
894
- <input type="text" style="width: 80%;" name="Feed[itunes_url]" value="<?php echo esc_attr($FeedSettings['itunes_url']); ?>" maxlength="250" />
895
  <p><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id<strong>000000000</strong>'); ?></p>
896
 
897
  <p><?php echo sprintf( __('Click the following link to %s.', 'powerpress'), '<a href="http://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed='. urlencode($itunes_feed_url) .'" target="_blank">'. __('Publish a Podcast on iTunes', 'powerpress') .'</a>'); ?>
@@ -1034,7 +1035,7 @@ function powerpressadmin_edit_media_statistics($General)
1034
  <?php echo __('Redirect URL 1', 'powerpress'); ?>
1035
  </th>
1036
  <td>
1037
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect1]'; else echo 'General[redirect1]'; ?>" value="<?php echo esc_attr($General['redirect1']); ?>" onChange="return CheckRedirect(this);" maxlength="250" <?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
1038
  </td>
1039
  </tr>
1040
  </table>
@@ -1053,7 +1054,7 @@ function powerpressadmin_edit_media_statistics($General)
1053
  <?php echo __('Redirect URL 2', 'powerpress'); ?>
1054
  </th>
1055
  <td>
1056
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect2]'; else echo 'General[redirect2]'; ?>" value="<?php echo esc_attr($General['redirect2']); ?>" onblur="return CheckRedirect(this);" maxlength="250" <?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
1057
  </td>
1058
  </tr>
1059
  </table>
@@ -1071,7 +1072,7 @@ function powerpressadmin_edit_media_statistics($General)
1071
  <?php echo __('Redirect URL 3', 'powerpress'); ?>
1072
  </th>
1073
  <td>
1074
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect3]'; else echo 'General[redirect3]'; ?>" value="<?php echo esc_attr($General['redirect3']); ?>" onblur="return CheckRedirect(this);" maxlength="250" <?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo ' readOnly="readOnly"'; ?> />
1075
  </td>
1076
  </tr>
1077
  </table>
@@ -1646,7 +1647,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1646
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1647
  </th>
1648
  <td>
1649
- <input type="text" id="itunes_image" name="Feed[itunes_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['itunes_image'])? $FeedSettings['itunes_image']:''); ?>" maxlength="250" />
1650
  <a href="#" onclick="javascript: window.open( document.getElementById('itunes_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1651
 
1652
  <p><?php echo __('iTunes image must be at least 1400 x 1400 pixels in .jpg or .png format. iTunes image must not exceed 3000 x 3000 pixels and must use RGB color space.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/itunes.jpg
@@ -1698,7 +1699,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1698
  <?php echo __('Google Play Image', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?>
1699
  </th>
1700
  <td>
1701
- <input type="text" id="googleplay_image" name="Feed[googleplay_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['googleplay_image'])? $FeedSettings['googleplay_image']:''); ?>" maxlength="250" />
1702
  <a href="#" onclick="javascript: window.open( document.getElementById('googleplay_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1703
 
1704
  <p><?php echo __('Google Play image must be at least 1200 x 1200 pixels in .jpg or .png format to be eligible for featuring. Image must not exceed 7000 x 7000 pixels.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/googleplay.jpg
@@ -1724,7 +1725,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1724
  <span style="font-size: 85%; margin-left: 5px;"><?php echo __('Recommendation: Use iTunes image', 'powerpress'); ?></span>
1725
  </th>
1726
  <td>
1727
- <input type="text" id="rss2_image" name="Feed[rss2_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['rss2_image'])? $FeedSettings['rss2_image']:''); ?>" maxlength="250" />
1728
  <a href="#" onclick="javascript: window.open( document.getElementById('rss2_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1729
 
1730
  <p><?php echo __('Place the URL to the RSS image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?> http://mysite.com/images/rss.jpg</p>
546
  <tr valign="top">
547
  <th scope="row"><?php echo __('Default Media URL', 'powerpress'); ?></th>
548
  <td>
549
+ <input type="text" style="width: 80%;" name="General[default_url]" value="<?php echo esc_attr($General['default_url']); ?>" maxlength="255" />
550
  <p><?php echo __('e.g. http://example.com/mediafolder/', 'powerpress'); ?></p>
551
  <p><?php echo __('URL above will prefix entered file names that do not start with \'http://\'. URL above must end with a trailing slash. You may leave blank if you always enter the complete URL to your media when creating podcast episodes.', 'powerpress'); ?>
552
  </p>
760
  <tr valign="top">
761
  <th scope="row"><?php echo __('Google Play Listing URL', 'powerpress'); ?></th>
762
  <td>
763
+ <input type="text" style="width: 80%;" name="Feed[googleplay_url]" value="<?php echo esc_attr($FeedSettings['googleplay_url']); ?>" maxlength="255" />
764
  <p><?php echo __('Your listing URL will be issued to you from Google Play Music.', 'powerpress'); ?></p>
765
  <!-- <p><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id<strong>000000000</strong>'); ?></p> -->
766
 
778
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
779
  </th>
780
  <td>
781
+ <input type="text" name="Feed[googleplay_email]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['googleplay_email']); ?>" maxlength="255" />
782
  <div>(<?php echo __('Google will email this address when your podcast is accepted into the Google Play Music Podcast Directory.', 'powerpress'); ?>)</div>
783
  </td>
784
  </tr>
787
  <?php echo __('Google Play Author', 'powerpress'); ?>
788
  </th>
789
  <td>
790
+ <input type="text" name="Feed[googleplay_author]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['googleplay_author']); ?>" maxlength="255" />
791
  <div>(<?php echo __('iTunes Author will be used if left blank', 'powerpress'); ?>)</div>
792
  </td>
793
  </tr>
867
  }
868
 
869
  $itunes_feed_url = '';
870
+
871
  switch( $FeedAttribs['type'] )
872
  {
873
  case 'ttid':
892
  <tr valign="top">
893
  <th scope="row"><?php echo __('iTunes Subscription URL', 'powerpress'); ?></th>
894
  <td>
895
+ <input type="text" style="width: 80%;" name="Feed[itunes_url]" value="<?php echo esc_attr($FeedSettings['itunes_url']); ?>" maxlength="255" />
896
  <p><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id<strong>000000000</strong>'); ?></p>
897
 
898
  <p><?php echo sprintf( __('Click the following link to %s.', 'powerpress'), '<a href="http://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed='. urlencode($itunes_feed_url) .'" target="_blank">'. __('Publish a Podcast on iTunes', 'powerpress') .'</a>'); ?>
1035
  <?php echo __('Redirect URL 1', 'powerpress'); ?>
1036
  </th>
1037
  <td>
1038
+ <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect1]'; else echo 'General[redirect1]'; ?>" value="<?php echo esc_attr($General['redirect1']); ?>" onChange="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
1039
  </td>
1040
  </tr>
1041
  </table>
1054
  <?php echo __('Redirect URL 2', 'powerpress'); ?>
1055
  </th>
1056
  <td>
1057
+ <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect2]'; else echo 'General[redirect2]'; ?>" value="<?php echo esc_attr($General['redirect2']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
1058
  </td>
1059
  </tr>
1060
  </table>
1072
  <?php echo __('Redirect URL 3', 'powerpress'); ?>
1073
  </th>
1074
  <td>
1075
+ <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect3]'; else echo 'General[redirect3]'; ?>" value="<?php echo esc_attr($General['redirect3']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo ' readOnly="readOnly"'; ?> />
1076
  </td>
1077
  </tr>
1078
  </table>
1647
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1648
  </th>
1649
  <td>
1650
+ <input type="text" id="itunes_image" name="Feed[itunes_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['itunes_image'])? $FeedSettings['itunes_image']:''); ?>" maxlength="255" />
1651
  <a href="#" onclick="javascript: window.open( document.getElementById('itunes_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1652
 
1653
  <p><?php echo __('iTunes image must be at least 1400 x 1400 pixels in .jpg or .png format. iTunes image must not exceed 3000 x 3000 pixels and must use RGB color space.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/itunes.jpg
1699
  <?php echo __('Google Play Image', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?>
1700
  </th>
1701
  <td>
1702
+ <input type="text" id="googleplay_image" name="Feed[googleplay_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['googleplay_image'])? $FeedSettings['googleplay_image']:''); ?>" maxlength="255" />
1703
  <a href="#" onclick="javascript: window.open( document.getElementById('googleplay_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1704
 
1705
  <p><?php echo __('Google Play image must be at least 1200 x 1200 pixels in .jpg or .png format to be eligible for featuring. Image must not exceed 7000 x 7000 pixels.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/googleplay.jpg
1725
  <span style="font-size: 85%; margin-left: 5px;"><?php echo __('Recommendation: Use iTunes image', 'powerpress'); ?></span>
1726
  </th>
1727
  <td>
1728
+ <input type="text" id="rss2_image" name="Feed[rss2_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['rss2_image'])? $FeedSettings['rss2_image']:''); ?>" maxlength="255" />
1729
  <a href="#" onclick="javascript: window.open( document.getElementById('rss2_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1730
 
1731
  <p><?php echo __('Place the URL to the RSS image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?> http://mysite.com/images/rss.jpg</p>
powerpressadmin-defaults.php CHANGED
@@ -127,7 +127,7 @@ jQuery(document).ready(function($) {
127
  <?php echo __('Program Title', 'powerpress'); ?>
128
  </th>
129
  <td>
130
- <input type="text" name="Feed[title]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="250" />
131
  (<?php echo __('leave blank to use blog title', 'powerpress'); ?>)
132
  <p><?php echo __('Blog title:', 'powerpress') .' '. get_bloginfo_rss('name'); ?></p>
133
  </td>
127
  <?php echo __('Program Title', 'powerpress'); ?>
128
  </th>
129
  <td>
130
+ <input type="text" name="Feed[title]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="255" />
131
  (<?php echo __('leave blank to use blog title', 'powerpress'); ?>)
132
  <p><?php echo __('Blog title:', 'powerpress') .' '. get_bloginfo_rss('name'); ?></p>
133
  </td>
powerpressadmin-editfeed.php CHANGED
@@ -508,7 +508,7 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
508
  <?php echo __('Feed Title (Show Title)', 'powerpress'); ?>
509
  </th>
510
  <td>
511
- <input type="text" name="Feed[title]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="250" />
512
  <?php if( $cat_ID ) { ?>
513
  (<?php echo __('leave blank to use default category title', 'powerpress'); ?>)
514
  <?php } else { ?>
@@ -555,7 +555,7 @@ if( $FeedAttribs['type'] != 'general' ) // All types exept general settings
555
  <?php echo __('Feed Landing Page URL', 'powerpress'); ?> <br />
556
  </th>
557
  <td>
558
- <input type="text" name="Feed[url]" style="width: 60%;" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="250" />
559
  <?php if( $cat_ID ) { ?>
560
  (<?php echo __('leave blank to use category page', 'powerpress'); ?>)
561
  <?php } else { ?>
@@ -660,7 +660,7 @@ if( isset($Languages[ $rss_language ]) )
660
  <?php echo __('Copyright', 'powerpress'); ?>
661
  </th>
662
  <td>
663
- <input type="text" name="Feed[copyright]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['copyright']); ?>" maxlength="250" />
664
  </td>
665
  </tr>
666
  <tr valign="top">
@@ -735,7 +735,7 @@ function powerpressadmin_edit_basics_feed($General, $FeedSettings, $feed_slug, $
735
  <?php echo __('Redirect URL', 'powerpress'); ?>
736
  </th>
737
  <td>
738
- <input type="text" style="width: 60%;" name="Feed[redirect]" value="<?php echo esc_attr($FeedSettings['redirect']); ?>" maxlength="250" />
739
  <?php if( $FeedAttribs['type'] == 'category' ) { ?>
740
  <p class="description"><?php echo __('Note: Category Media Redirect URL is applied to category feeds and pages only. The redirect will also apply to single pages if this is the only category associated with the blog post.', 'powerpress'); ?></p>
741
  <?php } else if( $FeedAttribs['type'] == 'ttid' ) { ?>
@@ -1005,7 +1005,7 @@ function powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs
1005
  <?php echo __('iTunes Program Subtitle', 'powerpress'); ?> <br />
1006
  </th>
1007
  <td>
1008
- <input type="text" name="Feed[itunes_subtitle]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_subtitle']); ?>" maxlength="250" />
1009
  </td>
1010
  </tr>
1011
 
@@ -1049,7 +1049,7 @@ function powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs
1049
  <?php echo __('iTunes Program Keywords', 'powerpress'); ?> <br />
1050
  </th>
1051
  <td>
1052
- <input type="text" name="Feed[itunes_keywords]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_keywords']); ?>" maxlength="250" />
1053
  <p><?php echo __('Feature Deprecated by Apple. Keywords above are for your reference only.', 'powerpress'); ?></p>
1054
  </td>
1055
  </tr>
@@ -1178,7 +1178,7 @@ while( list($value,$desc) = each($explicit) )
1178
  <?php echo __('iTunes Author Name', 'powerpress'); ?>
1179
  </th>
1180
  <td>
1181
- <input type="text" name="Feed[itunes_talent_name]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['itunes_talent_name']); ?>" maxlength="250" /><br />
1182
  <div><input type="checkbox" name="Feed[itunes_author_post]" value="1" <?php echo ( !empty($FeedSettings['itunes_author_post'])?'checked ':''); ?>/> <?php echo __('Use blog post author\'s name for individual episodes.', 'powerpress'); ?></div>
1183
 
1184
  <?php if( !empty($General['seo_itunes']) ) { ?>
@@ -1197,7 +1197,7 @@ while( list($value,$desc) = each($explicit) )
1197
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1198
  </th>
1199
  <td>
1200
- <input type="text" name="Feed[email]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['email']); ?>" maxlength="250" />
1201
  <div>(<?php echo __('iTunes will email this address when your podcast is accepted into the iTunes Directory.', 'powerpress'); ?>)</div>
1202
  </td>
1203
  </tr>
@@ -1259,7 +1259,7 @@ while( list($value,$desc) = each($explicit) )
1259
  </p>
1260
  <p style="margin-bottom: 0;">
1261
  <label style="width: 25%; float:left; display:block; font-weight: bold;"><?php echo __('New Feed URL', 'powerpress'); ?></label>
1262
- <input type="text" name="Feed[itunes_new_feed_url]" style="width: 55%;" value="<?php echo esc_attr($FeedSettings['itunes_new_feed_url']); ?>" maxlength="250" />
1263
  </p>
1264
  <p style="margin-left: 25%;margin-top: 0;font-size: 90%;">(<?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?>)</p>
1265
 
508
  <?php echo __('Feed Title (Show Title)', 'powerpress'); ?>
509
  </th>
510
  <td>
511
+ <input type="text" name="Feed[title]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="255" />
512
  <?php if( $cat_ID ) { ?>
513
  (<?php echo __('leave blank to use default category title', 'powerpress'); ?>)
514
  <?php } else { ?>
555
  <?php echo __('Feed Landing Page URL', 'powerpress'); ?> <br />
556
  </th>
557
  <td>
558
+ <input type="text" name="Feed[url]" style="width: 60%;" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="255" />
559
  <?php if( $cat_ID ) { ?>
560
  (<?php echo __('leave blank to use category page', 'powerpress'); ?>)
561
  <?php } else { ?>
660
  <?php echo __('Copyright', 'powerpress'); ?>
661
  </th>
662
  <td>
663
+ <input type="text" name="Feed[copyright]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['copyright']); ?>" maxlength="255" />
664
  </td>
665
  </tr>
666
  <tr valign="top">
735
  <?php echo __('Redirect URL', 'powerpress'); ?>
736
  </th>
737
  <td>
738
+ <input type="text" style="width: 60%;" name="Feed[redirect]" value="<?php echo esc_attr($FeedSettings['redirect']); ?>" maxlength="255" />
739
  <?php if( $FeedAttribs['type'] == 'category' ) { ?>
740
  <p class="description"><?php echo __('Note: Category Media Redirect URL is applied to category feeds and pages only. The redirect will also apply to single pages if this is the only category associated with the blog post.', 'powerpress'); ?></p>
741
  <?php } else if( $FeedAttribs['type'] == 'ttid' ) { ?>
1005
  <?php echo __('iTunes Program Subtitle', 'powerpress'); ?> <br />
1006
  </th>
1007
  <td>
1008
+ <input type="text" name="Feed[itunes_subtitle]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_subtitle']); ?>" maxlength="255" />
1009
  </td>
1010
  </tr>
1011
 
1049
  <?php echo __('iTunes Program Keywords', 'powerpress'); ?> <br />
1050
  </th>
1051
  <td>
1052
+ <input type="text" name="Feed[itunes_keywords]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_keywords']); ?>" maxlength="255" />
1053
  <p><?php echo __('Feature Deprecated by Apple. Keywords above are for your reference only.', 'powerpress'); ?></p>
1054
  </td>
1055
  </tr>
1178
  <?php echo __('iTunes Author Name', 'powerpress'); ?>
1179
  </th>
1180
  <td>
1181
+ <input type="text" name="Feed[itunes_talent_name]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['itunes_talent_name']); ?>" maxlength="255" /><br />
1182
  <div><input type="checkbox" name="Feed[itunes_author_post]" value="1" <?php echo ( !empty($FeedSettings['itunes_author_post'])?'checked ':''); ?>/> <?php echo __('Use blog post author\'s name for individual episodes.', 'powerpress'); ?></div>
1183
 
1184
  <?php if( !empty($General['seo_itunes']) ) { ?>
1197
  <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1198
  </th>
1199
  <td>
1200
+ <input type="text" name="Feed[email]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['email']); ?>" maxlength="255" />
1201
  <div>(<?php echo __('iTunes will email this address when your podcast is accepted into the iTunes Directory.', 'powerpress'); ?>)</div>
1202
  </td>
1203
  </tr>
1259
  </p>
1260
  <p style="margin-bottom: 0;">
1261
  <label style="width: 25%; float:left; display:block; font-weight: bold;"><?php echo __('New Feed URL', 'powerpress'); ?></label>
1262
+ <input type="text" name="Feed[itunes_new_feed_url]" style="width: 55%;" value="<?php echo esc_attr($FeedSettings['itunes_new_feed_url']); ?>" maxlength="255" />
1263
  </p>
1264
  <p style="margin-left: 25%;margin-top: 0;font-size: 90%;">(<?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?>)</p>
1265
 
powerpressadmin-find-replace.php CHANGED
@@ -229,7 +229,7 @@ dt {
229
  <tr valign="top">
230
  <th scope="row"><?php echo __("Find in URL", 'powerpress'); ?></th>
231
  <td>
232
- <input type="text" id="find_string" name="FindReplace[find_string]" style="width: 50%;" value="<?php echo esc_attr($FindReplace['find_string']); ?>" maxlength="250" <?php if( $FindReplace['step'] != 1 ) { echo ' readOnly'; } ?> />
233
  <?php if( $FindReplace['step'] != 1 ) { ?><a href="#" onclick="jQuery('#replace_step').val('1');jQuery('#replace_step').closest('form').submit();return false;"><?php echo __('Modify', 'powerpress'); ?></a><?php } ?>
234
  <p style="margin: 0; font-size: 90%;"><?php echo __('Example', 'powerpress'); ?>: http://www.oldsite.com/</p>
235
  </td>
@@ -237,7 +237,7 @@ dt {
237
  <tr valign="top">
238
  <th scope="row"><?php echo __('Replace with', 'powerpress'); ?></th>
239
  <td>
240
- <input type="text" id="replace_string" name="FindReplace[replace_string]" style="width: 50%;" value="<?php echo esc_attr($FindReplace['replace_string']); ?>" maxlength="250" <?php if( $FindReplace['step'] != 1 ) { echo ' readOnly'; } ?> />
241
  <?php if( $FindReplace['step'] != 1 ) { ?><a href="#" onclick="jQuery('#replace_step').val('1');jQuery('#replace_step').closest('form').submit();return false;"><?php echo __('Modify', 'powerpress'); ?></a><?php } ?>
242
  <p style="margin: 0; font-size: 90%;"><?php echo __('Example', 'powerpress'); ?>: http://www.newsite.com/</p>
243
  </td>
229
  <tr valign="top">
230
  <th scope="row"><?php echo __("Find in URL", 'powerpress'); ?></th>
231
  <td>
232
+ <input type="text" id="find_string" name="FindReplace[find_string]" style="width: 50%;" value="<?php echo esc_attr($FindReplace['find_string']); ?>" maxlength="255" <?php if( $FindReplace['step'] != 1 ) { echo ' readOnly'; } ?> />
233
  <?php if( $FindReplace['step'] != 1 ) { ?><a href="#" onclick="jQuery('#replace_step').val('1');jQuery('#replace_step').closest('form').submit();return false;"><?php echo __('Modify', 'powerpress'); ?></a><?php } ?>
234
  <p style="margin: 0; font-size: 90%;"><?php echo __('Example', 'powerpress'); ?>: http://www.oldsite.com/</p>
235
  </td>
237
  <tr valign="top">
238
  <th scope="row"><?php echo __('Replace with', 'powerpress'); ?></th>
239
  <td>
240
+ <input type="text" id="replace_string" name="FindReplace[replace_string]" style="width: 50%;" value="<?php echo esc_attr($FindReplace['replace_string']); ?>" maxlength="255" <?php if( $FindReplace['step'] != 1 ) { echo ' readOnly'; } ?> />
241
  <?php if( $FindReplace['step'] != 1 ) { ?><a href="#" onclick="jQuery('#replace_step').val('1');jQuery('#replace_step').closest('form').submit();return false;"><?php echo __('Modify', 'powerpress'); ?></a><?php } ?>
242
  <p style="margin: 0; font-size: 90%;"><?php echo __('Example', 'powerpress'); ?>: http://www.newsite.com/</p>
243
  </td>
powerpressadmin-player-page.php CHANGED
@@ -930,7 +930,7 @@ function audio_player_defaults()
930
  <?php echo __('Play Icon', 'powerpress'); ?></th>
931
  <td>
932
 
933
- <input type="text" id="audio_custom_play_button" name="General[audio_custom_play_button]" style="width: 60%;" value="<?php echo esc_attr($General['audio_custom_play_button']); ?>" maxlength="250" />
934
  <a href="#" onclick="javascript: window.open( document.getElementById('audio_custom_play_button').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
935
 
936
  <p><?php echo __('Place the URL to the play icon above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/audio_play_icon.jpg<br /><br />
@@ -1207,7 +1207,7 @@ function audio_player_defaults()
1207
  <?php echo __('Default Poster Image', 'powerpress'); ?></th>
1208
  <td>
1209
 
1210
- <input type="text" id="poster_image" name="General[poster_image]" style="width: 60%;" value="<?php echo esc_attr($General['poster_image']); ?>" maxlength="250" />
1211
  <a href="#" onclick="javascript: window.open( document.getElementById('poster_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1212
 
1213
  <p><?php echo __('Place the URL to the poster image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/poster.jpg<br /><br />
@@ -1241,7 +1241,7 @@ function audio_player_defaults()
1241
  <?php echo __('Video Play Icon', 'powerpress'); ?></th>
1242
  <td>
1243
 
1244
- <input type="text" id="video_custom_play_button" name="General[video_custom_play_button]" style="width: 60%;" value="<?php echo esc_attr($General['video_custom_play_button']); ?>" maxlength="250" />
1245
  <a href="#" onclick="javascript: window.open( document.getElementById('video_custom_play_button').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1246
 
1247
  <p><?php echo __('Place the URL to the play icon above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/video_play_icon.jpg<br /><br />
930
  <?php echo __('Play Icon', 'powerpress'); ?></th>
931
  <td>
932
 
933
+ <input type="text" id="audio_custom_play_button" name="General[audio_custom_play_button]" style="width: 60%;" value="<?php echo esc_attr($General['audio_custom_play_button']); ?>" maxlength="255" />
934
  <a href="#" onclick="javascript: window.open( document.getElementById('audio_custom_play_button').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
935
 
936
  <p><?php echo __('Place the URL to the play icon above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/audio_play_icon.jpg<br /><br />
1207
  <?php echo __('Default Poster Image', 'powerpress'); ?></th>
1208
  <td>
1209
 
1210
+ <input type="text" id="poster_image" name="General[poster_image]" style="width: 60%;" value="<?php echo esc_attr($General['poster_image']); ?>" maxlength="255" />
1211
  <a href="#" onclick="javascript: window.open( document.getElementById('poster_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1212
 
1213
  <p><?php echo __('Place the URL to the poster image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/poster.jpg<br /><br />
1241
  <?php echo __('Video Play Icon', 'powerpress'); ?></th>
1242
  <td>
1243
 
1244
+ <input type="text" id="video_custom_play_button" name="General[video_custom_play_button]" style="width: 60%;" value="<?php echo esc_attr($General['video_custom_play_button']); ?>" maxlength="255" />
1245
  <a href="#" onclick="javascript: window.open( document.getElementById('video_custom_play_button').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1246
 
1247
  <p><?php echo __('Place the URL to the play icon above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/video_play_icon.jpg<br /><br />
powerpressadmin-posttypefeeds.php CHANGED
@@ -101,11 +101,15 @@ function powerpress_admin_posttypefeeds()
101
  $edit_link = admin_url('admin.php?page=powerpress/powerpressadmin_posttypefeeds.php&amp;action=powerpress-editposttypefeed&amp;feed_slug='. $feed_slug .'&podcast_post_type='.$post_type) ;
102
 
103
  $url = get_post_type_archive_feed_link($post_type, $feed_slug);
104
- $short_url = str_replace('http://', '', $url);
105
- $short_url = str_replace('www.', '', $short_url);
106
- if (strlen($short_url) > 35)
107
- $short_url = substr($short_url, 0, 32).'...';
108
-
 
 
 
 
109
  foreach($columns as $column_name=>$column_display_name) {
110
  $class = "class=\"column-$column_name\"";
111
 
101
  $edit_link = admin_url('admin.php?page=powerpress/powerpressadmin_posttypefeeds.php&amp;action=powerpress-editposttypefeed&amp;feed_slug='. $feed_slug .'&podcast_post_type='.$post_type) ;
102
 
103
  $url = get_post_type_archive_feed_link($post_type, $feed_slug);
104
+ if( empty($url) ) {
105
+ $url = '';
106
+ $short_url = '';
107
+ } else {
108
+ $short_url = str_replace('http://', '', $url);
109
+ $short_url = str_replace('www.', '', $short_url);
110
+ if (strlen($short_url) > 35)
111
+ $short_url = substr($short_url, 0, 32).'...';
112
+ }
113
  foreach($columns as $column_name=>$column_display_name) {
114
  $class = "class=\"column-$column_name\"";
115
 
powerpressadmin-taxonomyfeeds.php CHANGED
@@ -90,7 +90,8 @@ function powerpress_admin_taxonomyfeeds()
90
 
91
  //$category = get_category_to_edit($cat_ID);
92
  $term_object = get_term( $term_ID, $taxonomy_type, OBJECT, 'edit');
93
-
 
94
 
95
  $columns = powerpress_admin_taxonomyfeeds_columns();
96
  $hidden = array();
90
 
91
  //$category = get_category_to_edit($cat_ID);
92
  $term_object = get_term( $term_ID, $taxonomy_type, OBJECT, 'edit');
93
+ if( is_wp_error($term_object) )
94
+ continue;
95
 
96
  $columns = powerpress_admin_taxonomyfeeds_columns();
97
  $hidden = array();
powerpressadmin.php CHANGED
@@ -4447,7 +4447,7 @@ function powerpresspartner_clammr_info($Settings=true)
4447
  <img src="<?php echo powerpress_get_root_url(); ?>images/clammr.png" style="width: 30px; height: 30px; position: absolute; top: 0; left: -34px;" />
4448
  <?php echo __('Clammr Player PowerPress Add-on', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></h3>
4449
  <p style="margin-left: 50px;">
4450
- <?php echo __('Blubrry has partnered with Clammr to enable a social-themed audio player for your site. As visitors listen to your podcast, they can tap the integrated Clammr Button to tag their favorite highlights and share them to Facebook and Twitter. The shared highligths contain links back to you full audio and site, driving additional audience and traffic to you.', 'powerpress'); ?>
4451
  </p>
4452
  <?php if( $Settings ) { if( $ClammrPluginEnabled == false ) {
4453
 
4447
  <img src="<?php echo powerpress_get_root_url(); ?>images/clammr.png" style="width: 30px; height: 30px; position: absolute; top: 0; left: -34px;" />
4448
  <?php echo __('Clammr Player PowerPress Add-on', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></h3>
4449
  <p style="margin-left: 50px;">
4450
+ <?php echo __('Blubrry has partnered with Clammr to enable a social-themed audio player for your site. As visitors listen to your podcast, they can tap the integrated Clammr Button to tag their favorite highlights and share them to Facebook and Twitter. The shared highlights contain links back to your full audio and site, driving additional audience and traffic to you.', 'powerpress'); ?>
4451
  </p>
4452
  <?php if( $Settings ) { if( $ClammrPluginEnabled == false ) {
4453
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: amandato, blubrry
3
  Tags: powerpress, podcasting, podcast, podcaster, itunes, google play music, google play, enclosure, professional, apple, apple tv, ipad, iphone, 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, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Tested up to: 4.4
6
- Stable tag: 6.2.1
7
  Donate link: https://www.patreon.com/blubrry?ty=h
8
  License: GPLv2 or later
9
 
@@ -116,6 +116,7 @@ Note: Advanced settings such as settings for podcast categories will need to be
116
  [Anyone can help translate PowerPress!](http://create.blubrry.com/resources/powerpress/powerpress-language/translate-powerpress/) If you are intersted in translating PowerPress, please [contact us](https://www.blubrry.com/contact/#translate).
117
 
118
  **Translators will receive the following from us as a thank you for contributing:**
 
119
  * Free [Blubrry Professional podcast statistics](http://create.blubrry.com/resources/podcast-media-download-statistics/) account for your podcast.
120
  * Name or nickname in the PowerPress readme.txt and in the [PowerPress WordPress.org Translators list](https://wordpress.org/plugins/powerpress/other_notes/) (will give you credit for your contribution)
121
  * Website URL (optional, we will link to your website)
@@ -224,6 +225,16 @@ To install Blubrry PowerPress manually, follow these steps:
224
  = Become a PowerPress Patron! =
225
  Help support your favorite podcasting plugin via Patreon. [Visit Blubrry's Patreon page](https://www.patreon.com/blubrry?ty=h)
226
 
 
 
 
 
 
 
 
 
 
 
227
  = 6.2.1 =
228
  * Released on 11/22/2015
229
  * Removed logic added in last updated to call the do_shortcode function. We originally added this code to solve a theme conflict, it appears to have cause problems for others so we're reverting back.
3
  Tags: powerpress, podcasting, podcast, podcaster, itunes, google play music, google play, enclosure, professional, apple, apple tv, ipad, iphone, 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, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Tested up to: 4.4
6
+ Stable tag: 6.2.2
7
  Donate link: https://www.patreon.com/blubrry?ty=h
8
  License: GPLv2 or later
9
 
116
  [Anyone can help translate PowerPress!](http://create.blubrry.com/resources/powerpress/powerpress-language/translate-powerpress/) If you are intersted in translating PowerPress, please [contact us](https://www.blubrry.com/contact/#translate).
117
 
118
  **Translators will receive the following from us as a thank you for contributing:**
119
+
120
  * Free [Blubrry Professional podcast statistics](http://create.blubrry.com/resources/podcast-media-download-statistics/) account for your podcast.
121
  * Name or nickname in the PowerPress readme.txt and in the [PowerPress WordPress.org Translators list](https://wordpress.org/plugins/powerpress/other_notes/) (will give you credit for your contribution)
122
  * Website URL (optional, we will link to your website)
225
  = Become a PowerPress Patron! =
226
  Help support your favorite podcasting plugin via Patreon. [Visit Blubrry's Patreon page](https://www.patreon.com/blubrry?ty=h)
227
 
228
+ = 6.2.2 =
229
+ * Released on 12/9/2015
230
+ * WordPress 4.4 has changed how feed titles are set. Please update PowerPress immediately to avoid feed title issues.
231
+ * Feed titles in WP 4.4 no longer use the `get_bloginfo_rss` filter. All other feed fields appear to still be using the `get_bloginfo_rss` filter at this time. We will be taking additional measures in future releases of PowerPress assuming WordPress core will be abandoning the `get_bloginfo_rss` filter for all other feed fields.
232
+ * YOU MUST UPDATE POWERPRESS TO 6.2.2 IF YOU ARE USING WORDPRESS 4.4
233
+ * Tested latest changes does not break backwards compatibility with WordPRess 4.3 or older.
234
+ * Fixed Clammr typos (Thanks Robin for the heads up!)
235
+ * Increased fields with maxlength 250 to 255 for iTunes settings (Thanks Robin for pointing out limit!)
236
+
237
+
238
  = 6.2.1 =
239
  * Released on 11/22/2015
240
  * Removed logic added in last updated to call the do_shortcode function. We originally added this code to solve a theme conflict, it appears to have cause problems for others so we're reverting back.