Revive Old Posts – Auto Post to Social Media - Version 8.3.3

Version Description

  • 2019-07-10
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Revive Old Posts – Auto Post to Social Media
Version 8.3.3
Comparing to
See all releases

Code changes from version 8.3.2 to 8.3.3

CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
 
 
 
 
 
 
 
 
2
  ### v8.3.2 - 2019-05-27
3
  **Changes:**
4
  * Fix: Log would some times show the wrong status message for the share
1
 
2
+ ### v8.3.3 - 2019-07-10
3
+ **Changes:**
4
+ * New: An email will be sent to admin email address if the "Share more than once" option is unchecked and sharing is complete
5
+ * New: Documentation and support buttons on plugin dashboard
6
+ * Fix: LinkedIn Image sharing
7
+ * Fix: Facebook sharing timeout on some servers
8
+
9
  ### v8.3.2 - 2019-05-27
10
  **Changes:**
11
  * Fix: Log would some times show the wrong status message for the share
assets/css/rop.css CHANGED
@@ -3990,9 +3990,14 @@
3990
  #rop_core .sidebar .card {
3991
  min-width: 0;
3992
  margin-top: 0;
3993
- margin-bottom: 30px;
3994
  }
3995
 
 
 
 
 
 
3996
  #rop_core .rop-container-start .tooltip::after {
3997
  white-space: initial;
3998
  text-overflow: initial;
3990
  #rop_core .sidebar .card {
3991
  min-width: 0;
3992
  margin-top: 0;
3993
+ margin-bottom: 20px;
3994
  }
3995
 
3996
+ #rop_core .sidebar .support_btns{
3997
+ margin-bottom: 10px;
3998
+ }
3999
+
4000
+
4001
  #rop_core .rop-container-start .tooltip::after {
4002
  white-space: initial;
4003
  text-overflow: initial;
assets/js/build/dashboard.js CHANGED
@@ -33357,6 +33357,9 @@ module.exports = {
33357
  // {{labels.staging_status}}
33358
  // </div>
33359
  // <upsell-sidebar></upsell-sidebar>
 
 
 
33360
  // </div>
33361
  //
33362
  // </div>
@@ -39872,7 +39875,7 @@ module.exports = "\n\t<div class=\"toast toast-success rop-current-time\" v-if=\
39872
  /* 298 */
39873
  /***/ (function(module, exports) {
39874
 
39875
- module.exports = "\n\t<div>\n\t\t<div class=\"columns panel-header\">\n\t\t\t<div class=\"column header-logo vertical-align\">\n\t\t\t\t<div>\n\t\t\t\t\t<img :src=\"plugin_logo\" class=\"plugin-logo avatar avatar-lg\"/>\n\t\t\t\t\t<h1 class=\"plugin-title d-inline-block\">Revive Old Posts</h1><span class=\"powered d-inline-block\"> {{labels.by}} <a\n\t\t\t\t\t\thref=\"https://revive.social\" target=\"_blank\"><b>Revive.Social</b></a></span>\n\t\t\t\t\t<div id=\"rop_social_actions\">\n\t\t\t\t\t<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSdxYonOXjV9kOYICu1Wo7CK6uaKefUFkzbd_w9YfQDbl193Og/viewform\" target=\"_blank\" class=\"submit-feedback\"><span><i class=\"fa fa-commenting\" aria-hidden=\"true\"></i></span> {{labels.help_improve}}</a>\n\t\t\t\t\t<a href=\"https://twitter.com/intent/tweet?text=Keep%20your%20content%20fresh%2C%20share%20it%20on%20autopilot%20&url=http%3A%2F%2Frevive.social%2Fplugins%2Frevive-old-post%2F&via=ReviveSocial\" target=\"_blank\" class=\"tweet-about-it\"><span><i class=\"fa fa-twitter\" aria-hidden=\"true\"></i></span> {{labels.tweet_about_it}}</a>\n\t\t\t\t\t<a href=\"https://wordpress.org/support/plugin/tweet-old-post/reviews/#new-post\" target=\"_blank\" class=\"leave-a-review\"><span><i class=\"fa fa-star\" aria-hidden=\"true\"></i></span> {{labels.review_it}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div v-if=\" is_rest_api_error \" class=\"toast toast-error rop-api-not-available\" v-html=\"labels.api_not_available\">\n\t\t\t</div>\n\t\t\t<div class=\"sidebar sidebar-top card rop-container-start\">\n\t\t\t\t<div class=\"toast rop-current-time\" v-if=\"formatedDate\">\n\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t</div>\n\t\t\t\t<countdown :current_time=\"current_time\"/>\n\t\t\t\t<button class=\"btn btn-sm\" :class=\"btn_class\"\n\t\t\t\t :data-tooltip=\"labels.active_account_warning\"\n\t\t\t\t @click=\"togglePosting()\" :disabled=\"haveAccounts\">\n\t\t\t\t\t<i class=\"fa fa-play\" v-if=\"!is_loading && !start_status\"></i>\n\t\t\t\t\t<i class=\"fa fa-stop\" v-else-if=\"!is_loading && start_status\"></i>\n\t\t\t\t\t<i class=\"fa fa-spinner fa-spin\" v-else></i>\n\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"columns\">\n\t\t\t<div class=\"panel column col-9 col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">\n\t\t\t\t<div class=\"panel-nav\" style=\"padding: 8px;\">\n\t\t\t\t\t<ul class=\"tab \">\n\t\t\t\t\t\t<li class=\"tab-item c-hand\" v-for=\"tab in displayTabs\"\n\t\t\t\t\t\t :class=\"{ active: tab.isActive }\" v-bind:id=\"tab.name.replace(' ', '').toLowerCase()\">\n\t\t\t\t\t\t\t<a :class=\" ( tab.slug === 'logs' && logs_no > 0 ) ? ' badge-logs badge' : '' \"\n\t\t\t\t\t\t\t :data-badge=\"logs_no\"\n\t\t\t\t\t\t\t @click=\"switchTab( tab.slug )\">{{ tab.name }}</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<component :is=\"page.template\" :type=\"page.view\"></component>\n\t\t\t</div>\n\n\t\t\t<div class=\"sidebar column col-3 col-xs-12 col-sm-12 col-md-12 col-lg-12\"\n\t\t\t :class=\"'rop-license-plan-'+license\">\n\n\t\t\t\t<div class=\"card rop-container-start\">\n\t\t\t\t\t<div class=\"toast rop-current-time\" v-if=\"formatedDate\">\n\t\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t<countdown :current_time=\"current_time\"/>\n\t\t\t\t\t<button id=\"rop_start_stop_btn\" class=\"btn\" :class=\"btn_class\"\n\t\t\t\t\t :data-tooltip=\"labels.active_account_warning\"\n\t\t\t\t\t @click=\"togglePosting()\" :disabled=\"haveAccounts\">\n\t\t\t\t\t\t<i class=\"fa fa-play\" v-if=\"!is_loading && !start_status\"></i>\n\t\t\t\t\t\t<i class=\"fa fa-stop\" v-else-if=\"!is_loading && start_status\"></i>\n\t\t\t\t\t\t<i class=\"fa fa-spinner fa-spin\" v-else></i>\n\t\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t\t</button>\n\t\t\t\t\t<div id=\"staging-status\" v-if=\"staging\">\n\t\t\t\t\t\t{{labels.staging_status}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<upsell-sidebar></upsell-sidebar>\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t</div>\n";
39876
 
39877
  /***/ })
39878
  /******/ ]);
33357
  // {{labels.staging_status}}
33358
  // </div>
33359
  // <upsell-sidebar></upsell-sidebar>
33360
+ // <a href="https://docs.revive.social/" target="_blank" class="btn support_btns">{{labels.rop_docs}}</a>
33361
+ // <a v-if="license >= 1" href="https://revive.social/pro-support/" target="_blank" class="btn support_btns">{{labels.rop_support}}</a>
33362
+ // <a v-if="license < 1" href="https://revive.social/support/" target="_blank" class="btn support_btns">{{labels.rop_support}}</a>
33363
  // </div>
33364
  //
33365
  // </div>
39875
  /* 298 */
39876
  /***/ (function(module, exports) {
39877
 
39878
+ module.exports = "\n\t<div>\n\t\t<div class=\"columns panel-header\">\n\t\t\t<div class=\"column header-logo vertical-align\">\n\t\t\t\t<div>\n\t\t\t\t\t<img :src=\"plugin_logo\" class=\"plugin-logo avatar avatar-lg\"/>\n\t\t\t\t\t<h1 class=\"plugin-title d-inline-block\">Revive Old Posts</h1><span class=\"powered d-inline-block\"> {{labels.by}} <a\n\t\t\t\t\t\thref=\"https://revive.social\" target=\"_blank\"><b>Revive.Social</b></a></span>\n\t\t\t\t\t<div id=\"rop_social_actions\">\n\t\t\t\t\t<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSdxYonOXjV9kOYICu1Wo7CK6uaKefUFkzbd_w9YfQDbl193Og/viewform\" target=\"_blank\" class=\"submit-feedback\"><span><i class=\"fa fa-commenting\" aria-hidden=\"true\"></i></span> {{labels.help_improve}}</a>\n\t\t\t\t\t<a href=\"https://twitter.com/intent/tweet?text=Keep%20your%20content%20fresh%2C%20share%20it%20on%20autopilot%20&url=http%3A%2F%2Frevive.social%2Fplugins%2Frevive-old-post%2F&via=ReviveSocial\" target=\"_blank\" class=\"tweet-about-it\"><span><i class=\"fa fa-twitter\" aria-hidden=\"true\"></i></span> {{labels.tweet_about_it}}</a>\n\t\t\t\t\t<a href=\"https://wordpress.org/support/plugin/tweet-old-post/reviews/#new-post\" target=\"_blank\" class=\"leave-a-review\"><span><i class=\"fa fa-star\" aria-hidden=\"true\"></i></span> {{labels.review_it}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div v-if=\" is_rest_api_error \" class=\"toast toast-error rop-api-not-available\" v-html=\"labels.api_not_available\">\n\t\t\t</div>\n\t\t\t<div class=\"sidebar sidebar-top card rop-container-start\">\n\t\t\t\t<div class=\"toast rop-current-time\" v-if=\"formatedDate\">\n\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t</div>\n\t\t\t\t<countdown :current_time=\"current_time\"/>\n\t\t\t\t<button class=\"btn btn-sm\" :class=\"btn_class\"\n\t\t\t\t :data-tooltip=\"labels.active_account_warning\"\n\t\t\t\t @click=\"togglePosting()\" :disabled=\"haveAccounts\">\n\t\t\t\t\t<i class=\"fa fa-play\" v-if=\"!is_loading && !start_status\"></i>\n\t\t\t\t\t<i class=\"fa fa-stop\" v-else-if=\"!is_loading && start_status\"></i>\n\t\t\t\t\t<i class=\"fa fa-spinner fa-spin\" v-else></i>\n\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"columns\">\n\t\t\t<div class=\"panel column col-9 col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">\n\t\t\t\t<div class=\"panel-nav\" style=\"padding: 8px;\">\n\t\t\t\t\t<ul class=\"tab \">\n\t\t\t\t\t\t<li class=\"tab-item c-hand\" v-for=\"tab in displayTabs\"\n\t\t\t\t\t\t :class=\"{ active: tab.isActive }\" v-bind:id=\"tab.name.replace(' ', '').toLowerCase()\">\n\t\t\t\t\t\t\t<a :class=\" ( tab.slug === 'logs' && logs_no > 0 ) ? ' badge-logs badge' : '' \"\n\t\t\t\t\t\t\t :data-badge=\"logs_no\"\n\t\t\t\t\t\t\t @click=\"switchTab( tab.slug )\">{{ tab.name }}</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<component :is=\"page.template\" :type=\"page.view\"></component>\n\t\t\t</div>\n\n\t\t\t<div class=\"sidebar column col-3 col-xs-12 col-sm-12 col-md-12 col-lg-12\"\n\t\t\t :class=\"'rop-license-plan-'+license\">\n\n\t\t\t\t<div class=\"card rop-container-start\">\n\t\t\t\t\t<div class=\"toast rop-current-time\" v-if=\"formatedDate\">\n\t\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t<countdown :current_time=\"current_time\"/>\n\t\t\t\t\t<button id=\"rop_start_stop_btn\" class=\"btn\" :class=\"btn_class\"\n\t\t\t\t\t :data-tooltip=\"labels.active_account_warning\"\n\t\t\t\t\t @click=\"togglePosting()\" :disabled=\"haveAccounts\">\n\t\t\t\t\t\t<i class=\"fa fa-play\" v-if=\"!is_loading && !start_status\"></i>\n\t\t\t\t\t\t<i class=\"fa fa-stop\" v-else-if=\"!is_loading && start_status\"></i>\n\t\t\t\t\t\t<i class=\"fa fa-spinner fa-spin\" v-else></i>\n\t\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t\t</button>\n\t\t\t\t\t<div id=\"staging-status\" v-if=\"staging\">\n\t\t\t\t\t\t{{labels.staging_status}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<upsell-sidebar></upsell-sidebar>\n\t\t\t\t\t<a href=\"https://docs.revive.social/\" target=\"_blank\" class=\"btn support_btns\">{{labels.rop_docs}}</a>\n\t\t\t\t\t<a v-if=\"license >= 1\" href=\"https://revive.social/pro-support/\" target=\"_blank\" class=\"btn support_btns\">{{labels.rop_support}}</a>\n\t\t\t\t\t<a v-if=\"license < 1\" href=\"https://revive.social/support/\" target=\"_blank\" class=\"btn support_btns\">{{labels.rop_support}}</a>\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t</div>\n";
39879
 
39880
  /***/ })
