Version Description
- Released 05/19/2021
- Small bugfixes
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.6.3 |
Comparing to | |
See all releases |
Code changes from version 8.6.2 to 8.6.3
- powerpress.php +2 -2
- powerpressadmin-editfeed.php +6 -4
- powerpressadmin-jquery.php +2 -2
- powerpressadmin-stats-widget.class.php +6 -3
- readme.txt +6 -2
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.6.
|
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.6.
|
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.6.3
|
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.6.3' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin-editfeed.php
CHANGED
@@ -305,10 +305,9 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
305 |
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
306 |
</div>
|
307 |
</div>
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
</div>
|
312 |
</div>
|
313 |
</div>
|
314 |
|
@@ -316,6 +315,7 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
316 |
<div class="pp-sidenav-toggle-container">
|
317 |
<div id="feeds-toggle-sidenav" class="toggle-sidenav" title="More Feed Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
318 |
<div class="pp-sidenav">
|
|
|
319 |
<button id="feeds-default-open" class="pp-sidenav-tablinks active" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
|
320 |
<button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
|
321 |
<button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
|
@@ -354,6 +354,7 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
354 |
<div class="pp-sidenav-toggle-container">
|
355 |
<div id="website-toggle-sidenav" class="toggle-sidenav" title="More Website Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
356 |
<div class="pp-sidenav">
|
|
|
357 |
<button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
|
358 |
<button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
|
359 |
<?php
|
@@ -447,6 +448,7 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
447 |
</div>
|
448 |
</div>
|
449 |
|
|
|
450 |
<div class="clear"></div>
|
451 |
|
452 |
<div class="clear"></div>
|
305 |
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
306 |
</div>
|
307 |
</div>
|
308 |
+
<button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
309 |
+
<div id="welcome-all" class="pp-sidenav-tab active">
|
310 |
+
<?php powerpressadmin_welcome($General, $FeedSettings, $NewPostQueryString); ?>
|
|
|
311 |
</div>
|
312 |
</div>
|
313 |
|
315 |
<div class="pp-sidenav-toggle-container">
|
316 |
<div id="feeds-toggle-sidenav" class="toggle-sidenav" title="More Feed Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
317 |
<div class="pp-sidenav">
|
318 |
+
<div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('FEED SETTINGS', 'powerpress')); ?></b></p></div>
|
319 |
<button id="feeds-default-open" class="pp-sidenav-tablinks active" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
|
320 |
<button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
|
321 |
<button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
|
354 |
<div class="pp-sidenav-toggle-container">
|
355 |
<div id="website-toggle-sidenav" class="toggle-sidenav" title="More Website Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
356 |
<div class="pp-sidenav">
|
357 |
+
<div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('WEBSITE SETTINGS', 'powerpress')); ?></b></p></div>
|
358 |
<button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
|
359 |
<button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
|
360 |
<?php
|
448 |
</div>
|
449 |
</div>
|
450 |
|
451 |
+
</div>
|
452 |
<div class="clear"></div>
|
453 |
|
454 |
<div class="clear"></div>
|
powerpressadmin-jquery.php
CHANGED
@@ -210,7 +210,7 @@ function powerpress_admin_jquery_init()
|
|
210 |
$api_url_array = powerpress_get_api_array();
|
211 |
if ($creds) {
|
212 |
$accessToken = powerpress_getAccessToken();
|
213 |
-
$req_url = sprintf('/2/media/%s/index.json?quota=true&published=true&cache=' . md5( rand(0, 999) . time() ), $blubrryProgramKeyword);
|
214 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
215 |
$req_url_programs = sprintf('/2/service/index.json?cache=' . md5( rand(0, 999) . time() ));
|
216 |
$req_url_programs .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
@@ -218,7 +218,7 @@ function powerpress_admin_jquery_init()
|
|
218 |
$results_programs = $auth->api($accessToken, $req_url_programs);
|
219 |
} else {
|
220 |
foreach ($api_url_array as $index => $api_url) {
|
221 |
-
$req_url = sprintf('%s/media/%s/index.json?quota=true&published=true&cache=' . md5( rand(0, 999) . time() ), rtrim($api_url, '/'), $blubrryProgramKeyword);
|
222 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
223 |
$req_url_programs = sprintf('%s/service/index.json?cache=' . md5( rand(0, 999) . time() ), rtrim($api_url, '/'));
|
224 |
$req_url_programs .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
210 |
$api_url_array = powerpress_get_api_array();
|
211 |
if ($creds) {
|
212 |
$accessToken = powerpress_getAccessToken();
|
213 |
+
$req_url = sprintf('/2/media/%s/index.json?quota=true&wp_admin_url=' . urlencode(admin_url('admin.php')) . '&published=true&cache=' . md5( rand(0, 999) . time() ), $blubrryProgramKeyword);
|
214 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
215 |
$req_url_programs = sprintf('/2/service/index.json?cache=' . md5( rand(0, 999) . time() ));
|
216 |
$req_url_programs .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
218 |
$results_programs = $auth->api($accessToken, $req_url_programs);
|
219 |
} else {
|
220 |
foreach ($api_url_array as $index => $api_url) {
|
221 |
+
$req_url = sprintf('%s/media/%s/index.json?quota=true&wp_admin_url=' . urlencode(admin_url('admin.php')) . '&published=true&cache=' . md5( rand(0, 999) . time() ), rtrim($api_url, '/'), $blubrryProgramKeyword);
|
222 |
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
223 |
$req_url_programs = sprintf('%s/service/index.json?cache=' . md5( rand(0, 999) . time() ), rtrim($api_url, '/'));
|
224 |
$req_url_programs .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
powerpressadmin-stats-widget.class.php
CHANGED
@@ -37,9 +37,11 @@ class PowerPressStatsWidget
|
|
37 |
|
38 |
// If no content or it's been over 3 hours...
|
39 |
if (!empty($Settings['network_mode'])) {
|
|
|
40 |
$this->content['error'] = 'Multi-program mode is enabled, please visit <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
41 |
} //logged in but no program selected
|
42 |
else if (empty($Keyword) && (($creds || $UserPass) && time() > ($StatsCached['updated'] + (60 * 60 * 3)))) {
|
|
|
43 |
$this->content['error'] = "No program selected. Please visit <a href=\"https://stats.blubrry.com/\" target=\"_blank\">Blubrry.com</a> to see your statistics";
|
44 |
} else if ($creds && time() > ($StatsCached['updated'] + (60 * 60 * 3))) {
|
45 |
$updating = true;
|
@@ -68,6 +70,7 @@ class PowerPressStatsWidget
|
|
68 |
$new_content = false;
|
69 |
}
|
70 |
} else if (!$UserPass && !$creds) {
|
|
|
71 |
$this->content['error'] = "<div class='blubrry-stats-marketing-message'>";
|
72 |
$this->content['error'] .= "<h2 class='blubrry-stats-marketing-text'>Free Podcast Statistics</h2>";
|
73 |
$this->content['error'] .= "<h4 class='blubrry-stats-marketing-text'>View a summary of your Blubrry statistics right here in PowerPress.</h4>";
|
@@ -207,11 +210,11 @@ class PowerPressStatsWidget
|
|
207 |
<tr class="blubrry-stats-summary-item-first">
|
208 |
<td class="blubrry-stats-summary-label">Today</td>
|
209 |
<?php
|
210 |
-
$today_total = isset($this->content['day_total_data'][
|
211 |
-
if ($today_total < $this->content['day_total_data'][
|
212 |
$day_img_src = powerpress_get_root_url() . 'images/down_arrow_pink.svg';
|
213 |
$day_change_text = "Decreased from yesterday";
|
214 |
-
} elseif (!isset($this->content['day_total_data'][
|
215 |
$day_img_src = powerpress_get_root_url() . 'images/up_arrow_pink.svg';
|
216 |
$day_change_text = "Increased from yesterday";
|
217 |
} else {
|
37 |
|
38 |
// If no content or it's been over 3 hours...
|
39 |
if (!empty($Settings['network_mode'])) {
|
40 |
+
$this->content = array();
|
41 |
$this->content['error'] = 'Multi-program mode is enabled, please visit <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
42 |
} //logged in but no program selected
|
43 |
else if (empty($Keyword) && (($creds || $UserPass) && time() > ($StatsCached['updated'] + (60 * 60 * 3)))) {
|
44 |
+
$this->content = array();
|
45 |
$this->content['error'] = "No program selected. Please visit <a href=\"https://stats.blubrry.com/\" target=\"_blank\">Blubrry.com</a> to see your statistics";
|
46 |
} else if ($creds && time() > ($StatsCached['updated'] + (60 * 60 * 3))) {
|
47 |
$updating = true;
|
70 |
$new_content = false;
|
71 |
}
|
72 |
} else if (!$UserPass && !$creds) {
|
73 |
+
$this->content = array();
|
74 |
$this->content['error'] = "<div class='blubrry-stats-marketing-message'>";
|
75 |
$this->content['error'] .= "<h2 class='blubrry-stats-marketing-text'>Free Podcast Statistics</h2>";
|
76 |
$this->content['error'] .= "<h4 class='blubrry-stats-marketing-text'>View a summary of your Blubrry statistics right here in PowerPress.</h4>";
|
210 |
<tr class="blubrry-stats-summary-item-first">
|
211 |
<td class="blubrry-stats-summary-label">Today</td>
|
212 |
<?php
|
213 |
+
$today_total = isset($this->content['day_total_data'][6]['trending_day_total']) ? $this->content['day_total_data'][6]['trending_day_total'] : 0;
|
214 |
+
if ($today_total < $this->content['day_total_data'][5]['trending_day_total']) {
|
215 |
$day_img_src = powerpress_get_root_url() . 'images/down_arrow_pink.svg';
|
216 |
$day_change_text = "Decreased from yesterday";
|
217 |
+
} elseif (!isset($this->content['day_total_data'][5]['trending_day_total']) || $today_total > $this->content['day_total_data'][5]['trending_day_total']) {
|
218 |
$day_img_src = powerpress_get_root_url() . 'images/up_arrow_pink.svg';
|
219 |
$day_change_text = "Increased from yesterday";
|
220 |
} 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.7
|
7 |
-
Stable tag: 8.6.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -184,10 +184,14 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
184 |
|
185 |
== Changelog ==
|
186 |
|
|
|
|
|
|
|
|
|
187 |
= 8.6.2 =
|
188 |
* Released 05/10/2021
|
189 |
* Bugfixes in Blubrry uploader, network subscribe widget, and channel CSS
|
190 |
-
* Fixed a vulnerability in the PowerPress Settings section
|
191 |
|
192 |
= 8.6.1 =
|
193 |
* Released 05/04/2021
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 8.6.3
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
184 |
|
185 |
== Changelog ==
|
186 |
|
187 |
+
= 8.6.3 =
|
188 |
+
* Released 05/19/2021
|
189 |
+
* Small bugfixes
|
190 |
+
|
191 |
= 8.6.2 =
|
192 |
* Released 05/10/2021
|
193 |
* Bugfixes in Blubrry uploader, network subscribe widget, and channel CSS
|
194 |
+
* Fixed a vulnerability in the PowerPress Settings section pointed out by Darius Sveikauskas
|
195 |
|
196 |
= 8.6.1 =
|
197 |
* Released 05/04/2021
|