Changeset 3449855
- Timestamp:
- 01/29/2026 05:19:06 PM (2 months ago)
- Location:
- seraphinite-accelerator
- Files:
-
- 143 added
- 16 edited
-
tags/2.28.9 (added)
-
tags/2.28.9/Admin.js (added)
-
tags/2.28.9/Cmn (added)
-
tags/2.28.9/Cmn/AdminUi.css (added)
-
tags/2.28.9/Cmn/AdminUi.js (added)
-
tags/2.28.9/Cmn/Cmn.js (added)
-
tags/2.28.9/Cmn/Db.php (added)
-
tags/2.28.9/Cmn/Ext (added)
-
tags/2.28.9/Cmn/Ext/JS (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/lazysizes.js (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/lazysizes.min.js (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/plugins (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/plugins/unveilhooks (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.js (added)
-
tags/2.28.9/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.min.js (added)
-
tags/2.28.9/Cmn/Ext/PHP (added)
-
tags/2.28.9/Cmn/Ext/PHP/JShrink (added)
-
tags/2.28.9/Cmn/Ext/PHP/JShrink/Minifier.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/Options.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/PHPSQLParser.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/exceptions (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/exceptions/InvalidParameterException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCalculatePositionException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCreateSQLException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnsupportedFeatureException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/lexer (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/lexer/LexerSplitter.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/lexer/PHPSQLLexer.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/positions (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/positions/PositionCalculator.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/AbstractProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/BracketProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnDefinitionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnListProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/CreateDefinitionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/CreateProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DefaultProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DeleteProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DescProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DescribeProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DropProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/DuplicateProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ExplainProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ExpressionListProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/FromProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/GroupByProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/HavingProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/IndexColumnListProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/IndexProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/InsertProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/IntoProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/LimitProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/OptionsProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/OrderByProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionDefinitionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionOptionsProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/RecordProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ReferenceDefinitionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/RenameProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ReplaceProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SQLChunkProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SQLProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SelectExpressionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SelectProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SetProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ShowProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/SubpartitionDefinitionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/TableProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/UnionProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/UpdateProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/UsingProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/ValuesProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/WhereProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/processors/WithProcessor.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/utils (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionToken.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionType.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/PHPSQLParser/utils/PHPSQLParserConstants.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port (added)
-
tags/2.28.9/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Colors.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Command.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Minifier.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Utils.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/jsmin-php (added)
-
tags/2.28.9/Cmn/Ext/PHP/jsmin-php/JSMin.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/jsmin-php/UnterminatedCommentException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/jsmin-php/UnterminatedRegExpException.php (added)
-
tags/2.28.9/Cmn/Ext/PHP/jsmin-php/UnterminatedStringException.php (added)
-
tags/2.28.9/Cmn/Fs.php (added)
-
tags/2.28.9/Cmn/Gen.js (added)
-
tags/2.28.9/Cmn/Gen.php (added)
-
tags/2.28.9/Cmn/Img.php (added)
-
tags/2.28.9/Cmn/Net.js (added)
-
tags/2.28.9/Cmn/Plugin.php (added)
-
tags/2.28.9/Cmn/Ui.js (added)
-
tags/2.28.9/Cmn/Ui.php (added)
-
tags/2.28.9/Images (added)
-
tags/2.28.9/Images/ProductLogo.png (added)
-
tags/2.28.9/Images/Test.css (added)
-
tags/2.28.9/Images/Test.css.gz (added)
-
tags/2.28.9/Images/Test.js (added)
-
tags/2.28.9/Images/Test.js.gz (added)
-
tags/2.28.9/Images/Test.png (added)
-
tags/2.28.9/Images/Test.png.avif (added)
-
tags/2.28.9/Images/Test.png.webp (added)
-
tags/2.28.9/Images/VendorLogo.png (added)
-
tags/2.28.9/Images/hosting-icon-banner.svg (added)
-
tags/2.28.9/cache.php (added)
-
tags/2.28.9/cache_ext.php (added)
-
tags/2.28.9/cache_ext_CloudFlareHooksEx.php (added)
-
tags/2.28.9/cache_obj.php (added)
-
tags/2.28.9/common.php (added)
-
tags/2.28.9/content.php (added)
-
tags/2.28.9/content_css.php (added)
-
tags/2.28.9/content_css_ex.php (added)
-
tags/2.28.9/content_ex.php (added)
-
tags/2.28.9/content_frm.php (added)
-
tags/2.28.9/content_img.php (added)
-
tags/2.28.9/content_js.php (added)
-
tags/2.28.9/htmlparser.php (added)
-
tags/2.28.9/icon.png (added)
-
tags/2.28.9/languages (added)
-
tags/2.28.9/languages/seraphinite-accelerator-Admin-en_US.json (added)
-
tags/2.28.9/languages/seraphinite-accelerator-Admin-ru_RU.json (added)
-
tags/2.28.9/languages/seraphinite-accelerator-Gen-en_US.json (added)
-
tags/2.28.9/languages/seraphinite-accelerator-Gen-ru_RU.json (added)
-
tags/2.28.9/languages/seraphinite-accelerator-admin-en_US.mo (added)
-
tags/2.28.9/languages/seraphinite-accelerator-admin-ru_RU.mo (added)
-
tags/2.28.9/languages/seraphinite-accelerator-admin.pot (added)
-
tags/2.28.9/languages/seraphinite-accelerator-en_US.mo (added)
-
tags/2.28.9/languages/seraphinite-accelerator-ru_RU.mo (added)
-
tags/2.28.9/languages/seraphinite-accelerator.pot (added)
-
tags/2.28.9/main.php (added)
-
tags/2.28.9/oper.php (added)
-
tags/2.28.9/options.php (added)
-
tags/2.28.9/plugin_root.php (added)
-
tags/2.28.9/readme.txt (added)
-
tags/2.28.9/sql.php (added)
-
tags/2.28.9/third-party-software.html (added)
-
tags/2.28.9/tune.php (added)
-
trunk/Admin.js (modified) (1 diff)
-
trunk/Cmn/Gen.php (modified) (2 diffs)
-
trunk/Cmn/Plugin.php (modified) (13 diffs)
-
trunk/cache.php (modified) (2 diffs)
-
trunk/common.php (modified) (9 diffs)
-
trunk/languages/seraphinite-accelerator-admin-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin.pot (modified) (3 diffs)
-
trunk/languages/seraphinite-accelerator-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator.pot (modified) (1 diff)
-
trunk/main.php (modified) (3 diffs)
-
trunk/oper.php (modified) (1 diff)
-
trunk/options.php (modified) (5 diffs)
-
trunk/plugin_root.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seraphinite-accelerator/trunk/Admin.js
r3414029 r3449855 32 32 function R(){R=_asyncToGenerator(_regenerator.mark(function l(n,r,k){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:case "end":return g.stop()}},l,this)}));return R.apply(this,arguments)}function N(){N=_asyncToGenerator(_regenerator.mark(function l(n,r,k){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:case "end":return g.stop()}},l,this)}));return N.apply(this,arguments)}function M(){M=_asyncToGenerator(_regenerator.mark(function k(n,r){var l,g, 33 33 v,e;return _regenerator.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:e=function(){e=_asyncToGenerator(_regenerator.mark(function q(){return _regenerator.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,seraph_accel.Manager._int.OnDataRefresh(n,r);case 2:g();case 3:case "end":return a.stop()}},q,this)}));return e.apply(this,arguments)},v=function(){return e.apply(this,arguments)},g=function(){var f=1E3*parseInt(l.val(),10);100>f&&(f=100);clearTimeout(seraph_accel.Manager._int.refreshTimer); 34 seraph_accel.Manager._int.refreshTimer=setTimeout(v,f)},l=jQuery(n).find("# operate .tmDataRefresh"),l.on("change",g),v();case 6:case "end":return h.stop()}},k,this)}));return M.apply(this,arguments)}function O(){O=_asyncToGenerator(_regenerator.mark(function k(n,r){var l,g,v,e,h,f,q,a,b,c,m,d,p,t,w,u,A;return _regenerator.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return l=jQuery(n).find("#status").first(),g=jQuery(n).find("#stat").first(),v=g.find(".seraph_accel_spinner"),e=g.find('input[type="button"]:not(.cancel)'),35 h=g.find('input[type="button"].cancel'),f=jQuery(n).find("#operate").first(),q=f.find(".seraph_accel_spinner"),a=f.find(".descr"),b=f.find('input[type="button"]:not(.cancel)'),c=f.find('input[type="button"].cancel'),m=jQuery(n).find("#queue").first(),m.find(".content"),d=m.find(".maxItems"),m.find(".seraph_accel_spinner"),m.find('input[type="button"]'),m.find(".descrNums"),z.prev=16,z.next=19,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"GetData",{nMaxQueueItems:d.val(), 36 allSites:r?!0:void 0}),type:"GET",cache:!1,dataType:"json"});case 19:u=z.sent;z.next=24;break;case 22:z.prev=22,z.t0=z["catch"](16);case 24:if(u){z.next=26;break}return z.abrupt("return");case 26:if(!r){for(A in u.status.cont)l.find('[data-id-cont="'+A+'"]').html(u.status.cont[A]);seraph_accel.Manager._int.notRefreshPostUpd||(p=l.find(".blck.postupd .seraph_accel_spinner"),t=l.find('.blck.postupd input[type="button"]:not(.cancel)'),w=l.find('.blck.postupd input[type="button"].cancel'),u.status.postUpd? 37 (p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshScheUpd||(p=l.find(".blck.scheupd .seraph_accel_spinner"),t=l.find('.blck.scheupd input[type="button"]:not(.cancel)'),w=l.find('.blck.scheupd input[type="button"].cancel'),u.status.scheUpd?(p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshCleanup||(p=l.find(".blck.cleanup .seraph_accel_spinner"), 38 t=l.find('.blck.cleanup input[type="button"]:not(.cancel)'),w=l.find('.blck.cleanup input[type="button"].cancel'),u.status.cleanUp?(p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)))}r||seraph_accel.Manager._int.notRefreshExtDp||(p=l.find(".blck.extdb .seraph_accel_spinner"),t=l.find('.blck.extdb input[type="button"]:not(.cancel)'),w=l.find('.blck.extdb input[type="button"].cancel'),u.extDb.isUpdating?(p.show(),t.prop("disabled",!0),w.prop("disabled", 39 !1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));r||seraph_accel.Manager._int.notRefreshStat||(u.stat.isUpdating?(v.show(),e.prop("disabled",!0),h.prop("disabled",!1)):(v.hide(),e.prop("disabled",!1),h.prop("disabled",!0)),g.find('[data-id-cont="stat"]').html(u.stat.cont));r||seraph_accel.Manager._int.notRefreshOp||(null===u.curOp&&(u.curOp=void 0),void 0!==u.curOp?(q.show(),a.show(),a.text(J(u.curOp)),b.prop("disabled",!0),c.prop("disabled",!1)):(q.hide(),a.hide(),b.prop("disabled",!1),40 c.prop("disabled",!0),a.text("")));case 30:case "end":return z.stop()}},k,this,[[16,22]])}));return O.apply(this,arguments)}function P(){P=_asyncToGenerator(_regenerator.mark(function r(n){var k,l,g,v,e,h,f,q;return _regenerator.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find(".url"),g=k.find(".messages"),v=k.find(".seraph_accel_spinner"),e=k.find('input[type="button"]'),h=0,k.find(".liteChk").prop("checked")&&(h|=1),k.find(".medChk").prop("checked")&&41 (h|= 2),k.find(".tidyChk").prop("checked")&&(h|=524288),g.empty(),v.show(),e.prop("disabled",!0),a.prev=12,a.next=15,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"HtmlCheck",{url:l.val(),norm:h}),type:"POST",data:"",dataType:"json",cache:!1});case 15:f=a.sent;a.next=21;break;case 18:a.prev=18,a.t0=a["catch"](12),f={err:a.t0.statusText};case 21:v.hide();e.prop("disabled",!1);if(!f.err){a.next=26;break}g.append(seraph_accel.Ui.LogItem("error",f.err));return a.abrupt("return");42 case 26:for(q in f.list)q=f.list[q],g.append(seraph_accel.Ui.LogItem(q.severity,q.text));case 27:case "end":return a.stop()}},r,this,[[12,18]])}));return P.apply(this,arguments)}var S=seraph_accel.Wp.Loc.GetApi(),E=S._x,G=S.sprintf;seraph_accel.Settings={_int:{OnUpdateCssAuto:function(x){seraph_accel.Ui.ComboShowDependedItems(x,jQuery(x.parentNode).closest(".blck").first().get(0))},OnLogClear:function(x){return y.apply(this,arguments)}}};seraph_accel.Manager={_int:{OnStatOp:function(x,n){return K.apply(this,43 arguments)},OnCacheOp:function(x,n,r){return D.apply(this,arguments)},OnCacheOpCancel:function(x,n,r){return L.apply(this,arguments)},OnPostUpdCancel:function(x){return H.apply(this,arguments)},OnScheUpdCancel:function(x){return F.apply(this,arguments)},OnExtDbUpdBegin:function(x){return C.apply(this,arguments)},OnExtDbUpdCancel:function(x){return I.apply(this,arguments)},OnQueueDel:function(x,n,r){return Q.apply(this,arguments)},OnQueuePause:function(x,n,r){return R.apply(this,arguments)},OnQueueItemCancel:function(x,44 n,r){return N.apply(this,arguments)},OnDataRefreshInit:function(x,n){return M.apply(this,arguments)},OnDataRefresh:function(x,n){return O.apply(this,arguments)},OnHtmlCheck:function(x){return P.apply(this,arguments)}}};(function(){function x(l){return n.apply(this,arguments)}function n(){n=_asyncToGenerator(_regenerator.mark(function v(g){var e,h;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return e={},f.prev=1,seraph_accel.SelfDiag._int.curAjax=jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 45 "SelfDiag_"+g,{}),cache:!1,dataType:"json"}),f.next=5,seraph_accel.SelfDiag._int.curAjax;case 5:e=f.sent;delete seraph_accel.SelfDiag._int.curAjax;f.next=14;break;case 9:f.prev=9,f.t0=f["catch"](1),delete seraph_accel.SelfDiag._int.curAjax,0===f.t0.status?e.hr=seraph_accel.Gen.hr.S_ABORTED:(e.hr=seraph_accel.Gen.hr.E_FAIL,e.descr="HTTP "+f.t0.status),500==f.t0.status&&(h=document.implementation.createHTMLDocument(""),h.documentElement.innerHTML=f.t0.responseText,h=h.body.textContent,h=seraph_accel.Gen.StrReplaceAll(h,46 "\r",""),h=seraph_accel.Gen.StrReplaceAll(h,["\t","\v"]," "),h=seraph_accel.Gen.StrReplaceAll(h,"\n",". "),(h=seraph_accel.Gen.StrReplaceAllWhileChanging(h,[" ",". . "],[" ",". "]).trim())&&"."!=h&&(e.descr+="<br>"+h));case 14:return f.abrupt("return",e);case 15:case "end":return f.stop()}},v,this,[[1,9]])}));return n.apply(this,arguments)}function r(){r=_asyncToGenerator(_regenerator.mark(function v(g){var e,h,f,q,a,b,c,m,d,p,t,w=arguments;return _regenerator.wrap(function(u){for(;;)switch(u.prev= 47 u.next){case 0:e=1<w.length&&void 0!==w[1]?w[1]:!1;h=jQuery(g.parentNode).closest(".blck").first();f=h.find(".seraph_accel_spinner");q=h.find('input[type="button"]:not(.cancel)');a=h.find('input[type="button"].cancel');b=h.find(".log");c=[{id:"3rdPartySettCompat",name:k("TestName_3rdPartySettCompat","admin.SelfDiag","seraphinite-accelerator")},{id:"AsyncRequest",name:k("TestName_AsyncRequest","admin.SelfDiag","seraphinite-accelerator")},{id:"SetMaxExecTime",name:k("TestName_SetMaxExecTime","admin.SelfDiag",48 "seraphinite-accelerator")},{id:" PageOptimize",name:k("TestName_PageOptimize","admin.SelfDiag","seraphinite-accelerator")},{id:"VendorSrv",name:k("TestName_VendorSrv","admin.SelfDiag","seraphinite-accelerator")},{id:"ExtCache",name:k("TestName_ExtCache","admin.SelfDiag","seraphinite-accelerator")}];b.empty();for(m=0;m<c.length;m++)d=c[m],b.append(seraph_accel.Ui.LogItem("none",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id),!1));if(!e){u.next=11;break}return u.abrupt("return");case 11:f.show(),q.prop("disabled",49 !0),a.prop("disabled",!1),seraph_accel.SelfDiag._int.inProgress=!0,m=0;case 16:if(!(m<c.length)){u.next=31;break}d=c[m];jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem("info",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+k("TestRunning","admin.SelfDiag","seraphinite-accelerator"),!1));u.next=21;return x(d.id);case 21:p=u.sent;t=k("TestSucc","admin.SelfDiag","seraphinite-accelerator");p.hr!=seraph_accel.Gen.hr.S_OK&&(t=seraph_accel.Gen.hr.Succ(p.hr)?p.hr==seraph_accel.Gen.hr.S_ABORTED? 50 k("TestAbort","admin.SelfDiag","seraphinite-accelerator"):p.hr==seraph_accel.Gen.hr.S_FALSE?k("TestNotice","admin.SelfDiag","seraphinite-accelerator"):k("TestWarn","admin.SelfDiag","seraphinite-accelerator"):k("TestError","admin.SelfDiag","seraphinite-accelerator"));p.descr&&(t+="<br>"+p.descr);jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem(p.hr==seraph_accel.Gen.hr.S_OK?"success":seraph_accel.Gen.hr.Succ(p.hr)?p.hr==seraph_accel.Gen.hr.S_FALSE?"normal":"warning":"error",seraph_accel.Ui.Tag("strong", 51 d.name?d.name:d.id)+t,!1));if(seraph_accel.SelfDiag._int.inProgress){u.next=28;break}return u.abrupt("break",31);case 28:m++;u.next=16;break;case 31:f.hide(),q.prop("disabled",!1),a.prop("disabled",!0);case 34:case "end":return u.stop()}},v,this)}));return r.apply(this,arguments)}var k=seraph_accel.Wp.Loc.GetApi()._x;seraph_accel.SelfDiag={_int:{OnStart:function(l){return r.apply(this,arguments)},OnCancel:function(l){l=jQuery(l.parentNode).closest(".blck").first();l.find(".seraph_accel_spinner"); 52 l.find('input[type="button"]:not(.cancel)');l.find('input[type="button"].cancel').prop("disabled",!0);seraph_accel.SelfDiag._int.inProgress=!1;seraph_accel.SelfDiag._int.curAjax&&seraph_accel.SelfDiag._int.curAjax.abort()},inProgress:!1}}})()})();34 seraph_accel.Manager._int.refreshTimer=setTimeout(v,f)},l=jQuery(n).find("#seraph_accel_manage .tmDataRefresh"),l.on("change",g),v();case 6:case "end":return h.stop()}},k,this)}));return M.apply(this,arguments)}function O(){O=_asyncToGenerator(_regenerator.mark(function k(n,r){var l,g,v,e,h,f,q,a,b,c,m,d,p,t,w,u,A;return _regenerator.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return l=jQuery(n).find("#status").first(),g=jQuery(n).find("#stat").first(),v=g.find(".seraph_accel_spinner"),e= 35 g.find('input[type="button"]:not(.cancel)'),h=g.find('input[type="button"].cancel'),f=jQuery(n).find("#operate").first(),q=f.find(".seraph_accel_spinner"),a=f.find(".descr"),b=f.find('input[type="button"]:not(.cancel)'),c=f.find('input[type="button"].cancel'),m=jQuery(n).find("#queue").first(),m.find(".content"),d=m.find(".maxItems"),m.find(".seraph_accel_spinner"),m.find('input[type="button"]'),m.find(".descrNums"),z.prev=16,z.next=19,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 36 "GetData",{nMaxQueueItems:d.val(),allSites:r?!0:void 0}),type:"GET",cache:!1,dataType:"json"});case 19:u=z.sent;z.next=24;break;case 22:z.prev=22,z.t0=z["catch"](16);case 24:if(u){z.next=26;break}return z.abrupt("return");case 26:if(!r){for(A in u.status.cont)l.find('[data-id-cont="'+A+'"]').html(u.status.cont[A]);seraph_accel.Manager._int.notRefreshPostUpd||(p=l.find(".blck.postupd .seraph_accel_spinner"),t=l.find('.blck.postupd input[type="button"]:not(.cancel)'),w=l.find('.blck.postupd input[type="button"].cancel'), 37 u.status.postUpd?(p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshScheUpd||(p=l.find(".blck.scheupd .seraph_accel_spinner"),t=l.find('.blck.scheupd input[type="button"]:not(.cancel)'),w=l.find('.blck.scheupd input[type="button"].cancel'),u.status.scheUpd?(p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshCleanup|| 38 (p=l.find(".blck.cleanup .seraph_accel_spinner"),t=l.find('.blck.cleanup input[type="button"]:not(.cancel)'),w=l.find('.blck.cleanup input[type="button"].cancel'),u.status.cleanUp?(p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)))}r||seraph_accel.Manager._int.notRefreshExtDp||(p=l.find(".blck.extdb .seraph_accel_spinner"),t=l.find('.blck.extdb input[type="button"]:not(.cancel)'),w=l.find('.blck.extdb input[type="button"].cancel'),u.extDb.isUpdating? 39 (p.show(),t.prop("disabled",!0),w.prop("disabled",!1)):(p.hide(),t.prop("disabled",!1),w.prop("disabled",!0)));r||seraph_accel.Manager._int.notRefreshStat||(u.stat.isUpdating?(v.show(),e.prop("disabled",!0),h.prop("disabled",!1)):(v.hide(),e.prop("disabled",!1),h.prop("disabled",!0)),g.find('[data-id-cont="stat"]').html(u.stat.cont));r||seraph_accel.Manager._int.notRefreshOp||(null===u.curOp&&(u.curOp=void 0),void 0!==u.curOp?(q.show(),a.show(),a.text(J(u.curOp)),b.prop("disabled",!0),c.prop("disabled", 40 !1)):(q.hide(),a.hide(),b.prop("disabled",!1),c.prop("disabled",!0),a.text("")));case 30:case "end":return z.stop()}},k,this,[[16,22]])}));return O.apply(this,arguments)}function P(){P=_asyncToGenerator(_regenerator.mark(function r(n){var k,l,g,v,e,h,f,q;return _regenerator.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find(".url"),g=k.find(".messages"),v=k.find(".seraph_accel_spinner"),e=k.find('input[type="button"]'),h=0,k.find(".liteChk").prop("checked")&& 41 (h|=1),k.find(".medChk").prop("checked")&&(h|=2),k.find(".tidyChk").prop("checked")&&(h|=524288),g.empty(),v.show(),e.prop("disabled",!0),a.prev=12,a.next=15,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"HtmlCheck",{url:l.val(),norm:h}),type:"POST",data:"",dataType:"json",cache:!1});case 15:f=a.sent;a.next=21;break;case 18:a.prev=18,a.t0=a["catch"](12),f={err:a.t0.statusText};case 21:v.hide();e.prop("disabled",!1);if(!f.err){a.next=26;break}g.append(seraph_accel.Ui.LogItem("error", 42 f.err));return a.abrupt("return");case 26:for(q in f.list)q=f.list[q],g.append(seraph_accel.Ui.LogItem(q.severity,q.text));case 27:case "end":return a.stop()}},r,this,[[12,18]])}));return P.apply(this,arguments)}var S=seraph_accel.Wp.Loc.GetApi(),E=S._x,G=S.sprintf;seraph_accel.Settings={_int:{OnUpdateCssAuto:function(x){seraph_accel.Ui.ComboShowDependedItems(x,jQuery(x.parentNode).closest(".blck").first().get(0))},OnLogClear:function(x){return y.apply(this,arguments)}}};seraph_accel.Manager={_int:{OnStatOp:function(x, 43 n){return K.apply(this,arguments)},OnCacheOp:function(x,n,r){return D.apply(this,arguments)},OnCacheOpCancel:function(x,n,r){return L.apply(this,arguments)},OnPostUpdCancel:function(x){return H.apply(this,arguments)},OnScheUpdCancel:function(x){return F.apply(this,arguments)},OnExtDbUpdBegin:function(x){return C.apply(this,arguments)},OnExtDbUpdCancel:function(x){return I.apply(this,arguments)},OnQueueDel:function(x,n,r){return Q.apply(this,arguments)},OnQueuePause:function(x,n,r){return R.apply(this, 44 arguments)},OnQueueItemCancel:function(x,n,r){return N.apply(this,arguments)},OnDataRefreshInit:function(x,n){return M.apply(this,arguments)},OnDataRefresh:function(x,n){return O.apply(this,arguments)},OnHtmlCheck:function(x){return P.apply(this,arguments)}}};(function(){function x(l){return n.apply(this,arguments)}function n(){n=_asyncToGenerator(_regenerator.mark(function v(g){var e,h;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return e={},f.prev=1,seraph_accel.SelfDiag._int.curAjax= 45 jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"SelfDiag_"+g,{}),cache:!1,dataType:"json"}),f.next=5,seraph_accel.SelfDiag._int.curAjax;case 5:e=f.sent;delete seraph_accel.SelfDiag._int.curAjax;f.next=14;break;case 9:f.prev=9,f.t0=f["catch"](1),delete seraph_accel.SelfDiag._int.curAjax,0===f.t0.status?e.hr=seraph_accel.Gen.hr.S_ABORTED:(e.hr=seraph_accel.Gen.hr.E_FAIL,e.descr="HTTP "+f.t0.status),500==f.t0.status&&(h=document.implementation.createHTMLDocument(""), 46 h.documentElement.innerHTML=f.t0.responseText,h=h.body.textContent,h=seraph_accel.Gen.StrReplaceAll(h,"\r",""),h=seraph_accel.Gen.StrReplaceAll(h,["\t","\v"]," "),h=seraph_accel.Gen.StrReplaceAll(h,"\n",". "),(h=seraph_accel.Gen.StrReplaceAllWhileChanging(h,[" ",". . "],[" ",". "]).trim())&&"."!=h&&(e.descr+="<br>"+h));case 14:return f.abrupt("return",e);case 15:case "end":return f.stop()}},v,this,[[1,9]])}));return n.apply(this,arguments)}function r(){r=_asyncToGenerator(_regenerator.mark(function v(g){var e, 47 h,f,q,a,b,c,m,d,p,t,w=arguments;return _regenerator.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:e=1<w.length&&void 0!==w[1]?w[1]:!1;h=jQuery(g.parentNode).closest(".blck").first();f=h.find(".seraph_accel_spinner");q=h.find('input[type="button"]:not(.cancel)');a=h.find('input[type="button"].cancel');b=h.find(".log");c=[{id:"3rdPartySettCompat",name:k("TestName_3rdPartySettCompat","admin.SelfDiag","seraphinite-accelerator")},{id:"AsyncRequest",name:k("TestName_AsyncRequest","admin.SelfDiag", 48 "seraphinite-accelerator")},{id:"SetMaxExecTime",name:k("TestName_SetMaxExecTime","admin.SelfDiag","seraphinite-accelerator")},{id:"PageOptimize",name:k("TestName_PageOptimize","admin.SelfDiag","seraphinite-accelerator")},{id:"VendorSrv",name:k("TestName_VendorSrv","admin.SelfDiag","seraphinite-accelerator")},{id:"ExtCache",name:k("TestName_ExtCache","admin.SelfDiag","seraphinite-accelerator")}];b.empty();for(m=0;m<c.length;m++)d=c[m],b.append(seraph_accel.Ui.LogItem("none",seraph_accel.Ui.Tag("strong", 49 d.name?d.name:d.id),!1));if(!e){u.next=11;break}return u.abrupt("return");case 11:f.show(),q.prop("disabled",!0),a.prop("disabled",!1),seraph_accel.SelfDiag._int.inProgress=!0,m=0;case 16:if(!(m<c.length)){u.next=31;break}d=c[m];jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem("info",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+k("TestRunning","admin.SelfDiag","seraphinite-accelerator"),!1));u.next=21;return x(d.id);case 21:p=u.sent;t=k("TestSucc","admin.SelfDiag","seraphinite-accelerator"); 50 p.hr!=seraph_accel.Gen.hr.S_OK&&(t=seraph_accel.Gen.hr.Succ(p.hr)?p.hr==seraph_accel.Gen.hr.S_ABORTED?k("TestAbort","admin.SelfDiag","seraphinite-accelerator"):p.hr==seraph_accel.Gen.hr.S_FALSE?k("TestNotice","admin.SelfDiag","seraphinite-accelerator"):k("TestWarn","admin.SelfDiag","seraphinite-accelerator"):k("TestError","admin.SelfDiag","seraphinite-accelerator"));p.descr&&(t+="<br>"+p.descr);jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem(p.hr==seraph_accel.Gen.hr.S_OK?"success": 51 seraph_accel.Gen.hr.Succ(p.hr)?p.hr==seraph_accel.Gen.hr.S_FALSE?"normal":"warning":"error",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+t,!1));if(seraph_accel.SelfDiag._int.inProgress){u.next=28;break}return u.abrupt("break",31);case 28:m++;u.next=16;break;case 31:f.hide(),q.prop("disabled",!1),a.prop("disabled",!0);case 34:case "end":return u.stop()}},v,this)}));return r.apply(this,arguments)}var k=seraph_accel.Wp.Loc.GetApi()._x;seraph_accel.SelfDiag={_int:{OnStart:function(l){return r.apply(this, 52 arguments)},OnCancel:function(l){l=jQuery(l.parentNode).closest(".blck").first();l.find(".seraph_accel_spinner");l.find('input[type="button"]:not(.cancel)');l.find('input[type="button"].cancel').prop("disabled",!0);seraph_accel.SelfDiag._int.inProgress=!1;seraph_accel.SelfDiag._int.curAjax&&seraph_accel.SelfDiag._int.curAjax.abort()},inProgress:!1}}})()})(); -
seraphinite-accelerator/trunk/Cmn/Gen.php
r3447118 r3449855 1815 1815 static function VarCmp( $v1, $v2 ) 1816 1816 { 1817 if( $v1 < $v2 ) 1818 return( -1 ); 1819 if( $v1 > $v2 ) 1820 return( 1 ); 1821 return( 0 ); 1817 if( $v1 == $v2 ) 1818 return( 0 ); 1819 return( $v1 > $v2 ? 1 : -1 ); 1822 1820 } 1823 1821 … … 3654 3652 $args[ 'provider' ] = 'CURL'; 3655 3653 if( !isset( $args[ 'user-agent' ] ) ) 3656 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28. 8';3654 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28.9'; 3657 3655 if( !isset( $args[ 'timeout' ] ) ) 3658 3656 $args[ 'timeout' ] = 5; -
seraphinite-accelerator/trunk/Cmn/Plugin.php
r3447118 r3449855 307 307 $args[ 'id' ] = 'wordpress-accelerator'; 308 308 $args[ 'name' ] = 'Accelerator'; 309 $args[ 'v' ] = '2.28. 8';309 $args[ 'v' ] = '2.28.9'; 310 310 $args[ 'pk' ] = 'Base'; 311 311 $args[ 'cfg' ] = ''; … … 329 329 $lastCheckPackage = 'Base'; 330 330 331 if( $lastCheckVer !== '2.28. 8' || $lastCheckPackage !== 'Base' )331 if( $lastCheckVer !== '2.28.9' || $lastCheckPackage !== 'Base' ) 332 332 { 333 333 $state = Plugin::StateGet(); 334 334 335 if( $lastCheckVer !== '2.28. 8' && !isset( $state[ 'changeVerCheck' ] ) )335 if( $lastCheckVer !== '2.28.9' && !isset( $state[ 'changeVerCheck' ] ) ) 336 336 { 337 337 $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : ''; … … 350 350 if( !$bForce ) 351 351 { 352 if( $bFirstTimeOnly && $lastCheckVer == '2.28. 8' )352 if( $bFirstTimeOnly && $lastCheckVer == '2.28.9' ) 353 353 return( Gen::S_FALSE ); 354 354 … … 369 369 $args[ 'id' ] = 'wordpress-accelerator'; 370 370 $args[ 'name' ] = 'Accelerator'; 371 $args[ 'v' ] = '2.28. 8';371 $args[ 'v' ] = '2.28.9'; 372 372 $args[ 'pk' ] = 'Base'; 373 373 $args[ 'cfg' ] = ''; … … 386 386 { 387 387 $data[ 'updTime' ] = $curUpdTime; 388 $data[ 'plgVer' ] = '2.28. 8';388 $data[ 'plgVer' ] = '2.28.9'; 389 389 $data[ 'plgPk' ] = 'Base'; 390 390 … … 403 403 $data[ 'mdfTime' ] = $timeMdf; 404 404 $data[ 'updTime' ] = $curUpdTime; 405 $data[ 'plgVer' ] = '2.28. 8';405 $data[ 'plgVer' ] = '2.28.9'; 406 406 $data[ 'plgPk' ] = 'Base'; 407 407 … … 1460 1460 1461 1461 $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' ); 1462 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28. 8' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;1462 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28.9' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null; 1463 1463 $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' ); 1464 1464 $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' ); 1465 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28. 8' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;1465 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28.9' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null; 1466 1466 1467 1467 $urlEula = null; … … 1472 1472 1473 1473 { 1474 $version = esc_html( '2.28. 8' );1474 $version = esc_html( '2.28.9' ); 1475 1475 1476 1476 $res .= Ui::TagOpen( 'div' ); … … 1521 1521 $rmtCfg = PluginRmtCfg::Get(); 1522 1522 1523 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28. 8' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;1523 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28.9' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null; 1524 1524 $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' ); 1525 1525 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' ); … … 2050 2050 2051 2051 $verFrom = self::_PrevVer_GetInt( $plgVerPrev ); 2052 $verTo = self::_PrevVer_GetInt( '2.28. 8' );2052 $verTo = self::_PrevVer_GetInt( '2.28.9' ); 2053 2053 if( $verTo < $verFrom ) 2054 2054 list( $verTo, $verFrom ) = array( $verFrom, $verTo ); … … 2175 2175 continue; 2176 2176 2177 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28. 8' );2177 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28.9' ); 2178 2178 2179 2179 self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true; … … 2242 2242 $scrHndId = Plugin::CmnScriptId( $id ); 2243 2243 2244 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28. 8' );2244 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28.9' ); 2245 2245 if( $id == 'Gen' ) 2246 2246 Plugin::Loc_ScriptLoad( $scrHndId ); … … 2687 2687 var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>"; 2688 2688 sendDataUrl = sendDataUrl.replace( "{EndPointId}", encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) ); 2689 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.28. 8" ) );2689 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.28.9" ) ); 2690 2690 sendDataUrl = sendDataUrl.replace( "{PluginMode}", encodeURI( "base" ) ); 2691 2691 sendDataUrl = sendDataUrl.replace( "{PluginPackage}", encodeURI( "Base" ) ); -
seraphinite-accelerator/trunk/cache.php
r3447118 r3449855 677 677 678 678 if( $bHdr ) 679 @header( 'X-Seraph-Accel-Cache: 2.28. 8;' . $debugInfo );679 @header( 'X-Seraph-Accel-Cache: 2.28.9;' . $debugInfo ); 680 680 681 681 if( $bLog ) … … 1584 1584 { 1585 1585 $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??''); 1586 $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28. 8';1586 $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.9'; 1587 1587 } 1588 1588 -
seraphinite-accelerator/trunk/common.php
r3447118 r3449855 13 13 require_once( __DIR__ . '/Cmn/Plugin.php' ); 14 14 15 const PLUGIN_SETT_VER = 18 6;15 const PLUGIN_SETT_VER = 187; 16 16 const PLUGIN_DATA_VER = 1; 17 17 const PLUGIN_EULA_VER = 1; … … 1191 1191 Gen::SetArrField( $sett, array( 'contPr', 'cp', 'btCntSld' ), false ); 1192 1192 Gen::SetArrField( $sett, array( 'contPr', 'cp', 'btMenu' ), false ); 1193 } 1194 1195 if( $verFrom && $verFrom < 187 ) 1196 { 1197 Gen::SetArrField( $sett, array( 'contPr', 'cp', 'diviVidBox2' ), false ); 1198 Gen::SetArrField( $sett, array( 'contPr', 'cp', 'wcs' ), false ); 1199 Gen::SetArrField( $sett, array( 'contPr', 'cp', 'slckGen' ), false ); 1193 1200 } 1194 1201 … … 1586 1593 array( 1587 1594 'enable' => true, 1595 'name' => 'FOX - Currency Switcher', 1596 'cookies' => array( '@^wccs_changed_currency$@' ), 1597 ), 1598 1599 array( 1600 'enable' => false, 1588 1601 'name' => 'GDPR Cookie Consent', 1589 1602 'cookies' => array( 'viewed_cookie_policy', 'cli_user_preference' ), … … 2025 2038 'diviMvSld' => false, 2026 2039 'diviMvFwHdr' => true, 2027 'diviVidBox' => true, 2040 'diviVidBox' => false, 2041 'diviVidBox2' => true, 2028 2042 'diviVidBg' => true, 2029 2043 'diviVidFr' => false, … … 2086 2100 'btCntSld' => true, 2087 2101 'btMenu' => true, 2102 'wcs' => true, 2103 'slckGen' => true, 2088 2104 2089 2105 ), … … 2285 2301 ), 2286 2302 ), 2287 'skipBad' => true,2303 'skipBad' => false, 2288 2304 'skips' => array(), 2289 2305 ), … … 4128 4144 function GetViewTypeUserAgent( $viewsDeviceGrp ) 4129 4145 { 4130 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28. 8' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );4146 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.9 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) ); 4131 4147 } 4132 4148 … … 5432 5448 $args = array( 'sslverify' => false, 'timeout' => $timeout, 'headers' => array() ); 5433 5449 if( $userAgentCmn ) 5434 $args[ 'headers' ][ 'User-Agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28. 8';5450 $args[ 'headers' ][ 'User-Agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.9'; 5435 5451 5436 5452 global $seraph_accel_g_aGetExtContentsFailedSrvs; … … 5940 5956 { 5941 5957 if( !isset( $headers[ 'User-Agent' ] ) ) 5942 $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28. 8');5958 $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.9'); 5943 5959 $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] ); 5944 5960 -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot
r3447118 r3449855 7 7 msgid "" 8 8 msgstr "" 9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.28. 8) #-#-#-#-#\n"10 "Project-Id-Version: seraphinite-accelerator 2.28. 8\n"9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.28.9) #-#-#-#-#\n" 10 "Project-Id-Version: seraphinite-accelerator 2.28.9\n" 11 11 "Report-Msgid-Bugs-To: support@s-sols.com\n" 12 12 "MIME-Version: 1.0\n" 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.28. 8) #-#-#-#-#\n"16 "Project-Id-Version: seraphinite-accelerator 2.28. 8\n"15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.28.9) #-#-#-#-#\n" 16 "Project-Id-Version: seraphinite-accelerator 2.28.9\n" 17 17 "Report-Msgid-Bugs-To: support@s-sols.com\n" 18 18 "MIME-Version: 1.0\n" … … 2644 2644 msgstr "" 2645 2645 2646 # Video-box from Divi (legacy) 2647 msgctxt "admin.Settings_Frames_ContParts" 2648 msgid "DiviVidBoxChk" 2649 msgstr "" 2650 2646 2651 # Video-box from Divi 2647 2652 msgctxt "admin.Settings_Frames_ContParts" 2648 msgid "DiviVidBox Chk"2653 msgid "DiviVidBox2Chk" 2649 2654 msgstr "" 2650 2655 … … 2954 2959 msgstr "" 2955 2960 2961 # Menu of BoldThemes 2956 2962 msgctxt "admin.Settings_Frames_ContParts" 2957 2963 msgid "BtMenuChk" 2964 msgstr "" 2965 2966 # FOX - Currency Switcher 2967 msgctxt "admin.Settings_Frames_ContParts" 2968 msgid "WcsChk" 2969 msgstr "" 2970 2971 # Slick Slider generic 2972 msgctxt "admin.Settings_Frames_ContParts" 2973 msgid "SlckGenChk" 2974 msgstr "" 2975 2976 # CSS selector 2977 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 2978 msgid "SelCssPhlr" 2979 msgstr "" 2980 2981 # Arrows 2982 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 2983 msgid "ArrowsChk" 2984 msgstr "" 2985 2986 # Dots 2987 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 2988 msgid "DotsChk" 2989 msgstr "" 2990 2991 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 2992 msgid "InfiniteChk" 2993 msgstr "" 2994 2995 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 2996 msgid "CenterModeChk" 2997 msgstr "" 2998 2999 # %1$s slides to show 3000 #, php-format 3001 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 3002 msgid "SlidesToShow_%1$s" 3003 msgstr "" 3004 3005 #, php-format 3006 msgctxt "admin.Settings_Frames_ContParts_SlckGen_Item" 3007 msgid "SlidesToScroll_%1$s" 2958 3008 msgstr "" 2959 3009 -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot
r3447118 r3449855 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: seraphinite-accelerator 2.28. 8\n"9 "Project-Id-Version: seraphinite-accelerator 2.28.9\n" 10 10 "Report-Msgid-Bugs-To: support@s-sols.com\n" 11 11 "MIME-Version: 1.0\n" -
seraphinite-accelerator/trunk/main.php
r3447118 r3449855 42 42 function _AddMenus( $accepted = false ) 43 43 { 44 add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.28. 8', __FILE__ ) );44 add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.28.9', __FILE__ ) ); 45 45 add_submenu_page( 'seraph_accel_manage', esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' ); 46 46 add_submenu_page( 'seraph_accel_manage', Wp::GetLocString( 'Settings' ), Wp::GetLocString( 'Settings' ), 'manage_options', 'seraph_accel_settings', $accepted ? 'seraph_accel\\_SettingsPage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' ); … … 1266 1266 { 1267 1267 Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) ); 1268 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.28. 8' );1268 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.28.9' ); 1269 1269 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 1270 1270 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 1508 1508 $rmtCfg = PluginRmtCfg::Get(); 1509 1509 1510 $urlLogoImg = add_query_arg( array( 'v' => '2.28. 8' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );1510 $urlLogoImg = add_query_arg( array( 'v' => '2.28.9' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) ); 1511 1511 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' ); 1512 1512 -
seraphinite-accelerator/trunk/oper.php
r3447118 r3449855 1216 1216 foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI ) 1217 1217 if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' ) 1218 $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28. 8' );1218 $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.9' ); 1219 1219 1220 1220 if( ($settCache[ 'views' ]??null) ) -
seraphinite-accelerator/trunk/options.php
r3447118 r3449855 142 142 143 143 Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) ); 144 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.28. 8' );144 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.28.9' ); 145 145 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 146 146 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 3586 3586 function( $sett ) 3587 3587 { 3588 $fldId = 'contPr/cp/diviVidBox2'; 3589 return( Ui::CheckBox( esc_html_x( 'DiviVidBox2Chk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) ); 3590 }, 3591 3592 function( $sett ) 3593 { 3588 3594 $fldId = 'contPr/cp/diviVidBg'; 3589 3595 return( Ui::CheckBox( esc_html_x( 'DiviVidBgChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) ); … … 3954 3960 $fldId = 'contPr/cp/btMenu'; 3955 3961 return( Ui::CheckBox( esc_html_x( 'BtMenuChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) ); 3962 }, 3963 3964 function( $sett ) 3965 { 3966 $fldId = 'contPr/cp/wcs'; 3967 return( Ui::CheckBox( esc_html_x( 'WcsChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) ); 3968 }, 3969 3970 function( $sett ) 3971 { 3972 $fldId = 'contPr/cp/slckGen'; 3973 3974 $o = Ui::CheckBox( esc_html_x( 'SlckGenChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ); 3975 3976 $o .= ( Ui::ToggleButton( '.blck', array( 'style' => array( 'min-width' => '7em' ) ), array( 'class' => 'ctlSpaceVAfter' ) ) ); 3977 $o .= ( Ui::TagOpen( 'div', array( 'class' => 'blck', 'style' => array( 'display' => 'none' ) ) ) ); 3978 { 3979 $fldId = 'contPr/cp/slckGen_a'; 3980 $items = Gen::GetArrField( $sett, $fldId, array(), '/' ); 3981 3982 $itemsListPrms = array( 'editorAreaCssPath' => '.blck', 'sortable' => true ); 3983 $o .= ( Ui::ItemsList( $itemsListPrms, $items, 'seraph_accel/' . $fldId, 3984 function( $cbArgs, $idItems, $items, $itemKey, $item ) 3985 { 3986 extract( $cbArgs ); 3987 3988 $o = ''; 3989 3990 $o .= ( Ui::SettBlock_ItemSubTbl_Begin( array( 'class' => 'ctlMaxSizeX' ) ) ); 3991 { 3992 $o .= ( Ui::TagOpen( 'tr' ) . Ui::TagOpen( 'td' ) ); 3993 { 3994 $o .= ( Ui::SettBlock_ItemSubTbl_Begin( array( 'class' => array( 'std', 'ctlMaxSizeX ctlSpaceVAfter' ) ) ) . Ui::TagOpen( 'tr' ) ); 3995 { 3996 { 3997 $fldId = 'enable'; 3998 $o .= ( Ui::Tag( 'td', Ui::CheckBox( null, $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, true, '/' ), true ), array( 'class' => 'ctlMinSizeX' ) ) ); 3999 } 4000 4001 { 4002 $fldId = 'selCss'; 4003 $o .= ( Ui::Tag( 'td', Ui::TextBox( $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, '', '/' ), array( 'class' => 'ctlMaxSizeX', 'placeholder' => _x( 'SelCssPhlr', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ) ), true ) ) ); 4004 } 4005 } 4006 $o .= ( Ui::TagClose( 'tr' ) . Ui::SettBlock_ItemSubTbl_End() ); 4007 } 4008 $o .= ( Ui::TagClose( 'td' ) . Ui::TagClose( 'tr' ) ); 4009 4010 $o .= ( Ui::TagOpen( 'tr' ) . Ui::TagOpen( 'td' ) ); 4011 { 4012 $fldId = 'arrows'; 4013 $o .= ( Ui::CheckBox( esc_html_x( 'ArrowsChk', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, true, '/' ), true, array( 'class' => 'ctlSpaceAfter' ) ) ); 4014 4015 $fldId = 'dots'; 4016 $o .= ( Ui::CheckBox( esc_html_x( 'DotsChk', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, false, '/' ), true, array( 'class' => 'ctlSpaceAfter' ) ) ); 4017 4018 $fldId = 'infinite'; 4019 $o .= ( Ui::CheckBox( esc_html_x( 'InfiniteChk', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, true, '/' ), true, array( 'class' => 'ctlSpaceAfter' ) ) ); 4020 4021 $fldId = 'centerMode'; 4022 $o .= ( Ui::CheckBox( esc_html_x( 'CenterModeChk', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, false, '/' ), true, array( 'class' => 'ctlSpaceAfter' ) ) ); 4023 } 4024 $o .= ( Ui::TagClose( 'td' ) . Ui::TagClose( 'tr' ) ); 4025 4026 $o .= ( Ui::TagOpen( 'tr' ) . Ui::TagOpen( 'td' ) ); 4027 { 4028 $fldId = 'slidesToShow'; 4029 $o .= sprintf( esc_html_x( 'SlidesToShow_%1$s', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), Ui::NumberBox( $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, 1, '/' ), array( 'style' => array( 'width' => '4em' ) ), true ) ); 4030 } 4031 $o .= ( Ui::TagClose( 'td' ) . Ui::TagClose( 'tr' ) ); 4032 4033 $o .= ( Ui::TagOpen( 'tr' ) . Ui::TagOpen( 'td' ) ); 4034 { 4035 $fldId = 'slidesToScroll'; 4036 $o .= sprintf( esc_html_x( 'SlidesToScroll_%1$s', 'admin.Settings_Frames_ContParts_SlckGen_Item', 'seraphinite-accelerator' ), Ui::NumberBox( $idItems . '/' . $itemKey . '/' . $fldId, Gen::GetArrField( $item, $fldId, 1, '/' ), array( 'style' => array( 'width' => '4em' ) ), true ) ); 4037 } 4038 $o .= ( Ui::TagClose( 'td' ) . Ui::TagClose( 'tr' ) ); 4039 } 4040 $o .= ( Ui::SettBlock_ItemSubTbl_End() ); 4041 4042 $o .= ( Ui::Tag( 'div', Ui::ItemsList_ItemOperateBtns( $itemsListPrms, array( 'class' => 'ctlSpaceAfterSm' ) ), array( 'class' => 'ctlSpaceVBefore ctlSpaceVAfter' ) ) ); 4043 4044 $o .= ( Ui::SepLine( 'div', array( 'class' => 'ctlSpaceVAfter' ) ) ); 4045 4046 return( $o ); 4047 }, 4048 4049 function( $cbArgs, $attrs ) 4050 { 4051 Gen::SetArrField( $attrs, 'class.+', 'ctlSpaceVAfter' ); 4052 return( Ui::Tag( 'div', Ui::Tag( 'label', Ui::ItemsList_NoItemsContent() ), $attrs ) ); 4053 }, 4054 4055 get_defined_vars(), array( 'class' => 'ctlMaxSizeX' ) 4056 ) ); 4057 4058 $o .= ( Ui::Tag( 'div', Ui::ItemsList_OperateBtns( $itemsListPrms, array( 'class' => 'ctlSpaceAfter', 'style' => array( 'margin-left' => 0 ) ) ), array( 'class' => 'ctlSpaceVBefore1' ) ) ); 4059 } 4060 $o .= ( Ui::TagClose( 'div' ) ); 4061 4062 return( $o ); 3956 4063 }, 3957 4064 ) … … 6181 6288 { $fldId = 'contPr/cp/diviSld'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6182 6289 { $fldId = 'contPr/cp/diviVidBox'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6290 { $fldId = 'contPr/cp/diviVidBox2'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6183 6291 { $fldId = 'contPr/cp/diviVidBg'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6184 6292 { $fldId = 'contPr/cp/diviVidFr'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } … … 6240 6348 { $fldId = 'contPr/cp/grnshftPbAosOnceAni'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6241 6349 { $fldId = 'contPr/cp/grnshftPbAosAni'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6350 { $fldId = 'contPr/cp/wcs'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6351 6352 { $fldId = 'contPr/cp/slckGen'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 6353 { 6354 $fldId = 'contPr/cp/slckGen_a'; 6355 Gen::SetArrField( $sett, $fldId, Ui::ItemsList_GetSaveItems( 'seraph_accel/' . $fldId, '/', $args, 6356 function( $cbArgs, $idItems, $itemKey, $item, $args ) 6357 { 6358 $item = array(); 6359 6360 { $fldId = 'enable'; Gen::SetArrField( $item, $fldId, isset( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6361 { $fldId = 'selCss'; Gen::SetArrField( $item, $fldId, Wp::SanitizeText( @stripslashes( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ) ), '/' ); } 6362 { $fldId = 'arrows'; Gen::SetArrField( $item, $fldId, isset( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6363 { $fldId = 'dots'; Gen::SetArrField( $item, $fldId, isset( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6364 { $fldId = 'infinite'; Gen::SetArrField( $item, $fldId, isset( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6365 { $fldId = 'centerMode'; Gen::SetArrField( $item, $fldId, isset( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6366 { $fldId = 'slidesToShow'; Gen::SetArrField( $item, $fldId, @intval( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6367 { $fldId = 'slidesToScroll'; Gen::SetArrField( $item, $fldId, @intval( $args[ $idItems . '/' . $itemKey . '/' . $fldId ] ), '/' ); } 6368 6369 return( $item ); 6370 } 6371 ), '/' ); 6372 } 6242 6373 6243 6374 { $fldId = 'contPr/js/optLoad'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } -
seraphinite-accelerator/trunk/plugin_root.php
r3447118 r3449855 6 6 Text Domain: seraphinite-accelerator 7 7 Domain Path: /languages 8 Version: 2.28. 88 Version: 2.28.9 9 9 Author: Seraphinite Solutions 10 10 Author URI: https://www.s-sols.com -
seraphinite-accelerator/trunk/readme.txt
r3447118 r3449855 6 6 Requires at least: 4.5 7 7 Tested up to: 6.8 8 Stable tag: 2.28. 88 Stable tag: 2.28.9 9 9 License: GPLv2 or later (if another license is not provided) 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 163 163 == Changelog == 164 164 165 = 2.28.9 = 166 167 Improvements: 168 169 * FOX - Currency Switcher. 170 * Slick Slider generic. 171 * Video-box from Divi. 172 165 173 = 2.28.8 = 166 174
Note: See TracChangeset
for help on using the changeset viewer.