PowerPress Podcasting plugin by Blubrry - Version 9.1

Version Description

  • Released on 06/01/2022
  • Revamped the migration flow for Blubrry hosting customers
Download this release

Release Info

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

Code changes from version 9.0.4 to 9.1

css/admin.css CHANGED
@@ -15,22 +15,103 @@
15
  }
16
 
17
  .pp-migrate-container {
18
- background-color: white;
19
- padding: 1em 2em 2em 2em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
  .pp-migrate-container img {
24
- width:30%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
  .pp-migrate-container a {
28
  color: #1976D2;
 
 
 
29
  }
30
 
31
- .pp-migrate-container .powerpress-step {
32
- text-align: center;
33
- }
34
 
35
  .powerpress-notice,
36
  div.powerpress-notice,
15
  }
16
 
17
  .pp-migrate-container {
18
+ background: #FFFFFF 0% 0% no-repeat padding-box;
19
+ border: 1px solid #444444;
20
+ border-radius: 4px;
21
+ opacity: 1;
22
+ margin: 0 auto 1em auto;
23
+ }
24
+
25
+ #powerpreess_step_1b {
26
+ padding-left: 3em;
27
+ }
28
+
29
+ .divider-left {
30
+
31
+ border-left: 1px solid #707070;
32
+ }
33
+
34
+ .pp-migrate-container .pp_button {
35
+ border-radius: 4px;
36
+ float: left;
37
+ }
38
+
39
+ .powerpress-step-blue {
40
+ height: 4ex;
41
+ width: 4ex;
42
+ background-color: #1976d2;
43
+ color: white;
44
+ border-radius: 2ex;
45
+ padding: 1ex;
46
+ display: inline-block;
47
  text-align: center;
48
+ vertical-align: bottom;
49
+ font-size: 70%;
50
+ margin-right: 1em;
51
+ }
52
+
53
+ .pp-migrate-container-heading {
54
+ padding: 1em 2em;
55
+ width: 100%;
56
+ border-bottom: 1px solid #444444;
57
+ }
58
+
59
+ .pp-migrate-content {
60
+ padding: 2em 3em;
61
+ width: 100%;
62
+ }
63
+
64
+ #pp-migrate-page {
65
+ color: #444444;
66
+ margin-left: 2em;
67
+ margin-right: 2em;
68
+ }
69
+
70
+ #pp-migrate-page .pp-migrate-subtitle {
71
+ display: inline-block;
72
+ width: calc(100% - 10em);
73
+ vertical-align: top;
74
+ margin-left: 1em;
75
+ color: #747474;
76
+ }
77
+
78
+ .pp-migrate-container input[type="checkbox"] {
79
+ display: inline-block;
80
  }
81
 
82
  .pp-migrate-container img {
83
+ height: 7em;
84
+ display: inline-block;
85
+ }
86
+
87
+ .pp-migrate-container img.loading {
88
+ height: 10px;
89
+ width: 100%;
90
+ margin: auto auto 1ch auto;
91
+ display: block;
92
+ }
93
+
94
+ .pp-migrate-container .migrate-status-yellow {
95
+ color: #FFB92E;
96
+ font-weight: 600;
97
+ }
98
+
99
+ .pp-migrate-container .migrate-status-blue {
100
+ color: #1976d2;
101
+ font-weight: 600;
102
+ }
103
+
104
+ .pp-migrate-container .migrate-status-red {
105
+ color: #ff3939;
106
  }
107
 
108
  .pp-migrate-container a {
109
  color: #1976D2;
110
+ text-decoration: underline;
111
+ display: inline-block;
112
+ margin-top: 1em;
113
  }
114
 
 
 
 
115
 
116
  .powerpress-notice,
117
  div.powerpress-notice,
