PowerPress Podcasting plugin by Blubrry - Version 8.3.3

Version Description

  • Released 06/03/2020
  • Styled news items in WP Dashboard
  • Fixed a bug where artwork settings weren't saving properly
  • Fxied bug where player link options would not save correctly
Download this release

Release Info

Developer benbeecroft
Plugin Icon 128x128 PowerPress Podcasting plugin by Blubrry
Version 8.3.3
Comparing to
See all releases

Code changes from version 8.3.2 to 8.3.3

css/admin.min.css CHANGED
@@ -1,402 +1 @@
1
- /* admin.css */
2
-
3
- .powerpress_save_button_other {
4
- float: right;
5
- background-color: #2278CF;
6
- color: white;
7
- box-shadow: none;
8
- border-radius: 4px;
9
- border: none;
10
- padding: 1ch 1em;
11
- }
12
-
13
- .powerpress-notice,
14
- div.powerpress-notice,
15
- .wrap div.powerpress-notice {
16
-
17
- margin: 20px 0 10px;
18
- padding: 0 5px;
19
- line-height: 29px;
20
- }
21
- .powerpress-error,
22
- div.powerpress-error,
23
- .wrap div.powerpress-error {
24
- margin: 20px 5px 10px;
25
- padding: 0 10px;
26
- line-height: 29px;
27
- font-size: 12px;
28
- border-width: 1px;
29
- border-style: solid;
30
- font-weight: bold;
31
- /* background-color: #ffebe8; /* red */
32
- }
33
- #powerpress_settings {
34
- background-image:url(//images.blubrry.com/powerpress/blubrry_logo7.png);
35
- background-repeat: no-repeat;
36
- background-position: bottom right;
37
- }
38
-
39
- #powerpress_settings ul li ul {
40
- list-style: disc;
41
- }
42
- #powerpress_settings ul li ul li {
43
- margin-left: 50px;
44
- font-size: 90%;
45
- }
46
- #powerpress_settings label {
47
- /* font-size: 110%; */
48
- }
49
- #powerpress_settings td {
50
- padding-top: 12px;
51
- }
52
- #powerpress_settings td p {
53
- padding-bottom: 10px;
54
- }
55
- .bpp_input_sm {
56
- width: 120px;
57
- }
58
- .bpp_input_med {
59
- width: 250px;
60
- }
61
- .bpp-input-normal {
62
- width: 80%;
63
- }
64
-
65
- .powerpress_color_box {
66
- float: left;
67
- width: 16px;
68
- height: 16px;
69
- cursor: pointer;
70
- margin: 4px 1px;
71
- border: 1px solid #666666;
72
-
73
- }
74
-
75
-
76
- #powerpress_support {
77
-
78
- }
79
- #powerpress_support li {
80
- margin-left: 70px;
81
- list-style-type:disc;
82
- margin-top: 0;
83
- margin-bottom: 0;
84
- }
85
-
86
- /*.powerpress-welcome-news {
87
- margin: 10px 0 0 0;
88
- float: left;
89
- width: 60%;
90
- border-right: 1px solid #CCCCCC;
91
- }*/
92
- .powerpress-welcome-news > div {
93
- margin: 0 10px 0 0;
94
- }
95
- .powerpress-welcome-news a {
96
- text-decoration: none;
97
- }
98
- .powerpress-welcome-news .rssSummary {
99
- font-size: 95%;
100
- }
101
- .powerpress-welcome-news .powerpressNewsPlayer {
102
- margin-top: 5px;
103
- }
104
- .powerpress-welcome-highlighted {
105
- margin: 10px 0 0 0;
106
- float: left;
107
- width: 39%;
108
- }
109
- .powerpress-welcome-highlighted > div {
110
- margin: 0 0 0 10px;
111
- }
112
- .powerpress-welcome-highlighted a {
113
- text-decoration: none;
114
- }
115
- .powerpress-welcome-highlighted .rsswidget {
116
- font-size: 115%;
117
- font-weight: bold;
118
- }
119
- .powerpress-welcome-highlighted .rssSummary {
120
- font-size: 95%;
121
- }
122
- .powerpress-welcome-news ul li, .powerpress-welcome-highlighted ul li {
123
- margin: 15px 0 10px 0;
124
- }
125
- .powerpress-welcome-news h2, .powerpress-welcome-highlighted h2 {
126
- padding: 0;
127
- }
128
-
129
- #powerpress_settings label.powerpress-normal-font {
130
- font-size: 11px;
131
- }
132
- #powerpress_admin_header {
133
- vertical-align: text-bottom;
134
- }
135
- #powerpress_admin_header h2 {
136
- /* float: left; */
137
- display: inline-block;
138
- }
139
- #powerpress_admin_header h2,
140
- #powerpress_admin_header h3,
141
- #powerpress_admin_header h4 {
142
- line-height: 1.1;
143
- margin: 10px 0 0 0;
144
- padding: 0;
145
- font-weight: bold;
146
- }
147
- #powerpress_admin_header p {
148
- line-height: 1.1;
149
- margin: 5px 0 10px 0;
150
- padding: 0;
151
- }
152
- #powerpress_admin_header .powerpress-admin-heading {
153
- font-weight: bold;
154
- }
155
- #powerpress_admin_header .powerpress-mode {
156
- margin-left: 14px;
157
- display: inline-block;
158
- color: #FF6600;
159
- font-size: 15px;
160
- font-weight: bold;
161
- }
162
- #pp-getting-started-box {
163
- max-width: 1200px;
164
- }
165
-
166
- #pp-getting-started-box h2 {
167
- font-size: 200%;
168
- margin-bottom: 20px;
169
- font-style: oblique;
170
- line-height: 1.2em;
171
- }
172
- #pp-getting-started-box > p {
173
- font-size: 125%;
174
- }
175
-
176
-
177
-
178
-
179
- .powerpress-required {
180
- font-size: 85%;
181
- color: #CC0000;
182
- margin-left: 12px;
183
- font-style:italic;
184
- }
185
-
186
- .powerpress-step {
187
- display: inline-block;
188
- float: left;
189
- width: 200px;
190
- width: 24%;
191
- margin-left: 60px;
192
- margin-right: 0;
193
- text-align: top;
194
- position: relative;
195
- padding: 8px;
196
- }
197
-
198
- .blubrry-services {
199
- color: #337EC9;
200
- font-size: 18px;
201
- line-height: 1.2;
202
- }
203
- .blubrry-services p {
204
- margin: 0 70px 0 0;
205
- padding: 0;
206
- }
207
- .blubrry-services strong {
208
- color: #FF6600;
209
- font-weight: normal;
210
- }
211
- .blubrry-services p.top-lines {
212
- margin-right: 0;
213
- }
214
- .blubrry-services a {
215
- color: #FF6600;
216
- font-size: 20px;
217
- line-height: 2;
218
- }
219
- .blubrry-services .blubrry-hosting,
220
- .blubrry-services .blubrry-stats {
221
- float: left;
222
- width: 230px;
223
- height: 140px;
224
- background-color: #ECECEC;
225
- padding: 10px;
226
- margin-top: 10px;
227
- }
228
- .blubrry-services .blubrry-stats {
229
- background-image: url('../images/StatsIcon.png');
230
- background-repeat:no-repeat;
231
- background-position: bottom right;
232
- }
233
-
234
- .blubrry-services .blubrry-hosting {
235
- margin-right: 50px;
236
- background-image: url('../images/BlubrryIcon.png');
237
- background-repeat:no-repeat;
238
- background-position: bottom right;
239
- }
240
-
241
-
242
- @media screen and (min-width: 1px) and (max-width: 819px) {
243
- .powerpress-step {
244
- width: 170px;
245
- }
246
- #powerpress_steps p {
247
- font-size: 16px;
248
- margin: 20px 4px;
249
- }
250
- .blubrry-services .blubrry-hosting {
251
- margin-right: 20px;
252
- }
253
- }
254
- @media screen and (min-width: 1px) and (max-width: 729px) {
255
-
256
- #powerpreess_step_1 {
257
- background-position: 1px bottom;
258
- }
259
- #powerpress_steps p {
260
- margin: 10px 4px;
261
- }
262
- .blubrry-services .blubrry-hosting {
263
- margin-right: 10px;
264
- }
265
- }
266
-
267
- @media screen and (min-width: 1px) and (max-width: 729px) {
268
-
269
- .powerpress-step {
270
- width: 24%;
271
- margin-left: 30px;
272
- }
273
- }
274
-
275
- .numberCircle {
276
- border-radius: 50%;
277
- behavior: url(PIE.htc); /* remove if you don't care about IE8 */
278
-
279
- width: 36px;
280
- height: 36px;
281
- padding: 8px;
282
-
283
- background: #fff;
284
- border: 2px solid #666;
285
- color: #666;
286
- text-align: center;
287
-
288
- font: 32px Arial, sans-serif;
289
- }
290
-
291
- #powerpress_settings_page {
292
- background: none;
293
- background-color: inherit;
294
- border: none;
295
- }
296
- #powerpress_settings_page .ui-widget-header {
297
- background: none;
298
- border: none;
299
- }
300
- #powerpress_settings_page .ui-state-default,
301
- #powerpress_settings_page .ui-widget-content .ui-state-default,
302
- #powerpress_settings_page .ui-widget-header .ui-state-default {
303
- background: none;
304
- border: none;
305
- }
306
- #powerpress_settings_page .ui-tabs-nav li {
307
- margin-bottom: 0px;
308
- border-bottom: none;
309
- }
310
-
311
- #powerpress_settings_page .ui-tabs-nav li.ui-tabs-active {
312
- margin-bottom: -1px;
313
- padding-bottom: 1px;
314
- }
315
- #powerpress_settings_page .ui-tabs-nav li a {
316
- padding: 4px 5px 2px;
317
- }
318
- #powerpress_settings_page .ui-tabs-nav li.ui-tabs-active a {
319
- padding: 4px 5px 3px;
320
- }
321
-
322
-
323
- #powerpress_settings_page .powerpress_tab {
324
- background-color: #FFFFFF;
325
- border-collapse: separate;
326
- border-style: solid;
327
- border-width: 1px;
328
- border-color: #DFDFDF;
329
- border-color: #B3B3B3;
330
- }
331
-
332
-
333
- /* sections */
334
- .pp-section {
335
- clear: both;
336
- padding: 0px;
337
- margin: 0px;
338
- }
339
- .pp-section dt {
340
- font-weight: bold;
341
- }
342
-
343
- .pp-expand-section {
344
- text-decoration: none;
345
- }
346
- a.pp-expand-section,
347
- a.pp-expand-section:hover,
348
- a.pp-expand-section:focus,
349
- a.pp-expand-section:visited {
350
- color: #1976D2;
351
- }
352
- .pp-expand-section:before,
353
- .pp-expand-section-expanded:before {
354
- background-color: #1976D2;
355
- border: 1px solid #1976D2;
356
- border-radius: 3px;
357
- font-weight: bold;
358
- color: #ffffff;
359
- height: 20px;
360
- width: 20px;
361
- display: inline-block;
362
- margin-right: 10px;
363
- text-align: center;
364
- font-size: 20px;
365
- }
366
- .pp-expand-section:before {
367
- content: ' \25C4'; /* ◄ */
368
- content: '+';
369
- line-height: 20px;
370
- }
371
- .pp-expand-section-expanded:before {
372
- content: ' \25BC';
373
- content: '-';
374
- line-height: 16px;
375
- }
376
- .bbplayer_settings .form-table th{
377
- padding-bottom: 0;
378
- }
379
- .bbplayer_settings h3{
380
- color: #003366;
381
- font-weight: bold;
382
- }
383
- /* buttons */
384
- .wp-core-ui .button-blubrry {
385
- background: #1976D2;
386
- border-color: #1976D2;
387
- color: #FFFFFF;
388
- }
389
- .wp-core-ui .button-blubrry-gray {
390
- background: #f7f7f7;
391
- border-color: #ccc;
392
- color: #555;
393
- }
394
- .wp-core-ui .button-blubrry:hover,
395
- .wp-core-ui .button-blubrry:focus {
396
- background: #0D87E9;
397
- border-color: #0D87E9;
398
- color: #FFFFFF;
399
- }
400
- .pp-form-error {
401
- border: red solid 1px;
402
- }
1
+ .powerpress_save_button_other{float:right;background-color:#2278cf;color:#fff;box-shadow:none;border-radius:4px;border:none;padding:1ch 1em}.powerpress-notice,.wrap div.powerpress-notice,div.powerpress-notice{margin:20px 0 10px;padding:0 5px;line-height:29px}.powerpress-error,.wrap div.powerpress-error,div.powerpress-error{margin:20px 5px 10px;padding:0 10px;line-height:29px;font-size:12px;border-width:1px;border-style:solid;font-weight:700}#powerpress_settings{background-image:url(//images.blubrry.com/powerpress/blubrry_logo7.png);background-repeat:no-repeat;background-position:bottom right}#powerpress_settings ul li ul{list-style:disc}#powerpress_settings ul li ul li{margin-left:50px;font-size:90%}#powerpress_settings td{padding-top:12px}#powerpress_settings td p{padding-bottom:10px}.bpp_input_sm{width:120px}.bpp_input_med{width:250px}.bpp-input-normal{width:80%}.powerpress_color_box{float:left;width:16px;height:16px;cursor:pointer;margin:4px 1px;border:1px solid #666}#powerpress_support li{margin-left:70px;list-style-type:disc;margin-top:0;margin-bottom:0}.powerpress-welcome-news>div{margin:0 10px 0 0}.powerpress-welcome-news a{text-decoration:none}.powerpress-welcome-news .rssSummary{font-size:95%}.powerpress-welcome-news .powerpressNewsPlayer{margin-top:5px}.powerpress-welcome-highlighted{margin:10px 0 0 0;float:left;width:39%}.powerpress-welcome-highlighted>div{margin:0 0 0 10px}.powerpress-welcome-highlighted a{text-decoration:none}.powerpress-welcome-highlighted .rsswidget{font-size:115%;font-weight:700}.powerpress-welcome-highlighted .rssSummary{font-size:95%}.powerpress-welcome-highlighted ul li,.powerpress-welcome-news ul li{margin:15px 0 10px 0}.powerpress-welcome-highlighted h2,.powerpress-welcome-news h2{padding:0}#powerpress_settings label.powerpress-normal-font{font-size:11px}#powerpress_admin_header{vertical-align:text-bottom}#powerpress_admin_header h2{display:inline-block}#powerpress_admin_header h2,#powerpress_admin_header h3,#powerpress_admin_header h4{line-height:1.1;margin:10px 0 0 0;padding:0;font-weight:700}#powerpress_admin_header p{line-height:1.1;margin:5px 0 10px 0;padding:0}#powerpress_admin_header .powerpress-admin-heading{font-weight:700}#powerpress_admin_header .powerpress-mode{margin-left:14px;display:inline-block;color:#f60;font-size:15px;font-weight:700}#pp-getting-started-box{max-width:1200px}#pp-getting-started-box h2{font-size:200%;margin-bottom:20px;font-style:oblique;line-height:1.2em}#pp-getting-started-box>p{font-size:125%}.powerpress-required{font-size:85%;color:#c00;margin-left:12px;font-style:italic}.powerpress-step{display:inline-block;float:left;width:200px;width:24%;margin-left:60px;margin-right:0;text-align:top;position:relative;padding:8px}.blubrry-services{color:#337ec9;font-size:18px;line-height:1.2}.blubrry-services p{margin:0 70px 0 0;padding:0}.blubrry-services strong{color:#f60;font-weight:400}.blubrry-services p.top-lines{margin-right:0}.blubrry-services a{color:#f60;font-size:20px;line-height:2}.blubrry-services .blubrry-hosting,.blubrry-services .blubrry-stats{float:left;width:230px;height:140px;background-color:#ececec;padding:10px;margin-top:10px}.blubrry-services .blubrry-stats{background-image:url(../images/StatsIcon.png);background-repeat:no-repeat;background-position:bottom right}.blubrry-services .blubrry-hosting{margin-right:50px;background-image:url(../images/BlubrryIcon.png);background-repeat:no-repeat;background-position:bottom right}@media screen and (min-width:1px) and (max-width:819px){.powerpress-step{width:170px}#powerpress_steps p{font-size:16px;margin:20px 4px}.blubrry-services .blubrry-hosting{margin-right:20px}}@media screen and (min-width:1px) and (max-width:729px){#powerpreess_step_1{background-position:1px bottom}#powerpress_steps p{margin:10px 4px}.blubrry-services .blubrry-hosting{margin-right:10px}}@media screen and (min-width:1px) and (max-width:729px){.powerpress-step{width:24%;margin-left:30px}}.numberCircle{border-radius:50%;behavior:url(PIE.htc);width:36px;height:36px;padding:8px;background:#fff;border:2px solid #666;color:#666;text-align:center;font:32px Arial,sans-serif}#powerpress_settings_page{background:0 0;background-color:inherit;border:none}#powerpress_settings_page .ui-widget-header{background:0 0;border:none}#powerpress_settings_page .ui-state-default,#powerpress_settings_page .ui-widget-content .ui-state-default,#powerpress_settings_page .ui-widget-header .ui-state-default{background:0 0;border:none}#powerpress_settings_page .ui-tabs-nav li{margin-bottom:0;border-bottom:none}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}#powerpress_settings_page .ui-tabs-nav li a{padding:4px 5px 2px}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active a{padding:4px 5px 3px}#powerpress_settings_page .powerpress_tab{background-color:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3}.pp-section{clear:both;padding:0;margin:0}.pp-section dt{font-weight:700}.pp-expand-section{text-decoration:none}a.pp-expand-section,a.pp-expand-section:focus,a.pp-expand-section:hover,a.pp-expand-section:visited{color:#1976d2}.pp-expand-section-expanded:before,.pp-expand-section:before{background-color:#1976d2;border:1px solid #1976d2;border-radius:3px;font-weight:700;color:#fff;height:20px;width:20px;display:inline-block;margin-right:10px;text-align:center;font-size:20px}.pp-expand-section:before{content:' \25C4';content:'+';line-height:20px}.pp-expand-section-expanded:before{content:' \25BC';content:'-';line-height:16px}.bbplayer_settings .form-table th{padding-bottom:0}.bbplayer_settings h3{color:#036;font-weight:700}.wp-core-ui .button-blubrry{background:#1976d2;border-color:#1976d2;color:#fff}.wp-core-ui .button-blubrry-gray{background:#f7f7f7;border-color:#ccc;color:#555}.wp-core-ui .button-blubrry:focus,.wp-core-ui .button-blubrry:hover{background:#0d87e9;border-color:#0d87e9;color:#fff}.pp-form-error{border:red solid 1px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/dashboard.css CHANGED
@@ -1,5 +1,40 @@
1
  /* PowerPress Dashboard CSS */
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  /* Dashboard Notice, based on Dashboard Browser Nag */
4
  #powerpress_dashboard_notice_3 a.update-browser-link {
5
  font-size: 1.2em;
1
  /* PowerPress Dashboard CSS */
2
 
3
+ .pp-news-image-container {
4
+ vertical-align: top;
5
+ float: left;
6
+ margin-right: 1em;
7
+ height: auto;
8
+ width: 40%;
9
+ }
10
+
11
+ .powerpress-news-dashboard .rss-date {
12
+ font-size: 80%;
13
+ }
14
+
15
+ .powerpress-news-dashboard .rsswidget {
16
+ font-size: 100%;
17
+ color: black;
18
+ text-decoration: underline;
19
+ }
20
+
21
+ .pp-news-details-container {
22
+ height: 100%;
23
+ width: auto;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .pp-news-image {
28
+ height: auto;
29
+ width: 100%;
30
+ }
31
+
32
+ .pp-news-item {
33
+ padding: 0 2em 2ch 0;
34
+ border-bottom: 1px solid #ddd;
35
+ height: 25vh;
36
+ }
37
+
38
  /* Dashboard Notice, based on Dashboard Browser Nag */
39
  #powerpress_dashboard_notice_3 a.update-browser-link {
40
  font-size: 1.2em;
css/dashboard.min.css CHANGED
@@ -1 +1 @@
1
- #powerpress_dashboard_notice_3 a.update-browser-link{font-size:1.2em;font-weight:700}#powerpress_dashboard_notice_3 a{text-decoration:underline}#powerpress_dashboard_notice_3.postbox{background-color:#e29808;background-image:none;border-color:#edc048;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#fff}#powerpress_dashboard_notice_3.postbox h3{border-bottom-color:#f6e2ac;text-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;background:transparent none;color:#fff}#powerpress_dashboard_notice_3 a{color:#fff}#powerpress_dashboard_notice_3.browser-insecure a.browse-happy-link,#powerpress_dashboard_notice_3.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0}#powerpress_dashboard_notice_3 a.browse-happy-link,#powerpress_dashboard_notice_3 a.update-browser-link{text-shadow:#d29a04 0 1px 0}
1
+ .pp-news-image-container{vertical-align:top;float:left;margin-right:1em;height:auto;width:40%}.powerpress-news-dashboard .rss-date{font-size:80%}.powerpress-news-dashboard .rsswidget{font-size:100%;color:#000;text-decoration:underline}.pp-news-details-container{height:100%;width:auto;overflow:hidden}.pp-news-image{height:auto;width:100%}.pp-news-item{padding:0 2em 2ch 0;border-bottom:1px solid #ddd;height:25vh}#powerpress_dashboard_notice_3 a.update-browser-link{font-size:1.2em;font-weight:700}#powerpress_dashboard_notice_3 a{text-decoration:underline}#powerpress_dashboard_notice_3.postbox{background-color:#e29808;background-image:none;border-color:#edc048;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#fff}#powerpress_dashboard_notice_3.postbox h3{border-bottom-color:#f6e2ac;text-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;background:transparent none;color:#fff}#powerpress_dashboard_notice_3 a{color:#fff}#powerpress_dashboard_notice_3.browser-insecure a.browse-happy-link,#powerpress_dashboard_notice_3.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0}#powerpress_dashboard_notice_3 a.browse-happy-link,#powerpress_dashboard_notice_3 a.update-browser-link{text-shadow:#d29a04 0 1px 0}
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.3.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.3.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.3.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.3.3' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-basic.php CHANGED
@@ -120,6 +120,8 @@ jQuery(document).ready(function($) {
120
  //-->
121
  </script>
122
  <input type="hidden" name="action" value="powerpress-save-settings" />
 
 
123
 
124
  <input type="hidden" id="save_tab_pos" name="tab" value="<?php echo (empty($_POST['tab']) ? "settings-welcome" : $_POST['tab']); ?>" />
125
  <input type="hidden" id="save_sidenav_pos" name="sidenav-tab" value="<?php echo (empty($_POST['sidenav-tab']) ? "" : $_POST['sidenav-tab']); ?>" />
@@ -316,7 +318,7 @@ jQuery(document).ready(function($) {
316
  }
317
  else
318
  {
319
- powerpressadmin_edit_media_statistics($General);
320
  }
321
  ?>
322
  </div>
@@ -487,7 +489,9 @@ function goToPodcastSEO() {
487
  </p>
488
  </div>
489
  </div>
490
- <?php powerpress_settings_tab_footer(); ?>
 
 
491
  </div>
492
  </div>
493
 
@@ -754,58 +758,72 @@ function powerpressadmin_edit_media_statistics($General)
754
  if( !empty($General['blubrry_program_keyword']) )
755
  $StatsIntegrationURL = 'http://media.blubrry.com/'.$General['blubrry_program_keyword'].'/';
756
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  <div id="blubrry_stats_settings">
758
- <h3><?php echo __('Media Statistics', 'powerpress'); ?></h3>
759
- <div style="margin-left: 40px;">
760
- <p>
 
761
  <?php echo __('Enter your Redirect URL issued by your media statistics service provider below.', 'powerpress'); ?>
762
  </p>
763
 
764
- <div style="position: relative; margin-left: 40px; padding-bottom: 10px;">
765
  <table class="form-table">
766
  <tr valign="top">
767
  <th scope="row">
768
  <?php echo __('Redirect URL 1', 'powerpress'); ?>
769
  </th>
770
  <td>
771
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect1]'; else echo 'General[redirect1]'; ?>" value="<?php echo esc_attr($General['redirect1']); ?>" onChange="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
772
  </td>
773
  </tr>
774
  </table>
775
  <?php if( empty($General['redirect2']) && empty($General['redirect3']) ) { ?>
776
  <div style="position: absolute;bottom: -2px;left: -40px;" id="powerpress_redirect2_showlink">
777
- <a href="#" onclick="javascript:document.getElementById('powerpress_redirect2_table').style.display='block';document.getElementById('powerpress_redirect2_showlink').style.display='none';return false;"><?php echo __('Add Another Redirect', 'powerpress'); ?></a>
778
  </div>
779
  <?php } ?>
780
  </div>
781
 
782
 
783
- <div id="powerpress_redirect2_table" style="position: relative;<?php if( empty($General['redirect2']) && empty($General['redirect3']) ) echo 'display:none;'; ?> margin-left: 40px; padding-bottom: 10px;">
784
  <table class="form-table">
785
  <tr valign="top">
786
  <th scope="row">
787
  <?php echo __('Redirect URL 2', 'powerpress'); ?>
788
  </th>
789
  <td>
790
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect2]'; else echo 'General[redirect2]'; ?>" value="<?php echo esc_attr($General['redirect2']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
791
  </td>
792
  </tr>
793
  </table>
794
  <?php if( $General['redirect3'] == '' ) { ?>
795
  <div style="position: absolute;bottom: -2px;left: -40px;" id="powerpress_redirect3_showlink">
796
- <a href="#" onclick="javascript:document.getElementById('powerpress_redirect3_table').style.display='block';document.getElementById('powerpress_redirect3_showlink').style.display='none';return false;"><?php echo __('Add Another Redirect', 'powerpress'); ?></a>
797
  </div>
798
  <?php } ?>
799
  </div>
800
 
801
- <div id="powerpress_redirect3_table" style="<?php if( empty($General['redirect3']) ) echo 'display:none;'; ?> margin-left: 40px;">
802
  <table class="form-table">
803
  <tr valign="top">
804
  <th scope="row">
805
  <?php echo __('Redirect URL 3', 'powerpress'); ?>
806
  </th>
807
  <td>
808
- <input type="text" style="width: 60%;" name="<?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect3]'; else echo 'General[redirect3]'; ?>" value="<?php echo esc_attr($General['redirect3']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo ' readOnly="readOnly"'; ?> />
809
  </td>
810
  </tr>
811
  </table>
@@ -1129,7 +1147,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1129
  <label for="Feed[itunes_image]" class="pp-settings-label-under"><?php echo __('Apple Podcast image must be at least 1400 x 1400 pixels in .jpg or .png format. Apple Podcast image must not exceed 3000 x 3000 pixels and must use RGB color space. The filesize should not exceed 0.5MB.', 'powerpress'); ?></label>
1130
 
1131
  <?php if( $SupportUploads ) { ?>
1132
- <input name="itunes_image_checkbox" type="hidden" value="1" />
1133
  <div id="itunes_image_upload">
1134
  <div>
1135
  <div class="pp-settings-button">
@@ -1175,7 +1193,7 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1175
  -->
1176
 
1177
  <?php if( $SupportUploads ) { ?>
1178
- <input name="rss2_image_checkbox" type="hidden" value="1" />
1179
  <div id="rss_image_upload">
1180
  <div>
1181
  <div class="pp-settings-button">
@@ -1190,11 +1208,43 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1190
  <?php } ?>
1191
  </div>
1192
  <script>
1193
- document.getElementById('itunes_image_file').onchange = function () {
1194
  document.getElementById('itunes_image').value = this.value.replace("C:\\fakepath\\", "");
 
 
 
 
 
 
1195
  };
1196
- document.getElementById('rss2_image_file').onchange = function () {
1197
  document.getElementById('rss2_image').value = this.value.replace("C:\\fakepath\\", "");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1198
  };
1199
  </script>
1200
  <?php
120
  //-->
121
  </script>
122
  <input type="hidden" name="action" value="powerpress-save-settings" />
123
+ <input type="hidden" name="General[pp-gen-settings-tabs]" value="1" />
124
+ <input type="hidden" name="PlayerSettings[pp-gen-settings-tabs]" value="1" />
125
 
126
  <input type="hidden" id="save_tab_pos" name="tab" value="<?php echo (empty($_POST['tab']) ? "settings-welcome" : $_POST['tab']); ?>" />
127
  <input type="hidden" id="save_sidenav_pos" name="sidenav-tab" value="<?php echo (empty($_POST['sidenav-tab']) ? "" : $_POST['sidenav-tab']); ?>" />
318
  }
319
  else
320
  {
321
+ //powerpressadmin_edit_media_statistics($General);
322
  }
323
  ?>
324
  </div>
489
  </p>
490
  </div>
491
  </div>
492
+ <?php
493
+ powerpressadmin_edit_media_statistics($General);
494
+ powerpress_settings_tab_footer(); ?>
495
  </div>
496
  </div>
497
 
758
  if( !empty($General['blubrry_program_keyword']) )
759
  $StatsIntegrationURL = 'http://media.blubrry.com/'.$General['blubrry_program_keyword'].'/';
760
  ?>
761
+ <script>
762
+ function showSecondRedirectInput(event) {
763
+ event.preventDefault();
764
+ document.getElementById('powerpress_redirect2_table').style.display = 'block';
765
+ document.getElementById('powerpress_redirect2_showlink').style.display='none';
766
+
767
+ }
768
+ function showThirdRedirectInput(event) {
769
+ event.preventDefault();
770
+ document.getElementById('powerpress_redirect3_table').style.display='block';
771
+ document.getElementById('powerpress_redirect3_showlink').style.display='none';
772
+ }
773
+ </script>
774
  <div id="blubrry_stats_settings">
775
+ <h2><?php echo __('Media Statistics', 'powerpress'); ?></h2>
776
+ <div>
777
+ <h4><?php echo __('REDIRECT URL', 'powerpress'); ?></h4>
778
+ <p class="pp-settings-text-no-margin">
779
  <?php echo __('Enter your Redirect URL issued by your media statistics service provider below.', 'powerpress'); ?>
780
  </p>
781
 
782
+ <div style="position: relative; padding-bottom: 10px;">
783
  <table class="form-table">
784
  <tr valign="top">
785
  <th scope="row">
786
  <?php echo __('Redirect URL 1', 'powerpress'); ?>
787
  </th>
788
  <td>
789
+ <input type="text" class="pp-settings-text-input" name="<?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect1]'; else echo 'General[redirect1]'; ?>" value="<?php echo esc_attr($General['redirect1']); ?>" onChange="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect1'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
790
  </td>
791
  </tr>
792
  </table>
793
  <?php if( empty($General['redirect2']) && empty($General['redirect3']) ) { ?>
794
  <div style="position: absolute;bottom: -2px;left: -40px;" id="powerpress_redirect2_showlink">
795
+ <a href="#" style="margin-left: 40px;" onclick="showSecondRedirectInput(event)"><?php echo __('Add Another Redirect', 'powerpress'); ?></a href="#">
796
  </div>
797
  <?php } ?>
798
  </div>
799
 
800
 
801
+ <div id="powerpress_redirect2_table" style="position: relative; <?php if( empty($General['redirect2']) && empty($General['redirect3']) ) echo 'display:none;'; ?> padding-bottom: 10px;">
802
  <table class="form-table">
803
  <tr valign="top">
804
  <th scope="row">
805
  <?php echo __('Redirect URL 2', 'powerpress'); ?>
806
  </th>
807
  <td>
808
+ <input type="text" class="pp-settings-text-input" name="<?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect2]'; else echo 'General[redirect2]'; ?>" value="<?php echo esc_attr($General['redirect2']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect2'], $StatsIntegrationURL) !== false ) { echo ' readOnly="readOnly"'; $StatsIntegrationURL = false; } ?> />
809
  </td>
810
  </tr>
811
  </table>
812
  <?php if( $General['redirect3'] == '' ) { ?>
813
  <div style="position: absolute;bottom: -2px;left: -40px;" id="powerpress_redirect3_showlink">
814
+ <a href="#" style="margin-left: 40px;" onclick="showThirdRedirectInput(event)"><?php echo __('Add Another Redirect', 'powerpress'); ?></a>
815
  </div>
816
  <?php } ?>
817
  </div>
818
 
819
+ <div id="powerpress_redirect3_table" style="<?php if( empty($General['redirect3']) ) echo 'display:none;'; ?>">
820
  <table class="form-table">
821
  <tr valign="top">
822
  <th scope="row">
823
  <?php echo __('Redirect URL 3', 'powerpress'); ?>
824
  </th>
825
  <td>
826
+ <input type="text" class="pp-settings-text-input" name="<?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo 'NULL[redirect3]'; else echo 'General[redirect3]'; ?>" value="<?php echo esc_attr($General['redirect3']); ?>" onblur="return CheckRedirect(this);" maxlength="255" <?php if( stripos($General['redirect3'], $StatsIntegrationURL) !== false ) echo ' readOnly="readOnly"'; ?> />
827
  </td>
828
  </tr>
829
  </table>
1147
  <label for="Feed[itunes_image]" class="pp-settings-label-under"><?php echo __('Apple Podcast image must be at least 1400 x 1400 pixels in .jpg or .png format. Apple Podcast image must not exceed 3000 x 3000 pixels and must use RGB color space. The filesize should not exceed 0.5MB.', 'powerpress'); ?></label>
1148
 
1149
  <?php if( $SupportUploads ) { ?>
1150
+ <input name="itunes_image_checkbox" id="itunes_image_checkbox" type="hidden" value="0" />
1151
  <div id="itunes_image_upload">
1152
  <div>
1153
  <div class="pp-settings-button">
1193
  -->
1194
 
1195
  <?php if( $SupportUploads ) { ?>
1196
+ <input name="rss2_image_checkbox" id="rss2_image_checkbox" type="hidden" value="0" />
1197
  <div id="rss_image_upload">
1198
  <div>
1199
  <div class="pp-settings-button">
1208
  <?php } ?>
1209
  </div>
1210
  <script>
1211
+ document.getElementById('itunes_image_file').onchange = function (event) {
1212
  document.getElementById('itunes_image').value = this.value.replace("C:\\fakepath\\", "");
1213
+ let checkbox_id = "itunes_image_checkbox";
1214
+ console.log(checkbox_id);
1215
+ if (event.currentTarget.value.length > 0) {
1216
+ document.getElementById(checkbox_id).value = 1;
1217
+ }
1218
+ console.log(document.getElementById(checkbox_id).value);
1219
  };
1220
+ document.getElementById('rss2_image_file').onchange = function (event) {
1221
  document.getElementById('rss2_image').value = this.value.replace("C:\\fakepath\\", "");
1222
+ let checkbox_id = "rss2_image_checkbox";
1223
+ console.log(checkbox_id);
1224
+ if (event.currentTarget.value.length > 0) {
1225
+ document.getElementById(checkbox_id).value = 1;
1226
+ }
1227
+ console.log(document.getElementById(checkbox_id).value);
1228
+ };
1229
+ document.getElementById('itunes_image').onchange = function(event) {
1230
+ let checkbox_id = "itunes_image_checkbox";
1231
+ console.log(checkbox_id);
1232
+ if (event.currentTarget.value.length > 0) {
1233
+ document.getElementById(checkbox_id).value = 1;
1234
+ } else {
1235
+ document.getElementById(checkbox_id).value = 0;
1236
+ }
1237
+ console.log(document.getElementById(checkbox_id).value);
1238
+ };
1239
+ document.getElementById('rss2_image').onchange = function(event) {
1240
+ let checkbox_id = "rss2_image_checkbox";
1241
+ console.log(checkbox_id);
1242
+ if (event.currentTarget.value.length > 0) {
1243
+ document.getElementById(checkbox_id).value = 1;
1244
+ } else {
1245
+ document.getElementById(checkbox_id).value = 0;
1246
+ }
1247
+ console.log(document.getElementById(checkbox_id).value);
1248
  };
1249
  </script>
1250
  <?php
powerpressadmin-editfeed.php CHANGED
@@ -694,7 +694,7 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
694
  </label>
695
  </div>
696
 
697
- <!--<div class="pp-settings-section">
698
  <h2><?php echo __('Feed Landing Page URL', 'powerpress'); ?></h2>
699
  <input class="pp-settings-text-input" type="text" name="Feed[url]" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="255" />
700
  <label for="Feed[url]" class="pp-settings-label-under">
@@ -709,7 +709,7 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
709
  <p class="description">e.g. <?php echo get_bloginfo('url'); ?>/custom-page/</p>
710
  <?php } ?>
711
  </label>
712
- </div>-->
713
 
714
  <div class="pp-settings-section">
715
  <h2><?php echo __('PodcastMirror Feed URL', 'powerpress'); ?><br /></h2>
694
  </label>
695
  </div>
696
 
697
+ <div class="pp-settings-section">
698
  <h2><?php echo __('Feed Landing Page URL', 'powerpress'); ?></h2>
699
  <input class="pp-settings-text-input" type="text" name="Feed[url]" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="255" />
700
  <label for="Feed[url]" class="pp-settings-label-under">
709
  <p class="description">e.g. <?php echo get_bloginfo('url'); ?>/custom-page/</p>
710
  <?php } ?>
711
  </label>
712
+ </div>
713
 
714
  <div class="pp-settings-section">
715
  <h2><?php echo __('PodcastMirror Feed URL', 'powerpress'); ?><br /></h2>
powerpressadmin-search.php CHANGED
@@ -56,7 +56,6 @@ jQuery(document).ready(function() {
56
  });
57
  //-->
58
  </script>
59
- <input type="hidden" name="action" value="powerpress-save-search" />
60
  <h1 class="pp-heading"><?php echo __('Podcast SEO', 'powerpress'); ?></h1>
61
  <p class="pp-settings-text">
62
  <?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?>
56
  });
57
  //-->
58
  </script>
 
59
  <h1 class="pp-heading"><?php echo __('Podcast SEO', 'powerpress'); ?></h1>
60
  <p class="pp-settings-text">
61
  <?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?>
powerpressadmin.php CHANGED
@@ -519,55 +519,6 @@ function powerpress_admin_init()
519
  $General['disable_dashboard_stats'] = 1;
520
  if( !isset($General['disable_dashboard_news'] ) )
521
  $General['disable_dashboard_news'] = 0;
522
- /*
523
- if( !isset($General['new_episode_box_mode']) ) // Default not set, 1 = no duration/file size, 2 = yes duration/file size (default if not set)
524
- $General['new_episode_box_mode'] = 1; // 1 = no duration/file size (unchecked)
525
- if( !isset($General['new_episode_box_embed'] ) )
526
- $General['new_episode_box_embed'] = 1;
527
- if( !isset($General['new_embed_replace_player'] ) )
528
- $General['new_embed_replace_player'] = 1;
529
- if( !isset($General['new_episode_box_no_player'] ) )
530
- $General['new_episode_box_no_player'] = 1;
531
- if( !isset($General['new_episode_box_no_links'] ) )
532
- $General['new_episode_box_no_links'] = 1;
533
- if( !isset($General['new_episode_box_no_player_and_links'] ) )
534
- $General['new_episode_box_no_player_and_links'] = 1;
535
- if( !isset($General['new_episode_box_cover_image'] ) )
536
- $General['new_episode_box_cover_image'] = 1;
537
- if( !isset($General['new_episode_box_player_size'] ) )
538
- $General['new_episode_box_player_size'] = 1;
539
- if( !isset($General['new_episode_box_subtitle'] ) )
540
- $General['new_episode_box_subtitle'] = 1;
541
- if( !isset($General['new_episode_box_summary'] ) )
542
- $General['new_episode_box_summary'] = 1;
543
- if( !isset($General['new_episode_box_gp_desc'] ) )
544
- $General['new_episode_box_gp_desc'] = 1;
545
- if( !isset($General['new_episode_box_gp_explicit'] ) )
546
- $General['new_episode_box_gp_explicit'] = 1;
547
- if( !isset($General['new_episode_box_author'] ) )
548
- $General['new_episode_box_author'] = 1;
549
- if( !isset($General['new_episode_box_explicit'] ) )
550
- $General['new_episode_box_explicit'] = 1;
551
- if( !isset($General['new_episode_box_closed_captioned'] ) )
552
- $General['new_episode_box_closed_captioned'] = 1;
553
- if( !isset($General['new_episode_box_itunes_image'] ) )
554
- $General['new_episode_box_itunes_image'] = 1;
555
-
556
- if( !isset($General['new_episode_box_order'] ) )
557
- $General['new_episode_box_order'] = 1;
558
-
559
- if( !isset($General['new_episode_box_feature_in_itunes'] ) )
560
- $General['new_episode_box_feature_in_itunes'] = 1;
561
- else
562
- $General['new_episode_box_order'] = 1;
563
-
564
- if( !isset($General['new_episode_box_block'] ) )
565
- $General['new_episode_box_block'] = 1;
566
- if( !isset($General['new_episode_box_gp_block'] ) )
567
- $General['new_episode_box_gp_block'] = 1;
568
- if( !isset($General['new_episode_box_gp_explicit'] ) )
569
- $General['new_episode_box_gp_explicit'] = 1;
570
- */
571
  if( !isset($General['allow_feed_comments'] ) )
572
  $General['allow_feed_comments'] = 0;
573
 
@@ -592,12 +543,12 @@ function powerpress_admin_init()
592
  $General['playlist_player'] = 0;
593
  if(!isset($General['network_mode']))
594
  $General['network_mode'] = 0;
595
-
596
-
597
  // Media Presentation Settings
598
  $PlayerSettings = array();
599
  if( !empty($_POST['PlayerSettings']) )
600
- $PlayerSettings = $_POST['PlayerSettings'];
601
  if( empty($PlayerSettings['display_pinw']) )
602
  $PlayerSettings['display_pinw'] = 0;
603
  if( empty($PlayerSettings['display_media_player']) )
@@ -651,7 +602,7 @@ function powerpress_admin_init()
651
  $General['posttype_podcasting'] = 0;
652
  }
653
 
654
- if( !empty($_POST['action']) && $_POST['action'] == 'powerpress-save-search' )
655
  {
656
  //$PowerPressSearch = $_POST['PowerPressSearch'];
657
  $PowerPressSearchToggle = $_POST['PowerPressSearchToggle'];
@@ -1401,7 +1352,6 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
1401
  // Save general settings
1402
  if( $SettingsNew )
1403
  {
1404
-
1405
 
1406
  $Settings = get_option($field);
1407
  if( !is_array($Settings) )
@@ -1461,14 +1411,6 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
1461
  $Settings['new_episode_box_subtitle'] = 2;
1462
  if (!isset($SettingsNew['new_episode_box_summary']))
1463
  $Settings['new_episode_box_summary'] = 2;
1464
- /*if( isset($Settings['episode_box_gp_desc'] ) && $Settings['episode_box_gp_desc'] == 0 )
1465
- unset($Settings['episode_box_gp_desc']);
1466
- if( isset($Settings['episode_box_gp_block'] ) && $Settings['episode_box_gp_block'] == 0 )
1467
- unset($Settings['episode_box_gp_block']);
1468
- if( isset($Settings['episode_box_gp_explicit'] ) && $Settings['episode_box_gp_explicit'] == 0 )
1469
- unset($Settings['episode_box_gp_explicit']);
1470
- if( isset($Settings['episode_box_closed_captioned'] ) && $Settings['episode_box_closed_captioned'] == 0 )
1471
- unset($Settings['episode_box_closed_captioned']); */
1472
  if (!isset($SettingsNew['new_episode_box_author']))
1473
  $Settings['new_episode_box_author'] = 2;
1474
  if (!isset($SettingsNew['new_episode_box_explicit']))
@@ -1487,6 +1429,19 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
1487
  $Settings['new_episode_box_gp_explicit'] = 2;
1488
  if (!isset($SettingsNew['new_episode_box_feature_in_itunes']))
1489
  $Settings['new_episode_box_feature_in_itunes'] = 2;
 
 
 
 
 
 
 
 
 
 
 
 
 
1490
  }
1491
  if( isset($Settings['videojs_css_class']) && empty($Settings['videojs_css_class']) )
1492
  unset($Settings['videojs_css_class']);
@@ -1508,6 +1463,7 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
1508
  unset($Settings['poster_image_audio']);
1509
  if( isset($Settings['itunes_image_audio']) && empty($Settings['itunes_image_audio']) )
1510
  unset($Settings['itunes_image_audio']);
 
1511
  }
1512
  else // Feed or player settings...
1513
  {
@@ -1804,7 +1760,6 @@ function powerpress_admin_menu()
1804
 
1805
  add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
1806
  add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
1807
- //add_submenu_page($parent_slug, __('PowerPress Podcasting SEO', 'powerpress'), '<span style="color:#f18500">' . __('Podcasting SEO', 'powerpress') . '</span> ', POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_search.php', 'powerpress_admin_page_search');
1808
 
1809
  add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
1810
  add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
@@ -2405,17 +2360,15 @@ jQuery(document).ready(function($) {
2405
  </script>
2406
  <?php
2407
  if (defined('WP_DEBUG') && WP_DEBUG) {
2408
- if (WP_DEBUG) {?>
2409
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.css" type="text/css"
2410
- media="screen"/>
2411
- <?php } else { ?>
2412
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.min.css" type="text/css"
2413
- media="screen"/>
2414
- <?php }
2415
- } else { ?>
2416
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.min.css" type="text/css"
2417
- media="screen"/>
2418
- <?php }
2419
  }
2420
  else if( $page_name == 'edit' || $page_name == 'edit-pages' ) // || $page_name == '' ) // we don't know the page, we better include our CSS just in case
2421
  {
@@ -2881,14 +2834,15 @@ function powerpress_send_to_poster_image(url)
2881
  //echo "<!-- WP Page Name: $page_name; Hook Suffix: $hook_suffix -->\n";
2882
 
2883
  if (defined('WP_DEBUG') && WP_DEBUG) {
2884
- if (WP_DEBUG) {?>
2885
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.css" type="text/css" media="screen" />
2886
- <?php } else { ?>
2887
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.min.css" type="text/css" media="screen" />
2888
- <?php }
2889
- } else { ?>
2890
- <link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.min.css" type="text/css" media="screen" />
2891
- <?php }
 
2892
  }
2893
  }
2894
 
@@ -3308,16 +3262,6 @@ function powerpress_admin_page_onboarding() {
3308
  }
3309
 
3310
 
3311
- // Admin page, advanced mode: feed settings
3312
- function powerpress_admin_page_search()
3313
- {
3314
- powerpress_admin_page_header('powerpress/powerpressadmin_search.php');
3315
- require_once( POWERPRESS_ABSPATH .'/powerpressadmin-search.php');
3316
- powerpress_admin_search();
3317
- powerpress_settings_save_button(true);
3318
- powerpress_admin_page_footer();
3319
- }
3320
-
3321
  // Admin page, advanced mode: custom feeds
3322
  function powerpress_admin_page_customfeeds()
3323
  {
519
  $General['disable_dashboard_stats'] = 1;
520
  if( !isset($General['disable_dashboard_news'] ) )
521
  $General['disable_dashboard_news'] = 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
  if( !isset($General['allow_feed_comments'] ) )
523
  $General['allow_feed_comments'] = 0;
524
 
543
  $General['playlist_player'] = 0;
544
  if(!isset($General['network_mode']))
545
  $General['network_mode'] = 0;
546
+
547
+
548
  // Media Presentation Settings
549
  $PlayerSettings = array();
550
  if( !empty($_POST['PlayerSettings']) )
551
+ $PlayerSettings = $_POST['PlayerSettings'];
552
  if( empty($PlayerSettings['display_pinw']) )
553
  $PlayerSettings['display_pinw'] = 0;
554
  if( empty($PlayerSettings['display_media_player']) )
602
  $General['posttype_podcasting'] = 0;
603
  }
604
 
605
+ if( !empty($_POST['action']) && $_POST['action'] == 'powerpress-save-settings' )
606
  {
607
  //$PowerPressSearch = $_POST['PowerPressSearch'];
608
  $PowerPressSearchToggle = $_POST['PowerPressSearchToggle'];
1352
  // Save general settings
1353
  if( $SettingsNew )
1354
  {
 
1355
 
1356
  $Settings = get_option($field);
1357
  if( !is_array($Settings) )
1411
  $Settings['new_episode_box_subtitle'] = 2;
1412
  if (!isset($SettingsNew['new_episode_box_summary']))
1413
  $Settings['new_episode_box_summary'] = 2;
 
 
 
 
 
 
 
 
1414
  if (!isset($SettingsNew['new_episode_box_author']))
1415
  $Settings['new_episode_box_author'] = 2;
1416
  if (!isset($SettingsNew['new_episode_box_explicit']))
1429
  $Settings['new_episode_box_gp_explicit'] = 2;
1430
  if (!isset($SettingsNew['new_episode_box_feature_in_itunes']))
1431
  $Settings['new_episode_box_feature_in_itunes'] = 2;
1432
+ } elseif(isset($SettingsNew['pp-gen-settings-tabs'])) {
1433
+ if (!isset($SettingsNew['skip_to_episode_settings']) || empty($SettingsNew['skip_to_episode_settings']))
1434
+ unset($Settings['skip_to_episode_settings']);
1435
+ if (!isset($SettingsNew['display_player_excerpt']) || empty($SettingsNew['display_player_excerpt']))
1436
+ unset($Settings['display_player_excerpt']);
1437
+ if (!isset($SettingsNew['hide_player_more']) || empty($SettingsNew['hide_player_more']))
1438
+ unset($Settings['hide_player_more']);
1439
+ if (!isset($SettingsNew['podcast_embed']) || empty($SettingsNew['podcast_embed']))
1440
+ unset($Settings['podcast_embed']);
1441
+ if (!isset($SettingsNew['subscribe_links']) || empty($SettingsNew['subscribe_links']))
1442
+ unset($Settings['subscribe_links']);
1443
+ if (!isset($SettingsNew['new_window_no_factor']) || empty($SettingsNew['new_window_no_factor']))
1444
+ unset($Settings['new_window_no_factor']);
1445
  }
1446
  if( isset($Settings['videojs_css_class']) && empty($Settings['videojs_css_class']) )
1447
  unset($Settings['videojs_css_class']);
1463
  unset($Settings['poster_image_audio']);
1464
  if( isset($Settings['itunes_image_audio']) && empty($Settings['itunes_image_audio']) )
1465
  unset($Settings['itunes_image_audio']);
1466
+
1467
  }
1468
  else // Feed or player settings...
1469
  {
1760
 
1761
  add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
1762
  add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
 
1763
 
1764
  add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
1765
  add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
2360
  </script>
2361
  <?php
2362
  if (defined('WP_DEBUG') && WP_DEBUG) {
2363
+ if (WP_DEBUG) {
2364
+ wp_register_style('powerpress-admin-style', powerpress_get_root_url() . 'css/admin.css', array(), POWERPRESS_VERSION);
2365
+ } else {
2366
+ wp_register_style('powerpress-admin-style', powerpress_get_root_url() . 'css/admin.min.css', array(), POWERPRESS_VERSION);
2367
+ }
2368
+ } else {
2369
+ wp_register_style('powerpress-admin-style', powerpress_get_root_url() . 'css/admin.min.css', array(), POWERPRESS_VERSION);
2370
+ }
2371
+ wp_enqueue_style( 'powerpress-admin-style' );
 
 
2372
  }
2373
  else if( $page_name == 'edit' || $page_name == 'edit-pages' ) // || $page_name == '' ) // we don't know the page, we better include our CSS just in case
2374
  {
2834
  //echo "<!-- WP Page Name: $page_name; Hook Suffix: $hook_suffix -->\n";
2835
 
2836
  if (defined('WP_DEBUG') && WP_DEBUG) {
2837
+ if (WP_DEBUG) {
2838
+ wp_register_style('powerpress-dashboard', powerpress_get_root_url() . 'css/dashboard.css', array(), POWERPRESS_VERSION);
2839
+ } else {
2840
+ wp_register_style('powerpress-dashboard', powerpress_get_root_url() . 'css/dashboard.min.css', array(), POWERPRESS_VERSION);
2841
+ }
2842
+ } else {
2843
+ wp_register_style('powerpress-dashboard', powerpress_get_root_url() . 'css/dashboard.min.css', array(), POWERPRESS_VERSION);
2844
+ }
2845
+ wp_enqueue_style( 'powerpress-dashboard' );
2846
  }
2847
  }
2848
 
3262
  }
3263
 
3264
 
 
 
 
 
 
 
 
 
 
 
3265
  // Admin page, advanced mode: custom feeds
3266
  function powerpress_admin_page_customfeeds()
3267
  {
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.4
7
- Stable tag: 8.3.2
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -236,6 +236,13 @@ 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.3.2 =
240
  * Released 06/02/2020
241
  * Added a check in the welcome page so that if there are >1000 posts, powerpress won't query all of them
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.4
7
+ Stable tag: 8.3.3
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.3.3 =
240
+ * Released 06/03/2020
241
+ * Styled news items in WP Dashboard
242
+ * Fixed a bug where artwork settings weren't saving properly
243
+ * Fxied bug where player link options would not save correctly
244
+
245
+
246
  = 8.3.2 =
247
  * Released 06/02/2020
248
  * Added a check in the welcome page so that if there are >1000 posts, powerpress won't query all of them