PowerPress Podcasting plugin by Blubrry - Version 8.5.8

Version Description

Download this release

Release Info

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

Code changes from version 8.5.7 to 8.5.8

Files changed (3) hide show
  1. powerpress.php +2 -2
  2. powerpressadmin-jquery.php +21 -0
  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.5.7
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.5.7' );
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.5.8
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.5.8' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-jquery.php CHANGED
@@ -313,6 +313,26 @@ function powerpress_admin_jquery_init()
313
  </style>
314
  <script language="JavaScript" type="text/javascript"><!--
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  function SelectMedia(File)
317
  {
318
  self.parent.document.getElementById('powerpress_url_<?php echo $FeedSlug; ?>').value=File;
@@ -1155,6 +1175,7 @@ jQuery(document).ready(function($) {
1155
  {
1156
  $RedirectURL .= '&ReturnURL=';
1157
  $RedirectURL .= urlencode( admin_url("admin.php?action=powerpress-jquery-upload-complete") );
 
1158
  header("Location: $RedirectURL");
1159
  exit;
1160
  }
313
  </style>
314
  <script language="JavaScript" type="text/javascript"><!--
315
 
316
+ window.addEventListener('message', function(event) {
317
+ <?php
318
+ if (defined('POWERPRESS_BLUBRRY_API_URL')) {
319
+ $desired_origin = str_replace('api', 'publish', rtrim(POWERPRESS_BLUBRRY_API_URL, '/'));
320
+ } else {
321
+ $desired_origin = 'https://publish.blubrry.com';
322
+ }
323
+ ?>
324
+ if(event.origin === '<?php echo $desired_origin; ?>')
325
+ {
326
+ if (event.data.message.includes("FILE: ")) {
327
+ let file = event.data.message.replace("FILE: ", "");
328
+ tb_remove();
329
+ SelectMedia(file);
330
+ } else if (event.data.message.includes("CLOSE")) {
331
+ tb_remove();
332
+ }
333
+ }
334
+ }, false);
335
+
336
  function SelectMedia(File)
337
  {
338
  self.parent.document.getElementById('powerpress_url_<?php echo $FeedSlug; ?>').value=File;
1175
  {
1176
  $RedirectURL .= '&ReturnURL=';
1177
  $RedirectURL .= urlencode( admin_url("admin.php?action=powerpress-jquery-upload-complete") );
1178
+ $RedirectURL .= '&message=true';
1179
  header("Location: $RedirectURL");
1180
  exit;
1181
  }
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.7
7
- Stable tag: 8.5.7
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -184,6 +184,10 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
184
 
185
  == Changelog ==
186
 
 
 
 
 
187
  = 8.5.7 =
188
  * Released 04/22/2021
189
  * Fixed a bug in the PowerPress Network area
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.7
7
+ Stable tag: 8.5.8
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
184
 
185
  == Changelog ==
186
 
187
+ - 8.5.8 =
188
+ * Released on 04/29/2021
189
+ * Fixed a PowerPress uploader bug introduced in a chrome update
190
+
191
  = 8.5.7 =
192
  * Released 04/22/2021
193
  * Fixed a bug in the PowerPress Network area