39881
  /******/ ]);
assets/js/build/dashboard.min.js CHANGED
@@ -23,4 +23,4 @@ var ot=2;a.reject=function(t){return new a(function(e,n){n(t)})},a.resolve=funct
23
  * Copyright 2018 John Madhavan-Reese
24
  * Released under the MIT license
25
  */
26
- !function(r,o){s=[n(0)],a=o,void 0!==(i="function"==typeof a?a.apply(e,s):a)&&(t.exports=i),r&&(r.momentDurationFormatSetup=r.moment?o(r.moment):o)}(this,function(t){function e(t,e){return!(e.length>t.length)&&-1!==t.indexOf(e)}function n(t){for(var e="";t;)e+="0",t-=1;return e}function a(t){for(var e=t.split("").reverse(),n=0,a=!0;a&&n<e.length;)n?"9"===e[n]?e[n]="0":(e[n]=(parseInt(e[n],10)+1).toString(),a=!1):(parseInt(e[n],10)<5&&(a=!1),e[n]="0"),n+=1;return a&&e.push("1"),e.reverse().join("")}function s(t,e,i){var r=e.useToLocaleString,o=e.useGrouping,d=o&&e.grouping.slice(),u=e.maximumSignificantDigits,l=e.minimumIntegerDigits||1,c=e.fractionDigits||0,_=e.groupingSeparator,m=e.decimalSeparator;if(r&&i){var f={minimumIntegerDigits:l,useGrouping:o};if(c&&(f.maximumFractionDigits=c,f.minimumFractionDigits=c),u&&t>0&&(f.maximumSignificantDigits=u),!H){var p=M({},e);p.useGrouping=!1,p.decimalSeparator=".",t=parseFloat(s(t,p),10)}return t.toLocaleString(i,f)}var h;h=u?t.toPrecision(u+1):t.toFixed(c+1);var v,y,g,L=h.split("e");g=L[1]||"",L=L[0].split("."),y=L[1]||"",v=L[0]||"";var b=v.length,Y=y.length,k=b+Y,w=v+y;(u&&k===u+1||!u&&Y===c+1)&&(w=a(w),w.length===k+1&&(b+=1),Y&&(w=w.slice(0,-1)),v=w.slice(0,b),y=w.slice(b)),u&&(y=y.replace(/0*$/,""));var D=parseInt(g,10);D>0?y.length<=D?(y+=n(D-y.length),v+=y,y=""):(v+=y.slice(0,D),y=y.slice(D)):D<0&&(y=n(Math.abs(D)-v.length)+v+y,v="0"),u||(y=y.slice(0,c),y.length<c&&(y+=n(c-y.length)),v.length<l&&(v=n(l-v.length)+v));var T="";if(o){L=v;for(var x;L.length;)d.length&&(x=d.shift()),T&&(T=_+T),T=L.slice(-x)+T,L=L.slice(0,-x)}else T=v;return y&&(T=T+m+y),T}function i(t,e){return t.label.length>e.label.length?-1:t.label.length<e.label.length?1:0}function r(t,e){var n=[];return _(L(e),function(a){if("_durationLabels"===a.slice(0,15)){var s=a.slice(15).toLowerCase();_(L(e[a]),function(i){i.slice(0,1)===t&&n.push({type:s,key:i,label:e[a][i]})})}}),n}function o(t,e,n){return 1===e&&null===n?t:t+t}function d(t){return"[object Array]"===Object.prototype.toString.call(t)}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){for(var n=t.length;n-=1;)if(e(t[n]))return t[n]}function c(t,e){var n,a=0,s=t&&t.length||0;for("function"!=typeof e&&(n=e,e=function(t){return t===n});a<s;){if(e(t[a]))return t[a];a+=1}}function _(t,e){var n=0,a=t.length;if(t&&a)for(;n<a;){if(!1===e(t[n],n))return;n+=1}}function m(t,e){var n=0,a=t.length,s=[];if(!t||!a)return s;for(;n<a;)s[n]=e(t[n],n),n+=1;return s}function f(t,e){return m(t,function(t){return t[e]})}function p(t){var e=[];return _(t,function(t){t&&e.push(t)}),e}function h(t){var e=[];return _(t,function(t){c(e,t)||e.push(t)}),e}function v(t,e){var n=[];return _(t,function(t){_(e,function(e){t===e&&n.push(t)})}),h(n)}function y(t,e){var n=[];return _(t,function(a,s){if(!e(a))return n=t.slice(s),!1}),n}function g(t,e){return y(t.slice().reverse(),e).reverse()}function M(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function L(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function b(t,e){var n=0,a=t.length;if(!t||!a)return!1;for(;n<a;){if(!0===e(t[n],n))return!0;n+=1}return!1}function Y(t){var e=[];return _(t,function(t){e=e.concat(t)}),e}function k(){try{(0).toLocaleString("i")}catch(t){return"RangeError"===t.name}return!1}function w(){var t,e=[].slice.call(arguments),n={};if(_(e,function(e,a){if(!a){if(!d(e))throw"Expected array as the first argument to durationsFormat.";t=e}return"string"==typeof e||"function"==typeof e?void(n.template=e):"number"==typeof e?void(n.precision=e):void(u(e)&&M(n,e))}),!t||!t.length)return[];n.returnMomentTypes=!0;var a=m(t,function(t){return t.format(n)}),s=v(j,h(f(Y(a),"type"))),i=n.largest;return i&&(s=s.slice(0,i)),n.returnMomentTypes=!1,n.outputTypes=s,m(t,function(t){return t.format(n)})}function D(){var n=[].slice.call(arguments),a=M({},this.format.defaults),o=this.asMilliseconds(),l=this.asMonths();"function"==typeof this.isValid&&!1===this.isValid()&&(o=0,l=0);var Y=o<0,k=t.duration(Math.abs(o),"milliseconds"),w=t.duration(Math.abs(l),"months");_(n,function(t){return"string"==typeof t||"function"==typeof t?void(a.template=t):"number"==typeof t?void(a.precision=t):void(u(t)&&M(a,t))});var D={years:"y",months:"M",weeks:"w",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"S"},T={escape:/\[(.+?)\]/,years:/\*?[Yy]+/,months:/\*?M+/,weeks:/\*?[Ww]+/,days:/\*?[Dd]+/,hours:/\*?[Hh]+/,minutes:/\*?m+/,seconds:/\*?s+/,milliseconds:/\*?S+/,general:/.+?/};a.types=j;var x=function(t){return c(j,function(e){return T[e].test(t)})},H=new RegExp(m(j,function(t){return T[t].source}).join("|"),"g");a.duration=this;var P="function"==typeof a.template?a.template.apply(a):a.template,E=a.outputTypes,$=a.returnMomentTypes,C=a.largest,W=[];E||(d(a.stopTrim)&&(a.stopTrim=a.stopTrim.join("")),a.stopTrim&&_(a.stopTrim.match(H),function(t){var e=x(t);"escape"!==e&&"general"!==e&&W.push(e)}));var F=t.localeData();F||(F={}),_(L(O),function(t){if("function"==typeof O[t])return void(F[t]||(F[t]=O[t]));F["_"+t]||(F["_"+t]=O[t])}),_(L(F._durationTimeTemplates),function(t){P=P.replace("_"+t+"_",F._durationTimeTemplates[t])});var N=a.userLocale||t.locale(),I=a.useLeftUnits,z=a.usePlural,R=a.precision,J=a.forceLength,V=a.useGrouping,U=a.trunc,G=a.useSignificantDigits&&R>0,q=G?a.precision:0,B=q,K=a.minValue,X=!1,Z=a.maxValue,Q=!1,tt=a.useToLocaleString,et=a.groupingSeparator,nt=a.decimalSeparator,at=a.grouping;tt=tt&&S;var st=a.trim;d(st)&&(st=st.join(" ")),null===st&&(C||Z||G)&&(st="all"),null!==st&&!0!==st&&"left"!==st&&"right"!==st||(st="large"),!1===st&&(st="");var it=function(t){return t.test(st)},rt=/large/,ot=/small/,dt=/both/,ut=/mid/,lt=/^all|[^sm]all/,ct=/final/,_t=C>0||b([rt,dt,lt],it),mt=b([ot,dt,lt],it),ft=b([ut,lt],it),pt=b([ct,lt],it),ht=m(P.match(H),function(t,e){var n=x(t);return"*"===t.slice(0,1)&&(t=t.slice(1),"escape"!==n&&"general"!==n&&W.push(n)),{index:e,length:t.length,text:"",token:"escape"===n?t.replace(T.escape,"$1"):t,type:"escape"===n||"general"===n?null:n}}),vt={index:0,length:0,token:"",text:"",type:null},yt=[];I&&ht.reverse(),_(ht,function(t){if(t.type)return(vt.type||vt.text)&&yt.push(vt),void(vt=t);I?vt.text=t.token+vt.text:vt.text+=t.token}),(vt.type||vt.text)&&yt.push(vt),I&&yt.reverse();var gt=v(j,h(p(f(yt,"type"))));if(!gt.length)return f(yt,"text").join("");gt=m(gt,function(t,e){var n,s=e+1===gt.length,i=!e;n="years"===t||"months"===t?w.as(t):k.as(t);var r=Math.floor(n),o=n-r,d=c(yt,function(e){return t===e.type});return i&&Z&&n>Z&&(Q=!0),s&&K&&Math.abs(a.duration.as(t))<K&&(X=!0),i&&null===J&&d.length>1&&(J=!0),k.subtract(r,t),w.subtract(r,t),{rawValue:n,wholeValue:r,decimalValue:s?o:0,isSmallest:s,isLargest:i,type:t,tokenLength:d.length}});var Mt=U?Math.floor:Math.round,Lt=function(t,e){var n=Math.pow(10,e);return Mt(t*n)/n},bt=!1,Yt=!1,kt=function(t,e){var n={useGrouping:V,groupingSeparator:et,decimalSeparator:nt,grouping:at,useToLocaleString:tt};return G&&(q<=0?(t.rawValue=0,t.wholeValue=0,t.decimalValue=0):(n.maximumSignificantDigits=q,t.significantDigits=q)),Q&&!Yt&&(t.isLargest?(t.wholeValue=Z,t.decimalValue=0):(t.wholeValue=0,t.decimalValue=0)),X&&!Yt&&(t.isSmallest?(t.wholeValue=K,t.decimalValue=0):(t.wholeValue=0,t.decimalValue=0)),t.isSmallest||t.significantDigits&&t.significantDigits-t.wholeValue.toString().length<=0?R<0?t.value=Lt(t.wholeValue,R):0===R?t.value=Mt(t.wholeValue+t.decimalValue):G?(t.value=U?Lt(t.rawValue,q-t.wholeValue.toString().length):t.rawValue,t.wholeValue&&(q-=t.wholeValue.toString().length)):(n.fractionDigits=R,t.value=U?t.wholeValue+Lt(t.decimalValue,R):t.wholeValue+t.decimalValue):G&&t.wholeValue?(t.value=Math.round(Lt(t.wholeValue,t.significantDigits-t.wholeValue.toString().length)),q-=t.wholeValue.toString().length):t.value=t.wholeValue,t.tokenLength>1&&(J||bt)&&(n.minimumIntegerDigits=t.tokenLength,Yt&&n.maximumSignificantDigits<t.tokenLength&&delete n.maximumSignificantDigits),!bt&&(t.value>0||""===st||c(W,t.type)||c(E,t.type))&&(bt=!0),t.formattedValue=s(t.value,n,N),n.useGrouping=!1,n.decimalSeparator=".",t.formattedValueEn=s(t.value,n,"en"),2===t.tokenLength&&"milliseconds"===t.type&&(t.formattedValueMS=s(t.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),t};if(gt=m(gt,kt),gt=p(gt),gt.length>1){var wt=function(t){return c(gt,function(e){return e.type===t})};_(A,function(t){var e=wt(t.type);e&&_(t.targets,function(t){var n=wt(t.type);n&&parseInt(e.formattedValueEn,10)===t.value&&(e.rawValue=0,e.wholeValue=0,e.decimalValue=0,n.rawValue+=1,n.wholeValue+=1,n.decimalValue=0,n.formattedValueEn=n.wholeValue.toString(),Yt=!0)})})}return Yt&&(bt=!1,q=B,gt=m(gt,kt),gt=p(gt)),!E||Q&&!a.trim?(_t&&(gt=y(gt,function(t){return!t.isSmallest&&!t.wholeValue&&!c(W,t.type)})),C&&gt.length&&(gt=gt.slice(0,C)),mt&&gt.length>1&&(gt=g(gt,function(t){return!t.wholeValue&&!c(W,t.type)&&!t.isLargest})),ft&&(gt=m(gt,function(t,e){return e>0&&e<gt.length-1&&!t.wholeValue?null:t}),gt=p(gt)),!pt||1!==gt.length||gt[0].wholeValue||!U&&gt[0].isSmallest&&gt[0].rawValue<K||(gt=[])):(gt=m(gt,function(t){return c(E,function(e){return t.type===e})?t:null}),gt=p(gt)),$?gt:(_(yt,function(t){var n=D[t.type],a=c(gt,function(e){return e.type===t.type});if(n&&a){var s=a.formattedValueEn.split(".");s[0]=parseInt(s[0],10),s[1]?s[1]=parseFloat("0."+s[1],10):s[1]=null;var o=F.durationPluralKey(n,s[0],s[1]),d=r(n,F),u=!1,l={};_(F._durationLabelTypes,function(n){var a=c(d,function(t){return t.type===n.type&&t.key===o});a&&(l[a.type]=a.label,e(t.text,n.string)&&(t.text=t.text.replace(n.string,a.label),u=!0))}),z&&!u&&(d.sort(i),_(d,function(n){if(l[n.type]!==n.label){if(e(t.text,n.label))return t.text=t.text.replace(n.label,l[n.type]),!1}else if(e(t.text,n.label))return!1}))}}),yt=m(yt,function(t){if(!t.type)return t.text;var e=c(gt,function(e){return e.type===t.type});if(!e)return"";var n="";return I&&(n+=t.text),(Y&&Q||!Y&&X)&&(n+="< ",Q=!1,X=!1),(Y&&X||!Y&&Q)&&(n+="> ",Q=!1,X=!1),Y&&(e.value>0||""===st||c(W,e.type)||c(E,e.type))&&(n+="-",Y=!1),"milliseconds"===t.type&&e.formattedValueMS?n+=e.formattedValueMS:n+=e.formattedValue,I||(n+=t.text),n}),yt.join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function T(){var t=this.duration,e=function(e){return t._data[e]},n=c(this.types,e),a=l(this.types,e);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===a)return"d __";case"weeks":return n===a?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===a)return"M __";case"years":return n===a?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function x(t){if(!t)throw"Moment Duration Format init cannot find moment instance.";t.duration.format=w,t.duration.fn.format=D,t.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:T,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},t.updateLocale("en",O)}var S=!1,H=!1,j="escape years months weeks days hours minutes seconds milliseconds general".split(" "),A=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}],O={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:o};return S=function(){var t=!0;return!!(t=t&&k())&&(t=t&&"1"===1..toLocaleString("en",{minimumIntegerDigits:1}),t=t&&"01"===1..toLocaleString("en",{minimumIntegerDigits:2}),!!(t=t&&"001"===1..toLocaleString("en",{minimumIntegerDigits:3}))&&(t=t&&"100"===99.99.toLocaleString("en",{maximumFractionDigits:0,minimumFractionDigits:0}),t=t&&"100.0"===99.99.toLocaleString("en",{maximumFractionDigits:1,minimumFractionDigits:1}),t=t&&"99.99"===99.99.toLocaleString("en",{maximumFractionDigits:2,minimumFractionDigits:2}),!!(t=t&&"99.990"===99.99.toLocaleString("en",{maximumFractionDigits:3,minimumFractionDigits:3}))&&(t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:1}),t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:2}),t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:3}),t=t&&"99.99"===99.99.toLocaleString("en",{maximumSignificantDigits:4}),!!(t=t&&"99.99"===99.99.toLocaleString("en",{maximumSignificantDigits:5}))&&(t=t&&"1,000"===1e3.toLocaleString("en",{useGrouping:!0}),!!(t=t&&"1000"===1e3.toLocaleString("en",{useGrouping:!1}))))))}(),H=S&&function(){return"3.6"===3.55.toLocaleString("en",{useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:1,maximumFractionDigits:1})}(),x(t),x})},function(t,e){t.exports='\n\t<div class="toast toast-success rop-current-time" v-if="isOn && accounts_no > 0">\n\t\t<span v-if="diff_seconds>0"> <b><i\n\t\t\t\tclass="fa fa-fast-forward"></i> {{labels.next_share}}</b> {{labels.in}}</span>\n\t\t<small v-if="timediff !== \'\'">{{timediff}}</small>\n\t</div>\n'},function(t,e){t.exports='\n\t<div>\n\t\t<div class="columns panel-header">\n\t\t\t<div class="column header-logo vertical-align">\n\t\t\t\t<div>\n\t\t\t\t\t<img :src="plugin_logo" class="plugin-logo avatar avatar-lg"/>\n\t\t\t\t\t<h1 class="plugin-title d-inline-block">Revive Old Posts</h1><span class="powered d-inline-block"> {{labels.by}} <a\n\t\t\t\t\t\thref="https://revive.social" target="_blank"><b>Revive.Social</b></a></span>\n\t\t\t\t\t<div id="rop_social_actions">\n\t\t\t\t\t<a href="https://docs.google.com/forms/d/e/1FAIpQLSdxYonOXjV9kOYICu1Wo7CK6uaKefUFkzbd_w9YfQDbl193Og/viewform" target="_blank" class="submit-feedback"><span><i class="fa fa-commenting" aria-hidden="true"></i></span> {{labels.help_improve}}</a>\n\t\t\t\t\t<a href="https://twitter.com/intent/tweet?text=Keep%20your%20content%20fresh%2C%20share%20it%20on%20autopilot%20&url=http%3A%2F%2Frevive.social%2Fplugins%2Frevive-old-post%2F&via=ReviveSocial" target="_blank" class="tweet-about-it"><span><i class="fa fa-twitter" aria-hidden="true"></i></span> {{labels.tweet_about_it}}</a>\n\t\t\t\t\t<a href="https://wordpress.org/support/plugin/tweet-old-post/reviews/#new-post" target="_blank" class="leave-a-review"><span><i class="fa fa-star" aria-hidden="true"></i></span> {{labels.review_it}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div v-if=" is_rest_api_error " class="toast toast-error rop-api-not-available" v-html="labels.api_not_available">\n\t\t\t</div>\n\t\t\t<div class="sidebar sidebar-top card rop-container-start">\n\t\t\t\t<div class="toast rop-current-time" v-if="formatedDate">\n\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t</div>\n\t\t\t\t<countdown :current_time="current_time"/>\n\t\t\t\t<button class="btn btn-sm" :class="btn_class"\n\t\t\t\t :data-tooltip="labels.active_account_warning"\n\t\t\t\t @click="togglePosting()" :disabled="haveAccounts">\n\t\t\t\t\t<i class="fa fa-play" v-if="!is_loading && !start_status"></i>\n\t\t\t\t\t<i class="fa fa-stop" v-else-if="!is_loading && start_status"></i>\n\t\t\t\t\t<i class="fa fa-spinner fa-spin" v-else></i>\n\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="columns">\n\t\t\t<div class="panel column col-9 col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">\n\t\t\t\t<div class="panel-nav" style="padding: 8px;">\n\t\t\t\t\t<ul class="tab ">\n\t\t\t\t\t\t<li class="tab-item c-hand" v-for="tab in displayTabs"\n\t\t\t\t\t\t :class="{ active: tab.isActive }" v-bind:id="tab.name.replace(\' \', \'\').toLowerCase()">\n\t\t\t\t\t\t\t<a :class=" ( tab.slug === \'logs\' && logs_no > 0 ) ? \' badge-logs badge\' : \'\' "\n\t\t\t\t\t\t\t :data-badge="logs_no"\n\t\t\t\t\t\t\t @click="switchTab( tab.slug )">{{ tab.name }}</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<component :is="page.template" :type="page.view"></component>\n\t\t\t</div>\n\n\t\t\t<div class="sidebar column col-3 col-xs-12 col-sm-12 col-md-12 col-lg-12"\n\t\t\t :class="\'rop-license-plan-\'+license">\n\n\t\t\t\t<div class="card rop-container-start">\n\t\t\t\t\t<div class="toast rop-current-time" v-if="formatedDate">\n\t\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t<countdown :current_time="current_time"/>\n\t\t\t\t\t<button id="rop_start_stop_btn" class="btn" :class="btn_class"\n\t\t\t\t\t :data-tooltip="labels.active_account_warning"\n\t\t\t\t\t @click="togglePosting()" :disabled="haveAccounts">\n\t\t\t\t\t\t<i class="fa fa-play" v-if="!is_loading && !start_status"></i>\n\t\t\t\t\t\t<i class="fa fa-stop" v-else-if="!is_loading && start_status"></i>\n\t\t\t\t\t\t<i class="fa fa-spinner fa-spin" v-else></i>\n\t\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t\t</button>\n\t\t\t\t\t<div id="staging-status" v-if="staging">\n\t\t\t\t\t\t{{labels.staging_status}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<upsell-sidebar></upsell-sidebar>\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t</div>\n'}]);
23
  * Copyright 2018 John Madhavan-Reese
