Version Description
- Released on 11/07/2022
- Bugfixes for feed artwork and subscribe page styling
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 9.7.2 |
Comparing to | |
See all releases |
Code changes from version 9.7.1 to 9.7.2
- css/subscribe.css +2 -2
- css/subscribe.min.css +1 -1
- powerpress.php +2 -2
- powerpressadmin.php +9 -0
- readme.txt +5 -1
css/subscribe.css
CHANGED
@@ -267,7 +267,7 @@ body .pp-sub-widget-include a:hover {
|
|
267 |
margin: 0 2em 2em 0;
|
268 |
float: left;
|
269 |
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
270 |
-
width:
|
271 |
height: auto;
|
272 |
}
|
273 |
|
@@ -275,7 +275,7 @@ body .pp-sub-widget-include a:hover {
|
|
275 |
margin-bottom: 2em;
|
276 |
}
|
277 |
.pp-sub-widget-include img.pp-sub-l {
|
278 |
-
width:
|
279 |
height: auto !important;
|
280 |
}
|
281 |
.pp-sub-widget .pp-sub-btns {
|
267 |
margin: 0 2em 2em 0;
|
268 |
float: left;
|
269 |
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
270 |
+
width: 50%;
|
271 |
height: auto;
|
272 |
}
|
273 |
|
275 |
margin-bottom: 2em;
|
276 |
}
|
277 |
.pp-sub-widget-include img.pp-sub-l {
|
278 |
+
width: 50% !important;
|
279 |
height: auto !important;
|
280 |
}
|
281 |
.pp-sub-widget .pp-sub-btns {
|
css/subscribe.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.pp-sub-widget a.pp-sub-btn,.pp-sub-widget a.pp-sub-btn-sq{height:72px;line-height:calc(72px - 2em);overflow:hidden;text-decoration:none;box-sizing:border-box}.pp-sub-ic,.pp-sub-widget a.pp-sub-btn,.pp-sub-widget a.pp-sub-btn-sq{display:inline-block;vertical-align:middle}.pp-sub-widget{width:100%;margin:10px auto;font-family:sans-serif;background-color:#fff;padding:0 32px}@media (min-width:1200px){.container{width:85%}}.pp-sub-widget .pp-sub-bx{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px;width:auto;height:auto;margin:0 10px}.pp-sub-widget div.pp-sub-h{margin:10px 10px 0;font-size:90%;font-weight:700;color:#1976d2}.pp-sub-widget div.pp-sub-t{font-weight:700;margin:10px 10px 0;padding:0;font-size:150%;color:#444}.pp-sub-widget-include div.pp-sub-t{margin:15px 10px 0!important;padding:0!important;font-weight:700!important;font-size:150%!important;color:#444!important}.pp-sub-widget p.pp-sub-st{margin:5px 10px 0;padding:0;font-size:100%;color:#222}.pp-sub-widget-include p.pp-sub-st{margin:5px 10px 0!important;padding:0!important;font-size:100%!important;color:#222!important}.pp-sub-widget-modern a.pp-sub-btn,.pp-sub-widget-modern a.pp-sub-btn-sq{padding:1em;background-position:center;transition:background .8s;font-size:100%;font-weight:700}.pp-sub-widget .pp-sub-a{font-weight:700;margin:5px 10px 1em;padding:0;font-size:120%;color:#1976d2}.pp-sub-widget-include .pp-sub-a{margin:5px 10px 1em!important;padding:0!important;font-weight:700!important;font-size:120%!important;color:#1976d2!important}.pp-sub-widget a.pp-sub-btn-sq{width:250px;border-radius:5px}.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-include a.pp-sub-btn-sq{width:250px!important}.pp-sub-widget-modern a.pp-sub-btn-sq{color:#444;margin:0 0 3vw;border:1px solid #707070}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq{font-size:100%!important}.pp-sub-widget a.pp-sub-btn{border-radius:50px;width:250px}.pp-sub-widget-modern a.pp-sub-btn{color:#444;margin:0 1ch 3vw;border:1px solid #707070;width:250px}.filling-empty-space{width:250px;margin:0;height:0}.pp-sub-widget~h3,.pp-sub-widget~p,header.entry-header{margin-left:32px}.pp-sub-widget-modern a.pp-sub-btn:hover,.pp-sub-widget-modern a.pp-sub-bub-sq:hover,header.entry-header h1{color:#444}body .entry-content .pp-sub-widget a:active,body .entry-content .pp-sub-widget a:hover,body .entry-content .pp-sub-widget a:link,body .entry-content .pp-sub-widget a:visited,body .pp-sub-widget a:active,body .pp-sub-widget a:hover,body .pp-sub-widget a:link,body .pp-sub-widget a:visited{text-decoration:none}body .entry-content .pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-include a:visited,body .pp-sub-widget-include a:active,body .pp-sub-widget-include a:hover,body .pp-sub-widget-include a:link,body .pp-sub-widget-include a:visited{text-decoration:none!important}.pp-sub-widget-modern a.pp-sub-btn-sq:hover,.pp-sub-widget-modern a.pp-sub-btn:hover{background:radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000% #ebebeb}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn:active{background-color:#ab42df;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-android.pp-sub-btn:active{background-color:#75ba26;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-email.pp-sub-btn:active{background-color:#018c8b;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn:active{background-color:#f9ba01;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn:active{background-color:#2b91c9;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn:active{background-color:#1c1f3d;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn:active{background-color:#3eb559;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn:active{background-color:#960d16;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn:active{background-color:#007feb;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-anghami.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-anghami.pp-sub-btn:active{background-color:#a316b4;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn:active{background-color:#3668ff;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn:active{background-color:#2278cf;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active{background-color:#f60;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-amazon.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-amazon.pp-sub-btn:active{background-color:#40f;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-pcindex.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pcindex.pp-sub-btn:active{background-color:#ab0000;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-jiosaavn.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-jiosaavn.pp-sub-btn:active{background-color:#2bc5b4;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-gaana.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gaana.pp-sub-btn:active{background-color:#e62c2f;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-podchaser.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-podchaser.pp-sub-btn:active{background-color:#000;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-more.pp-sub-btn:active{background-color:#333;background-size:100%;transition:background}.pp-sub-widget img.pp-sub-l{max-width:300px;padding:0;margin:0 2em 2em 0;float:left;box-shadow:0 1px 6px rgba(0,0,0,.2);width:
|
1 |
+
.pp-sub-widget a.pp-sub-btn,.pp-sub-widget a.pp-sub-btn-sq{height:72px;line-height:calc(72px - 2em);overflow:hidden;text-decoration:none;box-sizing:border-box}.pp-sub-ic,.pp-sub-widget a.pp-sub-btn,.pp-sub-widget a.pp-sub-btn-sq{display:inline-block;vertical-align:middle}.pp-sub-widget{width:100%;margin:10px auto;font-family:sans-serif;background-color:#fff;padding:0 32px}@media (min-width:1200px){.container{width:85%}}.pp-sub-widget .pp-sub-bx{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px;width:auto;height:auto;margin:0 10px}.pp-sub-widget div.pp-sub-h{margin:10px 10px 0;font-size:90%;font-weight:700;color:#1976d2}.pp-sub-widget div.pp-sub-t{font-weight:700;margin:10px 10px 0;padding:0;font-size:150%;color:#444}.pp-sub-widget-include div.pp-sub-t{margin:15px 10px 0!important;padding:0!important;font-weight:700!important;font-size:150%!important;color:#444!important}.pp-sub-widget p.pp-sub-st{margin:5px 10px 0;padding:0;font-size:100%;color:#222}.pp-sub-widget-include p.pp-sub-st{margin:5px 10px 0!important;padding:0!important;font-size:100%!important;color:#222!important}.pp-sub-widget-modern a.pp-sub-btn,.pp-sub-widget-modern a.pp-sub-btn-sq{padding:1em;background-position:center;transition:background .8s;font-size:100%;font-weight:700}.pp-sub-widget .pp-sub-a{font-weight:700;margin:5px 10px 1em;padding:0;font-size:120%;color:#1976d2}.pp-sub-widget-include .pp-sub-a{margin:5px 10px 1em!important;padding:0!important;font-weight:700!important;font-size:120%!important;color:#1976d2!important}.pp-sub-widget a.pp-sub-btn-sq{width:250px;border-radius:5px}.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-include a.pp-sub-btn-sq{width:250px!important}.pp-sub-widget-modern a.pp-sub-btn-sq{color:#444;margin:0 0 3vw;border:1px solid #707070}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq{font-size:100%!important}.pp-sub-widget a.pp-sub-btn{border-radius:50px;width:250px}.pp-sub-widget-modern a.pp-sub-btn{color:#444;margin:0 1ch 3vw;border:1px solid #707070;width:250px}.filling-empty-space{width:250px;margin:0;height:0}.pp-sub-widget~h3,.pp-sub-widget~p,header.entry-header{margin-left:32px}.pp-sub-widget-modern a.pp-sub-btn:hover,.pp-sub-widget-modern a.pp-sub-bub-sq:hover,header.entry-header h1{color:#444}body .entry-content .pp-sub-widget a:active,body .entry-content .pp-sub-widget a:hover,body .entry-content .pp-sub-widget a:link,body .entry-content .pp-sub-widget a:visited,body .pp-sub-widget a:active,body .pp-sub-widget a:hover,body .pp-sub-widget a:link,body .pp-sub-widget a:visited{text-decoration:none}body .entry-content .pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-include a:visited,body .pp-sub-widget-include a:active,body .pp-sub-widget-include a:hover,body .pp-sub-widget-include a:link,body .pp-sub-widget-include a:visited{text-decoration:none!important}.pp-sub-widget-modern a.pp-sub-btn-sq:hover,.pp-sub-widget-modern a.pp-sub-btn:hover{background:radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000% #ebebeb}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn:active{background-color:#ab42df;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-android.pp-sub-btn:active{background-color:#75ba26;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-email.pp-sub-btn:active{background-color:#018c8b;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn:active{background-color:#f9ba01;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn:active{background-color:#2b91c9;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn:active{background-color:#1c1f3d;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn:active{background-color:#3eb559;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn:active{background-color:#960d16;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn:active{background-color:#007feb;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-anghami.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-anghami.pp-sub-btn:active{background-color:#a316b4;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn:active{background-color:#3668ff;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn:active{background-color:#2278cf;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active{background-color:#f60;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-amazon.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-amazon.pp-sub-btn:active{background-color:#40f;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-pcindex.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pcindex.pp-sub-btn:active{background-color:#ab0000;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-jiosaavn.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-jiosaavn.pp-sub-btn:active{background-color:#2bc5b4;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-gaana.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gaana.pp-sub-btn:active{background-color:#e62c2f;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-podchaser.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-podchaser.pp-sub-btn:active{background-color:#000;background-size:100%;transition:background}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-more.pp-sub-btn:active{background-color:#333;background-size:100%;transition:background}.pp-sub-widget img.pp-sub-l{max-width:300px;padding:0;margin:0 2em 2em 0;float:left;box-shadow:0 1px 6px rgba(0,0,0,.2);width:50%;height:auto}.pp-sub-widget .pp-sub-widget-head{margin-bottom:2em}.pp-sub-widget-include img.pp-sub-l{width:50%!important;height:auto!important}.pp-sub-widget .pp-sub-btns{margin:0;padding:0;display:flex;justify-content:space-between;flex-direction:row;flex-wrap:wrap;width:100%}.pp-sub-widget-include .pp-sub-btns{width:100%!important}.pp-sub-widget .pp-sub-m{clear:both;margin:10px}.pp-sub-widget p.pp-sub-m-p{margin:0;font-size:90%;color:#1976d2}.pp-sub-widget .pp-sub-m-i{width:80%;color:#333;font-size:85%;border:1px solid #999;padding:5px}@media screen and (max-width:400px){.pp-sub-widget .pp-sub-bx{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}.pp-sub-widget .pp-sub-t{font-size:150%}}.pp-sub-ic{width:48px;height:48px;border:0;background-repeat:no-repeat;margin-right:1em;background-size:50px}.pp-sub-widget-modern .pp-sub-ic{transform:scale(1.5);padding-left:15px;box-sizing:border-box;background-image:url('../images/modern_icon_sprite_2021.svg')}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sub-widget-modern a .pp-sub-ic{background-image:url('../images/modern-icon-sprite.png')}}.pp-sub-widget-modern .pp-sub-itunes .pp-sub-ic{background-position:0 -5px}.pp-sub-widget-modern .pp-sub-android .pp-sub-ic{background-position:0 -55px}.pp-sub-widget-modern .pp-sub-email .pp-sub-ic{background-position:0 -106px}.pp-sub-widget-modern .pp-sub-gp .pp-sub-ic{background-position:0 -155px}.pp-sub-widget-modern .pp-sub-stitcher .pp-sub-ic{background-position:0 -205px}.pp-sub-widget-modern .pp-sub-tunein .pp-sub-ic{background-position:0 -255px}.pp-sub-widget-modern .pp-sub-spotify .pp-sub-ic{background-position:0 -307px}.pp-sub-widget-modern .pp-sub-iheartradio .pp-sub-ic{background-position:0 -456px}.pp-sub-widget-modern .pp-sub-deezer .pp-sub-ic{background-position:0 -507px}.pp-sub-widget-modern .pp-sub-anghami .pp-sub-ic{background-position:0 -1254px}.pp-sub-widget-modern .pp-sub-pandora .pp-sub-ic{background-position:0 -555px}.pp-sub-widget-modern .pp-sub-blubrry .pp-sub-ic{background-position:0 -605px}.pp-sub-widget-modern .pp-sub-rss .pp-sub-ic{background-position:0 -355px}.pp-sub-widget-modern .pp-sub-more .pp-sub-ic{background-position:0 -405px}.pp-sub-widget-modern .pp-sub-amazon .pp-sub-ic{background-position:0 -1003px}.pp-sub-widget-modern .pp-sub-pcindex .pp-sub-ic{background-position:0 -1053px}.pp-sub-widget-modern .pp-sub-jiosaavn .pp-sub-ic{background-position:0 -1103px}.pp-sub-widget-modern .pp-sub-gaana .pp-sub-ic{background-position:0 -1203px}.pp-sub-widget-modern .pp-sub-podchaser .pp-sub-ic{background-position:0 -1153px}
|
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: 9.7.
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
@@ -35,7 +35,7 @@ if( !function_exists('add_action') ) {
|
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
-
define('POWERPRESS_VERSION', '9.7.
|
39 |
|
40 |
// Translation support:
|
41 |
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: 9.7.2
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
+
define('POWERPRESS_VERSION', '9.7.2' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin.php
CHANGED
@@ -344,6 +344,7 @@ function powerpress_admin_init()
|
|
344 |
$ext = substr($name, strrpos($name, '.') + 1);
|
345 |
|
346 |
if (!in_array(strtolower($ext), $acceptable_extensions)) {
|
|
|
347 |
powerpress_page_message_add_error(__('Apple Podcasts image has an invalid file type: ' . $ext, 'powerpress') );
|
348 |
} else {
|
349 |
// Check the image...
|
@@ -368,6 +369,7 @@ function powerpress_admin_init()
|
|
368 |
{
|
369 |
$upload_result = wp_handle_upload($_FILES['itunes_image_file'], array('action' => $_POST['action'], 'test_form' => false));
|
370 |
if (is_array($upload_result) && isset($upload_result['error'])) {
|
|
|
371 |
powerpress_page_message_add_error(__('Error saving image', 'powerpress') . ': ' . $upload_result['error']);
|
372 |
} elseif (is_array($upload_result) && isset($upload_result['url'])) {
|
373 |
$Feed['itunes_image'] = $upload_result['url'];
|
@@ -375,20 +377,27 @@ function powerpress_admin_init()
|
|
375 |
$Feed['rss2_image'] = $upload_result['url'];
|
376 |
}
|
377 |
} else {
|
|
|
378 |
powerpress_page_message_add_error(__('Error saving image', 'powerpress'));
|
379 |
}
|
380 |
} else if ($ImageData['channels'] != 3 || $rgb == false) {
|
|
|
381 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image must be in RGB color space (CMYK is not supported).', 'powerpress'));
|
382 |
} else if ($ImageData[0] != $ImageData[1]) {
|
|
|
383 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image must be square, 1400 x 1400 is the required minimum size.', 'powerpress'));
|
384 |
} else if ($ImageData[0] != $ImageData[1] || $ImageData[0] < 1400) {
|
|
|
385 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image is too small, 1400 x 1400 is the required minimum size.', 'powerpress'));
|
386 |
} else if ($ImageData[0] != $ImageData[1] || $ImageData[0] > 3000) {
|
|
|
387 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image is too large, 3000 x 3000 is the maximum size allowed.', 'powerpress'));
|
388 |
} else {
|
|
|
389 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']));
|
390 |
}
|
391 |
} else {
|
|
|
392 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']));
|
393 |
}
|
394 |
}
|
344 |
$ext = substr($name, strrpos($name, '.') + 1);
|
345 |
|
346 |
if (!in_array(strtolower($ext), $acceptable_extensions)) {
|
347 |
+
unset($Feed['itunes_image']);
|
348 |
powerpress_page_message_add_error(__('Apple Podcasts image has an invalid file type: ' . $ext, 'powerpress') );
|
349 |
} else {
|
350 |
// Check the image...
|
369 |
{
|
370 |
$upload_result = wp_handle_upload($_FILES['itunes_image_file'], array('action' => $_POST['action'], 'test_form' => false));
|
371 |
if (is_array($upload_result) && isset($upload_result['error'])) {
|
372 |
+
unset($Feed['itunes_image']);
|
373 |
powerpress_page_message_add_error(__('Error saving image', 'powerpress') . ': ' . $upload_result['error']);
|
374 |
} elseif (is_array($upload_result) && isset($upload_result['url'])) {
|
375 |
$Feed['itunes_image'] = $upload_result['url'];
|
377 |
$Feed['rss2_image'] = $upload_result['url'];
|
378 |
}
|
379 |
} else {
|
380 |
+
unset($Feed['itunes_image']);
|
381 |
powerpress_page_message_add_error(__('Error saving image', 'powerpress'));
|
382 |
}
|
383 |
} else if ($ImageData['channels'] != 3 || $rgb == false) {
|
384 |
+
unset($Feed['itunes_image']);
|
385 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image must be in RGB color space (CMYK is not supported).', 'powerpress'));
|
386 |
} else if ($ImageData[0] != $ImageData[1]) {
|
387 |
+
unset($Feed['itunes_image']);
|
388 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image must be square, 1400 x 1400 is the required minimum size.', 'powerpress'));
|
389 |
} else if ($ImageData[0] != $ImageData[1] || $ImageData[0] < 1400) {
|
390 |
+
unset($Feed['itunes_image']);
|
391 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image is too small, 1400 x 1400 is the required minimum size.', 'powerpress'));
|
392 |
} else if ($ImageData[0] != $ImageData[1] || $ImageData[0] > 3000) {
|
393 |
+
unset($Feed['itunes_image']);
|
394 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) . ' - ' . __('Image is too large, 3000 x 3000 is the maximum size allowed.', 'powerpress'));
|
395 |
} else {
|
396 |
+
unset($Feed['itunes_image']);
|
397 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']));
|
398 |
}
|
399 |
} else {
|
400 |
+
unset($Feed['itunes_image']);
|
401 |
powerpress_page_message_add_error(__('Invalid image', 'powerpress') . ': ' . htmlspecialchars($_FILES['itunes_image_file']['name']));
|
402 |
}
|
403 |
}
|
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: 6.0
|
7 |
-
Stable tag: 9.7.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -185,6 +185,10 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
185 |
|
186 |
|
187 |
== Changelog ==
|
|
|
|
|
|
|
|
|
188 |
= 9.7.1 =
|
189 |
* Released on 11/02/2022
|
190 |
* Bugfix where posts with Blubrry programmatic ads would switch back to no ads when updated
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 9.7.2
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
185 |
|
186 |
|
187 |
== Changelog ==
|
188 |
+
= 9.7.2 =
|
189 |
+
* Released on 11/07/2022
|
190 |
+
* Bugfixes for feed artwork and subscribe page styling
|
191 |
+
|
192 |
= 9.7.1 =
|
193 |
* Released on 11/02/2022
|
194 |
* Bugfix where posts with Blubrry programmatic ads would switch back to no ads when updated
|