Version Description
- Released on 10/24/2019
- Brought back the ability to render black subscribe buttons using powerpress_subscribe style="dark"
- Improved custom CSS setting so that !important tags could be stripped from subscribe sidebar widgets (Thanks Bree @lifesgood for pointing out the problem)
- Feed Landing Page URL setting can now be set for the default podcast feed (Thanks Daniel for the suggestion)
- Next week, we will release an update to Blubrry's Media uploader to work better within PowerPress so that it is more accessible with text reading software such as JAWS and ZoomText (Thanks Gary for helping us!)
- Added support for the WPML plugin (Thanks David and Bobby from WPML!)
- Configured Websub publish API call timeout to 3 seconds.
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.0.2 |
Comparing to | |
See all releases |
Code changes from version 8.0.1 to 8.0.2
- class.powerpresswebsub.php +1 -0
- css/subscribe.css +38 -18
- powerpress-playlist.php +18 -3
- powerpress-subscribe.php +28 -6
- powerpress.php +2 -2
- powerpressadmin-editfeed.php +1 -5
- readme.txt +11 -1
- wpml-config.xml +5 -0
class.powerpresswebsub.php
CHANGED
@@ -18,6 +18,7 @@ class PowerPressWebSub
|
|
18 |
$this->wp_remote_options['httpversion'] = '1.1';
|
19 |
$this->wp_remote_options['headers'] = array('Content-Type'=>'application/x-www-form-urlencoded');
|
20 |
$this->wp_remote_options['body'] = array('hub.mode'=>'publish');
|
|
|
21 |
}
|
22 |
|
23 |
|
18 |
$this->wp_remote_options['httpversion'] = '1.1';
|
19 |
$this->wp_remote_options['headers'] = array('Content-Type'=>'application/x-www-form-urlencoded');
|
20 |
$this->wp_remote_options['body'] = array('hub.mode'=>'publish');
|
21 |
+
$this->wp_remote_options['timeout'] = 3; // Do not allow this to block more than 3 seconds
|
22 |
}
|
23 |
|
24 |
|
css/subscribe.css
CHANGED
@@ -81,7 +81,7 @@
|
|
81 |
.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq {
|
82 |
font-size: 80% !important;
|
83 |
}
|
84 |
-
.pp-sub-widget-classic a.pp-sub-btn-sq {
|
85 |
color: #FFFFFF;
|
86 |
padding: 0px 0px 0px 0px;
|
87 |
margin: 10px 0 10px 0;
|
@@ -90,7 +90,7 @@
|
|
90 |
font-size: 90%;
|
91 |
font-weight: bold;
|
92 |
}
|
93 |
-
.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn-sq {
|
94 |
font-size: 90% !important;
|
95 |
font-weight: bold !important;
|
96 |
}
|
@@ -121,7 +121,7 @@
|
|
121 |
.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn {
|
122 |
font-size: 80% !important;
|
123 |
}
|
124 |
-
.pp-sub-widget-classic a.pp-sub-btn {
|
125 |
color: #FFFFFF;
|
126 |
padding: 0px 0px 0px 0px;
|
127 |
margin: 10px 0 10px 0;
|
@@ -129,7 +129,7 @@
|
|
129 |
font-size: 90%;
|
130 |
font-weight: bold;
|
131 |
}
|
132 |
-
.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn {
|
133 |
font-size: 90% !important;
|
134 |
font-weight: bold !important;
|
135 |
}
|
@@ -174,6 +174,26 @@ body .pp-sub-widget-classic.pp-sub-widget-include a:active,
|
|
174 |
body .pp-sub-widget-classic.pp-sub-widget-include a:hover {
|
175 |
color: #FFFFFF !important;
|
176 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
/* Ripple effects for horizontal modern buttons */
|
178 |
.pp-sub-widget-modern a.pp-sub-btn:hover, .pp-sub-widget-modern a.pp-sub-btn-sq:hover {
|
179 |
background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
|
@@ -360,7 +380,7 @@ body .pp-sub-widget-classic.pp-sub-widget-include a:hover {
|
|
360 |
padding-left: 15px;
|
361 |
background-image: url('../images/modern_icon_sprite.svg');
|
362 |
}
|
363 |
-
.pp-sub-widget-classic .pp-sub-ic {
|
364 |
background-image: url('../images/white_logos.svg');
|
365 |
}
|
366 |
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
@@ -368,7 +388,7 @@ body .pp-sub-widget-classic.pp-sub-widget-include a:hover {
|
|
368 |
.pp-sub-widget-modern a .pp-sub-ic {
|
369 |
background-image: url('../images/modern-icon-sprite.png');
|
370 |
}
|
371 |
-
.pp-sub-widget-classic a .pp-sub-ic {
|
372 |
background-image: url('../images/white_logos.png');
|
373 |
width: 50px;
|
374 |
background-size: 50px;
|
@@ -376,40 +396,40 @@ body .pp-sub-widget-classic.pp-sub-widget-include a:hover {
|
|
376 |
}
|
377 |
|
378 |
/*Sprite background positions for classic buttons*/
|
379 |
-
.pp-sub-widget-classic .pp-sub-itunes .pp-sub-ic {
|
380 |
background-position: 0 -5px;
|
381 |
}
|
382 |
-
.pp-sub-widget-classic .pp-sub-rss .pp-sub-ic {
|
383 |
background-position: 0 -355px;
|
384 |
}
|
385 |
-
.pp-sub-widget-classic .pp-sub-email .pp-sub-ic {
|
386 |
background-position: 0 -105px;
|
387 |
}
|
388 |
-
.pp-sub-widget-classic .pp-sub-android .pp-sub-ic {
|
389 |
background-position: 0 -55px;
|
390 |
}
|
391 |
-
.pp-sub-widget-classic .pp-sub-stitcher .pp-sub-ic {
|
392 |
background-position: 0 -205px;
|
393 |
}
|
394 |
-
.pp-sub-widget-classic .pp-sub-tunein .pp-sub-ic {
|
395 |
background-position: 0 -255px;
|
396 |
}
|
397 |
-
.pp-sub-widget-classic .pp-sub-spotify .pp-sub-ic {
|
398 |
background-position: 0 -305px;
|
399 |
}
|
400 |
-
.pp-sub-widget-classic .pp-sub-gp .pp-sub-ic {
|
401 |
background-position: 0 -155px;
|
402 |
}
|
403 |
-
.pp-sub-widget-classic .pp-sub-more .pp-sub-ic {
|
404 |
background-position: 0 -405px;
|
405 |
}
|
406 |
-
.pp-sub-widget-classic .pp-sub-iheartradio .pp-sub-ic {
|
407 |
background-position: 0 -455px;
|
408 |
}
|
409 |
-
.pp-sub-widget-classic .pp-sub-deezer .pp-sub-ic {
|
410 |
background-position: 0 -505px;
|
411 |
}
|
412 |
-
.pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic {
|
413 |
background-position: 0 -555px;
|
414 |
}
|
415 |
|
81 |
.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq {
|
82 |
font-size: 80% !important;
|
83 |
}
|
84 |
+
.pp-sub-widget-classic a.pp-sub-btn-sq, .pp-sub-widget-dark a.pp-sub-btn-sq {
|
85 |
color: #FFFFFF;
|
86 |
padding: 0px 0px 0px 0px;
|
87 |
margin: 10px 0 10px 0;
|
90 |
font-size: 90%;
|
91 |
font-weight: bold;
|
92 |
}
|
93 |
+
.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn-sq, .pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn-sq {
|
94 |
font-size: 90% !important;
|
95 |
font-weight: bold !important;
|
96 |
}
|
121 |
.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn {
|
122 |
font-size: 80% !important;
|
123 |
}
|
124 |
+
.pp-sub-widget-classic a.pp-sub-btn, .pp-sub-widget-dark a.pp-sub-btn {
|
125 |
color: #FFFFFF;
|
126 |
padding: 0px 0px 0px 0px;
|
127 |
margin: 10px 0 10px 0;
|
129 |
font-size: 90%;
|
130 |
font-weight: bold;
|
131 |
}
|
132 |
+
.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn, .pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn {
|
133 |
font-size: 90% !important;
|
134 |
font-weight: bold !important;
|
135 |
}
|
174 |
body .pp-sub-widget-classic.pp-sub-widget-include a:hover {
|
175 |
color: #FFFFFF !important;
|
176 |
}
|
177 |
+
body .entry-content .pp-sub-widget-dark a:link,
|
178 |
+
body .entry-content .pp-sub-widget-dark a:visited,
|
179 |
+
body .entry-content .pp-sub-widget-dark a:active,
|
180 |
+
body .entry-content .pp-sub-widget-dark a:hover,
|
181 |
+
body .pp-sub-widget-dark a:link,
|
182 |
+
body .pp-sub-widget-dark a:visited,
|
183 |
+
body .pp-sub-widget-dark a:active,
|
184 |
+
body .pp-sub-widget-dark a:hover {
|
185 |
+
color: #FFFFFF;
|
186 |
+
}
|
187 |
+
body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:link,
|
188 |
+
body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:visited,
|
189 |
+
body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:active,
|
190 |
+
body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:hover,
|
191 |
+
body .pp-sub-widget-dark.pp-sub-widget-include a:link,
|
192 |
+
body .pp-sub-widget-dark.pp-sub-widget-include a:visited,
|
193 |
+
body .pp-sub-widget-dark.pp-sub-widget-include a:active,
|
194 |
+
body .pp-sub-widget-dark.pp-sub-widget-include a:hover {
|
195 |
+
color: #FFFFFF !important;
|
196 |
+
}
|
197 |
/* Ripple effects for horizontal modern buttons */
|
198 |
.pp-sub-widget-modern a.pp-sub-btn:hover, .pp-sub-widget-modern a.pp-sub-btn-sq:hover {
|
199 |
background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
|
380 |
padding-left: 15px;
|
381 |
background-image: url('../images/modern_icon_sprite.svg');
|
382 |
}
|
383 |
+
.pp-sub-widget-classic .pp-sub-ic, .pp-sub-widget-dark .pp-sub-ic {
|
384 |
background-image: url('../images/white_logos.svg');
|
385 |
}
|
386 |
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
388 |
.pp-sub-widget-modern a .pp-sub-ic {
|
389 |
background-image: url('../images/modern-icon-sprite.png');
|
390 |
}
|
391 |
+
.pp-sub-widget-classic a .pp-sub-ic, .pp-sub-widget-dark a .pp-sub-ic {
|
392 |
background-image: url('../images/white_logos.png');
|
393 |
width: 50px;
|
394 |
background-size: 50px;
|
396 |
}
|
397 |
|
398 |
/*Sprite background positions for classic buttons*/
|
399 |
+
.pp-sub-widget-classic .pp-sub-itunes .pp-sub-ic, .pp-sub-widget-dark .pp-sub-itunes .pp-sub-ic {
|
400 |
background-position: 0 -5px;
|
401 |
}
|
402 |
+
.pp-sub-widget-classic .pp-sub-rss .pp-sub-ic, .pp-sub-widget-dark .pp-sub-rss .pp-sub-ic {
|
403 |
background-position: 0 -355px;
|
404 |
}
|
405 |
+
.pp-sub-widget-classic .pp-sub-email .pp-sub-ic, .pp-sub-widget-dark .pp-sub-email .pp-sub-ic {
|
406 |
background-position: 0 -105px;
|
407 |
}
|
408 |
+
.pp-sub-widget-classic .pp-sub-android .pp-sub-ic, .pp-sub-widget-dark .pp-sub-android .pp-sub-ic {
|
409 |
background-position: 0 -55px;
|
410 |
}
|
411 |
+
.pp-sub-widget-classic .pp-sub-stitcher .pp-sub-ic, .pp-sub-widget-dark .pp-sub-stitcher .pp-sub-ic {
|
412 |
background-position: 0 -205px;
|
413 |
}
|
414 |
+
.pp-sub-widget-classic .pp-sub-tunein .pp-sub-ic, .pp-sub-widget-dark .pp-sub-tunein .pp-sub-ic {
|
415 |
background-position: 0 -255px;
|
416 |
}
|
417 |
+
.pp-sub-widget-classic .pp-sub-spotify .pp-sub-ic, .pp-sub-widget-dark .pp-sub-spotify .pp-sub-ic {
|
418 |
background-position: 0 -305px;
|
419 |
}
|
420 |
+
.pp-sub-widget-classic .pp-sub-gp .pp-sub-ic, .pp-sub-widget-dark .pp-sub-gp .pp-sub-ic {
|
421 |
background-position: 0 -155px;
|
422 |
}
|
423 |
+
.pp-sub-widget-classic .pp-sub-more .pp-sub-ic, .pp-sub-widget-dark .pp-sub-more .pp-sub-ic {
|
424 |
background-position: 0 -405px;
|
425 |
}
|
426 |
+
.pp-sub-widget-classic .pp-sub-iheartradio .pp-sub-ic, .pp-sub-widget-dark .pp-sub-iheartradio .pp-sub-ic {
|
427 |
background-position: 0 -455px;
|
428 |
}
|
429 |
+
.pp-sub-widget-classic .pp-sub-deezer .pp-sub-ic, .pp-sub-widget-dark .pp-sub-deezer .pp-sub-ic {
|
430 |
background-position: 0 -505px;
|
431 |
}
|
432 |
+
.pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic, .pp-sub-widget-dark .pp-sub-pandora .pp-sub-ic {
|
433 |
background-position: 0 -555px;
|
434 |
}
|
435 |
|
powerpress-playlist.php
CHANGED
@@ -129,17 +129,32 @@ function powerpress_playlist_episodes($args)
|
|
129 |
// Start the SQL query
|
130 |
$query = "SELECT p.ID, p.post_title, p.post_date, pm.meta_value ";
|
131 |
$query .= "FROM {$wpdb->posts} AS p ";
|
132 |
-
|
133 |
|
134 |
if( !empty($TaxonomyObj->term_taxonomy_id) )
|
135 |
$query .= "INNER JOIN {$wpdb->term_relationships} AS tr ON p.ID = tr.object_id ";
|
136 |
-
|
137 |
-
|
138 |
$query .= "AND p.post_type = %s ";
|
139 |
$query .= "AND p.post_status = 'publish' ";
|
140 |
if( !empty($TaxonomyObj->term_taxonomy_id) ) {
|
141 |
$query .= "AND tr.term_taxonomy_id = '". $TaxonomyObj->term_taxonomy_id ."' ";
|
142 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
$for_query = '';
|
145 |
if( !empty( $args['ids'] ) ) {
|
129 |
// Start the SQL query
|
130 |
$query = "SELECT p.ID, p.post_title, p.post_date, pm.meta_value ";
|
131 |
$query .= "FROM {$wpdb->posts} AS p ";
|
132 |
+
$query .= apply_filters( 'powerpress_join', "INNER JOIN {$wpdb->postmeta} AS pm ON p.ID = pm.post_id " );
|
133 |
|
134 |
if( !empty($TaxonomyObj->term_taxonomy_id) )
|
135 |
$query .= "INNER JOIN {$wpdb->term_relationships} AS tr ON p.ID = tr.object_id ";
|
136 |
+
|
137 |
+
$query .= apply_filters( 'powerpress_where', "WHERE (pm.meta_key = %s) " );
|
138 |
$query .= "AND p.post_type = %s ";
|
139 |
$query .= "AND p.post_status = 'publish' ";
|
140 |
if( !empty($TaxonomyObj->term_taxonomy_id) ) {
|
141 |
$query .= "AND tr.term_taxonomy_id = '". $TaxonomyObj->term_taxonomy_id ."' ";
|
142 |
}
|
143 |
+
if ( apply_filters( 'wpml_setting', false, 'setup_complete' ) ) {
|
144 |
+
add_filter( 'powerpress_join', function( $join ) {
|
145 |
+
global $wpdb;
|
146 |
+
|
147 |
+
$join .= "JOIN {$wpdb->prefix}icl_translations ON element_type = CONCAT('post_', p.post_type) AND element_id = p.ID ";
|
148 |
+
|
149 |
+
return $join;
|
150 |
+
} );
|
151 |
+
add_filter( 'powerpress_where', function( $where ) {
|
152 |
+
$lang = apply_filters( 'wpml_current_language', false );
|
153 |
+
$where .= "AND language_code = '$lang' ";
|
154 |
+
|
155 |
+
return $where;
|
156 |
+
} );
|
157 |
+
}
|
158 |
|
159 |
$for_query = '';
|
160 |
if( !empty( $args['ids'] ) ) {
|
powerpress-subscribe.php
CHANGED
@@ -32,7 +32,7 @@ function powerpresssubscribe_add_guid_to_itunes_url($url, $guid)
|
|
32 |
function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
33 |
{
|
34 |
$GeneralSettings = get_option('powerpress_general');
|
35 |
-
|
36 |
$feed_slug = (empty($ExtraData['feed'])?'podcast': $ExtraData['feed']);
|
37 |
$post_type = (empty($ExtraData['post_type'])?false: $ExtraData['post_type']);
|
38 |
$category_id = (empty($ExtraData['cat_id'])?false: $ExtraData['cat_id']);
|
@@ -138,6 +138,11 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
|
138 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
139 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
140 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
|
|
|
|
|
|
|
|
|
|
141 |
return $Settings;
|
142 |
}
|
143 |
|
@@ -181,6 +186,11 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
|
181 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
182 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
183 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
|
|
|
|
|
|
|
|
|
|
184 |
return $Settings;
|
185 |
}
|
186 |
return false;
|
@@ -234,6 +244,11 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
|
234 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
235 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
236 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
|
|
|
|
|
|
|
|
|
|
237 |
return $Settings;
|
238 |
}
|
239 |
}; break;
|
@@ -271,6 +286,11 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
|
271 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
272 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
273 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
|
|
|
|
|
|
|
|
|
|
274 |
|
275 |
if( !empty($FeedSettings['premium']) ) {
|
276 |
$Settings['subscribe_feature_email'] = false;
|
@@ -511,8 +531,8 @@ function powerpress_subscribe_shortcode( $attr ) {
|
|
511 |
|
512 |
if( !empty($attr['itunes_url']) )
|
513 |
$Settings['itunes_url'] = $attr['itunes_url'];
|
514 |
-
if( !empty($attr['
|
515 |
-
$Settings['subscribe_widget_style'] = $attr['
|
516 |
if( !empty($attr['subscribe_no_important_styling']) )
|
517 |
$Settings['subscribe_no_important_styling'] = $attr['subscribe_no_important_styling'];
|
518 |
if( !empty($attr['image_url']) )
|
@@ -566,9 +586,11 @@ function powerpress_subscribe_shortcode( $attr ) {
|
|
566 |
|
567 |
// This is the only spot that gets the General settings for the subscribe buttons...
|
568 |
$PowerPressSettings = get_option('powerpress_general');
|
569 |
-
|
570 |
-
|
571 |
-
|
|
|
|
|
572 |
return powerpress_do_subscribe_widget($Settings, $PowerPressSettings);
|
573 |
}
|
574 |
|
32 |
function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
|
33 |
{
|
34 |
$GeneralSettings = get_option('powerpress_general');
|
35 |
+
|
36 |
$feed_slug = (empty($ExtraData['feed'])?'podcast': $ExtraData['feed']);
|
37 |
$post_type = (empty($ExtraData['post_type'])?false: $ExtraData['post_type']);
|
38 |
$category_id = (empty($ExtraData['cat_id'])?false: $ExtraData['cat_id']);
|
138 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
139 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
140 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
141 |
+
if (isset($GeneralSettings['subscribe_no_important_styling'])) {
|
142 |
+
$Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
|
143 |
+
} else {
|
144 |
+
$Settings['subscribe_no_important_styling'] = 'include';
|
145 |
+
}
|
146 |
return $Settings;
|
147 |
}
|
148 |
|
186 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
187 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
188 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
189 |
+
if (isset($GeneralSettings['subscribe_no_important_styling'])) {
|
190 |
+
$Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
|
191 |
+
} else {
|
192 |
+
$Settings['subscribe_no_important_styling'] = 'include';
|
193 |
+
}
|
194 |
return $Settings;
|
195 |
}
|
196 |
return false;
|
244 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
245 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
246 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
247 |
+
if (isset($GeneralSettings['subscribe_no_important_styling'])) {
|
248 |
+
$Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
|
249 |
+
} else {
|
250 |
+
$Settings['subscribe_no_important_styling'] = 'include';
|
251 |
+
}
|
252 |
return $Settings;
|
253 |
}
|
254 |
}; break;
|
286 |
$Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
|
287 |
$Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
|
288 |
$Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
|
289 |
+
if (isset($GeneralSettings['subscribe_no_important_styling'])) {
|
290 |
+
$Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
|
291 |
+
} else {
|
292 |
+
$Settings['subscribe_no_important_styling'] = 'include';
|
293 |
+
}
|
294 |
|
295 |
if( !empty($FeedSettings['premium']) ) {
|
296 |
$Settings['subscribe_feature_email'] = false;
|
531 |
|
532 |
if( !empty($attr['itunes_url']) )
|
533 |
$Settings['itunes_url'] = $attr['itunes_url'];
|
534 |
+
if( !empty($attr['style']) )
|
535 |
+
$Settings['subscribe_widget_style'] = $attr['style'];
|
536 |
if( !empty($attr['subscribe_no_important_styling']) )
|
537 |
$Settings['subscribe_no_important_styling'] = $attr['subscribe_no_important_styling'];
|
538 |
if( !empty($attr['image_url']) )
|
586 |
|
587 |
// This is the only spot that gets the General settings for the subscribe buttons...
|
588 |
$PowerPressSettings = get_option('powerpress_general');
|
589 |
+
if (empty($Settings['subscribe_widget_style'])) {
|
590 |
+
$Settings['subscribe_widget_style'] = (!empty($PowerPressSettings['subscribe_widget_style']) ? $PowerPressSettings['subscribe_widget_style'] : '');
|
591 |
+
}
|
592 |
+
$Settings['subscribe_widget_shape'] = ( empty($PowerPressSettings['subscribe_widget_shape']) || $PowerPressSettings['subscribe_widget_shape'] == 'squared' ? '-sq': '');
|
593 |
+
$Settings['subscribe_no_important_styling'] = (!empty($PowerPressSettings['subscribe_no_important_styling']) ? $PowerPressSettings['subscribe_no_important_styling'] : '' );
|
594 |
return powerpress_do_subscribe_widget($Settings, $PowerPressSettings);
|
595 |
}
|
596 |
|
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.0.
|
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', '8.0.
|
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: 8.0.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', '8.0.2' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin-editfeed.php
CHANGED
@@ -588,10 +588,7 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
|
|
588 |
</td>
|
589 |
</tr>
|
590 |
|
591 |
-
|
592 |
-
if( $FeedAttribs['type'] != 'general' ) // All types exept general settings
|
593 |
-
{
|
594 |
-
?>
|
595 |
<tr valign="top">
|
596 |
<th scope="row">
|
597 |
<?php echo __('Feed Landing Page URL', 'powerpress'); ?> <br />
|
@@ -610,7 +607,6 @@ if( $FeedAttribs['type'] != 'general' ) // All types exept general settings
|
|
610 |
<?php } ?>
|
611 |
</td>
|
612 |
</tr>
|
613 |
-
<?php } // End not general settings ?>
|
614 |
|
615 |
<tr valign="top">
|
616 |
<th scope="row">
|
588 |
</td>
|
589 |
</tr>
|
590 |
|
591 |
+
|
|
|
|
|
|
|
592 |
<tr valign="top">
|
593 |
<th scope="row">
|
594 |
<?php echo __('Feed Landing Page URL', 'powerpress'); ?> <br />
|
607 |
<?php } ?>
|
608 |
</td>
|
609 |
</tr>
|
|
|
610 |
|
611 |
<tr valign="top">
|
612 |
<th scope="row">
|
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.2.3
|
7 |
-
Stable tag: 8.0.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -236,6 +236,16 @@ 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.0.1 =
|
240 |
* Released on 10/09/2019
|
241 |
* Fixed submit links for iHeartRadio, Deezer, and Pandora
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.2.3
|
7 |
+
Stable tag: 8.0.2
|
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.0.2 =
|
240 |
+
* Released on 10/24/2019
|
241 |
+
* Brought back the ability to render black subscribe buttons using [powerpress_subscribe style="dark"] (Thanks @vennstone for bringing to our attention!)
|
242 |
+
* Improved custom CSS setting so that !important tags could be stripped from subscribe sidebar widgets (Thanks Bree @lifesgood for pointing out the problem)
|
243 |
+
* Feed Landing Page URL setting can now be set for the default podcast feed (Thanks Daniel for the suggestion)
|
244 |
+
* Next week, we will release an update to Blubrry's Media uploader to work better within PowerPress so that it is more accessible with text reading software such as JAWS and ZoomText (Thanks Gary for helping us!)
|
245 |
+
* Added support for the WPML plugin (Thanks David and Bobby from WPML!)
|
246 |
+
* Configured Websub publish API call timeout to 3 seconds.
|
247 |
+
|
248 |
+
|
249 |
= 8.0.1 =
|
250 |
* Released on 10/09/2019
|
251 |
* Fixed submit links for iHeartRadio, Deezer, and Pandora
|
wpml-config.xml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<wpml-config>
|
2 |
+
<custom-fields>
|
3 |
+
<custom-field action="copy">enclosure</custom-field>
|
4 |
+
</custom-fields>
|
5 |
+
</wpml-config>
|