24
  * Released under the MIT license
25
  */
26
+ !function(r,o){s=[n(0)],a=o,void 0!==(i="function"==typeof a?a.apply(e,s):a)&&(t.exports=i),r&&(r.momentDurationFormatSetup=r.moment?o(r.moment):o)}(this,function(t){function e(t,e){return!(e.length>t.length)&&-1!==t.indexOf(e)}function n(t){for(var e="";t;)e+="0",t-=1;return e}function a(t){for(var e=t.split("").reverse(),n=0,a=!0;a&&n<e.length;)n?"9"===e[n]?e[n]="0":(e[n]=(parseInt(e[n],10)+1).toString(),a=!1):(parseInt(e[n],10)<5&&(a=!1),e[n]="0"),n+=1;return a&&e.push("1"),e.reverse().join("")}function s(t,e,i){var r=e.useToLocaleString,o=e.useGrouping,d=o&&e.grouping.slice(),u=e.maximumSignificantDigits,l=e.minimumIntegerDigits||1,c=e.fractionDigits||0,_=e.groupingSeparator,m=e.decimalSeparator;if(r&&i){var f={minimumIntegerDigits:l,useGrouping:o};if(c&&(f.maximumFractionDigits=c,f.minimumFractionDigits=c),u&&t>0&&(f.maximumSignificantDigits=u),!H){var p=M({},e);p.useGrouping=!1,p.decimalSeparator=".",t=parseFloat(s(t,p),10)}return t.toLocaleString(i,f)}var h;h=u?t.toPrecision(u+1):t.toFixed(c+1);var v,y,g,L=h.split("e");g=L[1]||"",L=L[0].split("."),y=L[1]||"",v=L[0]||"";var b=v.length,Y=y.length,k=b+Y,w=v+y;(u&&k===u+1||!u&&Y===c+1)&&(w=a(w),w.length===k+1&&(b+=1),Y&&(w=w.slice(0,-1)),v=w.slice(0,b),y=w.slice(b)),u&&(y=y.replace(/0*$/,""));var D=parseInt(g,10);D>0?y.length<=D?(y+=n(D-y.length),v+=y,y=""):(v+=y.slice(0,D),y=y.slice(D)):D<0&&(y=n(Math.abs(D)-v.length)+v+y,v="0"),u||(y=y.slice(0,c),y.length<c&&(y+=n(c-y.length)),v.length<l&&(v=n(l-v.length)+v));var T="";if(o){L=v;for(var x;L.length;)d.length&&(x=d.shift()),T&&(T=_+T),T=L.slice(-x)+T,L=L.slice(0,-x)}else T=v;return y&&(T=T+m+y),T}function i(t,e){return t.label.length>e.label.length?-1:t.label.length<e.label.length?1:0}function r(t,e){var n=[];return _(L(e),function(a){if("_durationLabels"===a.slice(0,15)){var s=a.slice(15).toLowerCase();_(L(e[a]),function(i){i.slice(0,1)===t&&n.push({type:s,key:i,label:e[a][i]})})}}),n}function o(t,e,n){return 1===e&&null===n?t:t+t}function d(t){return"[object Array]"===Object.prototype.toString.call(t)}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){for(var n=t.length;n-=1;)if(e(t[n]))return t[n]}function c(t,e){var n,a=0,s=t&&t.length||0;for("function"!=typeof e&&(n=e,e=function(t){return t===n});a<s;){if(e(t[a]))return t[a];a+=1}}function _(t,e){var n=0,a=t.length;if(t&&a)for(;n<a;){if(!1===e(t[n],n))return;n+=1}}function m(t,e){var n=0,a=t.length,s=[];if(!t||!a)return s;for(;n<a;)s[n]=e(t[n],n),n+=1;return s}function f(t,e){return m(t,function(t){return t[e]})}function p(t){var e=[];return _(t,function(t){t&&e.push(t)}),e}function h(t){var e=[];return _(t,function(t){c(e,t)||e.push(t)}),e}function v(t,e){var n=[];return _(t,function(t){_(e,function(e){t===e&&n.push(t)})}),h(n)}function y(t,e){var n=[];return _(t,function(a,s){if(!e(a))return n=t.slice(s),!1}),n}function g(t,e){return y(t.slice().reverse(),e).reverse()}function M(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function L(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function b(t,e){var n=0,a=t.length;if(!t||!a)return!1;for(;n<a;){if(!0===e(t[n],n))return!0;n+=1}return!1}function Y(t){var e=[];return _(t,function(t){e=e.concat(t)}),e}function k(){try{(0).toLocaleString("i")}catch(t){return"RangeError"===t.name}return!1}function w(){var t,e=[].slice.call(arguments),n={};if(_(e,function(e,a){if(!a){if(!d(e))throw"Expected array as the first argument to durationsFormat.";t=e}return"string"==typeof e||"function"==typeof e?void(n.template=e):"number"==typeof e?void(n.precision=e):void(u(e)&&M(n,e))}),!t||!t.length)return[];n.returnMomentTypes=!0;var a=m(t,function(t){return t.format(n)}),s=v(j,h(f(Y(a),"type"))),i=n.largest;return i&&(s=s.slice(0,i)),n.returnMomentTypes=!1,n.outputTypes=s,m(t,function(t){return t.format(n)})}function D(){var n=[].slice.call(arguments),a=M({},this.format.defaults),o=this.asMilliseconds(),l=this.asMonths();"function"==typeof this.isValid&&!1===this.isValid()&&(o=0,l=0);var Y=o<0,k=t.duration(Math.abs(o),"milliseconds"),w=t.duration(Math.abs(l),"months");_(n,function(t){return"string"==typeof t||"function"==typeof t?void(a.template=t):"number"==typeof t?void(a.precision=t):void(u(t)&&M(a,t))});var D={years:"y",months:"M",weeks:"w",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"S"},T={escape:/\[(.+?)\]/,years:/\*?[Yy]+/,months:/\*?M+/,weeks:/\*?[Ww]+/,days:/\*?[Dd]+/,hours:/\*?[Hh]+/,minutes:/\*?m+/,seconds:/\*?s+/,milliseconds:/\*?S+/,general:/.+?/};a.types=j;var x=function(t){return c(j,function(e){return T[e].test(t)})},H=new RegExp(m(j,function(t){return T[t].source}).join("|"),"g");a.duration=this;var P="function"==typeof a.template?a.template.apply(a):a.template,E=a.outputTypes,$=a.returnMomentTypes,C=a.largest,W=[];E||(d(a.stopTrim)&&(a.stopTrim=a.stopTrim.join("")),a.stopTrim&&_(a.stopTrim.match(H),function(t){var e=x(t);"escape"!==e&&"general"!==e&&W.push(e)}));var F=t.localeData();F||(F={}),_(L(O),function(t){if("function"==typeof O[t])return void(F[t]||(F[t]=O[t]));F["_"+t]||(F["_"+t]=O[t])}),_(L(F._durationTimeTemplates),function(t){P=P.replace("_"+t+"_",F._durationTimeTemplates[t])});var N=a.userLocale||t.locale(),I=a.useLeftUnits,z=a.usePlural,R=a.precision,J=a.forceLength,V=a.useGrouping,U=a.trunc,G=a.useSignificantDigits&&R>0,q=G?a.precision:0,B=q,K=a.minValue,X=!1,Z=a.maxValue,Q=!1,tt=a.useToLocaleString,et=a.groupingSeparator,nt=a.decimalSeparator,at=a.grouping;tt=tt&&S;var st=a.trim;d(st)&&(st=st.join(" ")),null===st&&(C||Z||G)&&(st="all"),null!==st&&!0!==st&&"left"!==st&&"right"!==st||(st="large"),!1===st&&(st="");var it=function(t){return t.test(st)},rt=/large/,ot=/small/,dt=/both/,ut=/mid/,lt=/^all|[^sm]all/,ct=/final/,_t=C>0||b([rt,dt,lt],it),mt=b([ot,dt,lt],it),ft=b([ut,lt],it),pt=b([ct,lt],it),ht=m(P.match(H),function(t,e){var n=x(t);return"*"===t.slice(0,1)&&(t=t.slice(1),"escape"!==n&&"general"!==n&&W.push(n)),{index:e,length:t.length,text:"",token:"escape"===n?t.replace(T.escape,"$1"):t,type:"escape"===n||"general"===n?null:n}}),vt={index:0,length:0,token:"",text:"",type:null},yt=[];I&&ht.reverse(),_(ht,function(t){if(t.type)return(vt.type||vt.text)&&yt.push(vt),void(vt=t);I?vt.text=t.token+vt.text:vt.text+=t.token}),(vt.type||vt.text)&&yt.push(vt),I&&yt.reverse();var gt=v(j,h(p(f(yt,"type"))));if(!gt.length)return f(yt,"text").join("");gt=m(gt,function(t,e){var n,s=e+1===gt.length,i=!e;n="years"===t||"months"===t?w.as(t):k.as(t);var r=Math.floor(n),o=n-r,d=c(yt,function(e){return t===e.type});return i&&Z&&n>Z&&(Q=!0),s&&K&&Math.abs(a.duration.as(t))<K&&(X=!0),i&&null===J&&d.length>1&&(J=!0),k.subtract(r,t),w.subtract(r,t),{rawValue:n,wholeValue:r,decimalValue:s?o:0,isSmallest:s,isLargest:i,type:t,tokenLength:d.length}});var Mt=U?Math.floor:Math.round,Lt=function(t,e){var n=Math.pow(10,e);return Mt(t*n)/n},bt=!1,Yt=!1,kt=function(t,e){var n={useGrouping:V,groupingSeparator:et,decimalSeparator:nt,grouping:at,useToLocaleString:tt};return G&&(q<=0?(t.rawValue=0,t.wholeValue=0,t.decimalValue=0):(n.maximumSignificantDigits=q,t.significantDigits=q)),Q&&!Yt&&(t.isLargest?(t.wholeValue=Z,t.decimalValue=0):(t.wholeValue=0,t.decimalValue=0)),X&&!Yt&&(t.isSmallest?(t.wholeValue=K,t.decimalValue=0):(t.wholeValue=0,t.decimalValue=0)),t.isSmallest||t.significantDigits&&t.significantDigits-t.wholeValue.toString().length<=0?R<0?t.value=Lt(t.wholeValue,R):0===R?t.value=Mt(t.wholeValue+t.decimalValue):G?(t.value=U?Lt(t.rawValue,q-t.wholeValue.toString().length):t.rawValue,t.wholeValue&&(q-=t.wholeValue.toString().length)):(n.fractionDigits=R,t.value=U?t.wholeValue+Lt(t.decimalValue,R):t.wholeValue+t.decimalValue):G&&t.wholeValue?(t.value=Math.round(Lt(t.wholeValue,t.significantDigits-t.wholeValue.toString().length)),q-=t.wholeValue.toString().length):t.value=t.wholeValue,t.tokenLength>1&&(J||bt)&&(n.minimumIntegerDigits=t.tokenLength,Yt&&n.maximumSignificantDigits<t.tokenLength&&delete n.maximumSignificantDigits),!bt&&(t.value>0||""===st||c(W,t.type)||c(E,t.type))&&(bt=!0),t.formattedValue=s(t.value,n,N),n.useGrouping=!1,n.decimalSeparator=".",t.formattedValueEn=s(t.value,n,"en"),2===t.tokenLength&&"milliseconds"===t.type&&(t.formattedValueMS=s(t.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),t};if(gt=m(gt,kt),gt=p(gt),gt.length>1){var wt=function(t){return c(gt,function(e){return e.type===t})};_(A,function(t){var e=wt(t.type);e&&_(t.targets,function(t){var n=wt(t.type);n&&parseInt(e.formattedValueEn,10)===t.value&&(e.rawValue=0,e.wholeValue=0,e.decimalValue=0,n.rawValue+=1,n.wholeValue+=1,n.decimalValue=0,n.formattedValueEn=n.wholeValue.toString(),Yt=!0)})})}return Yt&&(bt=!1,q=B,gt=m(gt,kt),gt=p(gt)),!E||Q&&!a.trim?(_t&&(gt=y(gt,function(t){return!t.isSmallest&&!t.wholeValue&&!c(W,t.type)})),C&&gt.length&&(gt=gt.slice(0,C)),mt&&gt.length>1&&(gt=g(gt,function(t){return!t.wholeValue&&!c(W,t.type)&&!t.isLargest})),ft&&(gt=m(gt,function(t,e){return e>0&&e<gt.length-1&&!t.wholeValue?null:t}),gt=p(gt)),!pt||1!==gt.length||gt[0].wholeValue||!U&&gt[0].isSmallest&&gt[0].rawValue<K||(gt=[])):(gt=m(gt,function(t){return c(E,function(e){return t.type===e})?t:null}),gt=p(gt)),$?gt:(_(yt,function(t){var n=D[t.type],a=c(gt,function(e){return e.type===t.type});if(n&&a){var s=a.formattedValueEn.split(".");s[0]=parseInt(s[0],10),s[1]?s[1]=parseFloat("0."+s[1],10):s[1]=null;var o=F.durationPluralKey(n,s[0],s[1]),d=r(n,F),u=!1,l={};_(F._durationLabelTypes,function(n){var a=c(d,function(t){return t.type===n.type&&t.key===o});a&&(l[a.type]=a.label,e(t.text,n.string)&&(t.text=t.text.replace(n.string,a.label),u=!0))}),z&&!u&&(d.sort(i),_(d,function(n){if(l[n.type]!==n.label){if(e(t.text,n.label))return t.text=t.text.replace(n.label,l[n.type]),!1}else if(e(t.text,n.label))return!1}))}}),yt=m(yt,function(t){if(!t.type)return t.text;var e=c(gt,function(e){return e.type===t.type});if(!e)return"";var n="";return I&&(n+=t.text),(Y&&Q||!Y&&X)&&(n+="< ",Q=!1,X=!1),(Y&&X||!Y&&Q)&&(n+="> ",Q=!1,X=!1),Y&&(e.value>0||""===st||c(W,e.type)||c(E,e.type))&&(n+="-",Y=!1),"milliseconds"===t.type&&e.formattedValueMS?n+=e.formattedValueMS:n+=e.formattedValue,I||(n+=t.text),n}),yt.join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function T(){var t=this.duration,e=function(e){return t._data[e]},n=c(this.types,e),a=l(this.types,e);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===a)return"d __";case"weeks":return n===a?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===a)return"M __";case"years":return n===a?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function x(t){if(!t)throw"Moment Duration Format init cannot find moment instance.";t.duration.format=w,t.duration.fn.format=D,t.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:T,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},t.updateLocale("en",O)}var S=!1,H=!1,j="escape years months weeks days hours minutes seconds milliseconds general".split(" "),A=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}],O={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:o};return S=function(){var t=!0;return!!(t=t&&k())&&(t=t&&"1"===1..toLocaleString("en",{minimumIntegerDigits:1}),t=t&&"01"===1..toLocaleString("en",{minimumIntegerDigits:2}),!!(t=t&&"001"===1..toLocaleString("en",{minimumIntegerDigits:3}))&&(t=t&&"100"===99.99.toLocaleString("en",{maximumFractionDigits:0,minimumFractionDigits:0}),t=t&&"100.0"===99.99.toLocaleString("en",{maximumFractionDigits:1,minimumFractionDigits:1}),t=t&&"99.99"===99.99.toLocaleString("en",{maximumFractionDigits:2,minimumFractionDigits:2}),!!(t=t&&"99.990"===99.99.toLocaleString("en",{maximumFractionDigits:3,minimumFractionDigits:3}))&&(t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:1}),t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:2}),t=t&&"100"===99.99.toLocaleString("en",{maximumSignificantDigits:3}),t=t&&"99.99"===99.99.toLocaleString("en",{maximumSignificantDigits:4}),!!(t=t&&"99.99"===99.99.toLocaleString("en",{maximumSignificantDigits:5}))&&(t=t&&"1,000"===1e3.toLocaleString("en",{useGrouping:!0}),!!(t=t&&"1000"===1e3.toLocaleString("en",{useGrouping:!1}))))))}(),H=S&&function(){return"3.6"===3.55.toLocaleString("en",{useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:1,maximumFractionDigits:1})}(),x(t),x})},function(t,e){t.exports='\n\t<div class="toast toast-success rop-current-time" v-if="isOn && accounts_no > 0">\n\t\t<span v-if="diff_seconds>0"> <b><i\n\t\t\t\tclass="fa fa-fast-forward"></i> {{labels.next_share}}</b> {{labels.in}}</span>\n\t\t<small v-if="timediff !== \'\'">{{timediff}}</small>\n\t</div>\n'},function(t,e){t.exports='\n\t<div>\n\t\t<div class="columns panel-header">\n\t\t\t<div class="column header-logo vertical-align">\n\t\t\t\t<div>\n\t\t\t\t\t<img :src="plugin_logo" class="plugin-logo avatar avatar-lg"/>\n\t\t\t\t\t<h1 class="plugin-title d-inline-block">Revive Old Posts</h1><span class="powered d-inline-block"> {{labels.by}} <a\n\t\t\t\t\t\thref="https://revive.social" target="_blank"><b>Revive.Social</b></a></span>\n\t\t\t\t\t<div id="rop_social_actions">\n\t\t\t\t\t<a href="https://docs.google.com/forms/d/e/1FAIpQLSdxYonOXjV9kOYICu1Wo7CK6uaKefUFkzbd_w9YfQDbl193Og/viewform" target="_blank" class="submit-feedback"><span><i class="fa fa-commenting" aria-hidden="true"></i></span> {{labels.help_improve}}</a>\n\t\t\t\t\t<a href="https://twitter.com/intent/tweet?text=Keep%20your%20content%20fresh%2C%20share%20it%20on%20autopilot%20&url=http%3A%2F%2Frevive.social%2Fplugins%2Frevive-old-post%2F&via=ReviveSocial" target="_blank" class="tweet-about-it"><span><i class="fa fa-twitter" aria-hidden="true"></i></span> {{labels.tweet_about_it}}</a>\n\t\t\t\t\t<a href="https://wordpress.org/support/plugin/tweet-old-post/reviews/#new-post" target="_blank" class="leave-a-review"><span><i class="fa fa-star" aria-hidden="true"></i></span> {{labels.review_it}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div v-if=" is_rest_api_error " class="toast toast-error rop-api-not-available" v-html="labels.api_not_available">\n\t\t\t</div>\n\t\t\t<div class="sidebar sidebar-top card rop-container-start">\n\t\t\t\t<div class="toast rop-current-time" v-if="formatedDate">\n\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t</div>\n\t\t\t\t<countdown :current_time="current_time"/>\n\t\t\t\t<button class="btn btn-sm" :class="btn_class"\n\t\t\t\t :data-tooltip="labels.active_account_warning"\n\t\t\t\t @click="togglePosting()" :disabled="haveAccounts">\n\t\t\t\t\t<i class="fa fa-play" v-if="!is_loading && !start_status"></i>\n\t\t\t\t\t<i class="fa fa-stop" v-else-if="!is_loading && start_status"></i>\n\t\t\t\t\t<i class="fa fa-spinner fa-spin" v-else></i>\n\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="columns">\n\t\t\t<div class="panel column col-9 col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">\n\t\t\t\t<div class="panel-nav" style="padding: 8px;">\n\t\t\t\t\t<ul class="tab ">\n\t\t\t\t\t\t<li class="tab-item c-hand" v-for="tab in displayTabs"\n\t\t\t\t\t\t :class="{ active: tab.isActive }" v-bind:id="tab.name.replace(\' \', \'\').toLowerCase()">\n\t\t\t\t\t\t\t<a :class=" ( tab.slug === \'logs\' && logs_no > 0 ) ? \' badge-logs badge\' : \'\' "\n\t\t\t\t\t\t\t :data-badge="logs_no"\n\t\t\t\t\t\t\t @click="switchTab( tab.slug )">{{ tab.name }}</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<component :is="page.template" :type="page.view"></component>\n\t\t\t</div>\n\n\t\t\t<div class="sidebar column col-3 col-xs-12 col-sm-12 col-md-12 col-lg-12"\n\t\t\t :class="\'rop-license-plan-\'+license">\n\n\t\t\t\t<div class="card rop-container-start">\n\t\t\t\t\t<div class="toast rop-current-time" v-if="formatedDate">\n\t\t\t\t\t\t{{labels.now}}: {{ formatedDate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t<countdown :current_time="current_time"/>\n\t\t\t\t\t<button id="rop_start_stop_btn" class="btn" :class="btn_class"\n\t\t\t\t\t :data-tooltip="labels.active_account_warning"\n\t\t\t\t\t @click="togglePosting()" :disabled="haveAccounts">\n\t\t\t\t\t\t<i class="fa fa-play" v-if="!is_loading && !start_status"></i>\n\t\t\t\t\t\t<i class="fa fa-stop" v-else-if="!is_loading && start_status"></i>\n\t\t\t\t\t\t<i class="fa fa-spinner fa-spin" v-else></i>\n\t\t\t\t\t\t{{( start_status ? labels.stop : labels.start )}} {{labels.sharing}}\n\t\t\t\t\t</button>\n\t\t\t\t\t<div id="staging-status" v-if="staging">\n\t\t\t\t\t\t{{labels.staging_status}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<upsell-sidebar></upsell-sidebar>\n\t\t\t\t\t<a href="https://docs.revive.social/" target="_blank" class="btn support_btns">{{labels.rop_docs}}</a>\n\t\t\t\t\t<a v-if="license >= 1" href="https://revive.social/pro-support/" target="_blank" class="btn support_btns">{{labels.rop_support}}</a>\n\t\t\t\t\t<a v-if="license < 1" href="https://revive.social/support/" target="_blank" class="btn support_btns">{{labels.rop_support}}</a>\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t</div>\n'}]);
includes/admin/class-rop-admin.php CHANGED
@@ -344,7 +344,7 @@ class Rop_Admin {
344
  /**
345
  * For twitter we don't have code/state params.
346
  */
347
- if ( ( empty( $code ) || empty( $state ) ) && $network !== 'twitter' ) {
348
  return;
349
  }
350
 
@@ -356,6 +356,7 @@ class Rop_Admin {
356
  if ( ( empty( $oauth_token ) || empty( $oauth_verifier ) ) && $network === 'twitter' ) {
357
  return;
358
  }
 
359
  switch ( $network ) {
360
  case 'linkedin':
361
  $lk_service = new Rop_Linkedin_Service();
@@ -369,6 +370,10 @@ class Rop_Admin {
369
  $pinterest_service = new Rop_Pinterest_Service();
370
  $pinterest_service->authorize();
371
  break;
 
 
 
 
372
  default:
373
  $fb_service = new Rop_Facebook_Service();
374
  $fb_service->authorize();
@@ -791,4 +796,23 @@ class Rop_Admin {
791
 
792
  }
793
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794
  }
344
  /**
345
  * For twitter we don't have code/state params.
346
  */
347
+ if ( ( empty( $code ) && empty( $state ) ) && $network !== 'twitter' ) {
348
  return;
349
  }
350
 
356
  if ( ( empty( $oauth_token ) || empty( $oauth_verifier ) ) && $network === 'twitter' ) {
357
  return;
358
  }
359
+
360
  switch ( $network ) {
361
  case 'linkedin':
362
  $lk_service = new Rop_Linkedin_Service();
370
  $pinterest_service = new Rop_Pinterest_Service();
371
  $pinterest_service->authorize();
372
  break;
373
+ case 'buffer':
374
+ $buffer_service = new Rop_Buffer_Service();
375
+ $buffer_service->authorize();
376
+ break;
377
  default:
378
  $fb_service = new Rop_Facebook_Service();
379
  $fb_service->authorize();
796
 
797
  }
798
 
799
+ /**
800
+ * Clears the array of account IDs.
801
+ *
802
+ * Delete the db option holding the account IDs used to determine when to send an email
803
+ * To website admin, letting them know that all posts have been shared; when the share more than once option is unchecked.
804
+ *
805
+ * @since 8.3.3
806
+ * @access public
807
+ */
808
+ public function rop_clear_one_time_share_accounts() {
809
+
810
+ $settings = new Rop_Settings_Model();
811
+
812
+ if ( ! $settings->get_more_than_once() ) {
813
+ delete_option( 'rop_one_time_share_accounts' );
814
+ }
815
+
816
+ }
817
+
818
  }
includes/admin/class-rop-global-settings.php CHANGED
@@ -199,6 +199,26 @@ class Rop_Global_Settings {
199
  'utm_campaign_medium' => 'social',
200
  'utm_campaign_name' => 'ReviveOldPost',
201
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  'linkedin' => array(
203
  'post_content' => 'post_title',
204
  'custom_meta_field' => '',
199
  'utm_campaign_medium' => 'social',
200
  'utm_campaign_name' => 'ReviveOldPost',
201
  ),
202
+ 'buffer' => array(
203
+ 'post_content' => 'post_title',
204
+ 'custom_meta_field' => '',
205
+ 'maximum_length' => '140',
206
+ 'custom_text' => '',
207
+ 'custom_text_pos' => 'beginning',
208
+ 'include_link' => true,
209
+ 'url_from_meta' => false,
210
+ 'url_meta_key' => '',
211
+ 'short_url' => true,
212
+ 'short_url_service' => 'is.gd',
213
+ 'hashtags' => 'no-hashtags',
214
+ 'hashtags_length' => '10',
215
+ 'hashtags_common' => '',
216
+ 'shortner_credentials' => array(),
217
+ 'hashtags_custom' => '',
218
+ 'image' => false,
219
+ 'utm_campaign_medium' => 'social',
220
+ 'utm_campaign_name' => 'ReviveOldPost',
221
+ ),
222
  'linkedin' => array(
223
  'post_content' => 'post_title',
224
  'custom_meta_field' => '',
includes/admin/helpers/class-rop-post-format-helper.php CHANGED
@@ -818,7 +818,7 @@ class Rop_Post_Format_Helper {
818
  return get_the_post_thumbnail_url( $post_id, 'large' );
819
  }
820
 
821
- if ( get_post_type( $post_id ) == 'attachment' ) {
822
  return wp_get_attachment_url( $post_id );
823
  }
824
 
818
  return get_the_post_thumbnail_url( $post_id, 'large' );
819
  }
820
 
821
+ if ( get_post_type( $post_id ) === 'attachment' ) {
822
  return wp_get_attachment_url( $post_id );
823
  }
824
 
includes/admin/models/class-rop-posts-selector-model.php CHANGED
@@ -309,6 +309,35 @@ class Rop_Posts_Selector_Model extends Rop_Model_Abstract {
309
 
310
  $results = $this->query_results( $account_id, $post_types, $tax_queries, $excluded_by_user );
311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  }
313
 
314
  $this->selection = $results;
@@ -479,6 +508,8 @@ class Rop_Posts_Selector_Model extends Rop_Model_Abstract {
479
  if ( isset( $account_id ) && $account_id ) {
480
  unset( $this->buffer[ $account_id ] );
481
  } else {
 
 
482
  $this->buffer = array();
483
  }
484
  $this->set( 'posts_buffer', $this->buffer );
309
 
310
  $results = $this->query_results( $account_id, $post_types, $tax_queries, $excluded_by_user );
311
 
312
+ } elseif ( empty( $results ) && $this->has_buffer_items( $account_id ) && ! $this->settings->get_more_than_once() ) {
313
+
314
+ $service = new Rop_Services_Model;
315
+ $log = new Rop_Logger();
316
+ $accounts = get_option( 'rop_one_time_share_accounts' );
317
+
318
+ if ( ! is_array( $accounts ) ) {
319
+ $accounts = array();
320
+ }
321
+
322
+ if ( in_array( $account_id, $accounts ) ) {
323
+ return;
324
+ }
325
+
326
+ $admin_email = get_option( 'admin_email' );
327
+ $subject = Rop_I18n::get_labels( 'emails.share_once_sharing_done_subject' );
328
+ $message = Rop_I18n::get_labels( 'emails.share_once_sharing_done_message' );
329
+
330
+ array_push( $accounts, $account_id );
331
+ update_option( 'rop_one_time_share_accounts', $accounts );
332
+
333
+ $count = count( array_keys( get_option( 'rop_one_time_share_accounts' ) ) );
334
+ $active_accounts_count = count( array_keys( $service->get_active_accounts() ) );
335
+
336
+ if ( $count === $active_accounts_count ) {
337
+ if ( wp_mail( $admin_email, $subject, $message ) ) {
338
+ $log->alert_error( $message );
339
+ }
340
+ }
341
  }
342
 
343
  $this->selection = $results;
508
  if ( isset( $account_id ) && $account_id ) {
509
  unset( $this->buffer[ $account_id ] );
510
  } else {
511
+ $admin = new Rop_Admin();
512
+ $admin->rop_clear_one_time_share_accounts();
513
  $this->buffer = array();
514
  }
515
  $this->set( 'posts_buffer', $this->buffer );
includes/admin/services/class-rop-buffer-service.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! function_exists( 'is_plugin_active' ) ) {
4
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
5
+ }
6
+
7
+ if ( is_plugin_active( 'rop-buffer-addon/rop-buffer-addon.php' ) ) {
8
+ include ROP_BUFFER_ADDON;
9
+ } else {
10
+ return;
11
+ }
includes/admin/services/class-rop-facebook-service.php CHANGED
@@ -700,17 +700,22 @@ class Rop_Facebook_Service extends Rop_Services_Abstract {
700
  'headers' => array(
701
  'Content-Type' => 'application/x-www-form-urlencoded',
702
  ),
 
703
 
704
  )
705
  );
706
 
707
- if ( $response['response']['code'] === 200 ) {
 
 
708
  return true;
709
- } else {
710
- $body = json_decode( wp_remote_retrieve_body( $response ), true );
711
  $this->logger->alert_error( 'Error Posting to Facebook: ' . $body['error']['message'] );
712
  $this->rop_get_error_docs( $body['error']['message'] );
713
  return false;
 
 
 
714
  }
715
  }
