Changeset 2983968
- Timestamp:
- 10/25/2023 05:53:10 PM (2 years ago)
- Location:
- litespeed-cache
- Files:
-
- 332 added
- 9 edited
-
tags/5.7.0.1 (added)
-
tags/5.7.0.1/LICENSE (added)
-
tags/5.7.0.1/assets (added)
-
tags/5.7.0.1/assets/css (added)
-
tags/5.7.0.1/assets/css/fonts (added)
-
tags/5.7.0.1/assets/css/fonts/litespeedfont.eot (added)
-
tags/5.7.0.1/assets/css/fonts/litespeedfont.svg (added)
-
tags/5.7.0.1/assets/css/fonts/litespeedfont.ttf (added)
-
tags/5.7.0.1/assets/css/fonts/litespeedfont.woff (added)
-
tags/5.7.0.1/assets/css/iziModal.min.css (added)
-
tags/5.7.0.1/assets/css/litespeed-legacy.css (added)
-
tags/5.7.0.1/assets/css/litespeed.css (added)
-
tags/5.7.0.1/assets/img (added)
-
tags/5.7.0.1/assets/img/Litespeed.icon.svg (added)
-
tags/5.7.0.1/assets/img/iconlscwp.svg (added)
-
tags/5.7.0.1/assets/img/icons (added)
-
tags/5.7.0.1/assets/img/icons/all.svg (added)
-
tags/5.7.0.1/assets/img/icons/all_transients.svg (added)
-
tags/5.7.0.1/assets/img/icons/auto_draft.svg (added)
-
tags/5.7.0.1/assets/img/icons/cross_icon.svg (added)
-
tags/5.7.0.1/assets/img/icons/db.svg (added)
-
tags/5.7.0.1/assets/img/icons/empty-cache.svg (added)
-
tags/5.7.0.1/assets/img/icons/expired_transient.svg (added)
-
tags/5.7.0.1/assets/img/icons/img_optm.svg (added)
-
tags/5.7.0.1/assets/img/icons/img_optm_disabled.svg (added)
-
tags/5.7.0.1/assets/img/icons/img_webp.svg (added)
-
tags/5.7.0.1/assets/img/icons/img_webp_disabled.svg (added)
-
tags/5.7.0.1/assets/img/icons/optimize_tables.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-403.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-404.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-500.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-all.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-cssjs.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-front.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-object.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-opcache.svg (added)
-
tags/5.7.0.1/assets/img/icons/purge-pages.svg (added)
-
tags/5.7.0.1/assets/img/icons/revision.svg (added)
-
tags/5.7.0.1/assets/img/icons/spam_comment.svg (added)
-
tags/5.7.0.1/assets/img/icons/success_icon.svg (added)
-
tags/5.7.0.1/assets/img/icons/trackback-pingback.svg (added)
-
tags/5.7.0.1/assets/img/icons/trash_comment.svg (added)
-
tags/5.7.0.1/assets/img/icons/trash_post.svg (added)
-
tags/5.7.0.1/assets/img/lscwp-logo_90x90.png (added)
-
tags/5.7.0.1/assets/img/lscwp_blue_font-icon_22px.svg (added)
-
tags/5.7.0.1/assets/img/lscwp_font-icon_32px.svg (added)
-
tags/5.7.0.1/assets/img/lscwp_gray-yellow_font-icon_22px.svg (added)
-
tags/5.7.0.1/assets/img/lscwp_gray_font-icon_22px.svg (added)
-
tags/5.7.0.1/assets/img/lscwp_grayscale_font-icon_22px.svg (added)
-
tags/5.7.0.1/assets/img/quic-cloud-icon-16x16.svg (added)
-
tags/5.7.0.1/assets/img/quic-cloud-logo-light_stack_300px.png (added)
-
tags/5.7.0.1/assets/img/quic-cloud-logo.svg (added)
-
tags/5.7.0.1/assets/img/slack-logo.png (added)
-
tags/5.7.0.1/assets/js (added)
-
tags/5.7.0.1/assets/js/babel.min.js (added)
-
tags/5.7.0.1/assets/js/component.cdn.js (added)
-
tags/5.7.0.1/assets/js/component.crawler.js (added)
-
tags/5.7.0.1/assets/js/css_async.js (added)
-
tags/5.7.0.1/assets/js/css_async.min.js (added)
-
tags/5.7.0.1/assets/js/guest.docref.js (added)
-
tags/5.7.0.1/assets/js/guest.docref.min.js (added)
-
tags/5.7.0.1/assets/js/guest.js (added)
-
tags/5.7.0.1/assets/js/guest.min.js (added)
-
tags/5.7.0.1/assets/js/instant_click.min.js (added)
-
tags/5.7.0.1/assets/js/instant_click.ori.js (added)
-
tags/5.7.0.1/assets/js/iziModal.min.js (added)
-
tags/5.7.0.1/assets/js/js_delay.js (added)
-
tags/5.7.0.1/assets/js/js_delay.min.js (added)
-
tags/5.7.0.1/assets/js/lazyload.init.js (added)
-
tags/5.7.0.1/assets/js/lazyload.lib.js (added)
-
tags/5.7.0.1/assets/js/lazyload.min.js (added)
-
tags/5.7.0.1/assets/js/litespeed-cache-admin.js (added)
-
tags/5.7.0.1/assets/js/react.min.js (added)
-
tags/5.7.0.1/assets/js/webfontloader.js (added)
-
tags/5.7.0.1/assets/js/webfontloader.min.js (added)
-
tags/5.7.0.1/autoload.php (added)
-
tags/5.7.0.1/cli (added)
-
tags/5.7.0.1/cli/debug.cls.php (added)
-
tags/5.7.0.1/cli/image.cls.php (added)
-
tags/5.7.0.1/cli/online.cls.php (added)
-
tags/5.7.0.1/cli/option.cls.php (added)
-
tags/5.7.0.1/cli/presets.cls.php (added)
-
tags/5.7.0.1/cli/purge.cls.php (added)
-
tags/5.7.0.1/data (added)
-
tags/5.7.0.1/data/.htaccess (added)
-
tags/5.7.0.1/data/const.default.ini (added)
-
tags/5.7.0.1/data/const.network_default.ini (added)
-
tags/5.7.0.1/data/css_excludes.txt (added)
-
tags/5.7.0.1/data/esi.nonce.txt (added)
-
tags/5.7.0.1/data/esi.nonces.txt (added)
-
tags/5.7.0.1/data/js_defer_excludes.txt (added)
-
tags/5.7.0.1/data/js_excludes.txt (added)
-
tags/5.7.0.1/data/optm_uri_exc.txt (added)
-
tags/5.7.0.1/data/preset (added)
-
tags/5.7.0.1/data/preset/advanced.data (added)
-
tags/5.7.0.1/data/preset/aggressive.data (added)
-
tags/5.7.0.1/data/preset/basic.data (added)
-
tags/5.7.0.1/data/preset/essentials.data (added)
-
tags/5.7.0.1/data/preset/extreme.data (added)
-
tags/5.7.0.1/data/ucss_whitelist.txt (added)
-
tags/5.7.0.1/guest.vary.php (added)
-
tags/5.7.0.1/inc (added)
-
tags/5.7.0.1/inc/object.lib.php (added)
-
tags/5.7.0.1/lang (added)
-
tags/5.7.0.1/lang/litespeed-cache.pot (added)
-
tags/5.7.0.1/lib (added)
-
tags/5.7.0.1/lib/css-min (added)
-
tags/5.7.0.1/lib/css-min/colors.cls.php (added)
-
tags/5.7.0.1/lib/css-min/minifier.cls.php (added)
-
tags/5.7.0.1/lib/css-min/urirewriter.cls.php (added)
-
tags/5.7.0.1/lib/css-min/utils.cls.php (added)
-
tags/5.7.0.1/lib/guest.cls.php (added)
-
tags/5.7.0.1/lib/html-min.cls.php (added)
-
tags/5.7.0.1/lib/jsmin.cls.php (added)
-
tags/5.7.0.1/lib/jsmin_data (added)
-
tags/5.7.0.1/lib/jsmin_data/keywords_after.txt (added)
-
tags/5.7.0.1/lib/jsmin_data/keywords_before.txt (added)
-
tags/5.7.0.1/lib/jsmin_data/keywords_reserved.txt (added)
-
tags/5.7.0.1/lib/jsmin_data/operators.txt (added)
-
tags/5.7.0.1/lib/jsmin_data/operators_after.txt (added)
-
tags/5.7.0.1/lib/jsmin_data/operators_before.txt (added)
-
tags/5.7.0.1/lib/object-cache.php (added)
-
tags/5.7.0.1/lib/php-compatibility.func.php (added)
-
tags/5.7.0.1/litespeed-cache.php (added)
-
tags/5.7.0.1/qc-ping.txt (added)
-
tags/5.7.0.1/readme.txt (added)
-
tags/5.7.0.1/src (added)
-
tags/5.7.0.1/src/activation.cls.php (added)
-
tags/5.7.0.1/src/admin-display.cls.php (added)
-
tags/5.7.0.1/src/admin-settings.cls.php (added)
-
tags/5.7.0.1/src/admin.cls.php (added)
-
tags/5.7.0.1/src/api.cls.php (added)
-
tags/5.7.0.1/src/avatar.cls.php (added)
-
tags/5.7.0.1/src/base.cls.php (added)
-
tags/5.7.0.1/src/cdn (added)
-
tags/5.7.0.1/src/cdn-setup.cls.php (added)
-
tags/5.7.0.1/src/cdn.cls.php (added)
-
tags/5.7.0.1/src/cdn/cloudflare.cls.php (added)
-
tags/5.7.0.1/src/cdn/quic.cls.php (added)
-
tags/5.7.0.1/src/cloud.cls.php (added)
-
tags/5.7.0.1/src/conf.cls.php (added)
-
tags/5.7.0.1/src/control.cls.php (added)
-
tags/5.7.0.1/src/core.cls.php (added)
-
tags/5.7.0.1/src/crawler-map.cls.php (added)
-
tags/5.7.0.1/src/crawler.cls.php (added)
-
tags/5.7.0.1/src/css.cls.php (added)
-
tags/5.7.0.1/src/data.cls.php (added)
-
tags/5.7.0.1/src/data.upgrade.func.php (added)
-
tags/5.7.0.1/src/data_structure (added)
-
tags/5.7.0.1/src/data_structure/avatar.sql (added)
-
tags/5.7.0.1/src/data_structure/crawler.sql (added)
-
tags/5.7.0.1/src/data_structure/crawler_blacklist.sql (added)
-
tags/5.7.0.1/src/data_structure/img_optm.sql (added)
-
tags/5.7.0.1/src/data_structure/img_optming.sql (added)
-
tags/5.7.0.1/src/data_structure/url.sql (added)
-
tags/5.7.0.1/src/data_structure/url_file.sql (added)
-
tags/5.7.0.1/src/db-optm.cls.php (added)
-
tags/5.7.0.1/src/debug2.cls.php (added)
-
tags/5.7.0.1/src/doc.cls.php (added)
-
tags/5.7.0.1/src/error.cls.php (added)
-
tags/5.7.0.1/src/esi.cls.php (added)
-
tags/5.7.0.1/src/file.cls.php (added)
-
tags/5.7.0.1/src/gui.cls.php (added)
-
tags/5.7.0.1/src/health.cls.php (added)
-
tags/5.7.0.1/src/htaccess.cls.php (added)
-
tags/5.7.0.1/src/img-optm.cls.php (added)
-
tags/5.7.0.1/src/import.cls.php (added)
-
tags/5.7.0.1/src/instance.cls.php (added)
-
tags/5.7.0.1/src/lang.cls.php (added)
-
tags/5.7.0.1/src/localization.cls.php (added)
-
tags/5.7.0.1/src/media.cls.php (added)
-
tags/5.7.0.1/src/metabox.cls.php (added)
-
tags/5.7.0.1/src/object-cache.cls.php (added)
-
tags/5.7.0.1/src/object.lib.php (added)
-
tags/5.7.0.1/src/optimize.cls.php (added)
-
tags/5.7.0.1/src/optimizer.cls.php (added)
-
tags/5.7.0.1/src/placeholder.cls.php (added)
-
tags/5.7.0.1/src/preset.cls.php (added)
-
tags/5.7.0.1/src/purge.cls.php (added)
-
tags/5.7.0.1/src/report.cls.php (added)
-
tags/5.7.0.1/src/rest.cls.php (added)
-
tags/5.7.0.1/src/root.cls.php (added)
-
tags/5.7.0.1/src/router.cls.php (added)
-
tags/5.7.0.1/src/str.cls.php (added)
-
tags/5.7.0.1/src/tag.cls.php (added)
-
tags/5.7.0.1/src/task.cls.php (added)
-
tags/5.7.0.1/src/tool.cls.php (added)
-
tags/5.7.0.1/src/ucss.cls.php (added)
-
tags/5.7.0.1/src/utility.cls.php (added)
-
tags/5.7.0.1/src/vary.cls.php (added)
-
tags/5.7.0.1/src/vpi.cls.php (added)
-
tags/5.7.0.1/thirdparty (added)
-
tags/5.7.0.1/thirdparty/aelia-currencyswitcher.cls.php (added)
-
tags/5.7.0.1/thirdparty/amp.cls.php (added)
-
tags/5.7.0.1/thirdparty/autoptimize.cls.php (added)
-
tags/5.7.0.1/thirdparty/avada.cls.php (added)
-
tags/5.7.0.1/thirdparty/bbpress.cls.php (added)
-
tags/5.7.0.1/thirdparty/beaver-builder.cls.php (added)
-
tags/5.7.0.1/thirdparty/caldera-forms.cls.php (added)
-
tags/5.7.0.1/thirdparty/divi-theme-builder.cls.php (added)
-
tags/5.7.0.1/thirdparty/elementor.cls.php (added)
-
tags/5.7.0.1/thirdparty/entry.inc.php (added)
-
tags/5.7.0.1/thirdparty/facetwp.cls.php (added)
-
tags/5.7.0.1/thirdparty/gravity-forms.cls.php (added)
-
tags/5.7.0.1/thirdparty/litespeed-check.cls.php (added)
-
tags/5.7.0.1/thirdparty/nextgengallery.cls.php (added)
-
tags/5.7.0.1/thirdparty/perfmatters.cls.php (added)
-
tags/5.7.0.1/thirdparty/theme-my-login.cls.php (added)
-
tags/5.7.0.1/thirdparty/user-switching.cls.php (added)
-
tags/5.7.0.1/thirdparty/wc-pdf-product-vouchers.cls.php (added)
-
tags/5.7.0.1/thirdparty/wcml.cls.php (added)
-
tags/5.7.0.1/thirdparty/woo-paypal.cls.php (added)
-
tags/5.7.0.1/thirdparty/woocommerce.cls.php (added)
-
tags/5.7.0.1/thirdparty/woocommerce.content.tpl.php (added)
-
tags/5.7.0.1/thirdparty/woocommerce.tab.tpl.php (added)
-
tags/5.7.0.1/thirdparty/wp-polls.cls.php (added)
-
tags/5.7.0.1/thirdparty/wp-postratings.cls.php (added)
-
tags/5.7.0.1/thirdparty/wpdiscuz.cls.php (added)
-
tags/5.7.0.1/thirdparty/wplister.cls.php (added)
-
tags/5.7.0.1/thirdparty/wpml.cls.php (added)
-
tags/5.7.0.1/thirdparty/wptouch.cls.php (added)
-
tags/5.7.0.1/thirdparty/yith-wishlist.cls.php (added)
-
tags/5.7.0.1/tpl (added)
-
tags/5.7.0.1/tpl/banner (added)
-
tags/5.7.0.1/tpl/banner/ajax.php (added)
-
tags/5.7.0.1/tpl/banner/cloud_news.tpl.php (added)
-
tags/5.7.0.1/tpl/banner/cloud_promo.tpl.php (added)
-
tags/5.7.0.1/tpl/banner/new_version.php (added)
-
tags/5.7.0.1/tpl/banner/new_version_dev.tpl.php (added)
-
tags/5.7.0.1/tpl/banner/score.php (added)
-
tags/5.7.0.1/tpl/banner/slack.php (added)
-
tags/5.7.0.1/tpl/cache (added)
-
tags/5.7.0.1/tpl/cache/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/entry_network.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/more_settings_tip.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-advanced.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-browser.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-cache.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-excludes.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-object.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/network_settings-purge.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-advanced.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-browser.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-cache.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-esi.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-excludes.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-object.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-purge.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings-ttl.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.browser.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.cache_dropquery.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.cache_favicon.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.cache_mobile.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.cache_resources.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.exclude_cookies.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.exclude_useragent.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.login_cookie.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.object.tpl.php (added)
-
tags/5.7.0.1/tpl/cache/settings_inc.purge_on_upgrade.tpl.php (added)
-
tags/5.7.0.1/tpl/cdn (added)
-
tags/5.7.0.1/tpl/cdn/auto_setup.tpl.php (added)
-
tags/5.7.0.1/tpl/cdn/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/cdn/manage.tpl.php (added)
-
tags/5.7.0.1/tpl/cdn/settings.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler (added)
-
tags/5.7.0.1/tpl/crawler/blacklist.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/map.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/settings-general.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/settings-simulation.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/settings-sitemap.tpl.php (added)
-
tags/5.7.0.1/tpl/crawler/summary.tpl.php (added)
-
tags/5.7.0.1/tpl/dash (added)
-
tags/5.7.0.1/tpl/dash/dashboard.tpl.php (added)
-
tags/5.7.0.1/tpl/dash/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/dash/network_dash.tpl.php (added)
-
tags/5.7.0.1/tpl/db_optm (added)
-
tags/5.7.0.1/tpl/db_optm/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/db_optm/manage.tpl.php (added)
-
tags/5.7.0.1/tpl/db_optm/settings.tpl.php (added)
-
tags/5.7.0.1/tpl/esi.tpl.php (added)
-
tags/5.7.0.1/tpl/esi_widget_edit.php (added)
-
tags/5.7.0.1/tpl/general (added)
-
tags/5.7.0.1/tpl/general/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/general/network_settings.tpl.php (added)
-
tags/5.7.0.1/tpl/general/settings.tpl.php (added)
-
tags/5.7.0.1/tpl/general/settings_inc.auto_upgrade.tpl.php (added)
-
tags/5.7.0.1/tpl/general/settings_inc.guest.tpl.php (added)
-
tags/5.7.0.1/tpl/general/settings_tuning.tpl.php (added)
-
tags/5.7.0.1/tpl/img_optm (added)
-
tags/5.7.0.1/tpl/img_optm/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/img_optm/network_settings.tpl.php (added)
-
tags/5.7.0.1/tpl/img_optm/settings.media_webp.tpl.php (added)
-
tags/5.7.0.1/tpl/img_optm/settings.tpl.php (added)
-
tags/5.7.0.1/tpl/img_optm/summary.tpl.php (added)
-
tags/5.7.0.1/tpl/inc (added)
-
tags/5.7.0.1/tpl/inc/admin_footer.php (added)
-
tags/5.7.0.1/tpl/inc/api_key.php (added)
-
tags/5.7.0.1/tpl/inc/check_cache_disabled.php (added)
-
tags/5.7.0.1/tpl/inc/check_if_network_disable_all.php (added)
-
tags/5.7.0.1/tpl/inc/disabled_all.php (added)
-
tags/5.7.0.1/tpl/inc/in_upgrading.php (added)
-
tags/5.7.0.1/tpl/inc/metabox.php (added)
-
tags/5.7.0.1/tpl/inc/modal.footer.php (added)
-
tags/5.7.0.1/tpl/inc/modal.header.php (added)
-
tags/5.7.0.1/tpl/inc/show_display_installed.php (added)
-
tags/5.7.0.1/tpl/inc/show_error_cookie.php (added)
-
tags/5.7.0.1/tpl/inc/show_rule_conflict.php (added)
-
tags/5.7.0.1/tpl/page_optm (added)
-
tags/5.7.0.1/tpl/page_optm/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_css.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_html.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_js.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_localization.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_media.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_media_exc.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_tuning.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_tuning_css.tpl.php (added)
-
tags/5.7.0.1/tpl/page_optm/settings_vpi.tpl.php (added)
-
tags/5.7.0.1/tpl/presets (added)
-
tags/5.7.0.1/tpl/presets/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/presets/standard.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox (added)
-
tags/5.7.0.1/tpl/toolbox/beta_test.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/edit_htaccess.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/entry.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/heartbeat.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/import_export.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/log_viewer.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/purge.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/report.tpl.php (added)
-
tags/5.7.0.1/tpl/toolbox/settings-debug.tpl.php (added)
-
trunk/lang/litespeed-cache.pot (modified) (31 diffs)
-
trunk/litespeed-cache.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/admin-display.cls.php (modified) (1 diff)
-
trunk/src/cdn-setup.cls.php (modified) (23 diffs)
-
trunk/src/cloud.cls.php (modified) (3 diffs)
-
trunk/src/rest.cls.php (modified) (17 diffs)
-
trunk/tpl/cdn/auto_setup.tpl.php (modified) (11 diffs)
-
trunk/tpl/toolbox/beta_test.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
litespeed-cache/trunk/lang/litespeed-cache.pot
r2977143 r2983968 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: LiteSpeed Cache 5.7 \n"5 "Project-Id-Version: LiteSpeed Cache 5.7.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n" 7 "POT-Creation-Date: 2023-10- 10 13:10:37+00:00\n"7 "POT-Creation-Date: 2023-10-23 20:20:48+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" … … 288 288 msgstr "" 289 289 290 #: src/cdn-setup.cls.php: 58290 #: src/cdn-setup.cls.php:73 291 291 msgid "Received invalid message from the cloud server. Please submit a ticket." 292 292 msgstr "" 293 293 294 #: src/cdn-setup.cls.php: 63294 #: src/cdn-setup.cls.php:79 295 295 msgid "There was an error during CDN setup: " 296 296 msgstr "" 297 297 298 #: src/cdn-setup.cls.php:1 12298 #: src/cdn-setup.cls.php:131 299 299 msgid "" 300 300 "Congratulations, QUIC.cloud successfully set this domain up for the CDN. " … … 302 302 msgstr "" 303 303 304 #: src/cdn-setup.cls.php:1 32304 #: src/cdn-setup.cls.php:151 305 305 msgid "CDN Setup is running." 306 306 msgstr "" 307 307 308 #: src/cdn-setup.cls.php:1 64308 #: src/cdn-setup.cls.php:184 309 309 msgid "Notice: CDN Setup only reset locally." 310 310 msgstr "" 311 311 312 #: src/cdn-setup.cls.php:1 67312 #: src/cdn-setup.cls.php:187 313 313 msgid "Cannot delete, site is not linked." 314 314 msgstr "" 315 315 316 #: src/cdn-setup.cls.php:2 00316 #: src/cdn-setup.cls.php:219 317 317 msgid "" 318 318 "CDN Setup Token and DNS zone deleted. Note: if my.quic.cloud account " … … 321 321 msgstr "" 322 322 323 #: src/cdn-setup.cls.php:2 02323 #: src/cdn-setup.cls.php:221 324 324 msgid "" 325 325 "CDN Setup Token reset. Note: if my.quic.cloud account deletion is desired, " … … 327 327 msgstr "" 328 328 329 #: src/cdn-setup.cls.php:3 22src/cloud.cls.php:822 src/cloud.cls.php:830329 #: src/cdn-setup.cls.php:345 src/cloud.cls.php:822 src/cloud.cls.php:830 330 330 #: src/cloud.cls.php:1237 331 331 msgid "Message from QUIC.cloud server" … … 2104 2104 msgstr "" 2105 2105 2106 #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 5.7 ) #-#-#-#-#2106 #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 5.7.0.1) #-#-#-#-# 2107 2107 #. Plugin Name of the plugin/theme 2108 2108 #: tpl/banner/new_version.php:57 tpl/banner/new_version_dev.tpl.php:12 … … 2120 2120 2121 2121 #: tpl/banner/new_version.php:69 tpl/banner/new_version_dev.tpl.php:24 2122 #: tpl/toolbox/beta_test.tpl.php:6 22122 #: tpl/toolbox/beta_test.tpl.php:63 2123 2123 msgid "Upgrade" 2124 2124 msgstr "" … … 2243 2243 #: tpl/cache/more_settings_tip.tpl.php:12 2244 2244 #: tpl/cache/settings-excludes.tpl.php:61 2245 #: tpl/cache/settings-excludes.tpl.php:94 tpl/cdn/auto_setup.tpl.php:2 352246 #: tpl/cdn/auto_setup.tpl.php:2 46 tpl/cdn/settings.tpl.php:782245 #: tpl/cache/settings-excludes.tpl.php:94 tpl/cdn/auto_setup.tpl.php:245 2246 #: tpl/cdn/auto_setup.tpl.php:256 tpl/cdn/settings.tpl.php:78 2247 2247 #: tpl/crawler/settings-general.tpl.php:43 2248 2248 #: tpl/crawler/settings-general.tpl.php:144 … … 2945 2945 msgstr "" 2946 2946 2947 #: tpl/cdn/auto_setup.tpl.php:3 42947 #: tpl/cdn/auto_setup.tpl.php:36 2948 2948 msgid "Not running" 2949 2949 msgstr "" 2950 2950 2951 #: tpl/cdn/auto_setup.tpl.php:3 52951 #: tpl/cdn/auto_setup.tpl.php:37 2952 2952 msgid "Run CDN Setup" 2953 2953 msgstr "" 2954 2954 2955 #: tpl/cdn/auto_setup.tpl.php:4 22955 #: tpl/cdn/auto_setup.tpl.php:44 2956 2956 msgid "Done" 2957 2957 msgstr "" 2958 2958 2959 #: tpl/cdn/auto_setup.tpl.php:4 42959 #: tpl/cdn/auto_setup.tpl.php:46 2960 2960 msgid "Completed at %s" 2961 2961 msgstr "" 2962 2962 2963 #: tpl/cdn/auto_setup.tpl.php:5 02963 #: tpl/cdn/auto_setup.tpl.php:52 2964 2964 msgid "Paused" 2965 2965 msgstr "" 2966 2966 2967 #: tpl/cdn/auto_setup.tpl.php:5 42967 #: tpl/cdn/auto_setup.tpl.php:56 2968 2968 msgid "Verifying, waiting for nameservers to be updated." 2969 2969 msgstr "" 2970 2970 2971 #: tpl/cdn/auto_setup.tpl.php:5 42971 #: tpl/cdn/auto_setup.tpl.php:56 2972 2972 msgid "Click the refresh button below to refresh status." 2973 2973 msgstr "" 2974 2974 2975 #: tpl/cdn/auto_setup.tpl.php:5 62975 #: tpl/cdn/auto_setup.tpl.php:58 2976 2976 msgid "Last Verification Result" 2977 2977 msgstr "" 2978 2978 2979 #: tpl/cdn/auto_setup.tpl.php: 592979 #: tpl/cdn/auto_setup.tpl.php:61 2980 2980 msgid "In Progress" 2981 2981 msgstr "" 2982 2982 2983 #: tpl/cdn/auto_setup.tpl.php:6 02983 #: tpl/cdn/auto_setup.tpl.php:62 2984 2984 msgid "You will receive an email upon status update." 2985 2985 msgstr "" 2986 2986 2987 #: tpl/cdn/auto_setup.tpl.php:6 02987 #: tpl/cdn/auto_setup.tpl.php:62 2988 2988 msgid "This process may take several minutes." 2989 2989 msgstr "" 2990 2990 2991 #: tpl/cdn/auto_setup.tpl.php:6 22991 #: tpl/cdn/auto_setup.tpl.php:64 2992 2992 msgid "Refresh CDN Setup Status" 2993 2993 msgstr "" 2994 2994 2995 #: tpl/cdn/auto_setup.tpl.php: 682995 #: tpl/cdn/auto_setup.tpl.php:70 2996 2996 msgid "Auto QUIC.cloud CDN Setup" 2997 2997 msgstr "" 2998 2998 2999 #: tpl/cdn/auto_setup.tpl.php:7 12999 #: tpl/cdn/auto_setup.tpl.php:73 3000 3000 msgid "" 3001 3001 "This is a three step process for configuring your site to use QUIC.cloud CDN " … … 3003 3003 msgstr "" 3004 3004 3005 #: tpl/cdn/auto_setup.tpl.php:7 43005 #: tpl/cdn/auto_setup.tpl.php:76 3006 3006 msgid "Set up a QUIC.cloud account." 3007 3007 msgstr "" 3008 3008 3009 #: tpl/cdn/auto_setup.tpl.php:7 53009 #: tpl/cdn/auto_setup.tpl.php:77 3010 3010 msgid "" 3011 3011 "Prepare the site for QUIC.cloud CDN, detect the DNS, and create a DNS Zone." 3012 3012 msgstr "" 3013 3013 3014 #: tpl/cdn/auto_setup.tpl.php:7 63014 #: tpl/cdn/auto_setup.tpl.php:78 3015 3015 msgid "Provide the nameservers necessary to enable the CDN." 3016 3016 msgstr "" 3017 3017 3018 #: tpl/cdn/auto_setup.tpl.php: 783018 #: tpl/cdn/auto_setup.tpl.php:80 3019 3019 msgid "" 3020 3020 "After successful DNS detection, QUIC.cloud will attempt to generate an SSL " … … 3022 3022 msgstr "" 3023 3023 3024 #: tpl/cdn/auto_setup.tpl.php: 793024 #: tpl/cdn/auto_setup.tpl.php:81 3025 3025 msgid "This last stage could take 15 to 20 minutes." 3026 3026 msgstr "" 3027 3027 3028 #: tpl/cdn/auto_setup.tpl.php:8 03028 #: tpl/cdn/auto_setup.tpl.php:82 3029 3029 msgid "" 3030 3030 "Your site will be available, but browsers may issue a \"not secure\" warning " … … 3032 3032 msgstr "" 3033 3033 3034 #: tpl/cdn/auto_setup.tpl.php:8 53034 #: tpl/cdn/auto_setup.tpl.php:87 3035 3035 msgid "" 3036 3036 "After you set your nameservers, QUIC.cloud will detect the change and " … … 3038 3038 msgstr "" 3039 3039 3040 #: tpl/cdn/auto_setup.tpl.php: 89tpl/toolbox/report.tpl.php:813040 #: tpl/cdn/auto_setup.tpl.php:91 tpl/toolbox/report.tpl.php:81 3041 3041 msgid "Notes" 3042 3042 msgstr "" 3043 3043 3044 #: tpl/cdn/auto_setup.tpl.php:9 33044 #: tpl/cdn/auto_setup.tpl.php:95 3045 3045 msgid "QUIC.cloud CDN/DNS does not support DNSSEC." 3046 3046 msgstr "" 3047 3047 3048 #: tpl/cdn/auto_setup.tpl.php:9 43048 #: tpl/cdn/auto_setup.tpl.php:96 3049 3049 msgid "" 3050 3050 "If you have this enabled for your domain, you must disable DNSSEC to " … … 3052 3052 msgstr "" 3053 3053 3054 #: tpl/cdn/auto_setup.tpl.php:9 73054 #: tpl/cdn/auto_setup.tpl.php:99 3055 3055 msgid "" 3056 3056 "This setup process will create a DNS zone on QUIC.cloud if one does not " … … 3058 3058 msgstr "" 3059 3059 3060 #: tpl/cdn/auto_setup.tpl.php: 983060 #: tpl/cdn/auto_setup.tpl.php:101 3061 3061 msgid "" 3062 3062 "If you prefer to use the CNAME setup, please <a %s>set up the CDN manually " … … 3064 3064 msgstr "" 3065 3065 3066 #: tpl/cdn/auto_setup.tpl.php:10 23066 #: tpl/cdn/auto_setup.tpl.php:106 3067 3067 msgid "QUIC.cloud will detect most normal DNS entries." 3068 3068 msgstr "" 3069 3069 3070 #: tpl/cdn/auto_setup.tpl.php:10 33070 #: tpl/cdn/auto_setup.tpl.php:107 3071 3071 msgid "" 3072 3072 "If you have custom DNS records, it is possible that they are not detected." 3073 3073 msgstr "" 3074 3074 3075 #: tpl/cdn/auto_setup.tpl.php:10 43075 #: tpl/cdn/auto_setup.tpl.php:108 3076 3076 msgid "" 3077 3077 "Visit your QUIC.cloud dashboard after the DNS Zone is set up to confirm your " … … 3079 3079 msgstr "" 3080 3080 3081 #: tpl/cdn/auto_setup.tpl.php:1 093081 #: tpl/cdn/auto_setup.tpl.php:113 3082 3082 msgid "Set up QUIC.cloud Account" 3083 3083 msgstr "" 3084 3084 3085 #: tpl/cdn/auto_setup.tpl.php:11 43085 #: tpl/cdn/auto_setup.tpl.php:118 3086 3086 msgid "Account is linked!" 3087 3087 msgstr "" 3088 3088 3089 #: tpl/cdn/auto_setup.tpl.php:1 173089 #: tpl/cdn/auto_setup.tpl.php:122 3090 3090 msgid "Manage CDN" 3091 3091 msgstr "" 3092 3092 3093 #: tpl/cdn/auto_setup.tpl.php:12 13093 #: tpl/cdn/auto_setup.tpl.php:128 3094 3094 msgid "Manage DNS Zone" 3095 3095 msgstr "" 3096 3096 3097 #: tpl/cdn/auto_setup.tpl.php:1 273097 #: tpl/cdn/auto_setup.tpl.php:135 3098 3098 msgid "Ready to run CDN setup." 3099 3099 msgstr "" 3100 3100 3101 #: tpl/cdn/auto_setup.tpl.php:1 293101 #: tpl/cdn/auto_setup.tpl.php:137 3102 3102 msgid "Domain key and QUIC.cloud link detected." 3103 3103 msgstr "" 3104 3104 3105 #: tpl/cdn/auto_setup.tpl.php:13 03105 #: tpl/cdn/auto_setup.tpl.php:138 3106 3106 msgid "Begin QUIC.cloud CDN Setup" 3107 3107 msgstr "" 3108 3108 3109 #: tpl/cdn/auto_setup.tpl.php:1 32tpl/dash/dashboard.tpl.php:1963109 #: tpl/cdn/auto_setup.tpl.php:140 tpl/dash/dashboard.tpl.php:196 3110 3110 #: tpl/dash/dashboard.tpl.php:198 tpl/general/settings.tpl.php:78 3111 3111 #: tpl/general/settings.tpl.php:80 tpl/general/settings.tpl.php:109 … … 3113 3113 msgstr "" 3114 3114 3115 #: tpl/cdn/auto_setup.tpl.php:1 363115 #: tpl/cdn/auto_setup.tpl.php:144 3116 3116 msgid "CDN Setup Status" 3117 3117 msgstr "" 3118 3118 3119 #: tpl/cdn/auto_setup.tpl.php:15 03119 #: tpl/cdn/auto_setup.tpl.php:158 3120 3120 msgid "QUIC.cloud Detected Records Summary" 3121 3121 msgstr "" 3122 3122 3123 #: tpl/cdn/auto_setup.tpl.php:1 563123 #: tpl/cdn/auto_setup.tpl.php:164 3124 3124 msgid "Record Type" 3125 3125 msgstr "" 3126 3126 3127 #: tpl/cdn/auto_setup.tpl.php:1 593127 #: tpl/cdn/auto_setup.tpl.php:167 3128 3128 msgid "Count" 3129 3129 msgstr "" 3130 3130 3131 #: tpl/cdn/auto_setup.tpl.php:17 13131 #: tpl/cdn/auto_setup.tpl.php:179 3132 3132 msgid "Record names found" 3133 3133 msgstr "" 3134 3134 3135 #: tpl/cdn/auto_setup.tpl.php:1 743135 #: tpl/cdn/auto_setup.tpl.php:182 3136 3136 msgid "Is something missing?" 3137 3137 msgstr "" 3138 3138 3139 #: tpl/cdn/auto_setup.tpl.php:1 763139 #: tpl/cdn/auto_setup.tpl.php:185 3140 3140 msgid "Review DNS records" 3141 3141 msgstr "" 3142 3142 3143 #: tpl/cdn/auto_setup.tpl.php:1 813143 #: tpl/cdn/auto_setup.tpl.php:191 3144 3144 msgid "" 3145 3145 "Note: For 15 to 20 minutes after setup completes, browsers may issue a \"not " … … 3148 3148 msgstr "" 3149 3149 3150 #: tpl/cdn/auto_setup.tpl.php: 1933150 #: tpl/cdn/auto_setup.tpl.php:203 3151 3151 msgid "Nameservers" 3152 3152 msgstr "" 3153 3153 3154 #: tpl/cdn/auto_setup.tpl.php: 1983154 #: tpl/cdn/auto_setup.tpl.php:208 3155 3155 msgid "Please update your domain registrar to use these custom nameservers:" 3156 3156 msgstr "" 3157 3157 3158 #: tpl/cdn/auto_setup.tpl.php:2 083158 #: tpl/cdn/auto_setup.tpl.php:218 3159 3159 msgid "QUIC.cloud will attempt to verify the DNS update." 3160 3160 msgstr "" 3161 3161 3162 #: tpl/cdn/auto_setup.tpl.php:2 093162 #: tpl/cdn/auto_setup.tpl.php:219 3163 3163 msgid "" 3164 3164 "If it does not verify within 24 hours, the CDN setup will mark the " … … 3166 3166 msgstr "" 3167 3167 3168 #: tpl/cdn/auto_setup.tpl.php:2 103168 #: tpl/cdn/auto_setup.tpl.php:220 3169 3169 msgid "" 3170 3170 "At that stage, you may re-start the verification process by pressing the Run " … … 3172 3172 msgstr "" 3173 3173 3174 #: tpl/cdn/auto_setup.tpl.php:2 143174 #: tpl/cdn/auto_setup.tpl.php:224 3175 3175 msgid "" 3176 3176 "This section will automatically populate once nameservers are configured for " … … 3178 3178 msgstr "" 3179 3179 3180 #: tpl/cdn/auto_setup.tpl.php:2 233180 #: tpl/cdn/auto_setup.tpl.php:233 3181 3181 msgid "Action" 3182 3182 msgstr "" 3183 3183 3184 #: tpl/cdn/auto_setup.tpl.php:2 263184 #: tpl/cdn/auto_setup.tpl.php:236 3185 3185 msgid "The following actions are available:" 3186 3186 msgstr "" 3187 3187 3188 #: tpl/cdn/auto_setup.tpl.php:2 28 tpl/cdn/auto_setup.tpl.php:2533188 #: tpl/cdn/auto_setup.tpl.php:238 tpl/cdn/auto_setup.tpl.php:263 3189 3189 msgid "Reset CDN Setup" 3190 3190 msgstr "" 3191 3191 3192 #: tpl/cdn/auto_setup.tpl.php:2 293192 #: tpl/cdn/auto_setup.tpl.php:239 3193 3193 msgid "" 3194 3194 "Resets all LiteSpeed Cache plugin settings related to CDN setup back to the " … … 3196 3196 msgstr "" 3197 3197 3198 #: tpl/cdn/auto_setup.tpl.php:2 303198 #: tpl/cdn/auto_setup.tpl.php:240 3199 3199 msgid "QUIC.cloud DNS settings are not changed." 3200 3200 msgstr "" 3201 3201 3202 #: tpl/cdn/auto_setup.tpl.php:2 313202 #: tpl/cdn/auto_setup.tpl.php:241 3203 3203 msgid "This allows you to try Auto CDN setup again." 3204 3204 msgstr "" 3205 3205 3206 #: tpl/cdn/auto_setup.tpl.php:2 363206 #: tpl/cdn/auto_setup.tpl.php:246 3207 3207 msgid "This action will not update anything on the QUIC.cloud servers." 3208 3208 msgstr "" 3209 3209 3210 #: tpl/cdn/auto_setup.tpl.php:2 41 tpl/cdn/auto_setup.tpl.php:2563210 #: tpl/cdn/auto_setup.tpl.php:251 tpl/cdn/auto_setup.tpl.php:266 3211 3211 msgid "Delete QUIC.cloud data" 3212 3212 msgstr "" 3213 3213 3214 #: tpl/cdn/auto_setup.tpl.php:2 423214 #: tpl/cdn/auto_setup.tpl.php:252 3215 3215 msgid "" 3216 3216 "Resets all LiteSpeed Cache plugin settings related to CDN setup back to the " … … 3218 3218 msgstr "" 3219 3219 3220 #: tpl/cdn/auto_setup.tpl.php:2 433220 #: tpl/cdn/auto_setup.tpl.php:253 3221 3221 msgid "" 3222 3222 "This allows you to try Auto CDN setup again, or abandon the setup entirely." 3223 3223 msgstr "" 3224 3224 3225 #: tpl/cdn/auto_setup.tpl.php:2 473225 #: tpl/cdn/auto_setup.tpl.php:257 3226 3226 msgid "" 3227 3227 "This action is not available if there is no domain key, the domain is not " … … 3229 3229 msgstr "" 3230 3230 3231 #: tpl/cdn/auto_setup.tpl.php:2 483231 #: tpl/cdn/auto_setup.tpl.php:258 3232 3232 msgid "" 3233 3233 "If you have not yet done so, please replace the QUIC.cloud nameservers at " … … 3235 3235 msgstr "" 3236 3236 3237 #: tpl/cdn/auto_setup.tpl.php:2 523237 #: tpl/cdn/auto_setup.tpl.php:262 3238 3238 msgid "Are you sure you want to reset CDN Setup?" 3239 3239 msgstr "" 3240 3240 3241 #: tpl/cdn/auto_setup.tpl.php:2 553241 #: tpl/cdn/auto_setup.tpl.php:265 3242 3242 msgid "Are you sure you want to delete QUIC.cloud data?" 3243 3243 msgstr "" … … 5205 5205 5206 5206 #: tpl/page_optm/settings_localization.tpl.php:127 5207 #: tpl/toolbox/beta_test.tpl.php:3 05207 #: tpl/toolbox/beta_test.tpl.php:31 5208 5208 msgid "Example" 5209 5209 msgstr "" … … 5743 5743 msgstr "" 5744 5744 5745 #: tpl/toolbox/beta_test.tpl.php:2 55745 #: tpl/toolbox/beta_test.tpl.php:26 5746 5746 msgid "Try GitHub Version" 5747 5747 msgstr "" 5748 5748 5749 #: tpl/toolbox/beta_test.tpl.php: 295749 #: tpl/toolbox/beta_test.tpl.php:30 5750 5750 msgid "" 5751 5751 "Use this section to switch plugin versions. To beta test a GitHub commit, " … … 5753 5753 msgstr "" 5754 5754 5755 #: tpl/toolbox/beta_test.tpl.php:3 45755 #: tpl/toolbox/beta_test.tpl.php:35 5756 5756 msgid "Use latest GitHub Dev commit" 5757 5757 msgstr "" 5758 5758 5759 #: tpl/toolbox/beta_test.tpl.php:3 65759 #: tpl/toolbox/beta_test.tpl.php:37 5760 5760 msgid "Use latest GitHub Master commit" 5761 5761 msgstr "" 5762 5762 5763 #: tpl/toolbox/beta_test.tpl.php:3 8 tpl/toolbox/beta_test.tpl.php:545763 #: tpl/toolbox/beta_test.tpl.php:39 tpl/toolbox/beta_test.tpl.php:55 5764 5764 msgid "Use latest WordPress release version" 5765 5765 msgstr "" 5766 5766 5767 #: tpl/toolbox/beta_test.tpl.php:3 85767 #: tpl/toolbox/beta_test.tpl.php:39 5768 5768 msgid "OR" 5769 5769 msgstr "" 5770 5770 5771 #: tpl/toolbox/beta_test.tpl.php: 495771 #: tpl/toolbox/beta_test.tpl.php:50 5772 5772 msgid "" 5773 5773 "Downgrade not recommended. May cause fatal error due to refactored code." 5774 5774 msgstr "" 5775 5775 5776 #: tpl/toolbox/beta_test.tpl.php:5 35776 #: tpl/toolbox/beta_test.tpl.php:54 5777 5777 msgid "" 5778 5778 "Press the %s button to use the most recent GitHub commit. Master is for " … … 5780 5780 msgstr "" 5781 5781 5782 #: tpl/toolbox/beta_test.tpl.php:5 35782 #: tpl/toolbox/beta_test.tpl.php:54 5783 5783 msgid "Use latest GitHub Dev/Master commit" 5784 5784 msgstr "" 5785 5785 5786 #: tpl/toolbox/beta_test.tpl.php:5 45786 #: tpl/toolbox/beta_test.tpl.php:55 5787 5787 msgid "" 5788 5788 "Press the %s button to stop beta testing and go back to the current release " … … 5790 5790 msgstr "" 5791 5791 5792 #: tpl/toolbox/beta_test.tpl.php: 595792 #: tpl/toolbox/beta_test.tpl.php:60 5793 5793 msgid "" 5794 5794 "In order to avoid an upgrade error, you must be using %1$s or later before " -
litespeed-cache/trunk/litespeed-cache.php
r2977143 r2983968 5 5 * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration 6 6 * Description: High-performance page caching and site optimization from LiteSpeed 7 * Version: 5.7 7 * Version: 5.7.0.1 8 8 * Author: LiteSpeed Technologies 9 9 * Author URI: https://www.litespeedtech.com … … 35 35 } 36 36 37 !defined('LSCWP_V') && define('LSCWP_V', '5.7 ');37 !defined('LSCWP_V') && define('LSCWP_V', '5.7.0.1'); 38 38 39 39 !defined('LSCWP_CONTENT_DIR') && define('LSCWP_CONTENT_DIR', WP_CONTENT_DIR); -
litespeed-cache/trunk/readme.txt
r2977143 r2983968 3 3 Tags: caching, optimize, performance, pagespeed, core web vitals, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner 4 4 Requires at least: 4.0 5 Tested up to: 6.3. 16 Stable tag: 5.7 5 Tested up to: 6.3.2 6 Stable tag: 5.7.0.1 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl.html … … 250 250 251 251 == Changelog == 252 253 = 5.7.0.1 - Oct 25 2023 = 254 * **GUI** Improvements to admin banner messaging. (#694622) 255 * **CDN** Improvements to CDN Setup. (#694622) 256 * **Image Optimize** Improvements to the process of checking image identification. (#694622) 252 257 253 258 = 5.7 - Oct 10 2023 = -
litespeed-cache/trunk/src/admin-display.cls.php
r2808204 r2983968 324 324 $str = Lang::maybe_translate( $str ); 325 325 326 return '<div class="litespeed_icon ' . $cls . '"><p>' . $str. '</p></div>';326 return '<div class="litespeed_icon ' . $cls . '"><p>' . wp_kses_post($str) . '</p></div>'; 327 327 } 328 328 -
litespeed-cache/trunk/src/cdn-setup.cls.php
r2808204 r2983968 1 1 <?php 2 2 3 /** 3 4 * CDN Setup service cls … … 5 6 * @since 3.0 6 7 */ 8 7 9 namespace LiteSpeed; 8 defined( 'WPINC' ) || exit; 9 10 class Cdn_Setup extends Base { 10 11 defined('WPINC') || exit; 12 13 class Cdn_Setup extends Base 14 { 11 15 const LOG_TAG = '👷'; 12 16 … … 26 30 * @since 3.0 27 31 */ 28 public function __construct() { 29 $this->_setup_token = $this->conf( self::O_QC_TOKEN ); 32 public function __construct() 33 { 34 $this->_setup_token = $this->conf(self::O_QC_TOKEN); 30 35 $this->_summary = self::get_summary(); 31 36 } … … 36 41 * @since 3.0 37 42 */ 38 public function maybe_extract_token() {39 $params = $this->cls( 'Cloud' )->parse_qc_redir( [ 'token' ] ); 40 41 if ( isset( $params[ 'token' ] ) ) { 42 $this->_setup_token = $params[ 'token' ];43 $this-> cls( 'Conf' )->update_confs( array( self::O_QC_TOKEN => $this->_setup_token ) );44 unset( $_GET[ 'token' ]);45 }46 43 public function maybe_extract_token() 44 { 45 $params = $this->cls('Cloud')->parse_qc_redir(['token']); 46 47 if (isset($params['token'])) { 48 $this->_setup_token = $params['token']; 49 $this->cls('Conf')->update_confs(array(self::O_QC_TOKEN => $this->_setup_token)); 50 unset($_GET['token']); 51 } 47 52 } 48 53 … … 53 58 * @access public 54 59 */ 55 public function update_cdn_status() { 56 57 if ( !isset( $_POST[ 'success' ] ) || !isset( $_POST[ 'result' ] ) ) { 58 self::save_summary( array( 'cdn_setup_err' => __( 'Received invalid message from the cloud server. Please submit a ticket.', 'litespeed-cache' ) ) ); 59 return self::err( 'lack_of_param' ); 60 } 61 if (!$_POST[ 'success' ]) { 62 self::save_summary( array( 'cdn_setup_err' => $_POST[ 'result' ][ '_msg' ] ) ); 63 Admin_Display::error( __( 'There was an error during CDN setup: ', 'litespeed-cache' ) . $_POST[ 'result' ][ '_msg' ] ); 60 public function update_cdn_status() 61 { 62 if (empty($_POST['hash'])) { 63 self::debug('Lack of hash param'); 64 return self::err('lack_of_param'); 65 } 66 67 if ($_POST['hash'] !== md5(substr($this->conf(self::O_API_KEY), 3, 8))) { 68 self::debug('token validate failed: token mismatch hash !== ' . $_POST['hash']); 69 return self::err('callback_fail_hash'); 70 } 71 72 if (!isset($_POST['success']) || !isset($_POST['result'])) { 73 self::save_summary(array('cdn_setup_err' => __('Received invalid message from the cloud server. Please submit a ticket.', 'litespeed-cache'))); 74 return self::err('lack_of_param'); 75 } 76 if (!$_POST['success'] && !empty($_POST['result']['_msg'])) { 77 $msg = wp_kses_post($_POST['result']['_msg']); 78 self::save_summary(array('cdn_setup_err' => $msg)); 79 Admin_Display::error(__('There was an error during CDN setup: ', 'litespeed-cache') . $msg); 64 80 } else { 65 $this->_process_cdn_status($_POST[ 'result']);81 $this->_process_cdn_status($_POST['result']); 66 82 } 67 83 … … 75 91 * @access private 76 92 */ 77 private function _qc_refresh() { 93 private function _qc_refresh() 94 { 78 95 79 96 $json = $this->cls('Cloud')->req_rest_api('/user/cdn/status'); … … 82 99 return; 83 100 } else if (is_string($json)) { 84 self::save_summary( array( 'cdn_setup_err' => $json ));101 self::save_summary(array('cdn_setup_err' => $json)); 85 102 return; 86 103 } … … 99 116 * @access private 100 117 */ 101 private function _process_cdn_status($result) { 102 103 if ( isset($result[ 'nameservers' ] ) ) { 118 private function _process_cdn_status($result) 119 { 120 121 if (isset($result['nameservers'])) { 104 122 if (isset($this->_summary['cdn_setup_err'])) { 105 123 unset($this->_summary['cdn_setup_err']); 106 124 } 107 if (isset($result[ 'summary' ])) { 108 $this->_summary[ 'cdn_dns_summary' ] = $result[ 'summary' ]; 109 } 110 $this->cls( 'Cloud' )->set_linked(); 111 $this->cls( 'Conf' )->update_confs( array( self::O_QC_NAMESERVERS => $result[ 'nameservers' ], self::O_CDN_QUIC => true ) ); 112 Admin_Display::succeed( '🎊 ' . __( 'Congratulations, QUIC.cloud successfully set this domain up for the CDN. Please update your nameservers to:', 'litespeed-cache' ) . $result[ 'nameservers' ] ); 113 } else if ( isset($result[ 'done' ] ) ) { 114 if ( isset( $this->_summary[ 'cdn_setup_err' ] ) ) { 115 unset( $this->_summary[ 'cdn_setup_err' ] ); 116 } 117 if ( isset( $this->_summary[ 'cdn_verify_msg' ] ) ) { 118 unset( $this->_summary[ 'cdn_verify_msg' ] ); 119 } 120 $this->_summary[ 'cdn_setup_done_ts' ] = time(); 125 if (isset($result['summary'])) { 126 $this->_summary['cdn_dns_summary'] = $result['summary']; 127 } 128 $this->cls('Cloud')->set_linked(); 129 $nameservers = esc_html($result['nameservers']); 130 $this->cls('Conf')->update_confs(array(self::O_QC_NAMESERVERS => $nameservers, self::O_CDN_QUIC => true)); 131 Admin_Display::succeed('🎊 ' . __('Congratulations, QUIC.cloud successfully set this domain up for the CDN. Please update your nameservers to:', 'litespeed-cache') . $nameservers); 132 } else if (isset($result['done'])) { 133 if (isset($this->_summary['cdn_setup_err'])) { 134 unset($this->_summary['cdn_setup_err']); 135 } 136 if (isset($this->_summary['cdn_verify_msg'])) { 137 unset($this->_summary['cdn_verify_msg']); 138 } 139 $this->_summary['cdn_setup_done_ts'] = time(); 121 140 122 141 $this->_setup_token = ''; 123 $this->cls( 'Conf' )->update_confs( array( self::O_QC_TOKEN => '', self::O_QC_NAMESERVERS => '' ));124 } else if ( isset($result[ '_msg' ] )) {125 $notice = $result[ '_msg' ];126 if ( $this->conf( Base::O_QC_NAMESERVERS)) {127 $this->_summary[ 'cdn_verify_msg' ] = $result[ '_msg' ];128 $notice = array('cdn_verify_msg' => $ result[ '_msg' ]);129 } 130 Admin_Display::succeed( $notice);142 $this->cls('Conf')->update_confs(array(self::O_QC_TOKEN => '', self::O_QC_NAMESERVERS => '')); 143 } else if (isset($result['_msg'])) { 144 $notice = esc_html($result['_msg']); 145 if ($this->conf(Base::O_QC_NAMESERVERS)) { 146 $this->_summary['cdn_verify_msg'] = $notice; 147 $notice = array('cdn_verify_msg' => $notice); 148 } 149 Admin_Display::succeed($notice); 131 150 } else { 132 Admin_Display::succeed( __( 'CDN Setup is running.', 'litespeed-cache' ));151 Admin_Display::succeed(__('CDN Setup is running.', 'litespeed-cache')); 133 152 } 134 153 self::save_summary(); … … 141 160 * @access private 142 161 */ 143 private function _qc_reset($delete) { 162 private function _qc_reset($delete) 163 { 144 164 $data = array( 145 165 'site_url' => home_url(), … … 151 171 152 172 if (!empty($this->_setup_token)) { 153 $data['rest'] = function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json');173 $data['rest'] = function_exists('rest_get_url_prefix') ? rest_get_url_prefix() : apply_filters('rest_url_prefix', 'wp-json'); 154 174 155 175 $json = $this->cls('Cloud')->req_rest_api('/user/cdn/reset', $data); … … 158 178 return; 159 179 } else if (is_string($json) && $json != 'unauthorized access to REST API.') { 160 self::save_summary( array( 'cdn_setup_err' => $json ));180 self::save_summary(array('cdn_setup_err' => $json)); 161 181 return; 162 182 } 163 } else if ( ! isset( $this->_summary[ 'cdn_setup_done_ts' ] ) || ! $this->_summary[ 'cdn_setup_done_ts' ] ) { 164 Admin_Display::info( __( 'Notice: CDN Setup only reset locally.', 'litespeed-cache')); 165 } else if ( ! Cloud::get_summary( 'is_linked' ) ) { 166 167 Admin_Display::error( __( 'Cannot delete, site is not linked.', 'litespeed-cache' ) ); 168 return; 169 183 } else if (!isset($this->_summary['cdn_setup_done_ts']) || !$this->_summary['cdn_setup_done_ts']) { 184 Admin_Display::info(__('Notice: CDN Setup only reset locally.', 'litespeed-cache')); 185 } else if (!Cloud::get_summary('is_linked')) { 186 187 Admin_Display::error(__('Cannot delete, site is not linked.', 'litespeed-cache')); 188 return; 170 189 } else { 171 190 172 $json = Cloud::post( Cloud::SVC_D_DEL_CDN_DNS, $data);191 $json = Cloud::post(Cloud::SVC_D_DEL_CDN_DNS, $data); 173 192 174 193 if (!is_array($json)) { … … 177 196 } 178 197 179 if ( isset( $this->_summary[ 'cdn_setup_ts' ] )) {180 unset( $this->_summary[ 'cdn_setup_ts' ]);181 } 182 if ( isset( $this->_summary[ 'cdn_setup_done_ts' ] )) {183 unset( $this->_summary[ 'cdn_setup_done_ts' ]);184 } 185 if ( isset( $this->_summary[ 'cdn_setup_err' ] )) {186 unset( $this->_summary[ 'cdn_setup_err' ]);187 } 188 if ( isset( $this->_summary[ 'cdn_verify_msg' ] )) {189 unset( $this->_summary[ 'cdn_verify_msg' ]);190 } 191 if ( isset( $this->_summary[ 'cdn_dns_summary' ] )) {192 unset( $this->_summary[ 'cdn_dns_summary' ]);198 if (isset($this->_summary['cdn_setup_ts'])) { 199 unset($this->_summary['cdn_setup_ts']); 200 } 201 if (isset($this->_summary['cdn_setup_done_ts'])) { 202 unset($this->_summary['cdn_setup_done_ts']); 203 } 204 if (isset($this->_summary['cdn_setup_err'])) { 205 unset($this->_summary['cdn_setup_err']); 206 } 207 if (isset($this->_summary['cdn_verify_msg'])) { 208 unset($this->_summary['cdn_verify_msg']); 209 } 210 if (isset($this->_summary['cdn_dns_summary'])) { 211 unset($this->_summary['cdn_dns_summary']); 193 212 } 194 213 self::save_summary($this->_summary, false, true); 195 214 196 215 $this->_setup_token = ''; 197 $this->cls( 'Conf' )->update_confs( array( self::O_QC_TOKEN => '', self::O_QC_NAMESERVERS => '', self::O_CDN_QUIC => false ));216 $this->cls('Conf')->update_confs(array(self::O_QC_TOKEN => '', self::O_QC_NAMESERVERS => '', self::O_CDN_QUIC => false)); 198 217 $msg = ''; 199 218 if ($delete) { 200 $msg = __( 'CDN Setup Token and DNS zone deleted. Note: if my.quic.cloud account deletion is desired, that the account still exists and must be deleted separately.', 'litespeed-cache');219 $msg = __('CDN Setup Token and DNS zone deleted. Note: if my.quic.cloud account deletion is desired, that the account still exists and must be deleted separately.', 'litespeed-cache'); 201 220 } else { 202 $msg = __( 'CDN Setup Token reset. Note: if my.quic.cloud account deletion is desired, that the account still exists and must be deleted separately.', 'litespeed-cache');203 } 204 Admin_Display::succeed( $msg);221 $msg = __('CDN Setup Token reset. Note: if my.quic.cloud account deletion is desired, that the account still exists and must be deleted separately.', 'litespeed-cache'); 222 } 223 Admin_Display::succeed($msg); 205 224 return self::ok(); 206 225 } … … 211 230 * @since 4.7 212 231 */ 213 public function has_cdn_setup_token() { 214 return !empty( $this->_setup_token ); 232 public function has_cdn_setup_token() 233 { 234 return !empty($this->_setup_token); 215 235 } 216 236 … … 222 242 * @since 4.7 223 243 */ 224 private function _qc_link() { 225 if ( $this->has_cdn_setup_token() ) { 244 private function _qc_link() 245 { 246 if ($this->has_cdn_setup_token()) { 226 247 return; 227 248 } … … 229 250 $data = array( 230 251 'site_url' => home_url(), 231 'ref' => get_admin_url( null, 'admin.php?page=litespeed-cdn'),252 'ref' => get_admin_url(null, 'admin.php?page=litespeed-cdn'), 232 253 ); 233 $api_key = $this->conf( self::O_API_KEY);254 $api_key = $this->conf(self::O_API_KEY); 234 255 if ($api_key) { 235 $data['domain_hash'] = md5( substr( $api_key, 0, 8 ));236 } 237 238 wp_redirect( Cloud::CLOUD_SERVER_DASH . '/u/wptoken?data=' . Utility::arr2str( $data ));256 $data['domain_hash'] = md5(substr($api_key, 0, 8)); 257 } 258 259 wp_redirect(Cloud::CLOUD_SERVER_DASH . '/u/wptoken?data=' . Utility::arr2str($data)); 239 260 exit; 240 261 } … … 247 268 * @since 4.7 248 269 */ 249 private function _qc_nolink() { 250 if ( $this->has_cdn_setup_token() ) { 270 private function _qc_nolink() 271 { 272 if ($this->has_cdn_setup_token()) { 251 273 return; 252 274 } … … 256 278 ); 257 279 258 $json = Cloud::post( Cloud::SVC_D_SETUP_TOKEN, $data);259 260 if (isset($json[ 'token'])) {261 self::save_summary( array( 'cdn_setup_ts' => time() ));262 $this->_setup_token = $json[ 'token'];263 $this->cls( 'Conf' )->update_confs( array( self::O_QC_TOKEN => $this->_setup_token ));280 $json = Cloud::post(Cloud::SVC_D_SETUP_TOKEN, $data); 281 282 if (isset($json['token'])) { 283 self::save_summary(array('cdn_setup_ts' => time())); 284 $this->_setup_token = $json['token']; 285 $this->cls('Conf')->update_confs(array(self::O_QC_TOKEN => $this->_setup_token)); 264 286 } 265 287 } … … 270 292 * @since 4.7 271 293 */ 272 private function _qc_run() { 294 private function _qc_run() 295 { 273 296 274 297 $data = array( 275 298 'site_url' => home_url(), 276 'rest' => function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json'),277 'server_ip' => $this->conf( self::O_SERVER_IP),299 'rest' => function_exists('rest_get_url_prefix') ? rest_get_url_prefix() : apply_filters('rest_url_prefix', 'wp-json'), 300 'server_ip' => $this->conf(self::O_SERVER_IP), 278 301 ); 279 302 280 $api_key = $this->conf( self::O_API_KEY);303 $api_key = $this->conf(self::O_API_KEY); 281 304 if ($api_key) { 282 $data['domain_hash'] = md5( substr( $api_key, 0, 8 ));283 } 284 285 $__cloud = $this->cls( 'Cloud');305 $data['domain_hash'] = md5(substr($api_key, 0, 8)); 306 } 307 308 $__cloud = $this->cls('Cloud'); 286 309 $json = $__cloud->req_rest_api('/user/cdn/', $data); 287 310 … … 289 312 return; 290 313 } else if (is_string($json)) { 291 self::save_summary( array( 'cdn_setup_err' => $json ));292 return; 293 } 294 295 $this->_summary[ 'cdn_setup_ts'] = time();314 self::save_summary(array('cdn_setup_err' => $json)); 315 return; 316 } 317 318 $this->_summary['cdn_setup_ts'] = time(); 296 319 297 320 $msg = ''; … … 302 325 $json = $json['result']; 303 326 304 if ( isset( $this->_summary[ 'cdn_setup_err' ] )) {305 unset( $this->_summary[ 'cdn_setup_err' ]);306 } 307 308 if ( isset( $this->_summary[ 'cdn_verify_msg' ] )) {309 unset( $this->_summary[ 'cdn_verify_msg' ]);327 if (isset($this->_summary['cdn_setup_err'])) { 328 unset($this->_summary['cdn_setup_err']); 329 } 330 331 if (isset($this->_summary['cdn_verify_msg'])) { 332 unset($this->_summary['cdn_verify_msg']); 310 333 } 311 334 self::save_summary(); 312 335 313 336 // Save token option 314 if ( ! empty( $json[ 'token' ] )) {315 $__cloud->set_keygen_token( $json[ 'token' ]);337 if (!empty($json['token'])) { 338 $__cloud->set_keygen_token($json['token']); 316 339 } 317 340 318 341 // This is a ok msg 319 if ( ! empty( $msg )) {320 self::debug( '_msg: ' . $msg);321 322 $msg = __( 'Message from QUIC.cloud server', 'litespeed-cache') . ': ' . $msg;323 Admin_Display::info( $msg);324 return; 325 } 326 327 self::debug( '✅ Successfully start CDN setup.');342 if (!empty($msg)) { 343 self::debug('_msg: ' . $msg); 344 345 $msg = __('Message from QUIC.cloud server', 'litespeed-cache') . ': ' . $msg; 346 Admin_Display::info($msg); 347 return; 348 } 349 350 self::debug('✅ Successfully start CDN setup.'); 328 351 } 329 352 … … 333 356 * @since 3.0 334 357 */ 335 public static function ok( $data = array() ) { 336 $data[ '_res' ] = 'ok'; 358 public static function ok($data = array()) 359 { 360 $data['_res'] = 'ok'; 337 361 return $data; 338 362 } … … 343 367 * @since 3.0 344 368 */ 345 public static function err( $code ) { 346 return array( '_res' => 'err', '_msg' => $code ); 369 public static function err($code) 370 { 371 return array('_res' => 'err', '_msg' => $code); 347 372 } 348 373 … … 353 378 * @access public 354 379 */ 355 public function handler() { 380 public function handler() 381 { 356 382 $type = Router::verify_type(); 357 383 358 switch ( $type) {384 switch ($type) { 359 385 360 386 case self::TYPE_LINK: -
litespeed-cache/trunk/src/cloud.cls.php
r2977143 r2983968 1255 1255 { 1256 1256 try { 1257 $this-> _validate_hash();1257 $this->validate_hash(); 1258 1258 } catch (\Exception $e) { 1259 1259 return self::err($e->getMessage()); … … 1281 1281 1282 1282 try { 1283 $this-> _validate_hash(1);1283 $this->validate_hash(1); 1284 1284 } catch (\Exception $e) { 1285 1285 return self::err($e->getMessage()); … … 1309 1309 * @since 3.0 1310 1310 */ 1311 p rivate function _validate_hash($offset = 0)1311 public function validate_hash($offset = 0) 1312 1312 { 1313 1313 if (empty($_POST['hash'])) { -
litespeed-cache/trunk/src/rest.cls.php
r2832517 r2983968 1 1 <?php 2 2 3 /** 3 4 * The REST related class. … … 5 6 * @since 2.9.4 6 7 */ 8 7 9 namespace LiteSpeed; 8 10 9 defined( 'WPINC' ) || exit; 10 11 class REST extends Root { 11 defined('WPINC') || exit; 12 13 class REST extends Root 14 { 12 15 const LOG_TAG = '☎️'; 13 16 private $_internal_rest_status = false; … … 18 21 * @since 2.9.4 19 22 */ 20 public function __construct() { 23 public function __construct() 24 { 21 25 // Hook to internal REST call 22 add_filter( 'rest_request_before_callbacks', array( $this, 'set_internal_rest_on' ));23 add_filter( 'rest_request_after_callbacks', array( $this, 'set_internal_rest_off' ));24 25 add_action( 'rest_api_init', array( $this, 'rest_api_init' ));26 add_filter('rest_request_before_callbacks', array($this, 'set_internal_rest_on')); 27 add_filter('rest_request_after_callbacks', array($this, 'set_internal_rest_off')); 28 29 add_action('rest_api_init', array($this, 'rest_api_init')); 26 30 } 27 31 … … 32 36 * @access public 33 37 */ 34 public function rest_api_init() { 38 public function rest_api_init() 39 { 35 40 // Activate or deactivate a specific crawler callback 36 register_rest_route( 'litespeed/v1', '/toggle_crawler_state', array(37 'methods' => 'POST', 38 'callback' => array( $this, 'toggle_crawler_state'),39 'permission_callback' => function () {40 return current_user_can( 'manage_network_options' ) || current_user_can( 'manage_options');41 register_rest_route('litespeed/v1', '/toggle_crawler_state', array( 42 'methods' => 'POST', 43 'callback' => array($this, 'toggle_crawler_state'), 44 'permission_callback' => function () { 45 return current_user_can('manage_network_options') || current_user_can('manage_options'); 41 46 } 42 ) );43 44 register_rest_route( 'litespeed/v1', '/tool/check_ip', array(47 )); 48 49 register_rest_route('litespeed/v1', '/tool/check_ip', array( 45 50 'methods' => 'GET', 46 'callback' => array( $this, 'check_ip'),47 'permission_callback' => function () {48 return current_user_can( 'manage_network_options' ) || current_user_can( 'manage_options');51 'callback' => array($this, 'check_ip'), 52 'permission_callback' => function () { 53 return current_user_can('manage_network_options') || current_user_can('manage_options'); 49 54 } 50 ) );55 )); 51 56 52 57 // IP callback validate 53 register_rest_route( 'litespeed/v1', '/ip_validate', array(54 'methods' => 'POST', 55 'callback' => array( $this, 'ip_validate'),56 'permission_callback' => array( $this, 'is_from_cloud'),57 ) );58 register_rest_route('litespeed/v1', '/ip_validate', array( 59 'methods' => 'POST', 60 'callback' => array($this, 'ip_validate'), 61 'permission_callback' => array($this, 'is_from_cloud'), 62 )); 58 63 59 64 // Token callback validate 60 register_rest_route( 'litespeed/v1', '/token', array(61 'methods' => 'POST', 62 'callback' => array( $this, 'token'),63 'permission_callback' => array( $this, 'is_from_cloud'),64 ) );65 register_rest_route( 'litespeed/v1', '/token', array(65 register_rest_route('litespeed/v1', '/token', array( 66 'methods' => 'POST', 67 'callback' => array($this, 'token'), 68 'permission_callback' => array($this, 'is_from_cloud'), 69 )); 70 register_rest_route('litespeed/v1', '/token', array( 66 71 'methods' => 'GET', 67 'callback' => array( $this, 'token_get'),68 'permission_callback' => array( $this, 'is_from_cloud'),69 ) );70 register_rest_route( 'litespeed/v1', '/ping', array(72 'callback' => array($this, 'token_get'), 73 'permission_callback' => array($this, 'is_from_cloud'), 74 )); 75 register_rest_route('litespeed/v1', '/ping', array( 71 76 'methods' => 'GET', 72 'callback' => array( $this, 'ping'),77 'callback' => array($this, 'ping'), 73 78 'permission_callback' => '__return_true', 74 ) );79 )); 75 80 76 81 // API key callback notification 77 register_rest_route( 'litespeed/v1', '/apikey', array(78 'methods' => 'POST', 79 'callback' => array( $this, 'apikey'),80 'permission_callback' => array( $this, 'is_from_cloud'),81 ) );82 register_rest_route('litespeed/v1', '/apikey', array( 83 'methods' => 'POST', 84 'callback' => array($this, 'apikey'), 85 'permission_callback' => array($this, 'is_from_cloud'), 86 )); 82 87 83 88 // CDN setup callback notification 84 register_rest_route( 'litespeed/v1', '/cdn_status', array(85 'methods' => 'POST', 86 'callback' => array( $this, 'cdn_status'),87 'permission_callback' => array( $this, 'is_from_cloud'),88 ) );89 register_rest_route('litespeed/v1', '/cdn_status', array( 90 'methods' => 'POST', 91 'callback' => array($this, 'cdn_status'), 92 'permission_callback' => array($this, 'is_from_cloud'), 93 )); 89 94 90 95 // Image optm notify_img 91 96 // Need validation 92 register_rest_route( 'litespeed/v1', '/notify_img', array(93 'methods' => 'POST', 94 'callback' => array( $this, 'notify_img'),95 'permission_callback' => array( $this, 'is_from_cloud'),96 ) );97 98 register_rest_route( 'litespeed/v1', '/notify_ucss', array(99 'methods' => 'POST', 100 'callback' => array( $this, 'notify_ucss'),101 'permission_callback' => array( $this, 'is_from_cloud'),102 ) );103 104 register_rest_route( 'litespeed/v1', '/notify_vpi', array(105 'methods' => 'POST', 106 'callback' => array( $this, 'notify_vpi'),107 'permission_callback' => array( $this, 'is_from_cloud'),108 ) );109 110 register_rest_route( 'litespeed/v1', '/err_domains', array(111 'methods' => 'POST', 112 'callback' => array( $this, 'err_domains'),113 'permission_callback' => array( $this, 'is_from_cloud'),114 ) );97 register_rest_route('litespeed/v1', '/notify_img', array( 98 'methods' => 'POST', 99 'callback' => array($this, 'notify_img'), 100 'permission_callback' => array($this, 'is_from_cloud'), 101 )); 102 103 register_rest_route('litespeed/v1', '/notify_ucss', array( 104 'methods' => 'POST', 105 'callback' => array($this, 'notify_ucss'), 106 'permission_callback' => array($this, 'is_from_cloud'), 107 )); 108 109 register_rest_route('litespeed/v1', '/notify_vpi', array( 110 'methods' => 'POST', 111 'callback' => array($this, 'notify_vpi'), 112 'permission_callback' => array($this, 'is_from_cloud'), 113 )); 114 115 register_rest_route('litespeed/v1', '/err_domains', array( 116 'methods' => 'POST', 117 'callback' => array($this, 'err_domains'), 118 'permission_callback' => array($this, 'is_from_cloud'), 119 )); 115 120 116 121 // Image optm check_img 117 122 // Need validation 118 register_rest_route( 'litespeed/v1', '/check_img', array( 119 'methods' => 'POST', 120 'callback' => array( $this, 'check_img' ), 121 'permission_callback' => array( $this, 'is_from_cloud' ), 122 ) ); 123 123 register_rest_route('litespeed/v1', '/check_img', array( 124 'methods' => 'POST', 125 'callback' => array($this, 'check_img'), 126 'permission_callback' => array($this, 'is_from_cloud'), 127 )); 124 128 } 125 129 … … 129 133 * @since 4.3 130 134 */ 131 public function toggle_crawler_state() { 132 if( isset( $_POST[ 'crawler_id' ] ) ) { 133 return $this->cls( 'Crawler' )->toggle_activeness( $_POST[ 'crawler_id' ] ) ? 1 : 0; 135 public function toggle_crawler_state() 136 { 137 if (isset($_POST['crawler_id'])) { 138 return $this->cls('Crawler')->toggle_activeness($_POST['crawler_id']) ? 1 : 0; 134 139 } 135 140 } … … 141 146 * @since 4.4.7 As there is always token/api key validation, ip validation is redundant 142 147 */ 143 public function is_from_cloud() { 148 public function is_from_cloud() 149 { 144 150 return true; 145 151 // return $this->cls( 'Cloud' )->is_from_cloud(); … … 151 157 * @since 3.0.4 152 158 */ 153 public function token_get() { 159 public function token_get() 160 { 154 161 return Cloud::ok(); 155 162 } … … 160 167 * @since 3.0.4 161 168 */ 162 public function ping() { 163 return Cloud::ok( array( 'ver' => Core::VER ) ); 164 } 165 166 /** 167 * Launch api call 168 * 169 * @since 3.0 170 */ 171 public function check_ip() { 169 public function ping() 170 { 171 return Cloud::ok(array('ver' => Core::VER)); 172 } 173 174 /** 175 * Launch api call 176 * 177 * @since 3.0 178 */ 179 public function check_ip() 180 { 172 181 return Tool::cls()->check_ip(); 173 182 } … … 178 187 * @since 3.0 179 188 */ 180 public function ip_validate() { 181 return $this->cls( 'Cloud' )->ip_validate(); 182 } 183 184 /** 185 * Launch api call 186 * 187 * @since 3.0 188 */ 189 public function token() { 190 return $this->cls( 'Cloud' )->token_validate(); 191 } 192 193 /** 194 * Launch api call 195 * 196 * @since 3.0 197 */ 198 public function apikey() { 199 return $this->cls( 'Cloud' )->save_apikey(); 189 public function ip_validate() 190 { 191 return $this->cls('Cloud')->ip_validate(); 192 } 193 194 /** 195 * Launch api call 196 * 197 * @since 3.0 198 */ 199 public function token() 200 { 201 return $this->cls('Cloud')->token_validate(); 202 } 203 204 /** 205 * Launch api call 206 * 207 * @since 3.0 208 */ 209 public function apikey() 210 { 211 return $this->cls('Cloud')->save_apikey(); 200 212 } 201 213 … … 205 217 * @since 3.0 206 218 */ 207 public function cdn_status() { 208 return $this->cls( 'Cdn_Setup' )->update_cdn_status(); 209 } 210 211 /** 212 * Launch api call 213 * 214 * @since 3.0 215 */ 216 public function notify_img() { 219 public function cdn_status() 220 { 221 return $this->cls('Cdn_Setup')->update_cdn_status(); 222 } 223 224 /** 225 * Launch api call 226 * 227 * @since 3.0 228 */ 229 public function notify_img() 230 { 217 231 return Img_Optm::cls()->notify_img(); 218 232 } … … 221 235 * @since 5.2 222 236 */ 223 public function notify_ucss() { 237 public function notify_ucss() 238 { 224 239 self::debug('notify_ucss'); 225 240 return UCSS::cls()->notify(); … … 229 244 * @since 4.7 230 245 */ 231 public function notify_vpi() { 246 public function notify_vpi() 247 { 232 248 self::debug('notify_vpi'); 233 249 return VPI::cls()->notify(); … … 237 253 * @since 4.7 238 254 */ 239 public function err_domains() { 255 public function err_domains() 256 { 240 257 self::debug('err_domains'); 241 return $this->cls( 'Cloud' )->rest_err_domains(); 242 } 243 244 /** 245 * Launch api call 246 * 247 * @since 3.0 248 */ 249 public function check_img() { 258 return $this->cls('Cloud')->rest_err_domains(); 259 } 260 261 /** 262 * Launch api call 263 * 264 * @since 3.0 265 */ 266 public function check_img() 267 { 268 try { 269 $this->cls('Cloud')->validate_hash(4); 270 } catch (\Exception $e) { 271 return self::err($e->getMessage()); 272 } 273 250 274 return Img_Optm::cls()->check_img(); 251 275 } 252 276 253 277 /** 278 * Return error 279 * 280 * @since 5.7.0.1 281 */ 282 public static function err($code) 283 { 284 return array('_res' => 'err', '_msg' => $code); 285 } 286 287 /** 254 288 * Set internal REST tag to ON 255 289 * … … 257 291 * @access public 258 292 */ 259 public function set_internal_rest_on( $not_used = null)293 public function set_internal_rest_on($not_used = null) 260 294 { 261 295 $this->_internal_rest_status = true; 262 Debug2::debug2( '[REST] ✅ Internal REST ON [filter] rest_request_before_callbacks');296 Debug2::debug2('[REST] ✅ Internal REST ON [filter] rest_request_before_callbacks'); 263 297 264 298 return $not_used; … … 271 305 * @access public 272 306 */ 273 public function set_internal_rest_off( $not_used = null)307 public function set_internal_rest_off($not_used = null) 274 308 { 275 309 $this->_internal_rest_status = false; 276 Debug2::debug2( '[REST] ❎ Internal REST OFF [filter] rest_request_after_callbacks');310 Debug2::debug2('[REST] ❎ Internal REST OFF [filter] rest_request_after_callbacks'); 277 311 278 312 return $not_used; … … 297 331 * @access public 298 332 */ 299 public function is_rest( $url = false)333 public function is_rest($url = false) 300 334 { 301 335 // For WP 4.4.0- compatibility 302 if ( ! function_exists( 'rest_get_url_prefix' )) {303 return defined( 'REST_REQUEST') && REST_REQUEST;336 if (!function_exists('rest_get_url_prefix')) { 337 return defined('REST_REQUEST') && REST_REQUEST; 304 338 } 305 339 … … 307 341 308 342 // Case #1: After WP_REST_Request initialisation 309 if ( defined( 'REST_REQUEST' ) && REST_REQUEST) {343 if (defined('REST_REQUEST') && REST_REQUEST) { 310 344 return true; 311 345 } 312 346 313 347 // Case #2: Support "plain" permalink settings 314 if ( isset( $_GET[ 'rest_route' ] ) && strpos( trim( $_GET[ 'rest_route' ], '\\/' ), $prefix , 0 ) === 0) {348 if (isset($_GET['rest_route']) && strpos(trim($_GET['rest_route'], '\\/'), $prefix, 0) === 0) { 315 349 return true; 316 350 } 317 351 318 if ( ! $url) {352 if (!$url) { 319 353 return false; 320 354 } 321 355 322 356 // Case #3: URL Path begins with wp-json/ (REST prefix) Safe for subfolder installation 323 $rest_url = wp_parse_url( site_url( $prefix ));324 $current_url = wp_parse_url( $url);357 $rest_url = wp_parse_url(site_url($prefix)); 358 $current_url = wp_parse_url($url); 325 359 // Debug2::debug( '[Util] is_rest check [base] ', $rest_url ); 326 360 // Debug2::debug( '[Util] is_rest check [curr] ', $current_url ); 327 361 // Debug2::debug( '[Util] is_rest check [curr2] ', wp_parse_url( add_query_arg( array( ) ) ) ); 328 return strpos( $current_url[ 'path' ], $rest_url[ 'path' ]) === 0;362 return strpos($current_url['path'], $rest_url['path']) === 0; 329 363 } 330 364 } -
litespeed-cache/trunk/tpl/cdn/auto_setup.tpl.php
r2808204 r2983968 1 1 <?php 2 2 3 namespace LiteSpeed; 3 defined( 'WPINC' ) || exit; 4 5 defined('WPINC') || exit; 4 6 5 7 $__cdnsetup = Cdn_Setup::cls(); … … 8 10 $__cdnsetup->maybe_extract_token(); 9 11 10 $cloud_linked = Cloud::get_summary( 'is_linked');12 $cloud_linked = Cloud::get_summary('is_linked'); 11 13 $setup_summary = Cdn_Setup::get_summary(); 12 14 13 15 $cdn_setup_done_ts = 0; 14 if ( ! empty( $setup_summary[ 'cdn_setup_done_ts' ] )) {15 $cdn_setup_done_ts = $setup_summary[ 'cdn_setup_done_ts'];16 if (!empty($setup_summary['cdn_setup_done_ts'])) { 17 $cdn_setup_done_ts = $setup_summary['cdn_setup_done_ts']; 16 18 } 17 19 18 20 $has_setup_token = $__cdnsetup->has_cdn_setup_token(); 19 21 20 if ( ! empty( $setup_summary[ 'cdn_setup_ts' ] )) {21 $cdn_setup_ts = $setup_summary[ 'cdn_setup_ts'];22 23 if ( !empty( $setup_summary[ 'cdn_setup_err' ] )) {24 $cdn_setup_err = $setup_summary[ 'cdn_setup_err'];22 if (!empty($setup_summary['cdn_setup_ts'])) { 23 $cdn_setup_ts = $setup_summary['cdn_setup_ts']; 24 25 if (!empty($setup_summary['cdn_setup_err'])) { 26 $cdn_setup_err = $setup_summary['cdn_setup_err']; 25 27 } 26 28 27 if ($this->conf( Base::O_QC_NAMESERVERS)) {28 $nameservers = explode(',', $this->conf( Base::O_QC_NAMESERVERS));29 if ($this->conf(Base::O_QC_NAMESERVERS)) { 30 $nameservers = explode(',', $this->conf(Base::O_QC_NAMESERVERS)); 29 31 } 30 32 } else { … … 33 35 34 36 $curr_status = '<span class="litespeed-desc">' . __('Not running', 'litespeed-cache') . '</span>'; 35 $apply_btn_txt = __( 'Run CDN Setup', 'litespeed-cache');37 $apply_btn_txt = __('Run CDN Setup', 'litespeed-cache'); 36 38 $apply_btn_type = Cdn_Setup::TYPE_RUN; 37 39 $disabled = ''; … … 40 42 if ($cdn_setup_done_ts) { 41 43 $curr_status = '<span class="litespeed-success dashicons dashicons-yes"></span> ' 42 . __('Done', 'litespeed-cache')43 . ' <span class="litespeed-desc litespeed-left10">'44 . sprintf( __('Completed at %s', 'litespeed-cache'), wp_date(get_option( 'date_format' ) . ' ' . get_option( 'time_format'), $cdn_setup_done_ts))45 . '</span>';44 . __('Done', 'litespeed-cache') 45 . ' <span class="litespeed-desc litespeed-left10">' 46 . sprintf(__('Completed at %s', 'litespeed-cache'), wp_date(get_option('date_format') . ' ' . get_option('time_format'), $cdn_setup_done_ts)) 47 . '</span>'; 46 48 $disabled = 'disabled'; 47 49 } else if (!$has_setup_token) { 48 50 $disabled = 'disabled'; 49 } else if ( ! empty( $cdn_setup_err )) {51 } else if (!empty($cdn_setup_err)) { 50 52 $curr_status = '<span class="litespeed-warning dashicons dashicons-controls-pause"></span> ' . __('Paused', 'litespeed-cache'); 51 53 $curr_status_subline = '<p class="litespeed-desc">' . $cdn_setup_err . '</p>'; 52 } else if ( $cdn_setup_ts > 0) {53 if ( isset($nameservers)) {54 } else if ($cdn_setup_ts > 0) { 55 if (isset($nameservers)) { 54 56 $curr_status = '<span class="litespeed-primary dashicons dashicons-hourglass"></span> ' . __('Verifying, waiting for nameservers to be updated.', 'litespeed-cache') . ' ' . __('Click the refresh button below to refresh status.', 'litespeed-cache'); 55 if ( isset( $setup_summary[ 'cdn_verify_msg'])) {56 $curr_status_subline = '<p class="litespeed-desc">' . __( 'Last Verification Result', 'litespeed-cache' ) . ': ' . $setup_summary[ 'cdn_verify_msg'] . '</p>';57 if (isset($setup_summary['cdn_verify_msg'])) { 58 $curr_status_subline = '<p class="litespeed-desc">' . __('Last Verification Result', 'litespeed-cache') . ': ' . $setup_summary['cdn_verify_msg'] . '</p>'; 57 59 } 58 60 } else { 59 61 $curr_status = '<span class="litespeed-primary dashicons dashicons-hourglass"></span> ' . __('In Progress', 'litespeed-cache'); 60 $curr_status_subline = '<p class="litespeed-desc">' . __( 'You will receive an email upon status update.', 'litespeed-cache' ) . ' ' . __( 'This process may take several minutes.', 'litespeed-cache') . '</p>';62 $curr_status_subline = '<p class="litespeed-desc">' . __('You will receive an email upon status update.', 'litespeed-cache') . ' ' . __('This process may take several minutes.', 'litespeed-cache') . '</p>'; 61 63 } 62 $apply_btn_txt = __( 'Refresh CDN Setup Status', 'litespeed-cache');64 $apply_btn_txt = __('Refresh CDN Setup Status', 'litespeed-cache'); 63 65 $apply_btn_type = Cdn_Setup::TYPE_STATUS; 64 66 } … … 66 68 ?> 67 69 <h3 class="litespeed-title"> 68 <?php echo __( 'Auto QUIC.cloud CDN Setup', 'litespeed-cache'); ?>70 <?php echo __('Auto QUIC.cloud CDN Setup', 'litespeed-cache'); ?> 69 71 </h3> 70 72 <p> 71 <?php echo __( 'This is a three step process for configuring your site to use QUIC.cloud CDN with QUIC.cloud DNS. This setup will perform the following actions', 'litespeed-cache') . ':'; ?>73 <?php echo __('This is a three step process for configuring your site to use QUIC.cloud CDN with QUIC.cloud DNS. This setup will perform the following actions', 'litespeed-cache') . ':'; ?> 72 74 </p> 73 75 <ol> 74 <li><?php echo __( 'Set up a QUIC.cloud account.', 'litespeed-cache'); ?></li>75 <li><?php echo __( 'Prepare the site for QUIC.cloud CDN, detect the DNS, and create a DNS Zone.', 'litespeed-cache'); ?></li>76 <li><?php echo __( 'Provide the nameservers necessary to enable the CDN.', 'litespeed-cache'); ?></li>77 <li> 78 <?php echo __( 'After successful DNS detection, QUIC.cloud will attempt to generate an SSL certificate and enable the CDN.', 'litespeed-cache'); ?>79 <?php echo __( 'This last stage could take 15 to 20 minutes.', 'litespeed-cache'); ?>80 <?php echo __( 'Your site will be available, but browsers may issue a "not secure" warning during this time.', 'litespeed-cache'); ?>76 <li><?php echo __('Set up a QUIC.cloud account.', 'litespeed-cache'); ?></li> 77 <li><?php echo __('Prepare the site for QUIC.cloud CDN, detect the DNS, and create a DNS Zone.', 'litespeed-cache'); ?></li> 78 <li><?php echo __('Provide the nameservers necessary to enable the CDN.', 'litespeed-cache'); ?></li> 79 <li> 80 <?php echo __('After successful DNS detection, QUIC.cloud will attempt to generate an SSL certificate and enable the CDN.', 'litespeed-cache'); ?> 81 <?php echo __('This last stage could take 15 to 20 minutes.', 'litespeed-cache'); ?> 82 <?php echo __('Your site will be available, but browsers may issue a "not secure" warning during this time.', 'litespeed-cache'); ?> 81 83 </li> 82 84 </ol> 83 85 84 86 <p> 85 <?php echo __( 'After you set your nameservers, QUIC.cloud will detect the change and automatically enable the CDN.', 'litespeed-cache'); ?>87 <?php echo __('After you set your nameservers, QUIC.cloud will detect the change and automatically enable the CDN.', 'litespeed-cache'); ?> 86 88 </p> 87 89 88 90 <p class="litespeed-desc"> 89 <?php echo __( 'Notes', 'litespeed-cache') . ':'; ?>91 <?php echo __('Notes', 'litespeed-cache') . ':'; ?> 90 92 </p> 91 93 <ul class="litespeed-desc"> 92 94 <li> 93 <?php echo __( 'QUIC.cloud CDN/DNS does not support DNSSEC.', 'litespeed-cache' ); ?> 94 <?php echo __( 'If you have this enabled for your domain, you must disable DNSSEC to continue.', 'litespeed-cache' ); ?> 95 </li> 96 <li> 97 <?php echo __( 'This setup process will create a DNS zone on QUIC.cloud if one does not currently exist.', 'litespeed-cache' ); ?> 98 <?php printf(__( 'If you prefer to use the CNAME setup, please <a %s>set up the CDN manually at QUIC.cloud</a>.', 'litespeed-cache' ), 99 'href="https://quic.cloud/docs/onboarding/" target="_blank" class="litespeed-learn-more"'); ?> 100 </li> 101 <li> 102 <?php echo __( 'QUIC.cloud will detect most normal DNS entries.', 'litespeed-cache' ); ?> 103 <?php echo __( 'If you have custom DNS records, it is possible that they are not detected.', 'litespeed-cache' ); ?> 104 <?php echo __( 'Visit your QUIC.cloud dashboard after the DNS Zone is set up to confirm your DNS zone.', 'litespeed-cache' ); ?> 95 <?php echo __('QUIC.cloud CDN/DNS does not support DNSSEC.', 'litespeed-cache'); ?> 96 <?php echo __('If you have this enabled for your domain, you must disable DNSSEC to continue.', 'litespeed-cache'); ?> 97 </li> 98 <li> 99 <?php echo __('This setup process will create a DNS zone on QUIC.cloud if one does not currently exist.', 'litespeed-cache'); ?> 100 <?php printf( 101 __('If you prefer to use the CNAME setup, please <a %s>set up the CDN manually at QUIC.cloud</a>.', 'litespeed-cache'), 102 'href="https://quic.cloud/docs/onboarding/" target="_blank" class="litespeed-learn-more"' 103 ); ?> 104 </li> 105 <li> 106 <?php echo __('QUIC.cloud will detect most normal DNS entries.', 'litespeed-cache'); ?> 107 <?php echo __('If you have custom DNS records, it is possible that they are not detected.', 'litespeed-cache'); ?> 108 <?php echo __('Visit your QUIC.cloud dashboard after the DNS Zone is set up to confirm your DNS zone.', 'litespeed-cache'); ?> 105 109 </li> 106 110 </ul> 107 111 108 112 <h3 class="litespeed-title-section"> 109 <?php echo __( 'Set up QUIC.cloud Account', 'litespeed-cache'); ?>113 <?php echo __('Set up QUIC.cloud Account', 'litespeed-cache'); ?> 110 114 </h3> 111 115 112 <?php if ( $cdn_setup_done_ts) : ?>116 <?php if ($cdn_setup_done_ts) : ?> 113 117 <p> 114 <?php echo '<span class="litespeed-right10"><span class="litespeed-success dashicons dashicons-yes"></span> ' . __( 'Account is linked!', 'litespeed-cache' ) . '</span>'; ?> 115 <p> 116 <?php Doc::learn_more( Cloud::CLOUD_SERVER_DASH . '/dm/' . $dom . '/cdn/', 117 __( 'Manage CDN', 'litespeed-cache' ) . ' <span class="dashicons dashicons-external"></span>', 118 false, 119 'litespeed-link-with-icon' ); ?> 120 <?php Doc::learn_more( Cloud::CLOUD_SERVER_DASH . '/dns/find/' . $dom, 121 __( 'Manage DNS Zone', 'litespeed-cache' ) . ' <span class="dashicons dashicons-external"></span>', 122 false, 123 'litespeed-link-with-icon' ); ?> 124 </p> 118 <?php echo '<span class="litespeed-right10"><span class="litespeed-success dashicons dashicons-yes"></span> ' . __('Account is linked!', 'litespeed-cache') . '</span>'; ?> 119 <p> 120 <?php Doc::learn_more( 121 Cloud::CLOUD_SERVER_DASH . '/dm/' . $dom . '/cdn/', 122 __('Manage CDN', 'litespeed-cache') . ' <span class="dashicons dashicons-external"></span>', 123 false, 124 'litespeed-link-with-icon' 125 ); ?> 126 <?php Doc::learn_more( 127 Cloud::CLOUD_SERVER_DASH . '/dns/find/' . $dom, 128 __('Manage DNS Zone', 'litespeed-cache') . ' <span class="dashicons dashicons-external"></span>', 129 false, 130 'litespeed-link-with-icon' 131 ); ?> 125 132 </p> 126 <?php elseif ( $has_setup_token ) : ?> 127 <?php echo '<span class="litespeed-right10"><span class="litespeed-success dashicons dashicons-yes"></span> ' . __( 'Ready to run CDN setup.', 'litespeed-cache' ) . '</span>'; ?> 128 <?php elseif ( $cloud_linked ) : ?> 129 <p><?php echo __( 'Domain key and QUIC.cloud link detected.', 'litespeed-cache' ); ?></p> 130 <div><?php Doc::learn_more( Utility::build_url( Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_NOLINK ), __( 'Begin QUIC.cloud CDN Setup', 'litespeed-cache' ), true, 'button button-primary' ); ?></div> 131 <?php else: ?> 132 <div><?php Doc::learn_more( Utility::build_url( Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_LINK ), __( 'Link to QUIC.cloud', 'litespeed-cache' ), true, 'button button-primary' ); ?></div> 133 </p> 134 <?php elseif ($has_setup_token) : ?> 135 <?php echo '<span class="litespeed-right10"><span class="litespeed-success dashicons dashicons-yes"></span> ' . __('Ready to run CDN setup.', 'litespeed-cache') . '</span>'; ?> 136 <?php elseif ($cloud_linked) : ?> 137 <p><?php echo __('Domain key and QUIC.cloud link detected.', 'litespeed-cache'); ?></p> 138 <div><?php Doc::learn_more(Utility::build_url(Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_NOLINK), __('Begin QUIC.cloud CDN Setup', 'litespeed-cache'), true, 'button button-primary'); ?></div> 139 <?php else : ?> 140 <div><?php Doc::learn_more(Utility::build_url(Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_LINK), __('Link to QUIC.cloud', 'litespeed-cache'), true, 'button button-primary'); ?></div> 133 141 <?php endif; ?> 134 142 135 143 <h3 class="litespeed-title-section"> 136 <?php echo __( 'CDN Setup Status', 'litespeed-cache'); ?>144 <?php echo __('CDN Setup Status', 'litespeed-cache'); ?> 137 145 </h3> 138 146 … … 141 149 </p> 142 150 143 <?php if ( isset ( $curr_status_subline )) { ?>151 <?php if (isset($curr_status_subline)) { ?> 144 152 <?php echo $curr_status_subline; ?> 145 153 <?php } ?> 146 154 147 <?php if ( !$cdn_setup_done_ts) { ?>148 <?php if ( isset( $setup_summary[ 'cdn_dns_summary' ] )) { ?>155 <?php if (!$cdn_setup_done_ts) { ?> 156 <?php if (isset($setup_summary['cdn_dns_summary'])) { ?> 149 157 <h4> 150 <?php echo __( 'QUIC.cloud Detected Records Summary', 'litespeed-cache'); ?>158 <?php echo __('QUIC.cloud Detected Records Summary', 'litespeed-cache'); ?> 151 159 </h4> 152 160 <table class="wp-list-table widefat striped litespeed-width-auto litespeed-table-compact"> … … 154 162 <tr> 155 163 <th> 156 <?php echo __( 'Record Type', 'litespeed-cache'); ?>164 <?php echo __('Record Type', 'litespeed-cache'); ?> 157 165 </th> 158 166 <th> 159 <?php echo __( 'Count', 'litespeed-cache'); ?>167 <?php echo __('Count', 'litespeed-cache'); ?> 160 168 </th> 161 169 </tr> 162 170 </thead> 163 171 <tbody> 164 <?php foreach ( $setup_summary[ 'cdn_dns_summary' ]['types'] as $type => $cnt) {165 echo '<tr><td>' . $type . '</td><td>' . $cnt. '</td></tr>';172 <?php foreach ($setup_summary['cdn_dns_summary']['types'] as $type => $cnt) { 173 echo '<tr><td>' . wp_kses_post($type) . '</td><td>' . wp_kses_post($cnt) . '</td></tr>'; 166 174 } ?> 167 175 </tbody> … … 169 177 170 178 <p> 171 <?php echo __( 'Record names found', 'litespeed-cache' ) . ': ' . $setup_summary[ 'cdn_dns_summary' ]['names'] ; ?> 172 </p> 173 <p> 174 <?php echo __( 'Is something missing?', 'litespeed-cache' ) ; ?> 175 <?php Doc::learn_more( Cloud::CLOUD_SERVER_DASH . '/dns/find/' . $dom, 176 __( 'Review DNS records', 'litespeed-cache' ) . ' <span class="dashicons dashicons-external"></span>', 177 false, 178 'litespeed-link-with-icon' ); ?> 179 </p> 180 <p> 181 <?php echo __('Note: For 15 to 20 minutes after setup completes, browsers may issue a "not secure" warning for your site while QUIC.cloud generates your SSL certificate.', 'litespeed-cache'); ?> 179 <?php echo __('Record names found', 'litespeed-cache') . ': ' . wp_kses_post($setup_summary['cdn_dns_summary']['names']); ?> 180 </p> 181 <p> 182 <?php echo __('Is something missing?', 'litespeed-cache'); ?> 183 <?php Doc::learn_more( 184 Cloud::CLOUD_SERVER_DASH . '/dns/find/' . $dom, 185 __('Review DNS records', 'litespeed-cache') . ' <span class="dashicons dashicons-external"></span>', 186 false, 187 'litespeed-link-with-icon' 188 ); ?> 189 </p> 190 <p> 191 <?php echo __('Note: For 15 to 20 minutes after setup completes, browsers may issue a "not secure" warning for your site while QUIC.cloud generates your SSL certificate.', 'litespeed-cache'); ?> 182 192 </p> 183 193 <?php } ?> 184 194 <?php } ?> 185 195 186 <?php if ( !$cdn_setup_done_ts) { ?>196 <?php if (!$cdn_setup_done_ts) { ?> 187 197 188 198 <div> 189 <?php Doc::learn_more( ( $disabled ? '#' : Utility::build_url( Router::ACTION_CDN_SETUP, $apply_btn_type ) ), $apply_btn_txt, true, 'button button-primary ' . $disabled); ?>199 <?php Doc::learn_more(($disabled ? '#' : Utility::build_url(Router::ACTION_CDN_SETUP, $apply_btn_type)), $apply_btn_txt, true, 'button button-primary ' . $disabled); ?> 190 200 </div> 191 201 192 202 <h3 class="litespeed-title-section"> 193 <?php echo __( 'Nameservers', 'litespeed-cache'); ?>203 <?php echo __('Nameservers', 'litespeed-cache'); ?> 194 204 </h3> 195 205 196 <?php if ( isset( $nameservers )) { ?>197 <p> 198 <?php echo __( 'Please update your domain registrar to use these custom nameservers:', 'litespeed-cache'); ?>206 <?php if (isset($nameservers)) { ?> 207 <p> 208 <?php echo __('Please update your domain registrar to use these custom nameservers:', 'litespeed-cache'); ?> 199 209 </p> 200 210 <ul> 201 211 <?php 202 foreach ( $nameservers as $nameserver) {212 foreach ($nameservers as $nameserver) { 203 213 echo '<li><strong>' . $nameserver . '</strong></li>'; 204 214 } … … 206 216 </ul> 207 217 <p> 208 <?php echo __( 'QUIC.cloud will attempt to verify the DNS update.', 'litespeed-cache'); ?>209 <?php echo __( 'If it does not verify within 24 hours, the CDN setup will mark the verification as failed.', 'litespeed-cache'); ?>210 <?php echo __( 'At that stage, you may re-start the verification process by pressing the Run CDN Setup button.', 'litespeed-cache'); ?>218 <?php echo __('QUIC.cloud will attempt to verify the DNS update.', 'litespeed-cache'); ?> 219 <?php echo __('If it does not verify within 24 hours, the CDN setup will mark the verification as failed.', 'litespeed-cache'); ?> 220 <?php echo __('At that stage, you may re-start the verification process by pressing the Run CDN Setup button.', 'litespeed-cache'); ?> 211 221 </p> 212 222 <?php } else { ?> 213 223 <p> 214 <?php echo __( 'This section will automatically populate once nameservers are configured for the site.', 'litespeed-cache'); ?>224 <?php echo __('This section will automatically populate once nameservers are configured for the site.', 'litespeed-cache'); ?> 215 225 </p> 216 226 <?php } ?> … … 218 228 <?php } ?> 219 229 220 <?php if ( $has_setup_token || $cdn_setup_done_ts) { ?>221 <?php $disabled = $cdn_setup_done_ts && ! $cloud_linked ? 'disabled' : ''; ?>230 <?php if ($has_setup_token || $cdn_setup_done_ts) { ?> 231 <?php $disabled = $cdn_setup_done_ts && !$cloud_linked ? 'disabled' : ''; ?> 222 232 <h3 class="litespeed-title-section"> 223 <?php echo __( 'Action', 'litespeed-cache'); ?>233 <?php echo __('Action', 'litespeed-cache'); ?> 224 234 </h3> 225 235 <div> 226 <p><?php echo __( 'The following actions are available:', 'litespeed-cache'); ?></p>236 <p><?php echo __('The following actions are available:', 'litespeed-cache'); ?></p> 227 237 <p> 228 238 <strong><?php echo __('Reset CDN Setup', 'litespeed-cache') . ': '; ?></strong> 229 <?php echo __( 'Resets all LiteSpeed Cache plugin settings related to CDN setup back to the initial state and disables the CDN.', 'litespeed-cache'); ?>230 <?php echo __( 'QUIC.cloud DNS settings are not changed.', 'litespeed-cache'); ?>231 <?php echo __( 'This allows you to try Auto CDN setup again.', 'litespeed-cache'); ?>232 <?php if ( $cdn_setup_done_ts) : ?>233 <br />239 <?php echo __('Resets all LiteSpeed Cache plugin settings related to CDN setup back to the initial state and disables the CDN.', 'litespeed-cache'); ?> 240 <?php echo __('QUIC.cloud DNS settings are not changed.', 'litespeed-cache'); ?> 241 <?php echo __('This allows you to try Auto CDN setup again.', 'litespeed-cache'); ?> 242 <?php if ($cdn_setup_done_ts) : ?> 243 <br /> 234 244 <span class="litespeed-desc"> 235 <?php echo __( 'NOTE', 'litespeed-cache') . ': '; ?>236 <?php echo __( 'This action will not update anything on the QUIC.cloud servers.', 'litespeed-cache'); ?>245 <?php echo __('NOTE', 'litespeed-cache') . ': '; ?> 246 <?php echo __('This action will not update anything on the QUIC.cloud servers.', 'litespeed-cache'); ?> 237 247 </span> 238 248 <?php endif; ?> … … 240 250 <p> 241 251 <strong><?php echo __('Delete QUIC.cloud data', 'litespeed-cache') . ': '; ?></strong> 242 <?php echo __( 'Resets all LiteSpeed Cache plugin settings related to CDN setup back to the initial state and deletes the DNS Zone, if one exists for the domain.', 'litespeed-cache'); ?>243 <?php echo __( 'This allows you to try Auto CDN setup again, or abandon the setup entirely.', 'litespeed-cache'); ?>244 <br />252 <?php echo __('Resets all LiteSpeed Cache plugin settings related to CDN setup back to the initial state and deletes the DNS Zone, if one exists for the domain.', 'litespeed-cache'); ?> 253 <?php echo __('This allows you to try Auto CDN setup again, or abandon the setup entirely.', 'litespeed-cache'); ?> 254 <br /> 245 255 <span class="litespeed-desc"> 246 <?php echo __( 'NOTE', 'litespeed-cache') . ': '; ?>247 <?php echo __( 'This action is not available if there is no domain key, the domain is not linked, or the DNS Zone is in active use.', 'litespeed-cache'); ?>248 <?php echo __( 'If you have not yet done so, please replace the QUIC.cloud nameservers at your domain registrar before proceeding. ', 'litespeed-cache'); ?>256 <?php echo __('NOTE', 'litespeed-cache') . ': '; ?> 257 <?php echo __('This action is not available if there is no domain key, the domain is not linked, or the DNS Zone is in active use.', 'litespeed-cache'); ?> 258 <?php echo __('If you have not yet done so, please replace the QUIC.cloud nameservers at your domain registrar before proceeding. ', 'litespeed-cache'); ?> 249 259 </span> 250 260 </p> 251 261 <div> 252 <a href="<?php echo Utility::build_url( Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_RESET ); ?>" data-litespeed-cfm="<?php echo __( 'Are you sure you want to reset CDN Setup?', 'litespeed-cache'); ?>" class="button litespeed-btn-warning">253 <?php echo __( 'Reset CDN Setup', 'litespeed-cache'); ?>262 <a href="<?php echo Utility::build_url(Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_RESET); ?>" data-litespeed-cfm="<?php echo __('Are you sure you want to reset CDN Setup?', 'litespeed-cache'); ?>" class="button litespeed-btn-warning"> 263 <?php echo __('Reset CDN Setup', 'litespeed-cache'); ?> 254 264 </a> 255 <a href="<?php echo ( $disabled ? '#' : Utility::build_url( Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_DELETE ) ); ?>" <?php if (empty($disabled)) : ?> data-litespeed-cfm="<?php echo __( 'Are you sure you want to delete QUIC.cloud data?', 'litespeed-cache' ); ?>"<?php endif; ?> class="button litespeed-btn-danger <?php echo $disabled; ?>">256 <?php echo __( 'Delete QUIC.cloud data', 'litespeed-cache'); ?>265 <a href="<?php echo ($disabled ? '#' : Utility::build_url(Router::ACTION_CDN_SETUP, Cdn_Setup::TYPE_DELETE)); ?>" <?php if (empty($disabled)) : ?> data-litespeed-cfm="<?php echo __('Are you sure you want to delete QUIC.cloud data?', 'litespeed-cache'); ?>" <?php endif; ?> class="button litespeed-btn-danger <?php echo $disabled; ?>"> 266 <?php echo __('Delete QUIC.cloud data', 'litespeed-cache'); ?> 257 267 </a> 258 268 </div> -
litespeed-cache/trunk/tpl/toolbox/beta_test.tpl.php
r2954001 r2983968 7 7 // Existing public version list 8 8 $v_list = array( 9 '5.7.0.1', 9 10 '5.6', 10 11 '5.5.1',
Note: See TracChangeset
for help on using the changeset viewer.