Version Description
- Released on 01/10/2022
- Fixed PHP8 fatal error
- Fixed a bug with Blubrry account linking
- Fixed a bug related to Blubrry uploader cross-origin issues
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.7.9 |
Comparing to | |
See all releases |
Code changes from version 8.7.8 to 8.7.9
- powerpress.php +2 -2
- powerpressadmin-basic.php +2 -1
- powerpressadmin-jquery.php +4 -3
- powerpressadmin-stats-widget.class.php +3 -1
- readme.txt +7 -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.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.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.7.9
|
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.7.9' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin-basic.php
CHANGED
@@ -651,7 +651,8 @@ function powerpressadmin_edit_blubrry_services($General, $action_url = false, $a
|
|
651 |
?>
|
652 |
<div id="connect-blubrry-services">
|
653 |
<?php
|
654 |
-
|
|
|
655 |
<div id="blubrry-services-connected-settings">
|
656 |
<div style="margin-bottom: 1em;">
|
657 |
<span><img src="<?php echo powerpress_get_root_url(); ?>images/done_24px.svg" style="margin: 0 0 0 8%;vertical-align: text-bottom;" alt="<?php echo __('Enabled!', 'powerpress'); ?>" /></span>
|
651 |
?>
|
652 |
<div id="connect-blubrry-services">
|
653 |
<?php
|
654 |
+
$creds = get_option('powerpress_creds');
|
655 |
+
if( $creds ) { ?>
|
656 |
<div id="blubrry-services-connected-settings">
|
657 |
<div style="margin-bottom: 1em;">
|
658 |
<span><img src="<?php echo powerpress_get_root_url(); ?>images/done_24px.svg" style="margin: 0 0 0 8%;vertical-align: text-bottom;" alt="<?php echo __('Enabled!', 'powerpress'); ?>" /></span>
|
powerpressadmin-jquery.php
CHANGED
@@ -288,9 +288,10 @@ function powerpress_admin_jquery_init()
|
|
288 |
window.addEventListener('message', function(event) {
|
289 |
<?php
|
290 |
if (defined('POWERPRESS_BLUBRRY_API_URL')) {
|
291 |
-
$
|
292 |
-
$
|
293 |
-
$desired_origin =
|
|
|
294 |
} else {
|
295 |
$desired_origin = 'publish.blubrry.com';
|
296 |
}
|
288 |
window.addEventListener('message', function(event) {
|
289 |
<?php
|
290 |
if (defined('POWERPRESS_BLUBRRY_API_URL')) {
|
291 |
+
$origin_array = explode('.', POWERPRESS_BLUBRRY_API_URL);
|
292 |
+
$origin_array[0] = 'publish';
|
293 |
+
$desired_origin = implode('.', $origin_array);
|
294 |
+
$desired_origin = rtrim($desired_origin, '/');
|
295 |
} else {
|
296 |
$desired_origin = 'publish.blubrry.com';
|
297 |
}
|
powerpressadmin-stats-widget.class.php
CHANGED
@@ -87,13 +87,15 @@ class PowerPressStatsWidget
|
|
87 |
$this->content['error'] = __('Error: A network or authentication error occurred.') . ' <a href="https://blubrry.com/support/powerpress-documentation/services-stats/" target="_blank">' . __('Click Here For Help', 'powerpress') . '</a>' ;
|
88 |
}
|
89 |
|
90 |
-
//If we've just called the API, we'
|
91 |
if ($updating) {
|
92 |
//Check for errors from the API
|
93 |
if (!isset($new_content) || !$new_content) {
|
|
|
94 |
$this->content['error'] = 'Unable to retrieve statistics';
|
95 |
$success = false;
|
96 |
} elseif (isset($new_content['error'])) {
|
|
|
97 |
$this->content['error'] = $new_content['error'];
|
98 |
$success = false;
|
99 |
} else {
|
87 |
$this->content['error'] = __('Error: A network or authentication error occurred.') . ' <a href="https://blubrry.com/support/powerpress-documentation/services-stats/" target="_blank">' . __('Click Here For Help', 'powerpress') . '</a>' ;
|
88 |
}
|
89 |
|
90 |
+
//If we've just called the API, we'll need to update the cached stats content
|
91 |
if ($updating) {
|
92 |
//Check for errors from the API
|
93 |
if (!isset($new_content) || !$new_content) {
|
94 |
+
$this->content = array();
|
95 |
$this->content['error'] = 'Unable to retrieve statistics';
|
96 |
$success = false;
|
97 |
} elseif (isset($new_content['error'])) {
|
98 |
+
$this->content = array();
|
99 |
$this->content['error'] = $new_content['error'];
|
100 |
$success = false;
|
101 |
} else {
|
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.8
|
7 |
-
Stable tag: 8.7.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -186,6 +186,12 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
= 8.7.8 =
|
190 |
* Released on 11/22/2021
|
191 |
* Bugfix for already published media
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 8.7.9
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 8.7.9 =
|
190 |
+
* Released on 01/10/2022
|
191 |
+
* Fixed PHP8 fatal error
|
192 |
+
* Fixed a bug with Blubrry account linking
|
193 |
+
* Fixed a bug related to Blubrry uploader cross-origin issues
|
194 |
+
|
195 |
= 8.7.8 =
|
196 |
* Released on 11/22/2021
|
197 |
* Bugfix for already published media
|