716
  }
700
  'headers' => array(
701
  'Content-Type' => 'application/x-www-form-urlencoded',
702
  ),
703
+ 'timeout' => 60,
704
 
705
  )
706
  );
707
 
708
+ $body = json_decode( wp_remote_retrieve_body( $response ), true );
709
+
710
+ if ( ! empty( $body['id'] ) ) {
711
  return true;
712
+ } elseif ( ! empty( $body['error']['message'] ) ) {
 
713
  $this->logger->alert_error( 'Error Posting to Facebook: ' . $body['error']['message'] );
714
  $this->rop_get_error_docs( $body['error']['message'] );
715
  return false;
716
+ } else {
717
+ $this->logger->alert_error( 'Error Posting to Facebook, response: ' . print_r( $response, true ) );
718
+ return false;
719
  }
720
  }
721
  }
includes/admin/services/class-rop-linkedin-service.php CHANGED
@@ -435,16 +435,14 @@ class Rop_Linkedin_Service extends Rop_Services_Abstract {
435
  if ( empty( $post_details['post_image'] ) ) {
436
  $new_post = $this->linkedin_article_post( $post_details, $args );
437
  } else {
438
- $new_post = $this->linkedin_article_post( $post_details, $args );
439
- // $new_post = $this->linkedin_image_post( $post_details, $args, $token, $api );
440
  }
441
  } elseif ( get_post_type( $post_details['post_id'] ) === 'attachment' ) {
442
  // Linkedin Api v2 doesn't support video upload. Share as article post
443
  if ( strpos( get_post_mime_type( $post_details['post_id'] ), 'video' ) !== false ) {
444
  $new_post = $this->linkedin_article_post( $post_details, $args );
445
  } else {
446
- $new_post = $this->linkedin_article_post( $post_details, $args );
447
- // $new_post = $this->linkedin_image_post( $post_details, $args, $token, $api );
448
  }
449
  }