css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .powerpress_save_button_other{float:right;background-color:#2278cf;color:#fff;box-shadow:none;border-radius:4px;border:none;padding:1ch 1em}#powerpress_settings .form-table th{padding-left:1em}.pp-migrate-container{background-color:#fff;padding:1em 2em 2em 2em;text-align:center}.pp-migrate-container img{width:30%}.pp-migrate-container a{color:#1976d2}.pp-migrate-container .powerpress-step{text-align:center}.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;vertical-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/blubrry_icon.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}table{width:60%;margin-top:1%;margin-bottom:1%;border-radius:4px;background-color:#f8f8f8;border:solid #ddd;border-collapse:separate}input,textarea{border-radius:4px}ul{clear:both}th{background-color:#fff;color:#000;border-radius:4px 4px 0 0}tr{line-height:12px}td,th{border-collapse:separate;border-bottom:solid #ddd;padding:2.5%}td{text-align:left;font-size:115%}td:hover{background-color:#fff}th{text-align:center;font-size:100%}td.networkTable{text-align:left}th.pendingApply{background-color:grey}td.pendingApply{color:grey}th.processedApply{background-color:#8fbc8f}td.processedApply{color:green}td.approvedApply{color:green}th.approvedApply{background-color:#8fbc8f}td.disapprovedApply{color:red}th.disapprovedApply{background-color:#8b0000}input[type=email],input[type=password],input[type=text],input[type=url],textarea{width:100%;padding:.6% .6%;display:inline-block;border:1px solid #ccc;box-sizing:border-box}.linkInput{width:50%!important}input[type=radio]{transform:scale(1)}select{width:100%}.ppn-back-button{background:0 0;margin:5px 10px 5px 10px;padding:5px;color:#069;cursor:pointer}#signinButton,.backButton,.primaryButton,.subToggleButton,.toggleButton{display:inline-block;border:none;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center}.warningButton{display:inline-block;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border:none;border-radius:4px;background-color:#b00000;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.cacheButton{background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:13px;font-weight:700;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center;border:0}#signinButton{width:100%;border-radius:0}.toggleButton{display:inline;width:10%;height:60%;margin:0}.subToggleButton{display:inline;width:7.5%;height:6%;background-color:#696969}.applicantButton{box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border:none;border-radius:4px;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.cancelButton{background-color:#0c74d5;color:#fff;padding:1% 1%;margin:0 auto;cursor:pointer;border-radius:4px;font-size:90%;width:auto;vertical-align:top;border:1px solid #000}.cancelButton:hover{cursor:pointer;text-decoration:underline}#choiceForm{margin-top:2%}.tab{background-color:#fff;border-bottom:1px solid grey;max-width:80%}.tabInactive{padding:1.4% 1.4% 2% 1.4%;background-color:#fff;color:#a9a9a9;border:none;cursor:pointer;font-size:150%}.tabActive{padding:1.4% 1.4% 2% 1.4%;background-color:#fff;color:#000;border:none;border-bottom:2px solid #00f;cursor:pointer;font-size:150%;font-weight:700}.tabContent{max-width:80%}.programRow{padding:1% 5% 1% 1%;background-color:#fff;border-bottom:1px #000 solid}.programRow:hover{background-color:#d3d3d3}button:hover{opacity:.8}.pageTitle{padding:0 auto;font-size:220%;letter-spacing:1px;line-height:100%}h3.baseChoice{text-decoration:underline #0C74D5;display:block;font-size:150%;color:#0c74d5}p{margin:5px auto;display:inline-block;font-size:105%}.container{padding:1.8% 15% 1.8% 10%;margin:.08% .08% .08% .08%}ul.choiceList{list-style-type:square;padding-left:5%}ul.subChoiceList{list-style-type:circle;padding-left:10%}ul.mainChoiceList{list-style-type:none;max-width:850px}li.material-list{border-radius:4px;padding:2px 15px 20px 15px;margin-bottom:25px;background-color:#fff}.alert{font-size:130%;padding:.5%;background-color:#f44336;color:#fff;display:inline-block;width:99%}.alert-success{font-size:130%;padding:.5%;background-color:#8fbc8f;color:#fff;display:inline-block;width:99%}.closebtn{color:#fff;font-weight:700;float:right;vertical-align:middle;line-height:normal;cursor:pointer;transition:.3s}.alertMessage{float:left;vertical-align:middle;line-height:normal}small{font-size:100%;padding:0 auto;margin-bottom:10%;color:grey;font-style:italic}.closebtn:hover{color:#000}label{font-size:85%}br{height:10%}figure{width:6px;height:6px;border-radius:5px;background:#000;margin:3px 0}#choiceBox,.confirmUnlink,.selectPageBox{background-color:#fff;padding:0 0 2% 0;width:50%;text-align:center;margin-bottom:5%;border-radius:4%}.settingBox{background-color:#fff;padding:2% 2% 2% 2%;width:100%;margin-top:2%;margin-bottom:2%;border-radius:4px;border:1px solid #f5f5f5}.boxTitle{padding:2%;background-color:#0c74d5;color:#fff;border-radius:4px}.thickboxTitle{color:navy}.dropdownChoice{width:50%!important}.material-icons:hover{cursor:pointer}@media only screen and (max-width:980px){.alert,.alert-success{font-size:80%}input[type=checkbox],input[type=radio]{transform:scale(.7)}}@media only screen and (max-width:1092px){table{width:100%}#choiceBox{width:100%}td{font-size:70%}th{font-size:80%}}@media only screen and (max-width:500px){table{width:100%}#choiceBox{width:100%}td{font-size:70%}th{font-size:80%}input[type=checkbox],input[type=radio]{transform:scale(.5)}}.powerpress-blubrry-hosting-marketing{max-width:80rem;margin:0 auto 2rem auto;padding:2ch 2em;background-color:#fff;border-radius:4px;border-top:2px solid rgba(144,144,144,.25)}.hosting-marketing-blubrry-logo{display:inline-block;width:20%;vertical-align:middle}.hosting-marketing-text-container{display:inline-block;margin-left:2em;height:100%;vertical-align:middle}.hosting-marketing-title{color:#0c74d5;font-weight:700}.hosting-marketing-text{text-decoration:none}a.hosting-marketing-text{color:#0c74d5}.hosting-marketing-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center;font-weight:700;width:20%;border:none;margin-left:1em;vertical-align:middle}@media (max-width:1110px){.hosting-marketing-button{width:95%;padding-top:1em;padding-bottom:1em;margin-right:1em}.hosting-marketing-text-container{width:70%!important}.hosting-marketing-blubrry-logo{margin-left:1em}}@media (max-width:799px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:70%;margin-right:1em;margin-bottom:1em;margin-left:0}#destinations-blubrry .hosting-marketing-text-container{width:90%!important;margin-left:0}}@media (max-width:599px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:80%}}@media (max-width:480px){.hosting-marketing-blubrry-logo{width:90%;margin-right:1em;margin-bottom:1em;margin-left:0}.hosting-marketing-text-container{width:90%!important;margin-left:0}.hosting-marketing-button{margin-left:0}}
1
+ .powerpress_save_button_other{float:right;background-color:#2278cf;color:#fff;box-shadow:none;border-radius:4px;border:none;padding:1ch 1em}#powerpress_settings .form-table th{padding-left:1em}.pp-migrate-container{background:#fff 0 0 no-repeat padding-box;border:1px solid #444;border-radius:4px;opacity:1;margin:0 auto 1em auto}#powerpreess_step_1b{padding-left:3em}.divider-left{border-left:1px solid #707070}.pp-migrate-container .pp_button{border-radius:4px;float:left}.powerpress-step-blue{height:4ex;width:4ex;background-color:#1976d2;color:#fff;border-radius:2ex;padding:1ex;display:inline-block;text-align:center;vertical-align:bottom;font-size:70%;margin-right:1em}.pp-migrate-container-heading{padding:1em 2em;width:100%;border-bottom:1px solid #444}.pp-migrate-content{padding:2em 3em;width:100%}#pp-migrate-page{color:#444;margin-left:2em;margin-right:2em}#pp-migrate-page .pp-migrate-subtitle{display:inline-block;width:calc(100% - 10em);vertical-align:top;margin-left:1em;color:#747474}.pp-migrate-container input[type=checkbox]{display:inline-block}.pp-migrate-container img{height:7em;display:inline-block}.pp-migrate-container img.loading{height:10px;width:100%;margin:auto auto 1ch auto;display:block}.pp-migrate-container .migrate-status-yellow{color:#ffb92e;font-weight:600}.pp-migrate-container .migrate-status-blue{color:#1976d2;font-weight:600}.pp-migrate-container .migrate-status-red{color:#ff3939}.pp-migrate-container a{color:#1976d2;text-decoration:underline;display:inline-block;margin-top: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;vertical-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/blubrry_icon.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}table{width:60%;margin-top:1%;margin-bottom:1%;border-radius:4px;background-color:#f8f8f8;border:solid #ddd;border-collapse:separate}input,textarea{border-radius:4px}ul{clear:both}th{background-color:#fff;color:#000;border-radius:4px 4px 0 0}tr{line-height:12px}td,th{border-collapse:separate;border-bottom:solid #ddd;padding:2.5%}td{text-align:left;font-size:115%}td:hover{background-color:#fff}th{text-align:center;font-size:100%}td.networkTable{text-align:left}th.pendingApply{background-color:grey}td.pendingApply{color:grey}th.processedApply{background-color:#8fbc8f}td.processedApply{color:green}td.approvedApply{color:green}th.approvedApply{background-color:#8fbc8f}td.disapprovedApply{color:red}th.disapprovedApply{background-color:#8b0000}input[type=email],input[type=password],input[type=text],input[type=url],textarea{width:100%;padding:.6% .6%;display:inline-block;border:1px solid #ccc;box-sizing:border-box}.linkInput{width:50%!important}input[type=radio]{transform:scale(1)}select{width:100%}.ppn-back-button{background:0 0;margin:5px 10px 5px 10px;padding:5px;color:#069;cursor:pointer}#signinButton,.backButton,.primaryButton,.subToggleButton,.toggleButton{display:inline-block;border:none;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center}.warningButton{display:inline-block;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border:none;border-radius:4px;background-color:#b00000;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.cacheButton{background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:13px;font-weight:700;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center;border:0}#signinButton{width:100%;border-radius:0}.toggleButton{display:inline;width:10%;height:60%;margin:0}.subToggleButton{display:inline;width:7.5%;height:6%;background-color:#696969}.applicantButton{box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);border:none;border-radius:4px;color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.cancelButton{background-color:#0c74d5;color:#fff;padding:1% 1%;margin:0 auto;cursor:pointer;border-radius:4px;font-size:90%;width:auto;vertical-align:top;border:1px solid #000}.cancelButton:hover{cursor:pointer;text-decoration:underline}#choiceForm{margin-top:2%}.tab{background-color:#fff;border-bottom:1px solid grey;max-width:80%}.tabInactive{padding:1.4% 1.4% 2% 1.4%;background-color:#fff;color:#a9a9a9;border:none;cursor:pointer;font-size:150%}.tabActive{padding:1.4% 1.4% 2% 1.4%;background-color:#fff;color:#000;border:none;border-bottom:2px solid #00f;cursor:pointer;font-size:150%;font-weight:700}.tabContent{max-width:80%}.programRow{padding:1% 5% 1% 1%;background-color:#fff;border-bottom:1px #000 solid}.programRow:hover{background-color:#d3d3d3}button:hover{opacity:.8}.pageTitle{padding:0 auto;font-size:220%;letter-spacing:1px;line-height:100%}h3.baseChoice{text-decoration:underline #0C74D5;display:block;font-size:150%;color:#0c74d5}p{margin:5px auto;display:inline-block;font-size:105%}.container{padding:1.8% 15% 1.8% 10%;margin:.08% .08% .08% .08%}ul.choiceList{list-style-type:square;padding-left:5%}ul.subChoiceList{list-style-type:circle;padding-left:10%}ul.mainChoiceList{list-style-type:none;max-width:850px}li.material-list{border-radius:4px;padding:2px 15px 20px 15px;margin-bottom:25px;background-color:#fff}.alert{font-size:130%;padding:.5%;background-color:#f44336;color:#fff;display:inline-block;width:99%}.alert-success{font-size:130%;padding:.5%;background-color:#8fbc8f;color:#fff;display:inline-block;width:99%}.closebtn{color:#fff;font-weight:700;float:right;vertical-align:middle;line-height:normal;cursor:pointer;transition:.3s}.alertMessage{float:left;vertical-align:middle;line-height:normal}small{font-size:100%;padding:0 auto;margin-bottom:10%;color:grey;font-style:italic}.closebtn:hover{color:#000}label{font-size:85%}br{height:10%}figure{width:6px;height:6px;border-radius:5px;background:#000;margin:3px 0}#choiceBox,.confirmUnlink,.selectPageBox{background-color:#fff;padding:0 0 2% 0;width:50%;text-align:center;margin-bottom:5%;border-radius:4%}.settingBox{background-color:#fff;padding:2% 2% 2% 2%;width:100%;margin-top:2%;margin-bottom:2%;border-radius:4px;border:1px solid #f5f5f5}.boxTitle{padding:2%;background-color:#0c74d5;color:#fff;border-radius:4px}.thickboxTitle{color:navy}.dropdownChoice{width:50%!important}.material-icons:hover{cursor:pointer}@media only screen and (max-width:980px){.alert,.alert-success{font-size:80%}input[type=checkbox],input[type=radio]{transform:scale(.7)}}@media only screen and (max-width:1092px){table{width:100%}#choiceBox{width:100%}td{font-size:70%}th{font-size:80%}}@media only screen and (max-width:500px){table{width:100%}#choiceBox{width:100%}td{font-size:70%}th{font-size:80%}input[type=checkbox],input[type=radio]{transform:scale(.5)}}.powerpress-blubrry-hosting-marketing{max-width:80rem;margin:0 auto 2rem auto;padding:2ch 2em;background-color:#fff;border-radius:4px;border-top:2px solid rgba(144,144,144,.25)}.hosting-marketing-blubrry-logo{display:inline-block;width:20%;vertical-align:middle}.hosting-marketing-text-container{display:inline-block;margin-left:2em;height:100%;vertical-align:middle}.hosting-marketing-title{color:#0c74d5;font-weight:700}.hosting-marketing-text{text-decoration:none}a.hosting-marketing-text{color:#0c74d5}.hosting-marketing-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center;font-weight:700;width:20%;border:none;margin-left:1em;vertical-align:middle}@media (max-width:1110px){.hosting-marketing-button{width:95%;padding-top:1em;padding-bottom:1em;margin-right:1em}.hosting-marketing-text-container{width:70%!important}.hosting-marketing-blubrry-logo{margin-left:1em}}@media (max-width:799px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:70%;margin-right:1em;margin-bottom:1em;margin-left:0}#destinations-blubrry .hosting-marketing-text-container{width:90%!important;margin-left:0}}@media (max-width:599px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:80%}}@media (max-width:480px){.hosting-marketing-blubrry-logo{width:90%;margin-right:1em;margin-bottom:1em;margin-left:0}.hosting-marketing-text-container{width:90%!important;margin-left:0}.hosting-marketing-button{margin-left:0}}
images/onboarding/blubrry_stats.png ADDED
Binary file
images/onboarding/hosting_icon.png ADDED
Binary file
images/onboarding/loading_bar.gif ADDED
Binary file
images/onboarding/migration_bird.png ADDED
Binary file
images/onboarding/pip_logo_rbg.png ADDED
Binary file
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.0.4
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.0.4' );
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.1
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.1' );
39
 
40
  // Translation support:
41
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-jquery.php CHANGED
@@ -61,6 +61,14 @@ function powerpress_admin_jquery_init()
61
  $DeleteFile = false;
62
  switch($action)
63
  {
 
 
 
 
 
 
 
 
64
  case 'powerpress-jquery-media-disable': {
65
 
66
  if( !current_user_can('edit_posts') )
61
  $DeleteFile = false;
62
  switch($action)
63
  {
64
+ case 'powerpress-jquery-migrate-queue': {
65
+
66
+ check_admin_referer('powerpress-jquery-migrate-queue');
67
+ powerpress_admin_jquery_header('powerpress/powerpressadmin_migrate.php');
68
+ require_once( POWERPRESS_ABSPATH .'/powerpressadmin-migrate.php');
69
+ powerpress_admin_migrate();
70
+ powerpress_admin_jquery_footer(false);
71
+ }
72
  case 'powerpress-jquery-media-disable': {
73
 
74
  if( !current_user_can('edit_posts') )
powerpressadmin-migrate.php CHANGED
@@ -139,7 +139,21 @@ function powepress_admin_migrate_add_urls($urls)
139
  powerpress_page_message_add_error($error);
140
  return false;
141
  }
142
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  return $results;
144
  }
145
 
@@ -459,6 +473,13 @@ function powerpress_admin_extension_counts()
459
  $extension = '*';
460
 
461
  $parts = pathinfo($row['src_url']);
 
 
 
 
 
 
 
462
  if( preg_match('/(mp3|m4a|mp4|m4v|mov)/i', $parts['extension']) )
463
  $extension = strtolower($parts['extension']);
464
 
@@ -511,6 +532,13 @@ function powerpress_admin_queue_files($extensions=array() )
511
  foreach( $files as $meta_id => $row )
512
  {
513
  $parts = pathinfo($row['src_url']);
 
 
 
 
 
 
 
514
  if( preg_match('/('.$extensions_preg_match.')/i', $parts['extension']) )
515
  {
516
  if( !empty($QueuedFiles[ $meta_id ]) && $QueuedFiles[ $meta_id ] == $row['src_url'] )
@@ -571,9 +599,11 @@ function powerpress_admin_migrate_step1()
571
  <input type="hidden" name="migrate_action" value="queue_episodes" />
572
  <h2><?php echo __('Migrate Media to your Blubrry Podcast Media Hosting Account', 'powerpress'); ?></h2>
573
 
574
- <div id="powerpress_single_step">
575
- <h3><?php echo __('Step 1', 'powerpress'); ?> - <?php echo __('Select Media to Migrate', 'powerpress'); ?></h3>
576
- </div>
 
 
577
 
578
  <ul>
579
  <?php
@@ -606,19 +636,19 @@ function powerpress_admin_migrate_step1()
606
  ?>
607
  <li>
608
  <?php if( $extension == 'blubrry' ) { ?>
609
- <input type="checkbox" name="NULL[<?php echo $extension; ?>]" value="0" disabled /> <?php echo $label; ?> <?php ?>
610
  <?php } else { ?>
611
- <input type="checkbox" name="Migrate[<?php echo $extension; ?>]" value="1" <?php echo $checked; ?> /> <?php echo $label; ?>
612
  <?php } ?>
613
- <?php echo sprintf( __('(%d found)', 'powerpress'), $count); ?>
614
  </li>
615
  <?php } ?>
616
  </ul>
617
  <?php
618
  if( count($GLOBALS['powerpress_migrate_stats']) )
619
- ?><p class="submit"><input type="submit" class="button-primary button-blubrry" name="Submit" value="<?php echo __('Request Migration', 'powerpress'); ?>" /></p><?php
620
  ?>
621
-
622
  </form>
623
 
624
  <p style="margin-bottom: 40px;">&#8592; <a href="<?php echo admin_url( 'admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>"><?php echo __('Migrate Media', 'powerpress'); ?></a></p>
@@ -646,8 +676,8 @@ function powerpress_admin_migrate_step2($QueuedResults, $MigrateStatus, $Complet
646
  $update_episodes = false;
647
  $count = count($QueuedResults);
648
  $MigrateResults = get_option('powerpress_migrate_results');
649
- // $MigrateStatus['updated_timestamp'] < current_time('timestamp')-(60*30)
650
- if( empty($MigrateResults['updated_timestamp']) || $MigrateResults['updated_timestamp'] < ( current_time( 'timestamp') - (60*30) ) )
651
  {
652
  $update_option = true;
653
  if( $MigrateResults == false )
@@ -684,6 +714,10 @@ table.powerpress-migration-table th {
684
  }
685
  table.powerpress-migration-table td {
686
  padding-left: 6px;
 
 
 
 
687
  }
688
  table.powerpress-migration-table tr:hover {
689
  background-color: #DDDDDD;
@@ -742,12 +776,6 @@ table.powerpress-migration-table tr:hover {
742
  }
743
  ?>
744
  </table>
745
- <?php if( $update_episodes ) { ?>
746
- <p style="margin-bottom: 40px;"><strong><a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;migrate_step=3"); ?>"><?php echo __('Update Episodes Now', 'powerpress'); ?></a></strong></p>
747
-
748
- <?php } ?>
749
-
750
- <p style="margin-bottom: 40px;">&#8592; <a href="<?php echo admin_url( 'admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>"><?php echo __('Migrate Media', 'powerpress'); ?></a></p>
751
 
752
 
753
  <?php
@@ -792,6 +820,7 @@ function powerpress_admin_migrate_step3($MigrateStatus, $CompletedResults)
792
 
793
  function powerpress_admin_migrate()
794
  {
 
795
  $General = powerpress_get_settings('powerpress_general');
796
  $files = powerpress_admin_migrate_get_files();
797
 
@@ -825,7 +854,7 @@ function powerpress_admin_migrate()
825
  if( $RequestedCount > 0 )
826
  $Step = 1;
827
  }
828
-
829
  $MigrateStatus = false;
830
  if( $Step >= 1 || !empty($_GET['refresh_migrate_status']) )
831
  {
@@ -865,7 +894,7 @@ function powerpress_admin_migrate()
865
  {
866
  $BlubrryQueuedCount = $MigrateStatus['queued'];
867
  }
868
-
869
  $CompletedResults = get_option('powerpress_migrate_completed');
870
 
871
  if( !empty($_REQUEST['migrate_step']) && $_REQUEST['migrate_step'] == 2 && $Step > 0 )
@@ -873,8 +902,8 @@ function powerpress_admin_migrate()
873
  powerpress_admin_migrate_step2($QueuedResults, $MigrateStatus, $CompletedResults);
874
  return;
875
  }
876
-
877
- if( !empty($_REQUEST['migrate_step']) && $_REQUEST['migrate_step'] == 3 && $Step == 3 )
878
  {
879
  powerpress_admin_migrate_step3($MigrateStatus, $CompletedResults);
880
  return;
@@ -885,15 +914,13 @@ function powerpress_admin_migrate()
885
  powerpress_check_credentials($creds);
886
  wp_enqueue_script('powerpress-admin', powerpress_get_root_url() . 'js/admin.js', array(), POWERPRESS_VERSION );
887
 
888
-
889
- $CompletedCount = 0;
890
  if( !empty($CompletedResults['completed_count']) )
891
  {
892
  $CompletedCount = $CompletedResults['completed_count'];
893
  }
894
 
895
  ?>
896
- <div class="pp-migrate-container">
897
  <?php powerpress_page_message_print(); ?>
898
  <?php
899
  if( !empty($GLOBALS['g_powerpress_verify_failed_count']) )
@@ -925,149 +952,311 @@ function powerpress_admin_migrate()
925
  }
926
  ?>
927
 
928
- <h2><?php echo __('Migrate Media to your Blubrry Podcast Media Hosting Account', 'powerpress'); ?></h2>
929
 
930
- <p><?php echo __('Migrate all of your media to Blubrry with only a few clicks.', 'powerpress'); ?></p>
931
- <?php
932
-
933
- // If not hosting
934
- if( empty($General['blubrry_hosting']) || $General['blubrry_hosting'] === 'false' ) {
935
- ?>
936
- <p><a title="<?php echo esc_attr(__('Blubrry Podcast Hosting', 'powerpress')); ?>" href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-hosting&amp;KeepThis=true&amp;TB_iframe=true&amp;modal=false&amp;width=800&amp;height=400" target="_blank" class="thickbox"><?php echo __('Don\'t have a blubrry podcast hosting account?', 'powerpress'); ?></a></p>
937
- <?php
938
- }
939
- ?>
940
 
 
941
 
942
- <div id="powerpress_steps" class="pp_flex-grid" style="margin-top: 2em;">
943
- <div class="powerpress-step active-step pp_col" id="powerpreess_step_1a">
944
- <img alt="Step 1" src="<?php echo powerpress_get_root_url() . 'images/add_to_queue.svg'?>" />
945
- <h3><?php echo __('Step 1', 'powerpress'); ?></h3>
946
- <p>
947
- <?php echo __('Select Media to Migrate', 'powerpress'); ?>
948
- </p>
949
 
950
- <div class="pp_button-container" style="margin-top: 1em;">
951
- <a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;migrate_step=1"); ?>">
952
- <button type="button" class="pp_button"><span><?php echo __('Add Files', 'powerpress'); ?></span></button>
953
- </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
954
  </div>
955
 
956
- <br />
957
- <p class="normal"><?php echo sprintf( __('%d files requested', 'powerpress'), $RequestedCount); ?></p>
958
- </div>
959
- <div class="powerpress-step<?php echo ($Step >= 1? ' active-step':''); ?> pp_col">
960
- <img alt="Step 2" src="<?php echo powerpress_get_root_url() . 'images/access_time.svg'?>" />
961
- <h3><?php echo __('Step 2', 'powerpress'); ?></h3>
962
- <p>
963
- <?php echo __('Wait for media to migrate', 'powerpress'); ?>
964
- </p>
965
- <?php if( $Step >= 1 ) { ?>
966
- <?php if( $BlubrryQueuedCount ) { ?><p class="normal"><?php echo sprintf( __('%d files in queue', 'powerpress'), $BlubrryQueuedCount); ?></p> <?php } ?>
967
- <p class="normal"><?php echo sprintf( __('%d files migrated', 'powerpress'), $MigratedCount); ?></p><?php } ?>
968
- <?php if( $FailedCount ) { ?><p class="normal"><?php echo sprintf( __('%d files failed', 'powerpress'), $FailedCount); ?></p><?php } ?>
969
- <?php if( $SkippedCount ) { ?><p class="normal"><?php echo sprintf( __('%d files skipped', 'powerpress'), $SkippedCount); ?></p><?php } ?>
970
-
971
- <div class="pp_button-container" style="margin-top: 1em;">
972
- <a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;refresh_migrate_status=1"); ?>">
973
- <button type="button" class="pp_button"><span><?php echo __('Refresh', 'powerpress'); ?></span></button>
974
- </a>
 
 
 
 
 
 
 
 
 
 
975
  </div>
976
- <?php ?>
977
- </div>
978
- <div class="powerpress-step<?php echo ($Step >= 2? ' active-step':''); ?> pp_col">
979
- <img alt="Step 3" src="<?php echo powerpress_get_root_url() . 'images/refresh.svg'?>" />
980
- <h3><?php echo __('Step 3', 'powerpress'); ?></h3>
981
-
982
- <p>
983
- <?php echo __('Update episodes in your feed', 'powerpress'); ?>
984
- </p>
985
- <?php if( $CompletedCount ) { ?><p class="normal"><?php echo sprintf( __('%d episodes updated', 'powerpress'), $CompletedCount); ?></p><?php } ?>
986
- <!-- <p class="normal">0 episodes updated</p> -->
987
- <div class="pp_button-container" style="margin-top: 1em;">
988
- <a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;migrate_step=3"); ?>">
989
- <button type="button" class="pp_button"><span><?php echo __('Update', 'powerpress'); ?></span></button>
990
- </a>
991
  </div>
992
- <?php ?>
993
- </div>
994
- <div class="clear"></div>
995
- </div>
996
- <div class="clear"></div>
997
- <?php
998
 
999
- if( !empty($MigrateStatus['updated_timestamp']) )
1000
- {
1001
- ?>
1002
- <p>
1003
- <strong><?php echo __('Migration status last updated', 'powerpress'); ?></strong><br />
1004
- <?php echo date_i18n( get_option( 'date_format' ) .' - '.get_option( 'time_format' ), $MigrateStatus['updated_timestamp'], false ); ?>
1005
- </p>
1006
- <p><a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;migrate_step=2"); ?>"><?php echo __('List of requested media', 'powerpress'); ?></a></p>
1007
- <?php
1008
- }
1009
-
1010
- if($SkippedCount > 0 || $FailedCount > 0)
1011
- {
1012
- // TODO: Print a message letting folks know they can go to blubrry.com to see the migration status of the failed URLs.
1013
- ?>
1014
- <p><strong><a href="http://publish.blubrry.com/content/media_migrate2.php" target="_blank"><?php echo __('Please sign into blubrry.com to review media that failed to migrate.', 'powerpress'); ?></a></strong></p>
1015
- <?php
1016
- }
1017
- ?>
 
 
1018
 
1019
- <?php if( $Step > 0 ) { ?>
1020
- <p>
1021
- <?php echo __('Migration can take a while, please be patient. Please contact support if you do not see results within 48 hours. You may repeat these steps if additional episodes have been added after to starting migration.', 'powepress'); ?>
1022
- </p>
1023
- <p><a href="<?php echo admin_url(); echo wp_nonce_url( "admin.php?page=powerpress/powerpressadmin_migrate.php&amp;migrate_action=reset_migrate_media&amp;action=powerpress-migrate-media", 'powerpress-migrate-media'); ?>" onclick="return confirm('<?php echo esc_js(__('Reset migration, are you sure?','powerpress')); ?>');"><?php echo __('Reset Migration', 'powerpress'); ?></a>
1024
- <?php ?>
1025
- </p>
1026
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
1027
  <style>
1028
  #wpfooter {
1029
  position: relative;
1030
  }
1031
  </style>
1032
- <div id="pp-create-episode">
1033
- <hr class="pp_align-center" />
1034
- <section id="one" class="pp_wrapper">
1035
- <div class="pp_inner">
1036
-
1037
- <div class="pp_flex-grid">
1038
-
1039
- <div class="pp_col">
1040
- <div class="pp_box" style="border: none; margin-bottom: 0; padding: 2em 3em;">
1041
- <div>
1042
- <div class="pp_button-container" style="margin-bottom: 2em;">
1043
- <a href="<?php echo admin_url('post-new.php') ?>"><button type="button" class="pp_button_alt"><span><?php echo __('Create a new episode', 'powerpress'); ?></span></button></a>
 
 
 
 
1044
  </div>
1045
- <div class="btn-caption-container">
1046
- <p class="pp_align-center" style="width: 100%; margin-bottom: 1ch;"><?php echo __('Release a new episode or blog post.', 'powerpress'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
1047
  </div>
1048
  </div>
1049
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1050
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1051
 
1052
- <div class="pp_col">
1053
- <div class="pp_box" style="border: none; margin-bottom: 0; padding: 2em 3em;">
1054
- <div>
1055
- <div class="pp_button-container" style="margin-bottom: 2em;">
1056
- <a href="<?php echo admin_url('admin.php?page=powerpressadmin_basic') ?>">
1057
- <button type="button" class="pp_button_alt"><span><?php echo __('Go to settings', 'powerpress'); ?></span></button>
1058
- </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1059
  </div>
1060
- <div class="btn-caption-container">
1061
- <p class="pp_align-center"><?php echo __('Continue with PowerPress options for your feed and website.', 'powerpress'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
1062
  </div>
1063
  </div>
1064
  </div>
1065
- </div>
1066
 
 
1067
  </div>
1068
- </div>
1069
- </section>
1070
  </div>
 
 
 
 
1071
  </div>
1072
  <?php
1073
  }
139
  powerpress_page_message_add_error($error);
140
  return false;
141
  }
142
+
143
+ // unlikely to be necessary for most sites
144
+ // i discovered in testing that this value needs cleared and won't automatically overwrite
145
+ // in the event of someone doing another migration for a different program
146
+ $prev_saved_val = get_option('blubrry_manage_media');
147
+ if ($prev_saved_val) {
148
+ delete_option('blubrry_manage_media');
149
+ }
150
+
151
+ if (!empty($results['publisher'])) {
152
+ add_option('blubrry_manage_media', $results['publisher']);
153
+ } else {
154
+ add_option('blubrry_manage_media', 'https://publish.blubrry.com/');
155
+ }
156
+
157
  return $results;
158
  }
159
 
473
  $extension = '*';
474
 
475
  $parts = pathinfo($row['src_url']);
476
+ if (empty($parts['extension'])) {
477
+ continue;
478
+ }
479
+ if (strpos($parts['extension'], '?') !== false) {
480
+ $ext_query_string = explode('?', $parts['extension']);
481
+ $parts['extension'] = $ext_query_string[0];
482
+ }
483
  if( preg_match('/(mp3|m4a|mp4|m4v|mov)/i', $parts['extension']) )
484
  $extension = strtolower($parts['extension']);
485
 
532
  foreach( $files as $meta_id => $row )
533
  {
534
  $parts = pathinfo($row['src_url']);
535
+ if (empty($parts['extension'])) {
536
+ continue;
537
+ }
538
+ if (strpos($parts['extension'], '?') !== false) {
539
+ $ext_query_string = explode('?', $parts['extension']);
540
+ $parts['extension'] = $ext_query_string[0];
541
+ }
542
  if( preg_match('/('.$extensions_preg_match.')/i', $parts['extension']) )
543
  {
544
  if( !empty($QueuedFiles[ $meta_id ]) && $QueuedFiles[ $meta_id ] == $row['src_url'] )
599
  <input type="hidden" name="migrate_action" value="queue_episodes" />
600
  <h2><?php echo __('Migrate Media to your Blubrry Podcast Media Hosting Account', 'powerpress'); ?></h2>
601
 
602
+ <div id="powerpress_steps" class="pp-migrate-container">
603
+ <div class="pp-migrate-container-heading">
604
+ <h1><div class="powerpress-step-blue">1</div><?php echo __('Select Media to Migrate', 'powerpress'); ?></h1>
605
+ </div>
606
+ <div class="pp-migrate-content">
607
 
608
  <ul>
609
  <?php
636
  ?>
637
  <li>
638
  <?php if( $extension == 'blubrry' ) { ?>
639
+ <h4><input type="checkbox" name="NULL[<?php echo $extension; ?>]" value="0" disabled /><?php echo $label; ?>
640
  <?php } else { ?>
641
+ <h4><input type="checkbox" name="Migrate[<?php echo $extension; ?>]" value="1" <?php echo $checked; ?> /> <?php echo $label; ?>
642
  <?php } ?>
643
+ <?php echo sprintf( __('(%d found)', 'powerpress'), $count); ?></h4>
644
  </li>
645
  <?php } ?>
646
  </ul>
647
  <?php
648
  if( count($GLOBALS['powerpress_migrate_stats']) )
649
+ ?><p class="submit"><button type="submit" class="pp_button" name="Submit"><span><?php echo __('Request Migration', 'powerpress'); ?></span></button></p><?php
650
  ?>
651
+ </div></div>
652
  </form>
653
 
654
  <p style="margin-bottom: 40px;">&#8592; <a href="<?php echo admin_url( 'admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>"><?php echo __('Migrate Media', 'powerpress'); ?></a></p>
676
  $update_episodes = false;
677
  $count = count($QueuedResults);
678
  $MigrateResults = get_option('powerpress_migrate_results');
679
+ // allow a refresh every three minutes (was previously every thirty, but now we're allowing them to check details while migration is in progress, so we'll need to update more often)
680
+ if( empty($MigrateResults['updated_timestamp']) || $MigrateResults['updated_timestamp'] < ( current_time( 'timestamp') - (60*3) ) )
681
  {
682
  $update_option = true;
683
  if( $MigrateResults == false )
714
  }
715
  table.powerpress-migration-table td {
716
  padding-left: 6px;
717
+ text-overflow: ellipsis;
718
+ overflow: hidden;
719
+ white-space: nowrap;
720
+ max-width: 400px;
721
  }
722
  table.powerpress-migration-table tr:hover {
723
  background-color: #DDDDDD;
776
  }
777
  ?>
778
  </table>
 
 
 
 
 
 
779
 
780
 
781
  <?php
820
 
821
  function powerpress_admin_migrate()
822
  {
823
+ add_thickbox();
824
  $General = powerpress_get_settings('powerpress_general');
825
  $files = powerpress_admin_migrate_get_files();
826
 
854
  if( $RequestedCount > 0 )
855
  $Step = 1;
856
  }
857
+
858
  $MigrateStatus = false;
859
  if( $Step >= 1 || !empty($_GET['refresh_migrate_status']) )
860
  {
894
  {
895
  $BlubrryQueuedCount = $MigrateStatus['queued'];
896
  }
897
+
898
  $CompletedResults = get_option('powerpress_migrate_completed');
899
 
900
  if( !empty($_REQUEST['migrate_step']) && $_REQUEST['migrate_step'] == 2 && $Step > 0 )
902
  powerpress_admin_migrate_step2($QueuedResults, $MigrateStatus, $CompletedResults);
903
  return;
904
  }
905
+
906
+ if( !empty($_REQUEST['migrate_step']) && $_REQUEST['migrate_step'] == '3' && $Step == 3 )
907
  {
908
  powerpress_admin_migrate_step3($MigrateStatus, $CompletedResults);
909
  return;
914
  powerpress_check_credentials($creds);
915
  wp_enqueue_script('powerpress-admin', powerpress_get_root_url() . 'js/admin.js', array(), POWERPRESS_VERSION );
916
 
 
 
917
  if( !empty($CompletedResults['completed_count']) )
918
  {
919
  $CompletedCount = $CompletedResults['completed_count'];
920
  }
921
 
922
  ?>
923
+ <div id="pp-migrate-page">
924
  <?php powerpress_page_message_print(); ?>
925
  <?php
926
  if( !empty($GLOBALS['g_powerpress_verify_failed_count']) )
952
  }
953
  ?>
954
 
955
+ <h1 style="margin-bottom: 1em;"><b><?php echo __('MIGRATION', 'powerpress'); ?></b></h1>
956
 
957
+ <?php
 
 
 
 
 
 
 
 
 
958
 
959
+ if (empty($RequestedCount) && empty($BlubrryQueuedCount) && empty($MigratedCount) && empty($CompletedCount)) {
960
 
961
+ $GLOBALS['powerpress_migrate_stats'] = powerpress_admin_extension_counts();
 
 
 
 
 
 
962
 
963
+ $pp_nonce = powerpress_login_create_nonce();
964
+ ?>
965
+
966
+ <div id="pp-migration-marketing" class="pp-migrate-container">
967
+ <div class="pp-migrate-content">
968
+ <h4><b><?php echo __('Transfer media files to your Blubrry hosting account', 'powerpress'); ?></b></h4>
969
+ <div style="margin-top: 1em;">
970
+ <img src="<?php echo powerpress_get_root_url(); ?>images/onboarding/hosting_icon.png" alt="" class="pp-migration-image" />
971
+ <h4 class="pp-migrate-subtitle"><?php echo __('This makes it easy to publish episodes right from your own site. Hosting customers enjoy integrated publishing features, such as stats with PowerPress.', 'powerpress'); ?>
972
+ <?php // If not hosting
973
+ if( empty($General['blubrry_hosting']) || $General['blubrry_hosting'] === 'false' ) { ?>
974
+ <br />
975
+ <a href="<?php echo add_query_arg( '_wpnonce', $pp_nonce, admin_url("admin.php?page=powerpressadmin_onboarding.php&step=blubrrySignup&onboarding_type=hosting")); ?>">
976
+ <?php echo __('Try Blubrry hosting FREE', 'powerpress'); ?>
977
+ </a>
978
+ <?php } ?>
979
+ </h4>
980
+ </div>
981
+ </div>
982
  </div>
983
 
984
+ <div id="powerpress_steps" class="pp-migrate-container">
985
+ <div class="pp-migrate-container-heading">
986
+ <h1><div class="powerpress-step-blue">1</div><?php echo __('Migrate Media', 'powerpress'); ?></h1>
987
+ </div>
988
+ <div class="pp_flex-grid pp-migrate-content">
989
+ <div class="powerpress-step pp_col" id="powerpreess_step_1a">
990
+ <?php
991
+ $file_count = 0;
992
+ foreach($GLOBALS['powerpress_migrate_stats'] as $ext => $count) {
993
+ $file_count += $count;
994
+ }?>
995
+ <h1>
996
+ <?php echo $file_count . ' ' . __('episode files found', 'powerpress'); ?>
997
+ </h1>
998
+
999
+ <div style="margin-top: 1em;">
1000
+ <a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;migrate_step=1"); ?>">
1001
+ <button type="button" class="pp_button"><span><?php echo __('START MIGRATION', 'powerpress'); ?></span></button>
1002
+ </a>
1003
+ </div>
1004
+
1005
+ </div>
1006
+ <div class="powerpress-step pp_col divider-left" id="powerpreess_step_1b">
1007
+ <h2><b><?php echo __('What is this?', 'powerpress'); ?></b></h2>
1008
+ <p><?php echo __('We locate the files we are able to transfer to your new account.', 'powerpress'); ?></p>
1009
+ <br />
1010
+ <p class="migrate-status-red"><?php echo __('Please complete migration before deleting the source of your files.', 'powerpress'); ?></p>
1011
+ </div>
1012
+ </div>
1013
  </div>
1014
+ <?php }
1015
+ if( !empty($BlubrryQueuedCount) && empty($CompletedCount) ) { ?>
1016
+
1017
+ <div id="pp-migration-marketing" class="pp-migrate-container">
1018
+ <div class="pp-migrate-content">
1019
+ <h4><b><?php echo __('Looking for private or premium hosting?', 'powerpress'); ?></b></h4>
1020
+ <div style="margin-top: 1em;">
1021
+ <img src="<?php echo powerpress_get_root_url(); ?>images/onboarding/pip_logo_rbg.png" alt="" class="pp-migration-image" />
1022
+ <h4 class="pp-migrate-subtitle"><?php echo __('Our private internal podcasting option makes it simple to offer secure and restricted content. Available for desktop and app streaming only.', 'powerpress'); ?>
1023
+ <br />
1024
+ <a href="https://blubrry.com/services/private-internal-podcasting/">
1025
+ <?php echo __('Learn more here', 'powerpress'); ?>
1026
+ </a>
1027
+ </h4>
1028
+ </div>
1029
  </div>
1030
+ </div>
 
 
 
 
 
1031
 
1032
+ <div id="powerpress_steps" class="pp-migrate-container">
1033
+ <div class="pp-migrate-container-heading">
1034
+ <h1><div class="powerpress-step-blue">2</div><?php echo __('Migration Status', 'powerpress'); ?></h1>
1035
+ </div>
1036
+ <div class="pp_flex-grid pp-migrate-content">
1037
+ <div class="powerpress-step pp_col" style="text-align: center;">
1038
+ <img alt="Step 2" src="<?php echo powerpress_get_root_url() . 'images/onboarding/migration_bird.png' ?>"/>
1039
+ <img class="loading" alt="Migrating media..." src="<?php echo powerpress_get_root_url() . 'images/onboarding/loading_bar.gif' ?>"/>
1040
+ <h4 class="migrate-status-yellow">
1041
+ <?php echo __('Migrating...', 'powerpress'); ?>
1042
+ </h4>
1043
+ <br />
1044
+ <h2 class="migrate-status-blue"><?php echo sprintf(__('%d files migrated', 'powerpress'), $MigratedCount); ?></h2>
1045
+ <div class="pp_flex-grid" style="justify-content: space-around">
1046
+ <?php if ($BlubrryQueuedCount) { ?><h4>
1047
+ <?php echo sprintf(__('%d files in queue', 'powerpress'), $BlubrryQueuedCount); ?></h4> <?php } ?>
1048
+ <?php if ($FailedCount) { ?><h4 class="migrate-status-red">
1049
+ <?php echo sprintf(__('%d files failed', 'powerpress'), $FailedCount); ?></h4><?php } ?>
1050
+ <?php if ($SkippedCount) { ?><h4 class="migrate-status-yellow">
1051
+ <?php echo sprintf(__('%d files skipped', 'powerpress'), $SkippedCount); ?></h4><?php } ?>
1052
+ </div>
1053
 
1054
+ </div>
1055
+ <div class="powerpress-step pp_col divider-left" id="powerpreess_step_1b">
1056
+ <h2><b><?php echo __('How long will this take?', 'powerpress'); ?></b></h2>
1057
+ <p><?php echo __('Times may vary, dependent on the number of files. We will notify you once the migration is complete. You can leave this page and check back later.', 'powerpress'); ?></p>
1058
+ <div class="pp_flex-grid" style="justify-content: space-around">
1059
+ <h4>
1060
+ <a href="<?php echo admin_url("admin.php?page=powerpress/powerpressadmin_migrate.php&amp;action=powerpress-migrate-media&amp;refresh_migrate_status=1"); ?>">
1061
+ <?php echo __('Refresh Page', 'powerpress'); ?>
1062
+ </a>
1063
+ </h4>
1064
+ <h4>
1065
+ <a href="<?php echo admin_url() . wp_nonce_url("admin.php?action=powerpress-jquery-migrate-queue", 'powerpress-jquery-migrate-queue'); ?>&migrate_step=2&KeepThis=true&TB_iframe=true&modal=false" class="thickbox">
1066
+ <?php echo __('Migration Status Details', 'powerpress'); ?>
1067
+ </a>
1068
+ </h4>
1069
+ </div>
1070
+ <br />
1071
+ <p class="migrate-status-red"><?php echo __('Remember, complete the migration before deleting the source of your files.', 'powerpress'); ?></p>
1072
+ </div>
1073
+ </div>
1074
+ </div>
1075
  <style>
1076
  #wpfooter {
1077
  position: relative;
1078
  }
1079
  </style>
1080
+ <div id="pp-create-episode" class="pp-migrate-container">
1081
+ <div class="pp-migrate-content">
1082
+ <section id="one" class="pp_wrapper">
1083
+ <div class="pp_inner">
1084
+
1085
+ <div class="pp_flex-grid">
1086
+
1087
+ <div class="pp_col">
1088
+ <div style="border: none; margin-bottom: 0;padding-left: 8px;">
1089
+ <div>
1090
+ <div class="pp_button-container" style="margin-bottom: 1em;float: left;">
1091
+ <a href="<?php echo admin_url('post-new.php') ?>"><button type="button" class="pp_button"><span><?php echo __('Create a new episode', 'powerpress'); ?></span></button></a>
1092
+ </div>
1093
+ <div class="btn-caption-container">
1094
+ <p style="width: 100%; margin-bottom: 1ch; float: left;"><?php echo __('Release a new episode or blog post.', 'powerpress'); ?></p>
1095
+ </div>
1096
  </div>
1097
+ </div>
1098
+ </div>
1099
+
1100
+ <div class="pp_col divider-left" style="padding-left: 2.5em;">
1101
+ <div style="border: none; margin-bottom: 0;">
1102
+ <div>
1103
+ <div class="pp_button-container" style="margin-bottom: 1em;float: left;">
1104
+ <a href="<?php echo admin_url('admin.php?page=powerpressadmin_basic') ?>">
1105
+ <button type="button" class="pp_button"><span><?php echo __('Go to settings', 'powerpress'); ?></span></button>
1106
+ </a>
1107
+ </div>
1108
+ <div class="btn-caption-container">
1109
+ <p style="float: left;"><?php echo __('Continue with PowerPress options for your feed and website.', 'powerpress'); ?></p>
1110
+ </div>
1111
  </div>
1112
  </div>
1113
  </div>
1114
+
1115
+ </div>
1116
+ </div>
1117
+ </section>
1118
+ </div>
1119
+ </div>
1120
+ <?php
1121
+ }
1122
+
1123
+ if( empty($BlubrryQueuedCount) && !empty($MigratedCount) && empty($CompletedCount) )
1124
+ { ?>
1125
+
1126
+ <div id="pp-migration-marketing" class="pp-migrate-container">
1127
+ <div class="pp-migrate-content">
1128
+ <h4><b><?php echo __('Advanced Statistics provide unparalleled insight into your show', 'powerpress'); ?></b></h4>
1129
+ <div style="margin-top: 1em;">
1130
+ <img src="<?php echo powerpress_get_root_url(); ?>images/onboarding/blubrry_stats.png" alt="" class="pp-migration-image" />
1131
+ <h4 class="pp-migrate-subtitle"><?php echo __('Discover your listener retention data! Find out how long your audience is listening to your episodes on a regular basis. Included in any hosting plan.', 'powerpress'); ?>
1132
+ <br />
1133
+ <a href="https://secure.blubrry.com/checkout/manage-subscriptions/">
1134
+ <?php echo __('Upgrade to hosting here', 'powerpress'); ?>
1135
+ </a>
1136
+ </h4>
1137
+ </div>
1138
+ </div>
1139
+ </div>
1140
+
1141
+
1142
+ <div id="powerpress_steps" class="pp-migrate-container">
1143
+ <div class="pp-migrate-container-heading">
1144
+ <h1><div class="powerpress-step-blue">3</div><?php echo __('Almost Done', 'powerpress'); ?></h1>
1145
+ </div>
1146
+ <div class="pp_flex-grid pp-migrate-content">
1147
+ <div class="powerpress-step pp_col">
1148
+ <h1><?php echo sprintf(__('%d files migrated', 'powerpress'), $MigratedCount); ?></h1>
1149
+ <h4><a href="<?php echo admin_url() . wp_nonce_url("admin.php?action=powerpress-jquery-migrate-queue", 'powerpress-jquery-migrate-queue'); ?>&migrate_step=2&KeepThis=true&TB_iframe=true&modal=false" class="thickbox"><?php echo __('View Results', 'powerpress'); ?></a></h4>
1150
+ <br />
1151
+ <?php if ($FailedCount) { ?><h4 class="migrate-status-red">
1152
+ <?php echo sprintf(__('%d files failed', 'powerpress'), $FailedCount); ?></h4><?php } ?>
1153
+ <form enctype="multipart/form-data" method="post" action="<?php echo admin_url( 'admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>">
1154
+ <?php wp_nonce_field('powerpress-migrate-media'); ?>
1155
+ <input type="hidden" name="action" value="powerpress-migrate-media" />
1156
+ <input type="hidden" name="migrate_action" value="update_episodes" />
1157
+ <input type="hidden" name="PowerPressVerifyURLs" value="1" />
1158
+ <div class="pp_button-container" style="margin-top: 1em; float: left;">
1159
+ <b><button type="submit" class="pp_button"><span><?php echo __('UPDATE EPISODES', 'powerpress'); ?></span></button></b>
1160
  </div>
1161
+ </form>
1162
+ </div>
1163
+ <div class="powerpress-step pp_col divider-left" id="powerpreess_step_1b">
1164
+ <h2><b><?php echo __('What is this?', 'powerpress'); ?></b></h2>
1165
+ <p><?php echo __('This is your last chance to check all of your files have been migrated. If you don’t see any issues, you’re ready to update your episodes with your new Blubrry media.', 'powerpress'); ?></p>
1166
+ </div>
1167
+
1168
+ </div>
1169
+ </div>
1170
+ <?php } ?>
1171
+
1172
+ <?php if (!empty($CompletedCount) ) {
1173
+ $publisher_migration_url = get_option('blubrry_manage_media');
1174
+ if (!$publisher_migration_url) {
1175
+ $publisher_migration_url = 'https://publish.blubrry.com/';
1176
+ }
1177
+ ?>
1178
+ <div id="powerpress_steps" class="pp-migrate-container">
1179
+ <div class="pp-migrate-container-heading">
1180
+ <h1><div class="powerpress-step-blue">4</div><?php echo __('Migration Finished', 'powerpress'); ?></h1>
1181
+ </div>
1182
+ <div class="pp_flex-grid pp-migrate-content">
1183
+ <div class="powerpress-step pp_col">
1184
+ <h1><?php echo sprintf(__('%d files migrated', 'powerpress'), $MigratedCount); ?></h1>
1185
+ <h4>
1186
+ <a href="<?php echo admin_url() . wp_nonce_url("admin.php?action=powerpress-jquery-migrate-queue", 'powerpress-jquery-migrate-queue'); ?>&migrate_step=2&KeepThis=true&TB_iframe=true&modal=false" class="thickbox">
1187
+ <?php echo __('View Migrated List', 'powerpress'); ?>
1188
+ </a>
1189
+ </h4>
1190
+ <?php if ($FailedCount) { ?><br /><h4 class="migrate-status-red">
1191
+ <?php echo sprintf(__('%d files failed', 'powerpress'), $FailedCount); ?></h4><?php } ?>
1192
+
1193
+ <div class="pp_button-container" style="margin-top: 1em; float: left;">
1194
+ <a href="<?php echo $publisher_migration_url; ?>" target="_blank">
1195
+ <b><button type="button" class="pp_button"><span><?php echo __('GO TO MEDIA LIBRARY', 'powerpress'); ?></span></button></b>
1196
+ </a>
1197
+ </div>
1198
+ </div>
1199
+ <div class="powerpress-step pp_col divider-left" id="powerpreess_step_1b">
1200
+ <h2><b><?php echo __('Files Missing?', 'powerpress'); ?></b></h2>
1201
+ <p><?php echo __('This is your last chance to check all of your files have been migrated. If you don’t see any issues, you’re ready to update your episodes with your new Blubrry media.', 'powerpress'); ?></p>
1202
+ <br />
1203
+ <p class="migrate-status-red"><?php echo __('Remember, complete the migration before deleting the source of your files.', 'powerpress'); ?></p>
1204
+ <h4>
1205
+ <b><a href="<?php echo admin_url(); echo wp_nonce_url( "admin.php?page=powerpress/powerpressadmin_migrate.php&amp;migrate_action=reset_migrate_media&amp;action=powerpress-migrate-media", 'powerpress-migrate-media'); ?>" onclick="return confirm('<?php echo esc_js(__('Reset migration, are you sure?','powerpress')); ?>');"><?php echo __('RETRY MIGRATION', 'powerpress'); ?></a></b>
1206
+ </h4>
1207
+ </div>
1208
 
1209
+ </div>
1210
+ </div>
1211
+ <style>
1212
+ #wpfooter {
1213
+ position: relative;
1214
+ }
1215
+ </style>
1216
+ <div id="pp-create-episode" class="pp-migrate-container">
1217
+ <div class="pp-migrate-content">
1218
+ <section id="one" class="pp_wrapper">
1219
+ <div class="pp_inner">
1220
+
1221
+ <div class="pp_flex-grid">
1222
+
1223
+ <div class="pp_col">
1224
+ <div style="border: none; margin-bottom: 0;padding-left: 8px;">
1225
+ <div>
1226
+ <div class="pp_button-container" style="margin-bottom: 1em;float: left;">
1227
+ <a href="<?php echo admin_url('post-new.php') ?>"><button type="button" class="pp_button"><span><?php echo __('Create a new episode', 'powerpress'); ?></span></button></a>
1228
+ </div>
1229
+ <div class="btn-caption-container">
1230
+ <p style="width: 100%; margin-bottom: 1ch; float: left;"><?php echo __('Release a new episode or blog post.', 'powerpress'); ?></p>
1231
+ </div>
1232
  </div>
1233
+ </div>
1234
+ </div>
1235
+
1236
+ <div class="pp_col divider-left" style="padding-left: 2.5em;">
1237
+ <div style="border: none; margin-bottom: 0;">
1238
+ <div>
1239
+ <div class="pp_button-container" style="margin-bottom: 1em;float: left;">
1240
+ <a href="<?php echo admin_url('admin.php?page=powerpressadmin_basic') ?>">
1241
+ <button type="button" class="pp_button"><span><?php echo __('Go to settings', 'powerpress'); ?></span></button>
1242
+ </a>
1243
+ </div>
1244
+ <div class="btn-caption-container">
1245
+ <p style="float: left;"><?php echo __('Continue with PowerPress options for your feed and website.', 'powerpress'); ?></p>
1246
+ </div>
1247
  </div>
1248
  </div>
1249
  </div>
 
1250
 
1251
+ </div>
1252
  </div>
1253
+ </section>
1254
+ </div>
1255
  </div>
1256
+ <?php } ?>
1257
+ <div class="clear"></div>
1258
+ </div>
1259
+ <div class="clear"></div>
1260
  </div>
1261
  <?php
1262
  }
powerpressadmin.php CHANGED
@@ -1231,7 +1231,7 @@ function powerpress_admin_init()
1231
  // unregister cron task if it still exists
1232
  $timestamp = wp_next_scheduled( 'powerpress_admin_migration_hook' );
1233
  wp_unschedule_event( $timestamp, 'powerpress_admin_migration_hook' );
1234
- } elseif (!empty($migrationInprogress)) {
1235
  // handles in progress, and update episode directive
1236
  powerpress_admin_migration_notice();
1237
  }
1231
  // unregister cron task if it still exists
1232
  $timestamp = wp_next_scheduled( 'powerpress_admin_migration_hook' );
1233
  wp_unschedule_event( $timestamp, 'powerpress_admin_migration_hook' );
1234
+ } elseif (!empty($migrationInprogress) && $_GET['page'] != 'powerpress/powerpressadmin_migrate.php') {
1235
  // handles in progress, and update episode directive
1236
  powerpress_admin_migration_notice();
1237
  }
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.9
7
- Stable tag: 9.0.4
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -186,6 +186,10 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
186
 
187
  == Changelog ==
188
 
 
 
 
 
189
  = 9.0.4 =
190
  * Released on 05/25/2022
191
  * Small bugfixes
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.9
7
+ Stable tag: 9.1
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
186
 
187
  == Changelog ==
188
 
189
+ = 9.1 =
190
+ * Released on 06/01/2022
191
+ * Revamped the migration flow for Blubrry hosting customers
192
+
193
  = 9.0.4 =
194
  * Released on 05/25/2022
195
  * Small bugfixes