PowerPress Podcasting plugin by Blubrry - Version 8.3.1

Version Description

  • Released 06/02/2020
  • Bug fix to artwork upload in Settings
Download this release

Release Info

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

Code changes from version 8.3 to 8.3.1

Files changed (3) hide show
  1. powerpress.php +2 -2
  2. powerpressadmin-basic.php +21 -6
  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.3
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.3' );
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.3.1
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.3.1' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-basic.php CHANGED
@@ -1113,6 +1113,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1113
  {
1114
  $SupportUploads = powerpressadmin_support_uploads();
1115
  ?>
 
1116
  <h1 class="pp-heading"><?php echo __('Podcast Artwork', 'powerpress'); ?></h1>
1117
 
1118
 
@@ -1123,12 +1124,15 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1123
  <label for="Feed[itunes_image]" class="pp-settings-label-under"><?php echo __('Apple Podcast image must be at least 1400 x 1400 pixels in .jpg or .png format. Apple Podcast image must not exceed 3000 x 3000 pixels and must use RGB color space. The filesize should not exceed 0.5MB.', 'powerpress'); ?></label>
1124
 
1125
  <?php if( $SupportUploads ) { ?>
 
1126
  <div id="itunes_image_upload">
1127
  <div>
1128
  <div class="pp-settings-button">
1129
- <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1130
- <label class="pp-settings-button-label" for="itunes_image_file"><?php echo __('Upload Image', 'powerpress'); ?></label>
1131
- <input type="file" id="itunes_image_file" name="itunes_image_file" style="display: none" />
 
 
1132
  </div>
1133
  </div>
1134
  <input class="pp-settings-checkbox" style="margin-top: 0;" name="itunes_image_checkbox_as_rss" type="checkbox" value="1" onchange="powerpress_show_field('rss_image_upload_container', !this.checked)" />
@@ -1166,17 +1170,28 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1166
  -->
1167
 
1168
  <?php if( $SupportUploads ) { ?>
 
1169
  <div id="rss_image_upload">
1170
  <div>
1171
  <div class="pp-settings-button">
1172
- <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1173
- <label class="pp-settings-button-label" for="rss2_image_file"><?php echo __('Upload Image', 'powerpress'); ?></label>
1174
- <input type="file" id="rss2_image_file" name="rss2_image_file" style="display: none" />
 
 
1175
  </div>
1176
  </div>
1177
  </div>
1178
  <?php } ?>
1179
  </div>
 
 
 
 
 
 
 
 
1180
  <?php
1181
 
1182
  }
1113
  {
1114
  $SupportUploads = powerpressadmin_support_uploads();
1115
  ?>
1116
+
1117
  <h1 class="pp-heading"><?php echo __('Podcast Artwork', 'powerpress'); ?></h1>
1118
 
1119
 
1124
  <label for="Feed[itunes_image]" class="pp-settings-label-under"><?php echo __('Apple Podcast image must be at least 1400 x 1400 pixels in .jpg or .png format. Apple Podcast image must not exceed 3000 x 3000 pixels and must use RGB color space. The filesize should not exceed 0.5MB.', 'powerpress'); ?></label>
1125
 
1126
  <?php if( $SupportUploads ) { ?>
1127
+ <input name="itunes_image_checkbox" type="hidden" value="1" />
1128
  <div id="itunes_image_upload">
1129
  <div>
1130
  <div class="pp-settings-button">
1131
+ <label class="pp-settings-button-label" for="itunes_image_file">
1132
+ <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1133
+ <?php echo __('Upload Image', 'powerpress'); ?>
1134
+ </label>
1135
+ <input type="file" id="itunes_image_file" name="itunes_image_file" accept="image/*" class="pp_file_upload" style="display: none" />
1136
  </div>
1137
  </div>
1138
  <input class="pp-settings-checkbox" style="margin-top: 0;" name="itunes_image_checkbox_as_rss" type="checkbox" value="1" onchange="powerpress_show_field('rss_image_upload_container', !this.checked)" />
1170
  -->
1171
 
1172
  <?php if( $SupportUploads ) { ?>
1173
+ <input name="rss2_image_checkbox" type="hidden" value="1" />
1174
  <div id="rss_image_upload">
1175
  <div>
1176
  <div class="pp-settings-button">
1177
+ <label class="pp-settings-button-label" for="rss2_image_file">
1178
+ <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1179
+ <?php echo __('Upload Image', 'powerpress'); ?>
1180
+ </label>
1181
+ <input type="file" id="rss2_image_file" name="rss2_image_file" style="display: none" />
1182
  </div>
1183
  </div>
1184
  </div>
1185
  <?php } ?>
1186
  </div>
1187
+ <script>
1188
+ document.getElementById('itunes_image_file').onchange = function () {
1189
+ document.getElementById('itunes_image').value = this.value.replace("C:\\fakepath\\", "");
1190
+ };
1191
+ document.getElementById('rss2_image_file').onchange = function () {
1192
+ document.getElementById('rss2_image').value = this.value.replace("C:\\fakepath\\", "");
1193
+ };
1194
+ </script>
1195
  <?php
1196
 
1197
  }
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.4
7
- Stable tag: 8.3
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -236,6 +236,10 @@ To install Blubrry PowerPress manually, follow these steps:
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.3 =
240
  * Released 06/01/2020
241
  * Fresh new appearance for PowerPress settings tabs
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.4
7
+ Stable tag: 8.3.1
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
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.3.1 =
240
+ * Released 06/02/2020
241
+ * Bug fix to artwork upload in Settings
242
+
243
  = 8.3 =
244
  * Released 06/01/2020
245
  * Fresh new appearance for PowerPress settings tabs