450
 
@@ -570,22 +568,24 @@ class Rop_Linkedin_Service extends Rop_Services_Abstract {
570
  $img = $this->get_path_by_url( $post_details['post_image'], $post_details['mimetype'] );
571
  }
572
 
573
- if ( ! class_exists( 'GuzzleHttp\Client' ) ) {
574
- $this->logger->alert_error( 'Error: Cannot find Guzzle' );
575
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  }
577
- $guzzle = new GuzzleHttp\Client();
578
- $guzzle->request(
579
- 'PUT',
580
- $upload_url,
581
- [
582
- 'headers' => [
583
- 'Authorization' => 'Bearer ' . $token,
584
- ],
585
- 'body' => fopen( $img, 'r' ),
586
-
587
- ]
588
- );
589
 
590
  $new_post = array (
591
  'author' => 'urn:li:person:' . $args['id'],
435
  if ( empty( $post_details['post_image'] ) ) {
436
  $new_post = $this->linkedin_article_post( $post_details, $args );
437
  } else {
438
+ $new_post = $this->linkedin_image_post( $post_details, $args, $token, $api );
 
439
  }
440
  } elseif ( get_post_type( $post_details['post_id'] ) === 'attachment' ) {
441
  // Linkedin Api v2 doesn't support video upload. Share as article post
442
  if ( strpos( get_post_mime_type( $post_details['post_id'] ), 'video' ) !== false ) {
443
  $new_post = $this->linkedin_article_post( $post_details, $args );
444
  } else {
445
+ $new_post = $this->linkedin_image_post( $post_details, $args, $token, $api );
 
446
  }
447
  }
