Version Description
- Released 2/20/2020
- Fixed a bug that was preventing the explicit setting from saving
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.2.5 |
Comparing to | |
See all releases |
Code changes from version 8.2.4 to 8.2.5
- js/admin.js +7 -9
- powerpress.php +2 -2
- powerpressadmin-metabox.php +5 -13
- readme.txt +5 -2
js/admin.js
CHANGED
@@ -45,37 +45,35 @@ function powerpress_changeExplicitSwitch(el) {
|
|
45 |
let feed_slug = id.replace("not-set", "");
|
46 |
feed_slug = feed_slug.replace("clean", "");
|
47 |
feed_slug = feed_slug.replace("explicit", "");
|
48 |
-
let not_set = jQuery('#not-set
|
49 |
not_set.removeAttr("class");
|
50 |
not_set.removeAttr("style");
|
51 |
-
let clean = jQuery('#clean
|
52 |
clean.removeAttr("class");
|
53 |
clean.removeAttr("style");
|
54 |
-
let explicit = jQuery('#explicit
|
55 |
explicit.removeAttr("class");
|
56 |
explicit.removeAttr("style");
|
57 |
-
let select = jQuery('#pp-explicit-container
|
58 |
-
select.find('option[selected]').removeAttr('selected');
|
59 |
-
|
60 |
if (id.includes("not-set")) {
|
61 |
not_set.attr("class", "explicit-selected");
|
62 |
clean.attr("class", "pp-explicit-option");
|
63 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
64 |
explicit.attr("class", "pp-explicit-option");
|
65 |
-
select.
|
66 |
} else if (id.includes("clean")) {
|
67 |
not_set.attr("class", "pp-explicit-option");
|
68 |
not_set.attr("style", "border-right: 1px solid #b3b3b3;");
|
69 |
clean.attr("class", "explicit-selected");
|
70 |
explicit.attr("class", "pp-explicit-option");
|
71 |
explicit.attr("style", "border-left: 1px solid #b3b3b3");
|
72 |
-
select.
|
73 |
} else if (id.includes("explicit")) {
|
74 |
not_set.attr("class", "pp-explicit-option");
|
75 |
clean.attr("class", "pp-explicit-option");
|
76 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
77 |
explicit.attr("class", "explicit-selected");
|
78 |
-
select.
|
79 |
}
|
80 |
}
|
81 |
|
45 |
let feed_slug = id.replace("not-set", "");
|
46 |
feed_slug = feed_slug.replace("clean", "");
|
47 |
feed_slug = feed_slug.replace("explicit", "");
|
48 |
+
let not_set = jQuery('#not-set' + feed_slug);
|
49 |
not_set.removeAttr("class");
|
50 |
not_set.removeAttr("style");
|
51 |
+
let clean = jQuery('#clean' + feed_slug);
|
52 |
clean.removeAttr("class");
|
53 |
clean.removeAttr("style");
|
54 |
+
let explicit = jQuery('#explicit' + feed_slug);
|
55 |
explicit.removeAttr("class");
|
56 |
explicit.removeAttr("style");
|
57 |
+
let select = jQuery('#pp-explicit-container' + feed_slug + ' > input');
|
|
|
|
|
58 |
if (id.includes("not-set")) {
|
59 |
not_set.attr("class", "explicit-selected");
|
60 |
clean.attr("class", "pp-explicit-option");
|
61 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
62 |
explicit.attr("class", "pp-explicit-option");
|
63 |
+
select.val(0);
|
64 |
} else if (id.includes("clean")) {
|
65 |
not_set.attr("class", "pp-explicit-option");
|
66 |
not_set.attr("style", "border-right: 1px solid #b3b3b3;");
|
67 |
clean.attr("class", "explicit-selected");
|
68 |
explicit.attr("class", "pp-explicit-option");
|
69 |
explicit.attr("style", "border-left: 1px solid #b3b3b3");
|
70 |
+
select.val(2);
|
71 |
} else if (id.includes("explicit")) {
|
72 |
not_set.attr("class", "pp-explicit-option");
|
73 |
clean.attr("class", "pp-explicit-option");
|
74 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
75 |
explicit.attr("class", "explicit-selected");
|
76 |
+
select.val(1);
|
77 |
}
|
78 |
}
|
79 |
|
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.2.
|
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.2.
|
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.2.5
|
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.2.5' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin-metabox.php
CHANGED
@@ -288,29 +288,21 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $Gener
|
|
288 |
<span class="text-pp-tooltip"><?php echo __('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress'); ?></span>
|
289 |
</div>
|
290 |
<div id="pp-explicit-container-<?php echo $FeedSlug; ?>">
|
291 |
-
<
|
292 |
-
name="Powerpress[<?php echo $FeedSlug; ?>][explicit]"
|
293 |
-
<?php
|
294 |
-
$explicit_array = array('' => __('Use feed\'s explicit setting', 'powerpress'), 0 => __('no - display nothing', 'powerpress'), 1 => __('yes - explicit content', 'powerpress'), 2 => __('clean - no explicit content', 'powerpress'));
|
295 |
-
|
296 |
-
foreach ($explicit_array as $value => $desc)
|
297 |
-
echo "\t<option value=\"$value\"" . ($iTunesExplicit == $value ? ' selected' : '') . ">$desc</option>\n";
|
298 |
-
|
299 |
-
?>
|
300 |
-
</select>
|
301 |
<label class="pp-ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo __("Explicit Setting", "powerpress"); ?></label>
|
302 |
<div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
|
303 |
<div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo __("No explicit selected","powerpress"); ?>"
|
304 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
|
305 |
-
" class="<?php echo $iTunesExplicit == 0 ? '
|
306 |
"><?php echo __('NOT SET', 'powerpress'); ?></div>
|
307 |
<div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo __("Clean content","powerpress"); ?>"
|
308 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
|
309 |
-
" class="<?php echo $iTunesExplicit == 2 ? '
|
310 |
"><?php echo __('CLEAN', 'powerpress'); ?></div>
|
311 |
<div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo __("Explicit content","powerpress"); ?>"
|
312 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
|
313 |
-
" class="<?php echo $iTunesExplicit == 1 ? '
|
314 |
"><?php echo __('EXPLICIT', 'powerpress'); ?></div>
|
315 |
</div>
|
316 |
</div>
|
288 |
<span class="text-pp-tooltip"><?php echo __('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress'); ?></span>
|
289 |
</div>
|
290 |
<div id="pp-explicit-container-<?php echo $FeedSlug; ?>">
|
291 |
+
<input type="number" style="display: none" id="powerpress_explicit_<?php echo $FeedSlug; ?>"
|
292 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][explicit]" value="<?php echo $iTunesExplicit ? $iTunesExplicit : 0; ?>">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
<label class="pp-ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo __("Explicit Setting", "powerpress"); ?></label>
|
294 |
<div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
|
295 |
<div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo __("No explicit selected","powerpress"); ?>"
|
296 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
|
297 |
+
" class="<?php echo $iTunesExplicit == 0 ? 'explicit-selected' : 'pp-explicit-option' ?>
|
298 |
"><?php echo __('NOT SET', 'powerpress'); ?></div>
|
299 |
<div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo __("Clean content","powerpress"); ?>"
|
300 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
|
301 |
+
" class="<?php echo $iTunesExplicit == 2 ? 'explicit-selected' : 'pp-explicit-option' ?>
|
302 |
"><?php echo __('CLEAN', 'powerpress'); ?></div>
|
303 |
<div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo __("Explicit content","powerpress"); ?>"
|
304 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
|
305 |
+
" class="<?php echo $iTunesExplicit == 1 ? 'explicit-selected' : 'pp-explicit-option' ?>
|
306 |
"><?php echo __('EXPLICIT', 'powerpress'); ?></div>
|
307 |
</div>
|
308 |
</div>
|
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.3.2
|
7 |
-
Stable tag: 8.2.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -236,12 +236,15 @@ 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.2.4 =
|
240 |
* Released 2/18/2020
|
241 |
* Minified CSS files for faster loading times
|
242 |
* Consolidated CSS classes and gave them more unique names so as to avoid conflict with other plugins
|
243 |
* Added the ability for PowerPress to remember the season of the last episode published and put this as a default value in this field for new posts
|
244 |
-
* Fixed a bug that was preventing the explicit setting from saving
|
245 |
* Made poster image setting visible to all
|
246 |
|
247 |
= 8.2.3 =
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 8.2.5
|
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.2.5 =
|
240 |
+
* Released 2/20/2020
|
241 |
+
* Fixed a bug that was preventing the explicit setting from saving
|
242 |
+
|
243 |
= 8.2.4 =
|
244 |
* Released 2/18/2020
|
245 |
* Minified CSS files for faster loading times
|
246 |
* Consolidated CSS classes and gave them more unique names so as to avoid conflict with other plugins
|
247 |
* Added the ability for PowerPress to remember the season of the last episode published and put this as a default value in this field for new posts
|
|
|
248 |
* Made poster image setting visible to all
|
249 |
|
250 |
= 8.2.3 =
|