448
 
568
  $img = $this->get_path_by_url( $post_details['post_image'], $post_details['mimetype'] );
569
  }
570
 
571
+ $img_mime_type = image_type_to_mime_type( exif_imagetype( $img ) );
572
+ $img_data = fread( fopen( $img, 'r' ), filesize( $img ) );
573
+
574
+ $wp_img_put = wp_remote_request(
575
+ $upload_url,
576
+ [
577
+ 'method' => 'PUT',
578
+ 'headers' => [ 'Authorization' => 'Bearer ' . $token, 'Content-type' => $img_mime_type ],
579
+ 'body' => $img_data,
580
+ ]
581
+ );
582
+
583
+ if ( ! empty( $wp_img_put['body'] ) ) {
584
+ $response_code = $wp_img_put['response']['code'];
585
+ $response_message = $wp_img_put['response']['message'];
586
+ $this->logger->alert_error( $response_code . ' ' . $response_message );
587
+ exit( 1 );
588
  }
 
 
 
 
 
 
 
 
 
 
 
 
589
 
590
  $new_post = array (
591
  'author' => 'urn:li:person:' . $args['id'],
includes/class-rop-i18n.php CHANGED
@@ -311,6 +311,8 @@ The root cause might be either a security plugin which blocks this feature or so
311
  You can try to disable any of the security plugins that you use in order to see if the issue persists or ask the hosting company to further investigate.',
312
  'tweet-old-post'
313
  ),
 
 
314
  ),
315
  'post_editor' => array(
316
  'remove_variation' => __( 'Delete', 'tweet-old-post' ),
@@ -319,6 +321,10 @@ You can try to disable any of the security plugins that you use in order to see
319
  'custom_message_info' => sprintf( __( 'Add share message variations to this post %1$sLearn More%2$s.', 'tweet-old-post' ), '<a class="text-bold" href="https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares" target="_blank">', '</a>' ),
320
  'variation_num' => __( 'Content Variation #', 'tweet-old-post' ),
321
  ),
 
 
 
 
322
  // pro only.
323
  'publish_now' => array(
324
  'share_on_update' => __( 'Share <b>immediately</b> via <small>Revive Old Posts</small> ', 'tweet-old-post' ),
311
  You can try to disable any of the security plugins that you use in order to see if the issue persists or ask the hosting company to further investigate.',
312
  'tweet-old-post'
313
  ),
314
+ 'rop_support' => __( 'Get Support', 'tweet-old-post' ),
315
+ 'rop_docs' => __( 'Documentation', 'tweet-old-post' ),
316
  ),
317
  'post_editor' => array(
318
  'remove_variation' => __( 'Delete', 'tweet-old-post' ),
321
  'custom_message_info' => sprintf( __( 'Add share message variations to this post %1$sLearn More%2$s.', 'tweet-old-post' ), '<a class="text-bold" href="https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares" target="_blank">', '</a>' ),
322
  'variation_num' => __( 'Content Variation #', 'tweet-old-post' ),
323
  ),
324
+ 'emails' => array(
325
+ 'share_once_sharing_done_subject' => __( 'ROP - All Posts Shared', 'tweet-old-post' ),
326
+ 'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Old Posts plugin dashboard.', 'tweet-old-post' ),
327
+ ),
328
  // pro only.
329
  'publish_now' => array(
330
  'share_on_update' => __( 'Share <b>immediately</b> via <small>Revive Old Posts</small> ', 'tweet-old-post' ),
includes/class-rop.php CHANGED
@@ -68,7 +68,7 @@ class Rop {
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'rop';
71
- $this->version = '8.3.2';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
@@ -248,6 +248,12 @@ class Rop {
248
  $factory = new Rop_Services_Factory();
249
  $global_settings = new Rop_Global_Settings();
250
  foreach ( $global_settings->get_all_services_handle() as $service ) {
 
 
 
 
 
 
251
  try {
252
  ${$service . '_service'} = $factory->build( $service );
253
  ${$service . '_service'}->expose_endpoints();
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'rop';
71
+ $this->version = '8.3.3';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
248
  $factory = new Rop_Services_Factory();
249
  $global_settings = new Rop_Global_Settings();
250
  foreach ( $global_settings->get_all_services_handle() as $service ) {
251
+
252
+ // Skip if the buffer addon is not active.
253
+ if ( ! class_exists( 'Rop_Buffer_Service' ) && $service === 'buffer' ) {
254
+ continue;
255
+ }
256
+
257
  try {
258
  ${$service . '_service'} = $factory->build( $service );
259
  ${$service . '_service'}->expose_endpoints();
readme.md CHANGED
@@ -134,6 +134,14 @@ http://revive.social/plugins/revive-old-post
134
 
135
 
136
  ## Changelog ##
 
 
 
 
 
 
 
 
137
  ### 8.3.2 - 2019-05-27 ###
138
 
139
  * Fix: Log would some times show the wrong status message for the share
134
 
135
 
136
  ## Changelog ##
137
+ ### 8.3.3 - 2019-07-10 ###
138
+
139
+ * New: An email will be sent to admin email address if the "Share more than once" option is unchecked and sharing is complete
140
+ * New: Documentation and support buttons on plugin dashboard
141
+ * Fix: LinkedIn Image sharing
142
+ * Fix: Facebook sharing timeout on some servers
143
+
144
+
145
  ### 8.3.2 - 2019-05-27 ###
146
 
147
  * Fix: Log would some times show the wrong status message for the share
readme.txt CHANGED
@@ -134,6 +134,14 @@ http://revive.social/plugins/revive-old-post
134
 
135
 
136
  == Changelog ==
 
 
 
 
 
 
 
 
137
  = 8.3.2 - 2019-05-27 =
138
 
139
  * Fix: Log would some times show the wrong status message for the share
134
 
135
 
136
  == Changelog ==
137
+ = 8.3.3 - 2019-07-10 =
138
+
139
+ * New: An email will be sent to admin email address if the "Share more than once" option is unchecked and sharing is complete
140
+ * New: Documentation and support buttons on plugin dashboard
141
+ * Fix: LinkedIn Image sharing
142
+ * Fix: Facebook sharing timeout on some servers
143
+
144
+
145
  = 8.3.2 - 2019-05-27 =
146
 
147
  * Fix: Log would some times show the wrong status message for the share
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"0ba4c8e7e71eef039a60a80d8441938d","uninstall.php":"9fc5df63a7d12a224ae1c02f12e0e930"}
1
+ {"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"c9e577b767cf01adb8ca5e539e92a7ad","uninstall.php":"78622711d6e7a39550b1f5f8be8bf2a4"}
tweet-old-post.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Revive Old Posts
17
  * Plugin URI: https://revive.social/
18
  * Description: WordPress plugin that helps you to keeps your old posts alive by sharing them and driving more traffic to them from twitter/facebook or linkedin. It also helps you to promote your content. You can set time and no of posts to share to drive more traffic.For questions, comments, or feature requests, <a href="http://revive.social/support/?utm_source=plugindesc&utm_medium=announce&utm_campaign=top">contact </a> us!
19
- * Version: 8.3.2
20
  * Author: revive.social
21
  * Author URI: https://revive.social/
22
  * Requires at least: 3.5
@@ -98,12 +98,13 @@ function run_rop() {
98
  }
99
 
100
  define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
101
- define( 'ROP_LITE_VERSION', '8.3.2' );
102
  define( 'ROP_LITE_BASE_FILE', __FILE__ );
103
  define( 'ROP_DEBUG', false );
104
  define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
105
  define( 'ROP_PATH', plugin_dir_path( __FILE__ ) );
106
  define( 'ROP_LITE_URL', plugin_dir_url( __FILE__ ) );
 
107
 
108
  // Authorization APP Data
109
  define( 'ROP_AUTH_APP_URL', 'https://app.revive.social' );
16
  * Plugin Name: Revive Old Posts
17
  * Plugin URI: https://revive.social/
18
  * Description: WordPress plugin that helps you to keeps your old posts alive by sharing them and driving more traffic to them from twitter/facebook or linkedin. It also helps you to promote your content. You can set time and no of posts to share to drive more traffic.For questions, comments, or feature requests, <a href="http://revive.social/support/?utm_source=plugindesc&utm_medium=announce&utm_campaign=top">contact </a> us!
19
+ * Version: 8.3.3
20
  * Author: revive.social
21
  * Author URI: https://revive.social/
22
  * Requires at least: 3.5
98
  }
99
 
100
  define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
101
+ define( 'ROP_LITE_VERSION', '8.3.3' );
102
  define( 'ROP_LITE_BASE_FILE', __FILE__ );
103
  define( 'ROP_DEBUG', false );
104
  define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
105
  define( 'ROP_PATH', plugin_dir_path( __FILE__ ) );
106
  define( 'ROP_LITE_URL', plugin_dir_url( __FILE__ ) );
107
+ define( 'ROP_BUFFER_ADDON', plugin_dir_path( __DIR__ ) . 'rop-buffer-addon/buffer-service.php' );
108
 
109
  // Authorization APP Data
110
  define( 'ROP_AUTH_APP_URL', 'https://app.revive.social' );
uninstall.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Fired when the plugin is uninstalled.
5
  *
6
- * @link https://themeisle.com/
7
  * @since 8.0.0
8
  *
9
  * @package Rop
3
  /**
4
  * Fired when the plugin is uninstalled.
5
  *
6
+ * @link https://revive.social/
7
  * @since 8.0.0
8
  *
9
  * @package Rop
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitba948e47364d7624bf499e275582450f::getLoader();
vendor/codeinwp/themeisle-sdk/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ## [3.0.7](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.6...v3.0.7) (2019-05-27)
2
 
3
 
1
+ ## [3.0.9](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.8...v3.0.9) (2019-06-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * adds new icon for dashboard widget ([de78068](https://github.com/Codeinwp/themeisle-sdk/commit/de78068))
7
+ * anchor element on license activation message which should link to the license field, fix [#57](https://github.com/Codeinwp/themeisle-sdk/issues/57) ([2e78856](https://github.com/Codeinwp/themeisle-sdk/commit/2e78856))
8
+ * change uninstall feedback logo with new version, fix [#58](https://github.com/Codeinwp/themeisle-sdk/issues/58) ([2554a4f](https://github.com/Codeinwp/themeisle-sdk/commit/2554a4f))
9
+ * remove soon to expire notice, fix https://github.com/Codeinwp/themeisle/issues/752 ([a126225](https://github.com/Codeinwp/themeisle-sdk/commit/a126225))
10
+
11
+ ## [3.0.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.7...v3.0.8) (2019-05-28)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * undefined class on diff module which should check the class on global namespace ([df6bb12](https://github.com/Codeinwp/themeisle-sdk/commit/df6bb12))
17
+
18
  ## [3.0.7](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.6...v3.0.7) (2019-05-27)
19
 
20
 
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  return;
15
  }
16
  // Current SDK version and path.
17
- $themeisle_sdk_version = '3.0.7';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
14
  return;
15
  }
16
  // Current SDK version and path.
17
+ $themeisle_sdk_version = '3.0.9';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php CHANGED
@@ -127,10 +127,10 @@ class Dashboard_Widget extends Abstract_Module {
127
  }
128
 
129
  #themeisle h2.hndle {
130
- background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0xLjQzLDUuMyw1LjMsMCwwLDEtMS4yMS0zLjU0LDEzLjgxLDEzLjgxLD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S4zNSwxLjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
131
  background-repeat: no-repeat;
132
  background-position: 92% 50%;
133
- background-size: 30px;
134
  }
135
 
136
  #themeisle .inside {
127
  }
128
 
129
  #themeisle h2.hndle {
130
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABbCAMAAADncTNAAAAAtFBMVEVHcEyAgIB/f3+xsbGgoaGBgYGCgoKKioqAgIC1tbW5ubnFx8iAgIDU1taBgYGCgoKAgIC0tLXW19jW2NiAgIC3uLiBgYHLzMy4uLhycnLW19d/f3/T1NW0tLTX19mVlZWvr6+BgYHl5eWKiottbW5JSUnW2Nm5ubnh4eHT1NWVlZVjY2N4eHh9fX6pqqq+v79PT0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OL/uRUgZyQr7NCWtWwiUSLc4arfJa7lpszTA1OJZAQ8w8dXFrR5YHzCWSnS3pZ18tOi4Ps4vl/c7i/6qomjRecN+UubrPyPGn/VEMU3T0UFHkaPzpgjxmJsnjmrtionlMDZiog0TsY/DPtn8SXtlBvbtxKtwopy7lqW3smQO+yoGE1Uu55GJ3pmI8ygoejZNnqj0vnIRCyTKfLstRdtStGQi09myUsvwvlkuzSUXbV+Xz5ryBebV33fln/A/moud69FZiEYAAAAASUVORK5CYII=');
131
  background-repeat: no-repeat;
132
  background-position: 92% 50%;
133
+ background-size: 25px;
134
  }
135
 
136
  #themeisle .inside {
vendor/codeinwp/themeisle-sdk/src/Modules/Endpoint.php CHANGED
@@ -273,7 +273,7 @@ class Endpoint extends Abstract_Module {
273
 
274
  // fetch the calculated hashes.
275
  if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) {
276
- return new WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) );
277
  }
278
 
279
  $hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true );
273
 
274
  // fetch the calculated hashes.
275
  if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) {
276
+ return new \WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) );
277
  }
278
 
279
  $hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true );
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php CHANGED
@@ -169,7 +169,6 @@ class Licenser extends Abstract_Module {
169
  $status = $this->get_license_status();
170
  $no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
171
  $no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
172
- $expiration_string = apply_filters( $this->product->get_key() . '_lc_expiration_string', 'Your license is about to expire for %s. You can go to %s and renew it ' );
173
 
174
  // No activations left for this license.
175
  if ( 'valid' != $status && $this->check_activation() ) {
@@ -195,7 +194,7 @@ class Licenser extends Abstract_Module {
195
  ?>
196
  <div class="error">
197
  <p>
198
- <strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() ); ?> </strong>
199
  </p>
200
  </div>
201
  <?php
@@ -203,26 +202,6 @@ class Licenser extends Abstract_Module {
203
  return false;
204
  }
205
 
206
- // Expired and soon to expire license.
207
- if ( 'valid' == $status && $this->check_expiration() ) {
208
- ?>
209
- <div class="update-nag">
210
- <p>
211
- <strong>
212
- <?php
213
- echo sprintf(
214
- $expiration_string,
215
- $this->product->get_name() . ' ' . $this->product->get_type(),
216
- '<a href="' . $this->renew_url() . '" target="_blank">' . $this->get_distributor_name() . '</a>'
217
- );
218
- ?>
219
- </strong>
220
- </p>
221
- </div>
222
- <?php
223
- return false;
224
- }
225
-
226
  return true;
227
  }
228
 
169
  $status = $this->get_license_status();
170
  $no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
171
  $no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
 
172
 
173
  // No activations left for this license.
174
  if ( 'valid' != $status && $this->check_activation() ) {
194
  ?>
195
  <div class="error">
196
  <p>
197
+ <strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() . '_license' ); ?> </strong>
198
  </p>
199
  </div>
200
  <?php
202
  return false;
203
  }
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  return true;
206
  }
207
 
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php CHANGED
@@ -154,7 +154,7 @@ class Uninstall_Feedback extends Abstract_Module {
154
  $suffix = Product::THEME_TYPE === $type ? 'theme-install-php' : 'plugins-php';
155
  $icon = esc_attr( apply_filters( $this->product->get_slug() . '_uninstall_feedback_icon', '' ) );
156
  if ( empty( $icon ) ) {
157
- $icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNkVDM0M4RkYxMzMxMUU3OEM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OnV3RJp0og11Pa0nSMrRIK9VUtLLE3M6d+Dui36IM57ehqWr3oD+zGRYTFmtowQcQv9HC9Hy6ye42WCfZeDz81NSxFpfVqZbXVU0qsCk5OvV8xdGSyWmdD9oAW5v1I2sjO3ZkL2V1fv90aoidJzypca2cc3Jf8a7pq/CHS8uwJfXnIvthW7FsbI74Uj3Sz9GOScC/fNqDXmQTRXS87mlFARnzYwnll3U1JZFmR7g7dba9Bjh1F4Ot4IKjSUY0vslKzs0CLle3qZ70GLS5c16c4rBqqL8kloN1PsqX9K9aea7+42gHEfaKeLDJz+MNRd/HjedfB+unPYnloQWg4F52Dh8qO8lHk+Jtv+INWSjpp+MarjAYvvnfVNxSXOrlJWP8pY07BaClRLUl//g8Fma7FJqmfVAU3Q9WMfrzFF9ZkdxQ5GTtGoN40lev4cfblVmbST0xBnmI/xHdhcVDo6A8++UlH0+t28qrlxxPVbnZnBOjYOy9OG2Hm6OZPz9/q6EHNG4eTlHuIQaPY7mzN+Yn1N9JMMq0mQ/icquHmpwLa/LXotHVPEalD5EP23l9VUc+fUc9UoOKQU/9x7OLSndelJfHwesckRqtKyVdnLbOjQ4hUPuATP+3v4r3n8LMAAsR90w+kkNLQAAAABJRU5ErkJggg==';
158
  }
159
  ?>
160
  <style type="text/css" id="<?php echo $key; ?>ti-deactivate-css">
@@ -171,7 +171,7 @@ class Uninstall_Feedback extends Abstract_Module {
171
  }
172
 
173
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_title {
174
- background: url('<?php echo $icon; ?>') 40px 30px no-repeat;
175
  border: none;
176
  box-sizing: border-box;
177
  color: #373e40;
154
  $suffix = Product::THEME_TYPE === $type ? 'theme-install-php' : 'plugins-php';
155
  $icon = esc_attr( apply_filters( $this->product->get_slug() . '_uninstall_feedback_icon', '' ) );
156
  if ( empty( $icon ) ) {
157
+ $icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAYfklEQVR4Xu1dCZRdR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w0w0aIa+1Y6kdTevxmzwzlBDMAe0QTH0Rth14Tbs+Jj2tddK7Nibx7VE/2R310rqTSyIgFbBWkdFWaifiIMXMuIw8t0eGnJwQ7xDY4S8BjUB3G8wt0Qktn3+t7RnsdEWf9h5zB+KYmcVRCsTHHocrd+35nQeArntnQuq6+nCgGmTtl99u/NIJH/DTZnjdG5LDp1zV/mykMT3ajEN6/Faj7EManDPEygc/yQRSd+Ce5dZkPxY65raWoICKIwRkrJG4bXKfqAFIfmXLv1MBMsjRcx9uYnr7zD0r+dKoB+d0d/rDJsNAy9WWpx5HInYY8u5CRnfuQb9FNPxZtBrDb6sq1hV1c7EovYybbwK8Hv0psfCDToKKua1JAlD+QEBK1uGt4vLc+rCLfyeeJfR5eJwN+Uio4ckwfjsSl06Jm7uK0s4SFVJxhETOaPmj6TPvAIjrTLt1AHN006YQbHpfnjEfa8k7RWg+um0dSNuq6g3Emf0Z8vAZG14MQPJM3Lw1clpLW4mwLEqxFUcIe+Vd2LrS9EbOMB1mJrZfr4OaajMttgcjv1OlJDXACcIk5IqExeWAfkuYkl04sf4FfFt4uunxzvLmtz5fFNRKWEjFzbIG6qu996Q6OS4Vs1327XLA7vQ+sW1lYVr/55OvllGmB/8t0hK73x9phsdazYLNZd0KKWxj9b6KQBWBKgJVBKoIVBGoIlBFoIpAFYEqAlUEqghUEagiUEWgikAVgSoCVQT+PyDwvzu4/j1uyQmRAAAAAElFTkSuQmCC';
158
  }
159
  ?>
160
  <style type="text/css" id="<?php echo $key; ?>ti-deactivate-css">
171
  }
172
 
173
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_title {
174
+ background: url('<?php echo $icon; ?>') 23px 0px no-repeat;
175
  border: none;
176
  box-sizing: border-box;
177
  color: #373e40;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit3e5b36e0a323c4e8d7f5b0e20a3efa99
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire3e5b36e0a323c4e8d7f5b0e20a3efa99($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire3e5b36e0a323c4e8d7f5b0e20a3efa99($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitba948e47364d7624bf499e275582450f
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitba948e47364d7624bf499e275582450f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitba948e47364d7624bf499e275582450f', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequireba948e47364d7624bf499e275582450f($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequireba948e47364d7624bf499e275582450f($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -246,17 +246,17 @@
246
  },
247
  {
248
  "name": "codeinwp/themeisle-sdk",
249
- "version": "3.0.7",
250
- "version_normalized": "3.0.7.0",
251
  "source": {
252
  "type": "git",
253
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
254
- "reference": "f7395c814e9058a767021c41192141f38c44bee2"
255
  },
256
  "dist": {
257
  "type": "zip",
258
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f7395c814e9058a767021c41192141f38c44bee2",
259
- "reference": "f7395c814e9058a767021c41192141f38c44bee2",
260
  "shasum": ""
261
  },
262
  "require-dev": {
@@ -264,7 +264,7 @@
264
  "squizlabs/php_codesniffer": "^3.1",
265
  "wp-coding-standards/wpcs": "^1.0.0"
266
  },
267
- "time": "2019-05-27 12:17:51",
268
  "type": "library",
269
  "installation-source": "dist",
270
  "notification-url": "https://packagist.org/downloads/",
246
  },
247
  {
248
  "name": "codeinwp/themeisle-sdk",
249
+ "version": "3.0.9",
250
+ "version_normalized": "3.0.9.0",
251
  "source": {
252
  "type": "git",
253
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
254
+ "reference": "259e2afb33bd523f9807e04ace921f8690350a31"
255
  },
256
  "dist": {
257
  "type": "zip",
258
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/259e2afb33bd523f9807e04ace921f8690350a31",
259
+ "reference": "259e2afb33bd523f9807e04ace921f8690350a31",
260
  "shasum": ""
261
  },
262
  "require-dev": {
264
  "squizlabs/php_codesniffer": "^3.1",
265
  "wp-coding-standards/wpcs": "^1.0.0"
266
  },
267
+ "time": "2019-06-26 14:38:00",
268
  "type": "library",
269
  "installation-source": "dist",
270
  "notification-url": "https://packagist.org/downloads/",