From dbcf718878235474e846b1df7db424c20f470e66 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Wed, 24 Jul 2019 12:12:15 -0600 Subject: [PATCH] #19 - Remove Freemius Dependency - Fix bug with the user location support - Update version to v0.2.0 --- .gitignore | 1 + composer.json | 3 +- freemius/.gitignore | 11 - freemius/LICENSE.txt | 674 - freemius/README.md | 253 - freemius/assets/css/admin/account.css | 1 - freemius/assets/css/admin/add-ons.css | 2 - freemius/assets/css/admin/affiliation.css | 1 - freemius/assets/css/admin/checkout.css | 1 - freemius/assets/css/admin/common.css | 2 - freemius/assets/css/admin/connect.css | 1 - freemius/assets/css/admin/debug.css | 1 - freemius/assets/css/admin/dialog-boxes.css | 2 - .../assets/css/admin/gdpr-optin-notice.css | 1 - freemius/assets/css/admin/index.php | 3 - freemius/assets/css/customizer.css | 1 - freemius/assets/css/index.php | 3 - freemius/assets/img/index.php | 3 - freemius/assets/img/plugin-icon.png | Bin 9380 -> 0 bytes freemius/assets/img/theme-icon.png | Bin 11237 -> 0 bytes freemius/assets/index.php | 3 - freemius/assets/js/index.php | 3 - freemius/assets/js/nojquery.ba-postmessage.js | 140 - .../assets/js/nojquery.ba-postmessage.min.js | 12 - freemius/assets/js/postmessage.js | 135 - freemius/assets/scss/_colors.scss | 79 - freemius/assets/scss/_functions.scss | 0 freemius/assets/scss/_load.scss | 4 - freemius/assets/scss/_mixins.scss | 270 - freemius/assets/scss/_start.scss | 4 - freemius/assets/scss/_vars.scss | 6 - freemius/assets/scss/admin/_ajax-loader.scss | 49 - freemius/assets/scss/admin/_auto-install.scss | 33 - freemius/assets/scss/admin/_buttons.scss | 28 - .../scss/admin/_deactivation-feedback.scss | 55 - freemius/assets/scss/admin/_gdpr-consent.scss | 81 - .../scss/admin/_license-activation.scss | 47 - .../scss/admin/_license-key-resend.scss | 68 - freemius/assets/scss/admin/_modal-common.scss | 194 - .../assets/scss/admin/_multisite-options.scss | 40 - .../scss/admin/_plugin-upgrade-notice.scss | 8 - .../admin/_subscription-cancellation.scss | 30 - freemius/assets/scss/admin/_themes.scss | 21 - freemius/assets/scss/admin/_tooltip.scss | 66 - freemius/assets/scss/admin/account.scss | 302 - freemius/assets/scss/admin/add-ons.scss | 449 - freemius/assets/scss/admin/affiliation.scss | 97 - freemius/assets/scss/admin/checkout.scss | 5 - freemius/assets/scss/admin/common.scss | 220 - freemius/assets/scss/admin/connect.scss | 548 - freemius/assets/scss/admin/debug.scss | 135 - freemius/assets/scss/admin/dialog-boxes.scss | 10 - .../assets/scss/admin/gdpr-optin-notice.scss | 17 - freemius/assets/scss/admin/index.php | 3 - freemius/assets/scss/customizer.scss | 125 - freemius/assets/scss/index.php | 3 - freemius/config.php | 388 - freemius/includes/class-freemius-abstract.php | 597 - freemius/includes/class-freemius.php | 21794 ---------------- freemius/includes/class-fs-admin-notices.php | 321 - freemius/includes/class-fs-api.php | 625 - freemius/includes/class-fs-logger.php | 691 - freemius/includes/class-fs-options.php | 431 - freemius/includes/class-fs-plugin-updater.php | 1360 - freemius/includes/class-fs-security.php | 85 - freemius/includes/class-fs-storage.php | 524 - freemius/includes/class-fs-user-lock.php | 126 - .../class-fs-customizer-support-section.php | 102 - .../class-fs-customizer-upsell-control.php | 157 - freemius/includes/customizer/index.php | 3 - .../debug/class-fs-debug-bar-panel.php | 64 - freemius/includes/debug/debug-bar-start.php | 52 - freemius/includes/debug/index.php | 3 - .../entities/class-fs-affiliate-terms.php | 128 - .../includes/entities/class-fs-affiliate.php | 84 - .../includes/entities/class-fs-billing.php | 95 - .../includes/entities/class-fs-entity.php | 149 - .../includes/entities/class-fs-payment.php | 110 - .../entities/class-fs-plugin-info.php | 34 - .../entities/class-fs-plugin-license.php | 269 - .../entities/class-fs-plugin-plan.php | 145 - .../includes/entities/class-fs-plugin-tag.php | 50 - .../includes/entities/class-fs-plugin.php | 142 - .../includes/entities/class-fs-pricing.php | 141 - .../entities/class-fs-scope-entity.php | 29 - freemius/includes/entities/class-fs-site.php | 230 - .../entities/class-fs-subscription.php | 125 - freemius/includes/entities/class-fs-user.php | 62 - freemius/includes/entities/index.php | 3 - freemius/includes/fs-core-functions.php | 1322 - freemius/includes/fs-essential-functions.php | 479 - freemius/includes/fs-plugin-info-dialog.php | 1143 - freemius/includes/i18n.php | 603 - freemius/includes/index.php | 3 - freemius/includes/l10n.php | 48 - .../managers/class-fs-admin-menu-manager.php | 969 - .../class-fs-admin-notice-manager.php | 472 - .../managers/class-fs-cache-manager.php | 326 - .../managers/class-fs-gdpr-manager.php | 202 - .../managers/class-fs-key-value-storage.php | 392 - .../managers/class-fs-license-manager.php | 104 - .../managers/class-fs-option-manager.php | 490 - .../managers/class-fs-plan-manager.php | 162 - .../managers/class-fs-plugin-manager.php | 220 - freemius/includes/managers/index.php | 3 - .../Exceptions/ArgumentNotExistException.php | 9 - .../sdk/Exceptions/EmptyArgumentException.php | 9 - .../includes/sdk/Exceptions/Exception.php | 74 - .../Exceptions/InvalidArgumentException.php | 8 - .../sdk/Exceptions/OAuthException.php | 12 - freemius/includes/sdk/Exceptions/index.php | 3 - freemius/includes/sdk/FreemiusBase.php | 215 - freemius/includes/sdk/FreemiusWordPress.php | 704 - freemius/includes/sdk/LICENSE.txt | 340 - freemius/includes/sdk/index.php | 3 - .../fs-essential-functions-1.1.7.1.php | 43 - .../fs-essential-functions-2.2.1.php | 45 - freemius/includes/supplements/index.php | 3 - freemius/index.php | 3 - freemius/languages/freemius-da_DK.mo | 0 freemius/languages/freemius-da_DK.po | 2434 -- freemius/languages/freemius-en.mo | 0 freemius/languages/freemius-en.po | 2320 -- freemius/languages/freemius-es_ES.mo | 0 freemius/languages/freemius-es_ES.po | 2433 -- freemius/languages/freemius-fr_FR.mo | 0 freemius/languages/freemius-fr_FR.po | 2433 -- freemius/languages/freemius-he_IL.mo | 0 freemius/languages/freemius-he_IL.po | 2434 -- freemius/languages/freemius-hu_HU.mo | 0 freemius/languages/freemius-hu_HU.po | 2433 -- freemius/languages/freemius-it_IT.mo | 0 freemius/languages/freemius-it_IT.po | 2437 -- freemius/languages/freemius-ja_JP.mo | 0 freemius/languages/freemius-ja_JP.po | 2436 -- freemius/languages/freemius-nl_NL.mo | 0 freemius/languages/freemius-nl_NL.po | 2434 -- freemius/languages/freemius-ru_RU.mo | 0 freemius/languages/freemius-ru_RU.po | 2433 -- freemius/languages/freemius.pot | 2317 -- freemius/languages/index.php | 3 - freemius/package.json | 27 - freemius/require.php | 49 - freemius/start.php | 522 - freemius/templates/account.php | 792 - freemius/templates/account/billing.php | 431 - freemius/templates/account/index.php | 3 - .../partials/activate-license-button.php | 54 - freemius/templates/account/partials/addon.php | 350 - .../partials/deactivate-license-button.php | 36 - freemius/templates/account/partials/index.php | 3 - freemius/templates/account/partials/site.php | 336 - freemius/templates/account/payments.php | 59 - freemius/templates/add-ons.php | 197 - freemius/templates/add-trial-to-pricing.php | 31 - freemius/templates/admin-notice.php | 76 - freemius/templates/ajax-loader.php | 1 - freemius/templates/auto-installation.php | 249 - freemius/templates/checkout.php | 329 - freemius/templates/connect.php | 932 - freemius/templates/contact.php | 128 - freemius/templates/debug.php | 726 - freemius/templates/debug/api-calls.php | 155 - freemius/templates/debug/index.php | 3 - freemius/templates/debug/logger.php | 66 - .../templates/debug/plugins-themes-sync.php | 76 - freemius/templates/debug/scheduled-crons.php | 136 - freemius/templates/email.php | 49 - freemius/templates/firewall-issues-js.php | 59 - freemius/templates/forms/affiliation.php | 486 - .../templates/forms/deactivation/contact.php | 23 - .../templates/forms/deactivation/form.php | 497 - .../templates/forms/deactivation/index.php | 3 - .../forms/deactivation/retry-skip.php | 24 - freemius/templates/forms/index.php | 3 - .../templates/forms/license-activation.php | 700 - freemius/templates/forms/optout.php | 267 - .../premium-versions-upgrade-handler.php | 205 - .../premium-versions-upgrade-metadata.php | 45 - freemius/templates/forms/resend-key.php | 247 - .../forms/subscription-cancellation.php | 277 - freemius/templates/forms/trial-start.php | 181 - freemius/templates/gdpr-optin-js.php | 66 - freemius/templates/index.php | 3 - freemius/templates/js/index.php | 3 - .../templates/js/jquery.content-change.php | 58 - .../templates/js/open-license-activation.php | 37 - freemius/templates/js/style-premium-theme.php | 45 - .../templates/partials/network-activation.php | 81 - freemius/templates/plugin-icon.php | 20 - .../templates/plugin-info/description.php | 78 - freemius/templates/plugin-info/features.php | 114 - freemius/templates/plugin-info/index.php | 3 - .../templates/plugin-info/screenshots.php | 34 - freemius/templates/powered-by.php | 58 - freemius/templates/pricing.php | 171 - freemius/templates/secure-https-header.php | 39 - freemius/templates/sticky-admin-notice-js.php | 39 - freemius/templates/tabs-capture-js.php | 63 - freemius/templates/tabs.php | 190 - src/class-config.php | 6 +- vendor/composer/ClassLoader.php | 2 +- vendor/composer/LICENSE | 2 + .../composer/autoload_commands_classmap.php | 99 + .../composer/autoload_framework_classmap.php | 3124 +++ wp-graphql-acf.php | 54 +- 206 files changed, 3235 insertions(+), 78316 deletions(-) delete mode 100644 freemius/.gitignore delete mode 100644 freemius/LICENSE.txt delete mode 100644 freemius/README.md delete mode 100644 freemius/assets/css/admin/account.css delete mode 100644 freemius/assets/css/admin/add-ons.css delete mode 100644 freemius/assets/css/admin/affiliation.css delete mode 100644 freemius/assets/css/admin/checkout.css delete mode 100644 freemius/assets/css/admin/common.css delete mode 100644 freemius/assets/css/admin/connect.css delete mode 100644 freemius/assets/css/admin/debug.css delete mode 100644 freemius/assets/css/admin/dialog-boxes.css delete mode 100644 freemius/assets/css/admin/gdpr-optin-notice.css delete mode 100644 freemius/assets/css/admin/index.php delete mode 100644 freemius/assets/css/customizer.css delete mode 100644 freemius/assets/css/index.php delete mode 100644 freemius/assets/img/index.php delete mode 100644 freemius/assets/img/plugin-icon.png delete mode 100644 freemius/assets/img/theme-icon.png delete mode 100644 freemius/assets/index.php delete mode 100644 freemius/assets/js/index.php delete mode 100644 freemius/assets/js/nojquery.ba-postmessage.js delete mode 100644 freemius/assets/js/nojquery.ba-postmessage.min.js delete mode 100644 freemius/assets/js/postmessage.js delete mode 100644 freemius/assets/scss/_colors.scss delete mode 100644 freemius/assets/scss/_functions.scss delete mode 100644 freemius/assets/scss/_load.scss delete mode 100644 freemius/assets/scss/_mixins.scss delete mode 100644 freemius/assets/scss/_start.scss delete mode 100644 freemius/assets/scss/_vars.scss delete mode 100644 freemius/assets/scss/admin/_ajax-loader.scss delete mode 100644 freemius/assets/scss/admin/_auto-install.scss delete mode 100644 freemius/assets/scss/admin/_buttons.scss delete mode 100644 freemius/assets/scss/admin/_deactivation-feedback.scss delete mode 100644 freemius/assets/scss/admin/_gdpr-consent.scss delete mode 100644 freemius/assets/scss/admin/_license-activation.scss delete mode 100644 freemius/assets/scss/admin/_license-key-resend.scss delete mode 100644 freemius/assets/scss/admin/_modal-common.scss delete mode 100644 freemius/assets/scss/admin/_multisite-options.scss delete mode 100644 freemius/assets/scss/admin/_plugin-upgrade-notice.scss delete mode 100644 freemius/assets/scss/admin/_subscription-cancellation.scss delete mode 100644 freemius/assets/scss/admin/_themes.scss delete mode 100644 freemius/assets/scss/admin/_tooltip.scss delete mode 100644 freemius/assets/scss/admin/account.scss delete mode 100644 freemius/assets/scss/admin/add-ons.scss delete mode 100644 freemius/assets/scss/admin/affiliation.scss delete mode 100644 freemius/assets/scss/admin/checkout.scss delete mode 100644 freemius/assets/scss/admin/common.scss delete mode 100644 freemius/assets/scss/admin/connect.scss delete mode 100644 freemius/assets/scss/admin/debug.scss delete mode 100644 freemius/assets/scss/admin/dialog-boxes.scss delete mode 100644 freemius/assets/scss/admin/gdpr-optin-notice.scss delete mode 100644 freemius/assets/scss/admin/index.php delete mode 100644 freemius/assets/scss/customizer.scss delete mode 100644 freemius/assets/scss/index.php delete mode 100644 freemius/config.php delete mode 100644 freemius/includes/class-freemius-abstract.php delete mode 100644 freemius/includes/class-freemius.php delete mode 100644 freemius/includes/class-fs-admin-notices.php delete mode 100644 freemius/includes/class-fs-api.php delete mode 100644 freemius/includes/class-fs-logger.php delete mode 100644 freemius/includes/class-fs-options.php delete mode 100644 freemius/includes/class-fs-plugin-updater.php delete mode 100644 freemius/includes/class-fs-security.php delete mode 100644 freemius/includes/class-fs-storage.php delete mode 100644 freemius/includes/class-fs-user-lock.php delete mode 100644 freemius/includes/customizer/class-fs-customizer-support-section.php delete mode 100644 freemius/includes/customizer/class-fs-customizer-upsell-control.php delete mode 100644 freemius/includes/customizer/index.php delete mode 100644 freemius/includes/debug/class-fs-debug-bar-panel.php delete mode 100644 freemius/includes/debug/debug-bar-start.php delete mode 100644 freemius/includes/debug/index.php delete mode 100644 freemius/includes/entities/class-fs-affiliate-terms.php delete mode 100644 freemius/includes/entities/class-fs-affiliate.php delete mode 100644 freemius/includes/entities/class-fs-billing.php delete mode 100644 freemius/includes/entities/class-fs-entity.php delete mode 100644 freemius/includes/entities/class-fs-payment.php delete mode 100644 freemius/includes/entities/class-fs-plugin-info.php delete mode 100644 freemius/includes/entities/class-fs-plugin-license.php delete mode 100644 freemius/includes/entities/class-fs-plugin-plan.php delete mode 100644 freemius/includes/entities/class-fs-plugin-tag.php delete mode 100644 freemius/includes/entities/class-fs-plugin.php delete mode 100644 freemius/includes/entities/class-fs-pricing.php delete mode 100644 freemius/includes/entities/class-fs-scope-entity.php delete mode 100644 freemius/includes/entities/class-fs-site.php delete mode 100644 freemius/includes/entities/class-fs-subscription.php delete mode 100644 freemius/includes/entities/class-fs-user.php delete mode 100644 freemius/includes/entities/index.php delete mode 100644 freemius/includes/fs-core-functions.php delete mode 100644 freemius/includes/fs-essential-functions.php delete mode 100644 freemius/includes/fs-plugin-info-dialog.php delete mode 100644 freemius/includes/i18n.php delete mode 100644 freemius/includes/index.php delete mode 100644 freemius/includes/l10n.php delete mode 100644 freemius/includes/managers/class-fs-admin-menu-manager.php delete mode 100644 freemius/includes/managers/class-fs-admin-notice-manager.php delete mode 100644 freemius/includes/managers/class-fs-cache-manager.php delete mode 100644 freemius/includes/managers/class-fs-gdpr-manager.php delete mode 100644 freemius/includes/managers/class-fs-key-value-storage.php delete mode 100644 freemius/includes/managers/class-fs-license-manager.php delete mode 100644 freemius/includes/managers/class-fs-option-manager.php delete mode 100644 freemius/includes/managers/class-fs-plan-manager.php delete mode 100644 freemius/includes/managers/class-fs-plugin-manager.php delete mode 100644 freemius/includes/managers/index.php delete mode 100644 freemius/includes/sdk/Exceptions/ArgumentNotExistException.php delete mode 100644 freemius/includes/sdk/Exceptions/EmptyArgumentException.php delete mode 100644 freemius/includes/sdk/Exceptions/Exception.php delete mode 100644 freemius/includes/sdk/Exceptions/InvalidArgumentException.php delete mode 100644 freemius/includes/sdk/Exceptions/OAuthException.php delete mode 100644 freemius/includes/sdk/Exceptions/index.php delete mode 100644 freemius/includes/sdk/FreemiusBase.php delete mode 100644 freemius/includes/sdk/FreemiusWordPress.php delete mode 100644 freemius/includes/sdk/LICENSE.txt delete mode 100644 freemius/includes/sdk/index.php delete mode 100644 freemius/includes/supplements/fs-essential-functions-1.1.7.1.php delete mode 100644 freemius/includes/supplements/fs-essential-functions-2.2.1.php delete mode 100644 freemius/includes/supplements/index.php delete mode 100644 freemius/index.php delete mode 100644 freemius/languages/freemius-da_DK.mo delete mode 100644 freemius/languages/freemius-da_DK.po delete mode 100644 freemius/languages/freemius-en.mo delete mode 100644 freemius/languages/freemius-en.po delete mode 100644 freemius/languages/freemius-es_ES.mo delete mode 100644 freemius/languages/freemius-es_ES.po delete mode 100644 freemius/languages/freemius-fr_FR.mo delete mode 100644 freemius/languages/freemius-fr_FR.po delete mode 100644 freemius/languages/freemius-he_IL.mo delete mode 100644 freemius/languages/freemius-he_IL.po delete mode 100644 freemius/languages/freemius-hu_HU.mo delete mode 100644 freemius/languages/freemius-hu_HU.po delete mode 100644 freemius/languages/freemius-it_IT.mo delete mode 100644 freemius/languages/freemius-it_IT.po delete mode 100644 freemius/languages/freemius-ja_JP.mo delete mode 100644 freemius/languages/freemius-ja_JP.po delete mode 100644 freemius/languages/freemius-nl_NL.mo delete mode 100644 freemius/languages/freemius-nl_NL.po delete mode 100644 freemius/languages/freemius-ru_RU.mo delete mode 100644 freemius/languages/freemius-ru_RU.po delete mode 100644 freemius/languages/freemius.pot delete mode 100644 freemius/languages/index.php delete mode 100644 freemius/package.json delete mode 100644 freemius/require.php delete mode 100644 freemius/start.php delete mode 100644 freemius/templates/account.php delete mode 100644 freemius/templates/account/billing.php delete mode 100644 freemius/templates/account/index.php delete mode 100644 freemius/templates/account/partials/activate-license-button.php delete mode 100644 freemius/templates/account/partials/addon.php delete mode 100644 freemius/templates/account/partials/deactivate-license-button.php delete mode 100644 freemius/templates/account/partials/index.php delete mode 100644 freemius/templates/account/partials/site.php delete mode 100644 freemius/templates/account/payments.php delete mode 100644 freemius/templates/add-ons.php delete mode 100644 freemius/templates/add-trial-to-pricing.php delete mode 100644 freemius/templates/admin-notice.php delete mode 100644 freemius/templates/ajax-loader.php delete mode 100644 freemius/templates/auto-installation.php delete mode 100644 freemius/templates/checkout.php delete mode 100644 freemius/templates/connect.php delete mode 100644 freemius/templates/contact.php delete mode 100644 freemius/templates/debug.php delete mode 100644 freemius/templates/debug/api-calls.php delete mode 100644 freemius/templates/debug/index.php delete mode 100644 freemius/templates/debug/logger.php delete mode 100644 freemius/templates/debug/plugins-themes-sync.php delete mode 100644 freemius/templates/debug/scheduled-crons.php delete mode 100644 freemius/templates/email.php delete mode 100644 freemius/templates/firewall-issues-js.php delete mode 100644 freemius/templates/forms/affiliation.php delete mode 100644 freemius/templates/forms/deactivation/contact.php delete mode 100644 freemius/templates/forms/deactivation/form.php delete mode 100644 freemius/templates/forms/deactivation/index.php delete mode 100644 freemius/templates/forms/deactivation/retry-skip.php delete mode 100644 freemius/templates/forms/index.php delete mode 100644 freemius/templates/forms/license-activation.php delete mode 100644 freemius/templates/forms/optout.php delete mode 100644 freemius/templates/forms/premium-versions-upgrade-handler.php delete mode 100644 freemius/templates/forms/premium-versions-upgrade-metadata.php delete mode 100644 freemius/templates/forms/resend-key.php delete mode 100644 freemius/templates/forms/subscription-cancellation.php delete mode 100644 freemius/templates/forms/trial-start.php delete mode 100644 freemius/templates/gdpr-optin-js.php delete mode 100644 freemius/templates/index.php delete mode 100644 freemius/templates/js/index.php delete mode 100644 freemius/templates/js/jquery.content-change.php delete mode 100644 freemius/templates/js/open-license-activation.php delete mode 100644 freemius/templates/js/style-premium-theme.php delete mode 100644 freemius/templates/partials/network-activation.php delete mode 100644 freemius/templates/plugin-icon.php delete mode 100644 freemius/templates/plugin-info/description.php delete mode 100644 freemius/templates/plugin-info/features.php delete mode 100644 freemius/templates/plugin-info/index.php delete mode 100644 freemius/templates/plugin-info/screenshots.php delete mode 100644 freemius/templates/powered-by.php delete mode 100644 freemius/templates/pricing.php delete mode 100644 freemius/templates/secure-https-header.php delete mode 100644 freemius/templates/sticky-admin-notice-js.php delete mode 100644 freemius/templates/tabs-capture-js.php delete mode 100644 freemius/templates/tabs.php diff --git a/.gitignore b/.gitignore index 6bf6a19..99b2b78 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ node_modules/ *.zip .idea* .env +c3.php diff --git a/composer.json b/composer.json index 243ecc5..afb464a 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,8 @@ "name": "wp-graphql/wp-graphql-acf", "description": "Advanced Custom Fields bindings for wp-graphql", "type": "wordpress-plugin", - "license": "GPLv3", + "license": "GPL-3.0+", + "version": "0.2.0", "authors": [ { "name": "jasonbahl", diff --git a/freemius/.gitignore b/freemius/.gitignore deleted file mode 100644 index 242f077..0000000 --- a/freemius/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -output/ -assets/img/*.* -!assets/img/plugin-icon.png -!assets/img/theme-icon.png -!assets/img/index.php -.idea -node_modules -transifex-config.json -*.orig -npm-debug.log -package-lock.json \ No newline at end of file diff --git a/freemius/LICENSE.txt b/freemius/LICENSE.txt deleted file mode 100644 index 30ace6a..0000000 --- a/freemius/LICENSE.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - {one line to give the program's name and a brief idea of what it does.} - Copyright (C) {year} {name of author} - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - {project} Copyright (C) {year} {fullname} - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/freemius/README.md b/freemius/README.md deleted file mode 100644 index d75ee5d..0000000 --- a/freemius/README.md +++ /dev/null @@ -1,253 +0,0 @@ -Freemius WordPress SDK -====================== - -[Monetization](https://freemius.com/wordpress/), [analytics](https://freemius.com/wordpress/insights/), and marketing automation platform for plugin & theme developers. Freemius empower developers to create prosperous subscription based businesses. - -You can see some of the WordPress.org plugins & themes that are utilizing the power of Freemius here: - -https://includewp.com/freemius/#focus - -If you are a WordPress plugin or theme developer and you are interested to monetize with Freemius you can [sign-up here for free](https://dashboard.freemius.com/register/): - -https://dashboard.freemius.com/register/ - -**Below you'll find the integration instructions for our WordPress SDK.** - -## Code Documentation - -You can find the SDK's PHP-Doc documentation here: -https://codedoc.pub/freemius/wordpress-sdk/master/ - -## Initializing the SDK - -Copy the code below and paste it into the top of your main plugin's PHP file, right after the plugin's header comment: - -```php - '1234', - 'slug' => 'my-plugin-slug', - 'menu_slug' => 'my_menu_slug', // You can also use __FILE__ - 'public_key' => 'pk_MY_PUBLIC_KEY', - 'is_live' => true, - 'is_premium' => true, - 'has_addons' => false, - 'has_paid_plans' => false, - // Set the SDK to work in a sandbox mode (for development & testing). - // IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT. - 'secret_key' => 'sk_MY_SECRET_KEY', - ) ); - } - - return $my_prefix_fs; - } - - // Init Freemius. - my_prefix_fs(); -?> -``` - -- **1234** - Replace with your plugin's ID. -- **pk_MY_PUBLIC_KEY** - Replace with your plugin's public key. -- **sk_MY_SECRET_KEY** - Replace with your plugin's secret key. -- **my-plugin-slug** - Replace with your plugin's WordPress.org slug. -- **my_menu_slug** - Replace with your admin dashboard settings menu slug. - - -## Usage example - -You can call the SDK by using the shortcode function: - -```php -get_upgrade_url(); ?> -``` - -Or when calling Freemius multiple times in a scope, it's recommended to use it with the global variable: - -```php -get_account_url(); -?> -``` - -## Adding license based logic examples - -Add marketing content to encourage your users to upgrade for your paid version: - -```php -is_not_paying() ) { - echo '

' . esc_html__('Awesome Premium Features', 'my-plugin-slug') . '

'; - echo '' . - esc_html__('Upgrade Now!', 'my-plugin-slug') . - ''; - echo '
'; - } -?> -``` - -Add logic which will only be available in your premium plugin version: - -```php -is__premium_only() ) { - - // ... premium only logic ... - - } -?> -``` - -To add a function which will only be available in your premium plugin version, simply add __premium_only as the suffix of the function name. Just make sure that all lines that call that method directly or by hooks, are also wrapped in premium only logic: - -```php -is__premium_only() ) { - // Init premium version. - $this->admin_init__premium_only(); - - add_action( 'admin_init', array( &$this, 'admin_init_hook__premium_only' ); - } - - ... - } - - // This method will be only included in the premium version. - function admin_init__premium_only() { - ... - } - - // This method will be only included in the premium version. - function admin_init_hook__premium_only() { - ... - } - } -?> -``` - -Add logic which will only be executed for customers in your 'professional' plan: - -```php -is_plan('professional', true) ) { - // .. logic related to Professional plan only ... - } -?> -``` - -Add logic which will only be executed for customers in your 'professional' plan or higher plans: - -```php -is_plan('professional') ) { - // ... logic related to Professional plan and higher plans ... - } -?> -``` - -Add logic which will only be available in your premium plugin version AND will only be executed for customers in your 'professional' plan (and higher plans): - -```php -is_plan__premium_only('professional') ) { - // ... logic related to Professional plan and higher plans ... - } -?> -``` - -Add logic only for users in trial: - -```php -is_trial() ) { - // ... logic for users in trial ... - } -?> -``` - -Add logic for specified paid plan: - -```php -is__premium_only() ) { - if ( my_prefix_fs()->is_plan( 'professional', true ) ) { - - // ... logic related to Professional plan only ... - - } else if ( my_prefix_fs()->is_plan( 'business' ) ) { - - // ... logic related to Business plan and higher plans ... - - } - } -?> -``` - -## Excluding files and folders from the free plugin version -There are two ways to exclude files from your free version. - -1. Add `__premium_only` just before the file extension. For example, functions__premium_only.php will be only included in the premium plugin version. This works for all type of files, not only PHP. -2. Add `@fs_premium_only` a sepcial meta tag to the plugin's main PHP file header. Example: -```php - -``` -The file `/lib/functions.php` and the directory `/premium-files/` will be removed from the free plugin version. - -# WordPress.org Compliance -Based on [WordPress.org Guidelines](https://wordpress.org/plugins/about/guidelines/) you are not allowed to submit a plugin that has premium code in it: -> All code hosted by WordPress.org servers must be free and fully-functional. If you want to sell advanced features for a plugin (such as a "pro" version), then you must sell and serve that code from your own site, we will not host it on our servers. - -Therefore, if you want to deploy your free plugin's version to WordPress.org, make sure you wrap all your premium code with `if ( my_prefix_fs()->{{ method }}__premium_only() )` or the other methods provided to exclude premium features & files from the free version. - -## Deployment -Zip your plugin's root folder and upload it in the Deployment section in the *Freemius Developer's Dashboard*. -The plugin will be scanned and processed by a custom developed *PHP Processor* which will auto-generate two versions of your plugin: - -1. **Premium version**: Identical to your uploaded version, including all code (except your `secret_key`). Will be enabled for download ONLY for your paying or in trial customers. -2. **Free version**: The code stripped from all your paid features (based on the logic added wrapped in `{ method }__premium_only()`). - -The free version is the one that you should give your users to download. Therefore, download the free generated version and upload to your site. Or, if your plugin was WordPress.org complaint and you made sure to exclude all your premium code with the different provided techniques, you can deploy the downloaded free version to the .org repo. - -## Reporting Bugs -Email dev [at] freemius [dot] com - -## FAQ - -## Copyright -Freemius, Inc. diff --git a/freemius/assets/css/admin/account.css b/freemius/assets/css/admin/account.css deleted file mode 100644 index 3f47f40..0000000 --- a/freemius/assets/css/admin/account.css +++ /dev/null @@ -1 +0,0 @@ -#fs_account .postbox,#fs_account .widefat{max-width:700px}#fs_account h3{font-size:1.3em;padding:12px 15px;margin:0 0 12px 0;line-height:1.4;border-bottom:1px solid #F1F1F1}#fs_account h3 .dashicons{width:26px;height:26px;font-size:1.3em}#fs_account i.dashicons{font-size:1.2em;height:1.2em;width:1.2em}#fs_account .dashicons{vertical-align:middle}#fs_account .fs-header-actions{position:absolute;top:17px;right:15px;font-size:0.9em}#fs_account .fs-header-actions ul{margin:0}#fs_account .fs-header-actions li{float:left}#fs_account .fs-header-actions li form{display:inline-block}#fs_account .fs-header-actions li a{text-decoration:none}#fs_account_details .button-group{float:right}.rtl #fs_account .fs-header-actions{left:15px;right:auto}.fs-key-value-table{width:100%}.fs-key-value-table form{display:inline-block}.fs-key-value-table tr td:first-child{text-align:right}.fs-key-value-table tr td:first-child nobr{font-weight:bold}.fs-key-value-table tr td:first-child form{display:block}.fs-key-value-table tr td.fs-right{text-align:right}.fs-key-value-table tr.fs-odd{background:#ebebeb}.fs-key-value-table td,.fs-key-value-table th{padding:10px}.fs-key-value-table code{line-height:28px}.fs-key-value-table var,.fs-key-value-table code,.fs-key-value-table input[type="text"]{color:#0073AA;font-size:16px;background:none}.fs-key-value-table input[type="text"]{width:100%;font-weight:bold}label.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error{background:#dc3232}#fs_sites .fs-scrollable-table .fs-table-body{max-height:200px;overflow:auto;border:1px solid #e5e5e5}#fs_sites .fs-scrollable-table .fs-table-body>table.widefat{border:none !important}#fs_sites .fs-scrollable-table .fs-main-column{width:100%}#fs_sites .fs-scrollable-table .fs-site-details td:first-of-type{text-align:right;color:grey;width:1px}#fs_sites .fs-scrollable-table .fs-site-details td:last-of-type{text-align:right}#fs_sites .fs-scrollable-table .fs-install-details table tr td{width:1px;white-space:nowrap}#fs_sites .fs-scrollable-table .fs-install-details table tr td:last-of-type{width:auto}#fs_addons h3{border:none;margin-bottom:0;padding:4px 5px}#fs_addons td{vertical-align:middle}#fs_addons thead{white-space:nowrap}#fs_addons td:first-child,#fs_addons th:first-child{text-align:left;font-weight:bold}#fs_addons td:last-child,#fs_addons th:last-child{text-align:right}#fs_addons th{font-weight:bold}#fs_billing_address{width:100%}#fs_billing_address tr td{width:50%;padding:5px}#fs_billing_address tr:first-of-type td{padding-top:0}#fs_billing_address span{font-weight:bold}#fs_billing_address input,#fs_billing_address select{display:block;width:100%;margin-top:5px}#fs_billing_address input::-moz-placeholder,#fs_billing_address select::-moz-placeholder{color:transparent;opacity:1}#fs_billing_address input:-ms-input-placeholder,#fs_billing_address select:-ms-input-placeholder{color:transparent}#fs_billing_address input::-webkit-input-placeholder,#fs_billing_address select::-webkit-input-placeholder{color:transparent}#fs_billing_address input.fs-read-mode,#fs_billing_address select.fs-read-mode{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode td span{display:none}#fs_billing_address.fs-read-mode input,#fs_billing_address.fs-read-mode select{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode input::-moz-placeholder,#fs_billing_address.fs-read-mode select::-moz-placeholder{color:#ccc;opacity:1}#fs_billing_address.fs-read-mode input:-ms-input-placeholder,#fs_billing_address.fs-read-mode select:-ms-input-placeholder{color:#ccc}#fs_billing_address.fs-read-mode input::-webkit-input-placeholder,#fs_billing_address.fs-read-mode select::-webkit-input-placeholder{color:#ccc}#fs_billing_address button{display:block;width:100%} diff --git a/freemius/assets/css/admin/add-ons.css b/freemius/assets/css/admin/add-ons.css deleted file mode 100644 index 0c2df5a..0000000 --- a/freemius/assets/css/admin/add-ons.css +++ /dev/null @@ -1,2 +0,0 @@ -#fs_addons .fs-cards-list{list-style:none}#fs_addons .fs-cards-list .fs-card{float:left;height:152px;width:310px;padding:0;margin:0 0 30px 30px;font-size:14px;list-style:none;border:1px solid #ddd;cursor:pointer;position:relative}#fs_addons .fs-cards-list .fs-card .fs-overlay{position:absolute;left:0;right:0;bottom:0;top:0;z-index:9}#fs_addons .fs-cards-list .fs-card .fs-inner{background-color:#fff;overflow:hidden;height:100%;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner ul{-moz-transition:all,0.15s;-o-transition:all,0.15s;-ms-transition:all,0.15s;-webkit-transition:all,0.15s;transition:all,0.15s;left:0;right:0;top:0;position:absolute}#fs_addons .fs-cards-list .fs-card .fs-inner li{list-style:none;line-height:18px;padding:0 15px;width:100%;display:block;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner{padding:0;margin:0;line-height:0;display:block;height:100px;background-repeat:repeat-x;background-size:100% 100%;-moz-transition:all,0.15s;-o-transition:all,0.15s;-ms-transition:all,0.15s;-webkit-transition:all,0.15s;transition:all,0.15s}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-title{margin:10px 0 0 0;height:18px;overflow:hidden;color:#000;white-space:nowrap;text-overflow:ellipsis;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-offer{font-size:0.9em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-description{background-color:#f9f9f9;padding:10px 15px 100px 15px;border-top:1px solid #eee;margin:0 0 10px 0;color:#777}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-tag{position:absolute;top:10px;right:0px;background:greenyellow;display:block;padding:2px 10px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.3);box-shadow:1px 1px 1px rgba(0,0,0,0.3);text-transform:uppercase;font-size:0.9em;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button{position:absolute;top:112px;right:10px}@media screen and (min-width: 960px){#fs_addons .fs-cards-list .fs-card:hover .fs-overlay{border:2px solid #29abe1;margin-left:-1px;margin-top:-1px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner ul{top:-100px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-title,#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-offer{color:#29abe1}} -#TB_window,#TB_window iframe{width:772px !important}#plugin-information #section-description h2,#plugin-information #section-description h3,#plugin-information #section-description p,#plugin-information #section-description b,#plugin-information #section-description i,#plugin-information #section-description blockquote,#plugin-information #section-description li,#plugin-information #section-description ul,#plugin-information #section-description ol{clear:none}#plugin-information #section-description .fs-selling-points{padding-bottom:10px;border-bottom:1px solid #ddd}#plugin-information #section-description .fs-selling-points ul{margin:0}#plugin-information #section-description .fs-selling-points ul li{padding:0;list-style:none outside none}#plugin-information #section-description .fs-selling-points ul li i.dashicons{color:#71ae00;font-size:3em;vertical-align:middle;line-height:30px;float:left;margin:0 0 0 -15px}#plugin-information #section-description .fs-selling-points ul li h3{margin:1em 30px !important}#plugin-information #section-description .fs-screenshots:after{content:"";display:table;clear:both}#plugin-information #section-description .fs-screenshots ul{list-style:none;margin:0}#plugin-information #section-description .fs-screenshots ul li{width:225px;height:225px;float:left;margin-bottom:20px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}#plugin-information #section-description .fs-screenshots ul li a{display:block;width:100%;height:100%;border:1px solid;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 1px rgba(0,0,0,0.2);background-size:cover}#plugin-information #section-description .fs-screenshots ul li.odd{margin-right:20px}#plugin-information .plugin-information-pricing{margin:-16px;border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan h3{margin-top:0;padding:20px;font-size:16px}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper{border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab{cursor:pointer;position:relative;padding:0 10px;font-size:0.9em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab label{text-transform:uppercase;color:green;background:greenyellow;position:absolute;left:-1px;right:-1px;bottom:100%;border:1px solid darkgreen;padding:2px;text-align:center;font-size:0.9em;line-height:1em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab.nav-tab-active{cursor:default;background:#fffeec;border-bottom-color:#fffeec}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle h3{background:#fffeec;margin:0;padding-bottom:0;color:#0073aa}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .nav-tab-wrapper,#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .fs-billing-frequency{display:none}#plugin-information .plugin-information-pricing .fs-plan .fs-pricing-body{background:#fffeec;padding:20px}#plugin-information .plugin-information-pricing .fs-plan .button{width:100%;text-align:center;font-weight:bold;text-transform:uppercase;font-size:1.1em}#plugin-information .plugin-information-pricing .fs-plan label{white-space:nowrap}#plugin-information .plugin-information-pricing .fs-plan var{font-style:normal}#plugin-information .plugin-information-pricing .fs-plan .fs-billing-frequency,#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-align:center;display:block;font-weight:bold;margin-bottom:10px;text-transform:uppercase;background:#F3F3F3;padding:2px;border:1px solid #ccc}#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-transform:none;color:green;background:greenyellow}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms{font-size:0.9em}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms i{float:left;margin:0 0 0 -15px}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms li{margin:10px 0 0 0}#plugin-information #section-features .fs-features{margin:-20px -26px}#plugin-information #section-features table{width:100%;border-spacing:0;border-collapse:separate}#plugin-information #section-features table thead th{padding:10px 0}#plugin-information #section-features table thead .fs-price{color:#71ae00;font-weight:normal;display:block;text-align:center}#plugin-information #section-features table tbody td{border-top:1px solid #ccc;padding:10px 0;text-align:center;width:100px;color:#71ae00}#plugin-information #section-features table tbody td:first-child{text-align:left;width:auto;color:inherit;padding-left:26px}#plugin-information #section-features table tbody tr.fs-odd td{background:#fefefe}#plugin-information #section-features .dashicons-yes{width:30px;height:30px;font-size:30px}@media screen and (max-width: 961px){#fs_addons .fs-cards-list .fs-card{height:265px}} diff --git a/freemius/assets/css/admin/affiliation.css b/freemius/assets/css/admin/affiliation.css deleted file mode 100644 index 003ca37..0000000 --- a/freemius/assets/css/admin/affiliation.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";#fs_affiliation_content_wrapper #messages{margin-top:25px}#fs_affiliation_content_wrapper h3{font-size:24px;padding:0;margin-left:0}#fs_affiliation_content_wrapper ul li{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{content:'✓';margin-right:10px;font-weight:bold}#fs_affiliation_content_wrapper p:not(.description),#fs_affiliation_content_wrapper li,#fs_affiliation_content_wrapper label{font-size:16px !important;line-height:26px !important}#fs_affiliation_content_wrapper .button{margin-top:20px;margin-bottom:7px;line-height:35px;height:40px;font-size:16px}#fs_affiliation_content_wrapper .button#cancel_button{margin-right:5px}#fs_affiliation_content_wrapper form .input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form .input-container .input-label{font-weight:bold;display:block;width:100%}#fs_affiliation_content_wrapper form .input-container.input-container-text label,#fs_affiliation_content_wrapper form .input-container.input-container-text input,#fs_affiliation_content_wrapper form .input-container.input-container-text textarea{display:block}#fs_affiliation_content_wrapper form .input-container #add_domain,#fs_affiliation_content_wrapper form .input-container .remove-domain{text-decoration:none;display:inline-block;margin-top:3px}#fs_affiliation_content_wrapper form .input-container #add_domain:focus,#fs_affiliation_content_wrapper form .input-container .remove-domain:focus{box-shadow:none}#fs_affiliation_content_wrapper form .input-container #add_domain.disabled,#fs_affiliation_content_wrapper form .input-container .remove-domain.disabled{color:#aaa;cursor:default}#fs_affiliation_content_wrapper form #extra_domains_container .description{margin-top:0;position:relative;top:-4px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain{display:inline-block;margin-right:5px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain:last-of-type{margin-bottom:0} diff --git a/freemius/assets/css/admin/checkout.css b/freemius/assets/css/admin/checkout.css deleted file mode 100644 index 56515d2..0000000 --- a/freemius/assets/css/admin/checkout.css +++ /dev/null @@ -1 +0,0 @@ -@media screen and (max-width: 782px){#wpbody-content{padding-bottom:0 !important}} diff --git a/freemius/assets/css/admin/common.css b/freemius/assets/css/admin/common.css deleted file mode 100644 index 555b55d..0000000 --- a/freemius/assets/css/admin/common.css +++ /dev/null @@ -1,2 +0,0 @@ -.theme-browser .theme .fs-premium-theme-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);font-size:1.1em}#fs_frame{line-height:0;font-size:0}.fs-full-size-wrapper{margin:40px 0 -65px -20px}@media (max-width: 600px){.fs-full-size-wrapper{margin:0 0 -65px -10px}} -.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-moz-box-shadow:0 2px 2px rgba(6,113,6,0.3);-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url("/wp-admin/images/wpspin_light-2x.gif");background-size:contain}.wrap.fs-section h2{text-align:left}.plugins p.fs-upgrade-notice{border:0;background-color:#d54e21;padding:10px;color:#f9f9f9;margin-top:10px} diff --git a/freemius/assets/css/admin/connect.css b/freemius/assets/css/admin/connect.css deleted file mode 100644 index ec5fea5..0000000 --- a/freemius/assets/css/admin/connect.css +++ /dev/null @@ -1 +0,0 @@ -#fs_connect{width:480px;-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.3);box-shadow:0px 1px 2px rgba(0,0,0,0.3);margin:20px 0}@media screen and (max-width: 479px){#fs_connect{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;width:auto;margin:0 0 0 -10px}}#fs_connect .fs-content{background:#fff;padding:15px 20px}#fs_connect .fs-content .fs-error{background:snow;color:#d3135a;border:1px solid #d3135a;-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);text-align:center;padding:5px;margin-bottom:10px}#fs_connect .fs-content p{margin:0;padding:0;font-size:1.2em}#fs_connect .fs-license-key-container{position:relative;width:280px;margin:10px auto 0 auto}#fs_connect .fs-license-key-container input{width:100%}#fs_connect .fs-license-key-container .dashicons{position:absolute;top:5px;right:5px}#fs_connect.require-license-key #sites_list_container td{cursor:pointer}#fs_connect #delegate_to_site_admins{margin-right:15px;float:right;height:26px;vertical-align:middle;line-height:37px;font-weight:bold;border-bottom:1px dashed;text-decoration:none}#fs_connect #delegate_to_site_admins.rtl{margin-left:15px;margin-right:0}#fs_connect .fs-actions{padding:10px 20px;background:#C0C7CA}#fs_connect .fs-actions .button{padding:0 10px 1px;line-height:35px;height:37px;font-size:16px;margin-bottom:0}#fs_connect .fs-actions .button .dashicons{font-size:37px;margin-left:-8px;margin-right:12px}#fs_connect .fs-actions .button.button-primary{padding-right:15px;padding-left:15px}#fs_connect .fs-actions .button.button-primary:after{content:' \279C'}#fs_connect .fs-actions .button.button-primary.fs-loading:after{content:''}#fs_connect .fs-actions .button.button-secondary{float:right}#fs_connect.fs-anonymous-disabled .fs-actions .button.button-primary{width:100%}#fs_connect .fs-permissions{padding:10px 20px;background:#FEFEFE;-moz-transition:background 0.5s ease;-o-transition:background 0.5s ease;-ms-transition:background 0.5s ease;-webkit-transition:background 0.5s ease;transition:background 0.5s ease}#fs_connect .fs-permissions .fs-license-sync-disclaimer{text-align:center;margin-top:0}#fs_connect .fs-permissions .fs-trigger{font-size:0.9em;text-decoration:none;text-align:center;display:block}#fs_connect .fs-permissions ul{height:0;overflow:hidden;margin:0}#fs_connect .fs-permissions ul li{margin-bottom:12px}#fs_connect .fs-permissions ul li:last-child{margin-bottom:0}#fs_connect .fs-permissions ul li i.dashicons{float:left;font-size:40px;width:40px;height:40px}#fs_connect .fs-permissions ul li div{margin-left:55px}#fs_connect .fs-permissions ul li div span{font-weight:bold;text-transform:uppercase;color:#23282d}#fs_connect .fs-permissions ul li div p{margin:2px 0 0 0}#fs_connect .fs-permissions.fs-open{background:#fff}#fs_connect .fs-permissions.fs-open ul{height:auto;margin:20px 20px 10px 20px}@media screen and (max-width: 479px){#fs_connect .fs-permissions{background:#fff}#fs_connect .fs-permissions .fs-trigger{display:none}#fs_connect .fs-permissions ul{height:auto;margin:20px}}#fs_connect .fs-freemium-licensing{padding:8px;background:#777;color:#fff}#fs_connect .fs-freemium-licensing p{text-align:center;display:block;margin:0;padding:0}#fs_connect .fs-freemium-licensing a{color:#C2EEFF;text-decoration:underline}#fs_connect .fs-visual{padding:12px;line-height:0;background:#fafafa;height:80px;position:relative}#fs_connect .fs-visual .fs-site-icon{position:absolute;left:20px;top:10px}#fs_connect .fs-visual .fs-connect-logo{position:absolute;right:20px;top:10px}#fs_connect .fs-visual .fs-plugin-icon{position:absolute;top:10px;left:50%;margin-left:-40px}#fs_connect .fs-visual .fs-plugin-icon,#fs_connect .fs-visual .fs-site-icon,#fs_connect .fs-visual img,#fs_connect .fs-visual object{width:80px;height:80px}#fs_connect .fs-visual .dashicons-wordpress{font-size:64px;background:#01749a;color:#fff;width:64px;height:64px;padding:8px}#fs_connect .fs-visual .dashicons-plus{position:absolute;top:50%;font-size:30px;margin-top:-10px;color:#bbb}#fs_connect .fs-visual .dashicons-plus.fs-first{left:28%}#fs_connect .fs-visual .dashicons-plus.fs-second{left:65%}#fs_connect .fs-visual .fs-plugin-icon,#fs_connect .fs-visual .fs-connect-logo,#fs_connect .fs-visual .fs-site-icon{border:1px solid #ccc;padding:1px;background:#fff}#fs_connect .fs-terms{text-align:center;font-size:0.85em;padding:5px;background:rgba(0,0,0,0.05)}#fs_connect .fs-terms,#fs_connect .fs-terms a{color:#999}#fs_connect .fs-terms a{text-decoration:none}#multisite_options_container{margin-top:10px;border:1px solid #ccc;padding:5px}#multisite_options_container a{text-decoration:none}#multisite_options_container a:focus{box-shadow:none}#multisite_options_container a.selected{font-weight:bold}#multisite_options_container.apply-on-all-sites{border:0 none;padding:0}#multisite_options_container.apply-on-all-sites #all_sites_options{border-spacing:0}#multisite_options_container.apply-on-all-sites #all_sites_options td:not(:first-child){display:none}#multisite_options_container #sites_list_container{display:none;overflow:auto}#multisite_options_container #sites_list_container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-tooltip-trigger{position:relative}.fs-tooltip-trigger:not(a){cursor:help}.fs-tooltip-trigger .fs-tooltip{opacity:0;visibility:hidden;-moz-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;-ms-transition:opacity 0.3s ease-in-out;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;position:absolute;background:rgba(0,0,0,0.8);color:#fff;font-family:'arial', serif;font-size:12px;padding:10px;z-index:999999;bottom:100%;margin-bottom:5px;left:0;right:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 1px rgba(0,0,0,0.2);line-height:1.3em;font-weight:bold;text-align:left}.rtl .fs-tooltip-trigger .fs-tooltip{text-align:right}.fs-tooltip-trigger .fs-tooltip::after{content:' ';display:block;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:rgba(0,0,0,0.8) transparent transparent transparent;position:absolute;top:100%;left:21px}.rtl .fs-tooltip-trigger .fs-tooltip::after{right:21px;left:auto}.fs-tooltip-trigger:hover .fs-tooltip{visibility:visible;opacity:1}#fs_marketing_optin{display:none;margin-top:10px;border:1px solid #ccc;padding:10px;line-height:1.5em}#fs_marketing_optin .fs-message{display:block;margin-bottom:5px;font-size:1.05em;font-weight:600}#fs_marketing_optin.error{border:1px solid #d3135a;background:#fee}#fs_marketing_optin.error .fs-message{color:#d3135a}#fs_marketing_optin .fs-input-container{margin-top:5px}#fs_marketing_optin .fs-input-container label{margin-top:5px;display:block}#fs_marketing_optin .fs-input-container label input{float:left;margin:1px 0 0 0}#fs_marketing_optin .fs-input-container label:first-child{display:block;margin-bottom:2px}#fs_marketing_optin .fs-input-label{display:block;margin-left:20px}#fs_marketing_optin .fs-input-label .underlined{text-decoration:underline}.rtl #fs_marketing_optin .fs-input-container label input{float:right}.rtl #fs_marketing_optin .fs-input-label{margin-left:0;margin-right:20px}.rtl #fs_connect .fs-actions{padding:10px 20px;background:#C0C7CA}.rtl #fs_connect .fs-actions .button .dashicons{font-size:37px;margin-left:-8px;margin-right:12px}.rtl #fs_connect .fs-actions .button.button-primary:after{content:' \000bb'}.rtl #fs_connect .fs-actions .button.button-primary.fs-loading:after{content:''}.rtl #fs_connect .fs-actions .button.button-secondary{float:left}.rtl #fs_connect .fs-permissions ul li div{margin-right:55px;margin-left:0}.rtl #fs_connect .fs-permissions ul li i.dashicons{float:right}.rtl #fs_connect .fs-visual .fs-site-icon{right:20px;left:auto}.rtl #fs_connect .fs-visual .fs-connect-logo{right:auto;left:20px}#fs_theme_connect_wrapper{position:fixed;top:0;height:100%;width:100%;z-index:99990;background:rgba(0,0,0,0.75);text-align:center;overflow-y:auto}#fs_theme_connect_wrapper:before{content:"";display:inline-block;vertical-align:middle;height:100%}#fs_theme_connect_wrapper>button.close{color:white;cursor:pointer;height:40px;width:40px;position:absolute;right:0;border:0;background-color:transparent;top:32px}#fs_theme_connect_wrapper #fs_connect{top:0;text-align:left;display:inline-block;vertical-align:middle;margin-top:52px;margin-bottom:20px}#fs_theme_connect_wrapper #fs_connect .fs-terms{background:rgba(140,140,140,0.64)}#fs_theme_connect_wrapper #fs_connect .fs-terms,#fs_theme_connect_wrapper #fs_connect .fs-terms a{color:#c5c5c5}.wp-pointer-content #fs_connect{margin:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.fs-opt-in-pointer .wp-pointer-content{padding:0}.fs-opt-in-pointer.wp-pointer-top .wp-pointer-arrow{border-bottom-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-top .wp-pointer-arrow-inner{border-bottom-color:#fafafa}.fs-opt-in-pointer.wp-pointer-bottom .wp-pointer-arrow{border-top-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-bottom .wp-pointer-arrow-inner{border-top-color:#fafafa}.fs-opt-in-pointer.wp-pointer-left .wp-pointer-arrow{border-right-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-left .wp-pointer-arrow-inner{border-right-color:#fafafa}.fs-opt-in-pointer.wp-pointer-right .wp-pointer-arrow{border-left-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-right .wp-pointer-arrow-inner{border-left-color:#fafafa} diff --git a/freemius/assets/css/admin/debug.css b/freemius/assets/css/admin/debug.css deleted file mode 100644 index 808068d..0000000 --- a/freemius/assets/css/admin/debug.css +++ /dev/null @@ -1 +0,0 @@ -.switch{position:relative;display:inline-block;font-size:1.6em;font-weight:bold;color:#ccc;text-shadow:0px 1px 1px rgba(255,255,255,0.8);height:18px;padding:6px 6px 5px 6px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:4px;background:#ececec;box-shadow:0px 0px 4px rgba(0,0,0,0.1),inset 0px 1px 3px 0px rgba(0,0,0,0.1);cursor:pointer}.switch span{display:inline-block;width:35px;text-transform:uppercase}.switch span.on{color:#6bc406}.switch .toggle{position:absolute;top:1px;width:37px;height:25px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.3);border-radius:4px;background:#fff;background:-moz-linear-gradient(top, #ececec 0%, #fff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #fff));background:-webkit-linear-gradient(top, #ececec 0%, #fff 100%);background:-o-linear-gradient(top, #ececec 0%, #fff 100%);background:-ms-linear-gradient(top, #ececec 0%, #fff 100%);background:linear-gradient(top, #ececec 0%, #fff 100%);box-shadow:inset 0px 1px 0px 0px rgba(255,255,255,0.5);z-index:999;-moz-transition:all 0.15s ease-in-out;-o-transition:all 0.15s ease-in-out;-ms-transition:all 0.15s ease-in-out;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.switch.on .toggle{left:2%}.switch.off .toggle{left:54%}.switch.round{padding:0px 20px;border-radius:40px}.switch.round .toggle{border-radius:40px;width:14px;height:14px}.switch.round.on .toggle{left:3%;background:#6bc406}.switch.round.off .toggle{left:58%}.switch-label{font-size:20px;line-height:31px;margin:0 5px}#fs_log_book table{font-family:Consolas,Monaco,monospace;font-size:12px}#fs_log_book table th{color:#ccc}#fs_log_book table tr{background:#232525}#fs_log_book table tr.alternate{background:#2b2b2b}#fs_log_book table tr td.fs-col--logger{color:#5a7435}#fs_log_book table tr td.fs-col--type{color:#ffc861}#fs_log_book table tr td.fs-col--function{color:#a7b7b1;font-weight:bold}#fs_log_book table tr td.fs-col--message,#fs_log_book table tr td.fs-col--message a{color:#9a73ac !important}#fs_log_book table tr td.fs-col--file{color:#d07922}#fs_log_book table tr td.fs-col--timestamp{color:#6596be} diff --git a/freemius/assets/css/admin/dialog-boxes.css b/freemius/assets/css/admin/dialog-boxes.css deleted file mode 100644 index f05bacd..0000000 --- a/freemius/assets/css/admin/dialog-boxes.css +++ /dev/null @@ -1,2 +0,0 @@ -.fs-modal{position:fixed;overflow:auto;height:100%;width:100%;top:0;z-index:100000;display:none;background:rgba(0,0,0,0.6)}.fs-modal .fs-modal-dialog{background:transparent;position:absolute;left:50%;margin-left:-298px;padding-bottom:30px;top:-100%;z-index:100001;width:596px}@media (max-width: 650px){.fs-modal .fs-modal-dialog{margin-left:-50%;box-sizing:border-box;padding-left:10px;padding-right:10px;width:100%}.fs-modal .fs-modal-dialog .fs-modal-panel>h3>strong{font-size:1.3em}}.fs-modal.active{display:block}.fs-modal.active:before{display:block}.fs-modal.active .fs-modal-dialog{top:10%}.fs-modal.fs-success .fs-modal-header{border-bottom-color:#46b450}.fs-modal.fs-success .fs-modal-body{background-color:#f7fff7}.fs-modal.fs-warn .fs-modal-header{border-bottom-color:#ffb900}.fs-modal.fs-warn .fs-modal-body{background-color:#fff8e5}.fs-modal.fs-error .fs-modal-header{border-bottom-color:#dc3232}.fs-modal.fs-error .fs-modal-body{background-color:#ffeaea}.fs-modal .fs-modal-body,.fs-modal .fs-modal-footer{border:0;background:#fefefe;padding:20px}.fs-modal .fs-modal-header{border-bottom:#eeeeee solid 1px;background:#fbfbfb;padding:15px 20px;position:relative;margin-bottom:-10px}.fs-modal .fs-modal-header h4{margin:0;padding:0;text-transform:uppercase;font-size:1.2em;font-weight:bold;color:#cacaca;text-shadow:1px 1px 1px #fff;letter-spacing:0.6px;-webkit-font-smoothing:antialiased}.fs-modal .fs-modal-header .fs-close{position:absolute;right:10px;top:12px;cursor:pointer;color:#bbb;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;padding:3px;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.fs-modal .fs-modal-header .fs-close:hover{color:#fff;background:#aaa}.fs-modal .fs-modal-header .fs-close .dashicons,.fs-modal .fs-modal-header .fs-close:hover .dashicons{text-decoration:none}.fs-modal .fs-modal-body{border-bottom:0}.fs-modal .fs-modal-body p{font-size:14px}.fs-modal .fs-modal-body h2{font-size:20px;line-height:1.5em}.fs-modal .fs-modal-body>div{margin-top:10px}.fs-modal .fs-modal-body>div h2{font-weight:bold;font-size:20px;margin-top:0}.fs-modal .fs-modal-footer{border-top:#eeeeee solid 1px;text-align:right}.fs-modal .fs-modal-footer>.button{margin:0 7px}.fs-modal .fs-modal-footer>.button:first-child{margin:0}.fs-modal .fs-modal-panel>.notice.inline{margin:0;display:none}.fs-modal .fs-modal-panel:not(.active){display:none}.rtl .fs-modal .fs-modal-header .fs-close{right:auto;left:20px}body.has-fs-modal{overflow:hidden}.fs-modal.fs-modal-deactivation-feedback .reason-input,.fs-modal.fs-modal-deactivation-feedback .internal-message{margin:3px 0 3px 22px}.fs-modal.fs-modal-deactivation-feedback .reason-input input,.fs-modal.fs-modal-deactivation-feedback .reason-input textarea,.fs-modal.fs-modal-deactivation-feedback .internal-message input,.fs-modal.fs-modal-deactivation-feedback .internal-message textarea{width:100%}.fs-modal.fs-modal-deactivation-feedback li.reason.has-internal-message .internal-message{border:1px solid #ccc;padding:7px;display:none}@media (max-width: 650px){.fs-modal.fs-modal-deactivation-feedback li.reason li.reason{margin-bottom:10px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .reason-input,.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .internal-message{margin-left:29px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label{display:table}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label>span{display:table-cell;font-size:1.3em}}.fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label{float:left}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel{margin-top:0 !important}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel h3{margin-top:0;line-height:1.5em}#the-list .deactivate>.fs-slug{display:none}.fs-modal.fs-modal-subscription-cancellation .fs-price-increase-warning{color:red;font-weight:bold;padding:0 25px;margin-bottom:0}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:left;top:5px;position:relative}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:right}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{display:block;margin-left:24px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{margin-left:0;margin-right:24px}.fs-modal.fs-modal-license-activation .fs-modal-body input.license_key{width:100%}#license_options_container table,#license_options_container table select,#license_options_container table #available_license_key{width:100%}#license_options_container table td:first-child{width:1%}#license_options_container table #other_license_key_container label{position:relative;top:6px;float:left;margin-right:5px}#license_options_container table #other_license_key_container div{overflow:hidden;width:auto;height:30px;display:block;top:2px;position:relative}#license_options_container table #other_license_key_container div input{margin:0}#sites_list_container td{cursor:pointer}#multisite_options_container{margin-top:10px;border:1px solid #ccc;padding:5px}#multisite_options_container a{text-decoration:none}#multisite_options_container a:focus{box-shadow:none}#multisite_options_container a.selected{font-weight:bold}#multisite_options_container.apply-on-all-sites{border:0 none;padding:0}#multisite_options_container.apply-on-all-sites #all_sites_options{border-spacing:0}#multisite_options_container.apply-on-all-sites #all_sites_options td:not(:first-child){display:none}#multisite_options_container #sites_list_container{display:none;overflow:auto}#multisite_options_container #sites_list_container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-modal.fs-modal-license-key-resend .email-address-container{overflow:hidden;padding-right:2px}.fs-modal.fs-modal-license-key-resend.fs-freemium input.email-address{width:300px}.fs-modal.fs-modal-license-key-resend.fs-freemium label{display:block;margin-bottom:10px}.fs-modal.fs-modal-license-key-resend.fs-premium input.email-address{width:100%}.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{float:right;margin-left:7px}@media (max-width: 650px){.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{margin-top:2px}} -.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .input-container>.email-address-container{padding-left:2px;padding-right:0}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .button-container{float:left;margin-right:7px;margin-left:0}a.show-license-resend-modal{margin-top:4px;display:inline-block}.fs-ajax-loader{position:relative;width:170px;height:20px;margin:auto}.fs-ajax-loader .fs-ajax-loader-bar{position:absolute;top:0;background-color:#0074a3;width:20px;height:20px;-webkit-animation-name:bounce_ajaxLoader;-moz-animation-name:bounce_ajaxLoader;-ms-animation-name:bounce_ajaxLoader;-o-animation-name:bounce_ajaxLoader;animation-name:bounce_ajaxLoader;-webkit-animation-duration:1.5s;-moz-animation-duration:1.5s;-ms-animation-duration:1.5s;-o-animation-duration:1.5s;animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;-webkit-animation-direction:normal;-moz-animation-direction:normal;-ms-animation-direction:normal;-o-animation-direction:normal;animation-direction:normal;-moz-transform:0.3;-o-transform:0.3;-ms-transform:0.3;-webkit-transform:0.3;transform:0.3}.fs-ajax-loader .fs-ajax-loader-bar-1{left:0px;animation-delay:0.6s;-o-animation-delay:0.6s;-ms-animation-delay:0.6s;-webkit-animation-delay:0.6s;-moz-animation-delay:0.6s}.fs-ajax-loader .fs-ajax-loader-bar-2{left:19px;animation-delay:0.75s;-o-animation-delay:0.75s;-ms-animation-delay:0.75s;-webkit-animation-delay:0.75s;-moz-animation-delay:0.75s}.fs-ajax-loader .fs-ajax-loader-bar-3{left:38px;animation-delay:0.9s;-o-animation-delay:0.9s;-ms-animation-delay:0.9s;-webkit-animation-delay:0.9s;-moz-animation-delay:0.9s}.fs-ajax-loader .fs-ajax-loader-bar-4{left:57px;animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s}.fs-ajax-loader .fs-ajax-loader-bar-5{left:76px;animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s}.fs-ajax-loader .fs-ajax-loader-bar-6{left:95px;animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s}.fs-ajax-loader .fs-ajax-loader-bar-7{left:114px;animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s}.fs-ajax-loader .fs-ajax-loader-bar-8{left:133px;animation-delay:1.65s;-o-animation-delay:1.65s;-ms-animation-delay:1.65s;-webkit-animation-delay:1.65s;-moz-animation-delay:1.65s}@-moz-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-ms-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-o-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-webkit-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}.fs-modal-auto-install #request-filesystem-credentials-form h2,.fs-modal-auto-install #request-filesystem-credentials-form .request-filesystem-credentials-action-buttons{display:none}.fs-modal-auto-install #request-filesystem-credentials-form input[type=password],.fs-modal-auto-install #request-filesystem-credentials-form input[type=email],.fs-modal-auto-install #request-filesystem-credentials-form input[type=text]{-webkit-appearance:none;padding:10px 10px 5px 10px;width:300px;max-width:100%}.fs-modal-auto-install #request-filesystem-credentials-form>div,.fs-modal-auto-install #request-filesystem-credentials-form label,.fs-modal-auto-install #request-filesystem-credentials-form fieldset{width:300px;max-width:100%;margin:0 auto;display:block}.button-primary.warn{box-shadow:0 1px 0 #d2593c;text-shadow:0 -1px 1px #d2593c,1px 0 1px #d2593c,0 1px 1px #d2593c,-1px 0 1px #d2593c;background:#f56a48;border-color:#ec6544 #d2593c #d2593c}.button-primary.warn:hover{background:#fd6d4a;border-color:#d2593c}.button-primary.warn:focus{box-shadow:0 1px 0 #dd6041,0 0 2px 1px #e4a796}.button-primary.warn:active{background:#dd6041;border-color:#d2593c;box-shadow:inset 0 2px 0 #d2593c}.button-primary.warn.disabled{color:#f5b3a1 !important;background:#e76444 !important;border-color:#d85e40 !important;text-shadow:0 -1px 0 rgba(0,0,0,0.1) !important} diff --git a/freemius/assets/css/admin/gdpr-optin-notice.css b/freemius/assets/css/admin/gdpr-optin-notice.css deleted file mode 100644 index 0da5146..0000000 --- a/freemius/assets/css/admin/gdpr-optin-notice.css +++ /dev/null @@ -1 +0,0 @@ -.fs-notice[data-id^="gdpr_optin_actions"] .underlined{text-decoration:underline}.fs-notice[data-id^="gdpr_optin_actions"] ul .button,.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{vertical-align:middle}.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{display:inline-block;margin-left:3px} diff --git a/freemius/assets/css/admin/index.php b/freemius/assets/css/admin/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/assets/css/admin/index.php +++ /dev/null @@ -1,3 +0,0 @@ -4QUc+`00KlZEA}{+QaB(jz&calwp&7Oa zVAC^^HR3`PEh%~GCB29S(-TgY3nV7Kda%Up*V_yVW&Pf(lEEb+g2F}vzH3}U<6Ea| zx_%q(oQ|IM(}bJ2&sU25Fw-~t+|Xd1mcpi=wZWK@0!jJ5f4o#&Cxj_$M@PIF3SxQ7 zOTT{)TMNf`s(#DDq8MmRI zpI_pjo}M0t!4UKJX#NGFY#z(%DMw$%%zy^Q8xj{s6U$-U;wl+7< z1+s~5ugR)@pr)osp>Ms@w2L7!=HjBFPjQf?j{ph^ir^So+p#o2A*sK=A9-~(RnJ%2 zHhnM&cmaZr9v(cLoaqoY_)P2wE%nod<>k!J`52lNjosbd{f9h+6eQB1q@*OvYsUWm z>3__4s!4!ae0+?Y+`yNb${4mUVOyFuHYH4v$FTT;Ln+^w`fM8HjNl8%=QKQSvZ&Ynyi)m(NmImC` zXDfFEpK;J6tF_NQO-xKAppg;`X5$qCv9PjAhhNfBOY{766&fmIk0PnNe4eQ6Ms;c*z zt^R%USdu-6%WvNvo!liRItqSiY-C*V`FnWS?R8on#qs*F9MIZt5q@v{fyK-y$fln! z)X(qQ<5j6{r6UvgIXMpUs8J-jtg;fjsE18}JwZ0oi0gcpr~5VCbo zobX$)h)^XBqQY@y+0Z#4Ff-$U>e|RUnG+WD_4A`|5ttLA<=;jkk!=eLyxqY@fp6-% z?oEy~)rzorg~Y@}M21GA{OnhK+td}m*)#AxfBsxteAKRybm8a@i{OZy8FcbUofh)_ zA?&w%%QS^rdt$#a#s1;s#8`rsy6ds>yTe~?KAkOwM05nV_cwE=xxyajs8)LHLY%|pE``~-Q|d4&RL}lWnSiLLlarI9r>7oDbIQ^J z)zcHn)T2MLwKiB^&nJmFSrZktxoNK#2b!`B52q3Q?qdK%1Mnzx#$E~v3i9(8o95uw zp;Jyr*T!>VWo5`3N5lUT)q|eig z2z&^)vXU)m3AsEfvd9Xf*Mahii{EUXxlk_;?Vg2uJ#-DOrTRxaD$<57yu;Tg^^~y) zyKAPi^MS*FXM_=I#-}eUUq8aaVr6A9>L#4~GmLsLx3J*BwtO?V zHW_gpcgClop)vk0nWin?w-xVM-zsl0->$Z0<3hev*v_9YJ&*%g-VW7U~3tq9?d)n~J-hl=R=PG`ilF*UHApg%n58Rla2vYJjEuyEcXv}^CzC? z0QIi8fW!1|^LVZ6KHT2}WV7;oAucA)mOuNUD|oUaZ_P?S@cW3O%(SKbOy8bHJ{X=Et6*^FjJ%P>R>oXTg)1EWN zp7pPg_|?1V>o%Y_lMt(K^$2of&D4nv9192v%HKB_0Zw;RqQJAS47A@HO*L4-9e4Y} zC%saGAyTL?)|vuFbfM@DJ3(~R{5d*G(WxDZ1<-lu;^NX&XKZeMe|cdwsv(%iHleDZ#hVw)pfs$x<5x5);U_7uf-CKkB?WoC}b0_5XXp9 zCNKRAx*&FQbxlZ2s;#bmzvn_vh1p;!Ea&d+ebRq(Q6a1%)9olICM9*hQKCeJ^`)t$ zMXovdF#&P=1OY9LM5v=BHc9f}aIz3OVk~)w=C6;-!b8tpt*lo6)w+B85YNR$IK23S z!+dprf#UhaFlNio6MpCC5o9FB3pDE#`E9D|&e* zj5?y$#chwJ?9weKARw4AxY5wkFf-=-oS~|*E3UnFI{_hk{n-e*aCCCga0~_H=nGtK zR(dhkLqmT*EH38cs7j?2oX>jbUP*b-ChcUHiEPk4&CQLo;dQg_AgXb5Yufm$T(>|v%tsFtOYcXv?Ck8c z2OQ==B7+U&nqx4S#4Q8aGq|;{H0I*gGFrp7@ZA_Upv|SWY5>zAg7m@8&dx$Am}%&a zWG7b$|NO!#9tL0RZ@Hc|IKF!=9g2jJ?Rr>*tNfHq*Q{{(2>}IzBP&Zv52Sz2vrf`27Fyh5blg(6etcL(|iyH@`GWs6sj%m=g|5I*5AfBX=Z&*7{K$J2zL z8<2@bz&peP=n=@O@+$o(oqF;dEv-neX_L8F0vhO#rP}c1!@qCs75EEtrKRX;{u_7` z{qMWIb?AEuV!F>Y85tQGemA7f-$|jDk3*aWw#)h^QwCiL!2&Hd0L z0v2ej76eF2`&VI!fZfNlpFt4>SmphGTn_SJ1Pm3jUjG^)fP^W_6{QqHvaWBlxi0+L zzJvs$Pb;J|sZ?|`i>Q{wfs&1+q$EP=60P76X9Kp79!8c~2Mi1h>j^)-?v^lLLJ)~Y zng@T1q2G8Avd0X{E-a9;kzG}Vuw$`R{LCw@wP7zolMK}-c;dja;}fY?$|0!2Fc}uz zq4}2E_DKN!?DDdvUzX3O?rt(1oqeu!!pKi1Yp(*^>b}|jdz?1BJ~4q`av|CJ6%V}_ zhzm$vUESJl%KP{!7#&Tro&qyk#p1ln{Nq(AtR$eI0YaqQU)U5Vs;S}Xw*Vw&VtFjt zRI+ja{7fq(Tr;T;zmHq((QFs{)K5$Vbr<|Yfx9>xMI2peX|8xlS5b2$% zb5Ib;%BTsc%K#jAYlnLzrGE>)5?Ad}MV?iuJet+A(32yTj6a=-ApE#f=;(i~$dW$Q z=THNYkth>eKHS;i&tO_f!yXkH)wg9w2e^Je6HSgcQ^MEs6%L&mh!OJ_yXM;3+AoML zDr;;X+Qalo)H)mDm%H$fqAVf_t2<1OIA@l~FDzcqr@zB8KZYxv(9sr@3Tma1v{y}% ziQv#nPkDRXR?_HIzOWKV6(j^aRQNIRrn@tOKajVFJ#H4tt9af|=EH=+rDz-N(Q#n! z>fynvvU_|*TBmcA`GEyojf67|PR-}!kehXWBgB-*M%URexhvj+ive+OLb!kX9mN2X zp3#E}4vvmtkBpQCr10aIJ8|>B{phW-MGsPghL8m&(z6{li2#{%U z4iqh8RsLzEd%cO6RpQ8U1$C;8yeJT;dOaUkB_*I}G%;Ejgk7|mNk&BK8!V1%A%TLK zv>rv4sA@Mo2nh<272Jy&Q(D}=Bex_ycGcRvJ3KhJzdy*k4w6?MdnFwP*VNb10pVf< zoi~b%D{AYl8f7me2!HfyKOPlJ&ii_Ey|dG|yGvo=;NwF~CACe{Yr)CM`Gb~?)II3M zM!`GI)ocOVwwD=#@s~~{_ypRoZ8S+eq_euBFdfFVB#{&PvJOf7rGcKZ6IXH1x zWac+1=Zd1g4St(_kmBDn#lQ&fw%Cdp%FHC&hxGKzQh4fGL->1ms=B$qc!E>@(lTRg z+M$$lE!l=_SM0QG<*cSR8k*w}{e;C>1NemtV`J(X8i`scwE%Q;q-^fMnIUFogLS`F z$8j+(C=a~B({>>1Fu1djz8|XRP~>VRi|`iX#-mD7+rARrW+BY;Kz3G*BaEL(aVslV^y~nuGvgQUntt~C@ zVrcA5K3B#rxNhcx;!zRR0uvq-?hd{00r|X0(a&d^i;o_ag6< zEEL@Yjf|**!7sykGfEs9VBk{r4)6tMogGoA5cs9Fm>85kOmWT9#_;qyO=ljvrb*kG0T_mX6Jt$0NYD&s8LzJNufK&^;x@cgjD&-*dk->4qf-yb zil+sJ2Vn}H5B5R$g`j$)gzc#;{P3r$QrYS`c*n-f|74`v!CdHq&z1r#hE+f(Vs1yU zOBhj~)HxBYkoC3fH_W-+Bd1tJh?Mhr_5}DZU)~Ekx^atkixMI@6QlD#MnI*BA-k$f z1w5?#y1V#Or!o=!S1+4RnBLsguOvd(G{6C>{h>k9!aAGhJdqTntR5QzNr8y$%Hm3r zFQ8EKMvP5rR*#VipWslLhKRmAAkdtj;C{5hS>)*~8$#JX{V_|_bnv*@2f#>e)}=KpH(+F3FnT^J0Uf z3MuSY@_Np62pka#HCe` z<_SL7zHy=7Pd-G4h|Yo@(wFicvdbF9MHb(`N~bMLa^dPCAJfx9vioY}Bgf+6&klt4 z`{F5@0*h`RfOtwCg$KeJ$<57W201@P$e#U|TQ~;HNTNvV@{okTwLuy#7N%-M0RSEUz8&=l;3Nd~HVgnGN;t1P|xYXNWm=sO31^5S;be{mKj%*-9yEY;5dc zXz27A>u)1=rW_Q>E>V~Xn2Ug%*=qxk_r$A$J^TJGO`kI@uXk;#BfN3xZ6lfVWw`O4 zRz3p5NT;jc5JJ%GN416v{C?hzg&y(!N^Qx|z(Co&BS#H#G&h&#`{EhTvp7pUDENM2 zBF+0D@j5@cA5}mIuabv+nARRP6ajG=aK_=_#P&DUqaQy~sTj~=A?=rVIW>N4 zi75GjeTpW7D#<${hs9`>&a8W4+Cx`U}YjO1~xbEVdtm;fWZ^B@ivI_=B z6GtXH%jY?!IZf9dAJgBWg}Cr#m3|LoI zSId_VebCIpMNb=YCAKS%X-VgU+{BiIOnu5`gN}`ldlh7bh(TpIAUD?^zA+yu7#bSp znd=j@c?AY4r`?0kNODskkV0MAp+tM+FeJsK?IkxN`kqoaVFF|nQNp`XyLxtp@y5kJ zxrH-SiXOUh9QeU{cl|2@Drt=)13*AXjB1xx3)}bkyYmC};amqqIvco6!o&5FG@W!O*{$;y!*WNFJ&Ut2d086FPK&&!X9S{kBncVUj$7%QX8?VzGIX^qAoi~@B7k3%=0>*p0oi36MG;MBwRB2fX zyP2T2ihZ-_`WX!vY&*f`7*blS?%23(!!&xPA>#Um^l$$}^JWlw-X3)0%l6GbeiYN$ zTj*F+SXsF}@w?p`KO{ks!IWg&qTCgWw+MrQ5oqGKk{kYBp~djBJdELJ!e?psY`HU_ zuC2`&5t8XFL6aqw-+j+~?;Kh7J~x+R;HS^{ z-4Dy1Ayk|n&;7_Z^k5{vC`l}D^-*zhb=7K!Lw1u)tfAGD zbRS=-u)V#l40E)D3};*DlseAR#WeSFfFfJ{mG<}RP$}_B6_}EG7MK)tetwSTNVHO+ zY?`p4)o*B^c^e*qMhQ$*_%$^;+rM$kSiqWcHYGY=gtxXfp?PqDGb%M}Fddi@)=^F@2%%7x^<#``jpUCp~k?)ybr_mcy?}?g8aKrxYw%+DH zm#1X2im9ooJA>{_VDyj-i^#`6S`GEMm+Rf#>2~wTX<0*i(ePKX;!r)mdcn1PpHqv8 zh*mnBgcZ7O>PQ!U1$$=iVDEiMwjPh)U7+*WcEeezd`2~9=3-`VPqMEUBDzle^MK0hGB(e)ur9!xz; zJG^=?qQw2~-L_fzuBXV6{=)AUn0g^sCmU?Z+#^(W(|=lzq6tmRsGriOST6jF?%?B#r&%fVxmcsJ!$4aT9udgCUwGvYJ^aD?`c7J@aZOAN&hYJ``VP5 z91LEA;Xz@+$+4beR=>)M=tg2zxVMz`i-Qsa=RgVy$_oPgP2V<7%H7V6rrC%!#ee`| z#xo?;b3@Rn8Dd#Uz?eET_RklMHXH`p!62R~%;W(XK=1qr+H1Jr=IHLOc$-&oz}*Q$ zn`pGl-4C}{r#(GDiCiEAvgTdiQ0SH4wRr2bAOy^APEYH?FU)uFyJ=U=dU)AJ99eA@ zDzH?eF*fW^$Ho%!3qU%5=Pe@q^bIf0&;5OUQ(Sd8?WQT>8AqNQ#xUR}E0pktaj$;B z9Z`}%@sNRBg_fQ+d)8E9vs@Zqv@@jV=6XcjxH)=$KfJ&KgDN)LLY2KmX#CL%t*$QC z!0;*Qu|*tu4{yGsOEBe~9r()jrsMSY!Cag>L@E8d^}KFW(YS z>{{%+X8lYUk49L3ZaGfJ?0r0V*)|7$GY|ojxNok;J`|v>jNBIYdT!O>sAjI^&M;j4 zM-*&c?1vTA^HC4Iy}kAfgi%@X@|QxoeHQ;vtwj#(wX4{cBcCzpDWz<7F9*^15zUW@ z%|-Mht;QWdyRq-x+@1Rhc5W60^J~n5V6Or(H^>qP=>92Wl^E&hOrcO7Pu7wg7ztM{ z4MdZ-LMy>E8))AOZFIF+kUe7I;(5lNu0nr6NlCf8vs37my}TH*DodU~!>-4W8ad_T zi}ys?I2r2;imjv(dGj`9^a)MjpQuMS*JNa5fz7w(DclZ4rQ4Td<^=>!30s#B5-S*P zf8xm-TH14$7Zy~@gpO--bHC*M-bA7uk@F;c46|)RMZbD+db%ih(RaHBkgTP*HT+0T zZ>2F03e$AZ*C%ZSnN^gPeYbDy{e@Zgq2KV}VEZ`k#ir#8bS3Uo7R70V(V`K~rKbE_ z5j^>hU9>amN5{GR=BnNs^%Ytm#>-1*qOUSsTvW6=*Aq!tWAPH)bM0d|mNPoq4vs1W zo+*?)mbgXNahZS?FGJa1yW$!7!@s)q(2A-p#PFyj(;C@czIo6YVqOv#-Vf_3t*!s= z-hy>={dgad@b{81{O0E7td0H+J7T#S=_O}up1qfuks}@gxN7KyaZgiTw{>){n+%jo4-Qp&{O&oSBjMuae&d;F zI|cBaUv@2JX8xJUE>=S4Ck$Y@mv;lfcyB@fWs%< zoV>Nay<$(fyc|&fq&y=0dma;jRb5y2L}G}EC~j+y+ zAM(Ya0iZ^bGdLA~`?s{Xn9$X3A)#`#{S5kym~3Sj-398df0(8iz45mKq4QX9UeDB2 z7qw_zIQcPQVQTuw3m${Mj^Gp|YAzph+uUPlh!(`_)4%SxuzSchHa50GSa3_C+RGn3 z(6_v*#;K`&^If4#y4t{Ht=R<+4^P48qyCs^PuyDqB)sXa7YhsPyF#IC8cL&ItYmIi ze`2ETyYs3t<96@nQg>x#@^@u&M?a~0Xi!D#-%aY6xlaai31E= zD21(G*x3XPOS+k23JQ_xEExN>a`AL&2(*oFB>3@^Tq7-Xcr9vtelAdA8uf${q;7bo zo`zwJwandBPpHN8SwYg!;LGbs=a$?K&TbAz}7;K)Da^Go-2%%>zuRkwZ~0RiH9ibj#^U7&kHf6-Vj@2F7WG*cw|k^r{WSeQi8xcgv4Mee*zWGC0rf(*e%Y)lNsZCe3m z!@GVi&3|GEly42ff!?IU$tIKi1yjKqAxe3P6T{mQ-=j1j;`lYMIJJ8RC!IX-C@)Rh znfF}uHNT=}ZLxeDQO{eq_wV{-ihZ#Q|EZ54-?HhTGsv{qo8^uCHjzx5gKllvf1^s> z6W$}_r-*?~_1e5AJ0KK2yYA?_qvK*Q4<{vq8B}xPS zrI;2IF>3&N{!Qt7cj;_q;H=r-)%5f_O^{Cuu9_8kwYC3!ovB5hd3N;yn-_?B^c*HL TzbJ{mb_A#>Xv){ZEu;Sjxq-&r diff --git a/freemius/assets/img/theme-icon.png b/freemius/assets/img/theme-icon.png deleted file mode 100644 index 045d4b25f9727fada65dcfd66cf0a0a3d167ee84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11237 zcmb7~qm>Pf(nrhpHrh6p*51xTHew(UdxVm#l&;s}k!gfEfl(`V4z4tF zLHMeuhuhrG)_~@<_Q1+AmNJ%Lx*W;9Swfo7&!Nd6-#ms^6C$OI-@<&Z$-mFvc+Q5= z@|}x2iaJK|W{skg^3uJSJflyfC6Elq%mndT4?+@YWtiZYq`YA3!9*C1Ot>nDl-C+* z@c(s7O@iSq9yF-1kUpZ<+083*%`1SCl9HOT#iW{G{o>+cyYJZJ`Et(u*@xhnW-R9B z=0>&{Eh;KXNlEDj>xuHk3r2}InIH$S3#QT9!otGRN`r5Zgmgzp`&h#oJ|$(<6)hv9 zT$TFxprV>u8Y{4PBnk=&2cxPtZ{CQSNmj)mWX8wFuG)m2vobO=e*E}>$z4}ppE7HA zI}3?n@#aAHELbx%Ut3=OVO%xw4>LfzS&6Jlzi@IrT@^JGFHTsHj%|U8%cxVLK~~9 z(q?C=?d=s56f8aLVKA6TPIYq;10SDGz$7pD2_=1`p{=d0xu&MGlln@qLcc;qS!HB+ zSQ2(Ss~`f#os>SA`}1dPY>e*U*9LYsjjq0)jWw_{k+R%tH(LWh{I0G%LMtS3^E(P? zxw$o%BxQl1x_$WY!Q)-{sBVd_qPlvA|9zu;1+bd2ubnkDJRf;N&EYB-KzutN?(BVh zeyYNqT)l{hiLrEa(9qE8Qq5y#W@Z!;sM*t$GeH|5NHf9KR$VUvM|5=br?nOW0s?vh z8r|B~R#7oAhn3~j;!HtfV`H|8Z#_30!eTHdKflVn4EU03`L-b{j;w-$g#Q(XNy2zf zB8Yutgr1(BD_!NYX|$yE!_832&5c(k=%{Dk4I2yFn1jg33`JV)lc&)ZJbH)A11j?tJXu38wHkusQ1pds~>=R<4goRz7tYCytXblo{S@Zf+ zlR(qH?vQYAZf;t=eakJ3|EcM|Z;73PO-~7k{>P6W7qclcK~w)l3HVqB?EnzhC(*=SMV17gctK-LyN{2$-lt1VGd?pA!(cHtcc=zs| zpMxsfdyu1upr9Z(H#f6jdQOp$YWL56EB?&iQg($dLvS^BX;)2+jPRZn z=p8sYIA&hF_|Rbd`O$O_#V}+xEv=#9l~O#?$jFG}avP~Mt<)fH*ReL4Fiusx3kycuLfVc^$`C_c!_439<<39}-LY7i5D<_ac@qBkt~^oN*(0q*}IFF3Sr>|Nx^ma z`CfB=!4JBS@IDKDyfvvLuz3HzbazX^`A52ZVbEUhu2v{_to+uGZj1VbJ|z;dfHMY8 zPBkWw#`em6k->G25KqT|8I$Gaou9)lVqxN$r$e(W@5KeB^5Usj= z3a=h(yjQLer}<-3Q_~)~cDshVtK+2wvN(?G^qP(iaWQ`DrX_kdrgt&_MR3K`6bXwv zs6xlo6sw8(h?x?B>NobUwiZbCpz80sY=QTWo+V>wBy{kRo#2xu48C0bwCrV%Q?nAc zg85&+!UbgiR)75DfQgAIl%r0|g^hu@Sm5)L1&T>n=hIz9X{kbfb@kWH%`8Dj<(moO zzq=9P;rwK3hjHYwyZ!!>AORtv=Ek3FefF@ai5E_%C>BunYpz&X3a86G6+H}_$lCkHE>?P z?+Zuv=@-?K%flWYLyL^a$w@6d<=h(;B{zQQ^3R`%ermk<{-omg{YTEIHok?QgTshj z@qO<4Rn58)Tbmv#u6?|@uqa=Mq_?wW(2iw^-t26o$^I|S$d^Lm#ZL5HzwYjS|Hkac z_|@0fbv(K678^OTd{jxFp`%yU+uhyWl#|1eP|wB2=7SjFcGJKIw#1T+J_c0d;}o!` z{QMnK0w!i3RnxMz zP}4tu9*o*kJn=@u`t09a}x82ra(0JO;2xVfFRyH{|F0L?{TQC`TjWZtDb7& z#DgnsJPp!?)MBN;OvDuVBm^4j>d~h+QEKq0D420Ov6hyW=gF$g$L{0B1Gbf!&pk^N zbC)M8T}_Ua$4wA47JdG%HS&k2*V(XjmzEMNRAU4CPoIELSSi!2H^s)q!QB4s?Civ+ zbN>Tnl2KPp?|*q?Y-{?_-=DIHv=MT1vw>Wtl9rZkP@8nx2~{l3&oV5a2hLjab{`vl zvW1qzg9E#00z3r;`92Cu1}gA+{}h=_{-mAba&z~W3z>`3mM~|z{{9Ac_cnUP(%yf? zO~i|`zm+V5CZ`sa?RmMDA&Fwk(Df+)*4A>kSRLWw#eIPBwEUlZ=jzY5z0v|3Hnpt8QGS zAAd|Ar=|wTn437|;+}Rf@4Hmb7|faBhld9s`oOC`WY2=o&d(@gkay;$@wmb5Y8nn3 zE;e>tws5KgnUM?xgvZ9l*45Powz!gwQjh1YwYkRtPw+#1xDa$)tyF1e#QOgCPt_Yb z_EcP&uInJM2rT03SC>V(mLIAD1Bk!FlN&eW%X2Xj&y{rZLmiz>bLaowp6-rgcmEP` zl5$pp(NVCaf62(e?XHBW!+U#s^~iL?dnHv`C&HGFe^qRrrA<77!)3g!LjL>#Bt|k3 zY0A*W-KD)OJwB1aTAO!@GS9k`Q0QLri!6|)if*;*?ii(qJj|qTW`;2RoYhMR@$~(X z7dR1s*BFuT<Fx9we z)Ll60tGFFdJs)2%85j(!X{nXkX`y$rcKy6`cPBESj=gGMZ^4gy`|$6fCEVik7Lej% zUzOU;e*cwet6OSvOfg3*QPrfUp#gVHvp7ucyE$;JT@;Bc$T$1hczb)x%cBmB1B>uI zyVwU-?tN+>yrrPD3V%_LS3cy}@4=HM_* znK5K4(9iGpKUBPSO|ho%y}3WLv^*?KgAI;GRgR*foj910nkG3J8Icz72N9K+7^GXr zU|fqOjGmaX

(pm7kdVyLDlLeC+J=^XVA*geR-5*GrC_NnZLYDk^|%2X;`J*uX$v zzoe)L*9^jBuSc@0hKuC%8xvLjtqgKj3bLoCr!dvTa+|kKa{}1o@o9h>s1G|I88ntp zYHMrfzMEr+q=F|UUNBEs31HOTWp#vhzouDxm7JTaekhwGBL9fv+e&yJt=Xunt$nsR zE&(V9Z+47`mDT%O*YSY_U3G_QSt%*-Z2&`!Zse=|3mDuhZ28+1Iz@S}Ex(I57UEv6 zHEe!+ENxT2P?oS?tO2*#41!J&ImE~A zh#z51al4E*z9+om?o2$Q2{y{g$~yGAbqNT_^}#|hD+~AHOk1#)=8?Rv*J1(*DR)?- zqvohxN{I6H+LZ5&zZ(B4RWa)mUE#ROz*??N28sCkdM@9R(REM-N%6tIH%UBPqDjvZxaL^ibNKvrVyL&EFAlX_xIVOleAQ zQEN!JD*TcIA4DBrBk>|UD`&qkoe(G8nbO(WS&bv?l$Dh=flA^DXuOo7D@w7#GhfS)I0iD(-ZT1hu1dfKoi7+GRn!x z&_9cejBI+kiucW|&EzaaD(jkWJw-Dryj+P~JTCJ{tiN6|ekgumHthu$H`SzyoE*w& zo{N`PGxz*A5=Aq2_g6^B$$NgjzOAhlhxUOILkzpxn-}o!m!xO%Hl>~%RSFIb#xR}1 z+uK{!D$Of!fW&~MW7}JEv7b@@oXvO9O|Bvms9=OLy&@|={mE(11`#}`@|m-rPG7Hpzsh-m#Vb>o}tD>MJ5h2(A7<) z^vfmhW;BTbs>JRl^ztfXb?=BhDL41&Vxb-=`Q8;-)6+WbW(hYL=3^ntW2a9kFvdJm z)i{tmFH+yYK)t|U{f(UNUpDVN9UM3kZZle2TXP)Op8P(sjD?f*6(S-J$jNSS%3MY6 z@9$PS1F0RXsJOq>$lsZm(+JUCi0U@H|jbl5c7M0l%l2-wq$L4wmrW zkrBnUH$a!|?C7B4pTPS~f@-?v;SrC*cMaqIV$G1-j0TZ{PB(#YFkei<{=w%7X_9)YhR54Gpj9*{grGOR}^ucf0q!Z66neby3sr zw-w94)p(I;@-6N9W9TyC2ihL|PEaY+DapvlC@HZLds4OuNynd?)&e_Scd--rxt8ZD zkB$I2=Cw_6NYh}JM!NuW}JwBZC6F0u2 zqa*D0)_z;*>pulA6vpD>+|7e8U-FkHrE|uJ6(vbsE6ab4(^Y!5k$6eodE-nMOM-;z zLfN0t&(1TG1N!tRBHEqP4TNB?U%xi-W0Rg$gpON!xVrlK`ieKDf7LGMs%CZ*qM)Fp z?a4+9nCNF3QVAqX1BDi*=R3HNum}8cJ@k6GpL8{}53BHhKm--$#HOc$#2G4PDNqRI zw~{aa?j^1l6MT78!RWt{>m`Ir&Oc!g2bb4M@NCZcuuAnyKqpr{Jzd8Q&vX5y@dgwW zOd55q-`PBxti#?6>?o2aAzRL_7pGX*l2V~aPZ7Y|G=jP0o885pI>F1!n2BL<7B^3K zl-ZAEB|qK;Lx84tZc#Gh1Ye>>bomuAf%45kAXnJBGnc$FDEVgVG!&%b`dy4Np<83& zdX9NraFL{L)LMtanJ7IBg>}9=dc>$53H8A0ID$7goAcv#~IizO6fqj#U z{b5sI4!0d=|Ha$9TKj`PS=8-O3pt-&{n(x9*v#? zBa#AFmeR&G+MC8mcC z$c0Q&u2KVlPKcofNRi%;poC~K$m3vVNt`3?@46_+O7U3262Exa@(8OhpTMvca=+3> z*UNYH{zs#lmS|;+t3DTH6Zxd79AO;xwZh*6EMYC6xFdvElGlIG-LLXudJz>#atL)y z9}f@igp7}&kgKySLM4ZsuFMN1*q*iK&&~2`m)3goX2h3le{c|*-kZIdjK4}mK6jm- zb0JFz;p{m{A+YJ%<8mU4js%6)8!DAz8`Ok;%;J=6BHVi^F3{*Ud!ZN74d@j_ z*-HVi{8ocG>iZm?_gL;Q$K73;2u&Q+v6YP|faZZdktboOmx(g2J>gpnyoGO(OMy2! zc=2F1oz2aA3r~lER|r4E$aa24OJ7H%PPxNfbDgHHk^uVlV*OPYs}>y+MHnwwOqA-; zwj(<``}ub5xvH!T_gRyO3^*8`i?u?%!hqg6WUUh|V1X!xaX!1R$ZWhnVfODf!{p$2 zu%m=QJYICry$I5J1Zw2V$cyZlN?$!`B*>mu=tR?MGq})u>#y24G$#pqmv%7^qBFbk~cGjqKrGikA0yMtqb!r zZaZkm27qRI1{ALfWd2SOk0M9gkR(0@P{Ych(9k1~d%0sJY0!zZmkmD$DY$5=1X23< z(KP%VS7;8LcRZFO+WGts&0fYN*qcn7 zp=V~(P7XK_4-PXA_B!>+^6Q)V{aD-Hs)W9~xeb+>oEnu#ca+Bk zTd+S0cjWFjj*fPl;eK74n1J786BYjL9OTbM_*6m@?~2`Qf-}C?K?B0#za=?oCjnm4wF+ zY;SJ^-DJ<l=5B4{N@)_CL+2t<8v68=# z1ynEIYPx^5_KP)KV3!7x`T~oe$$Z@p2GFLt2%G{>pa~9r| zSaA4D<&hODADZA~dT?-H^PAS401wZ^R#wIm zTJUhj1IQ#GSc4>*oce-a<`A| z&LIf8^^bw(YxgIgXzdmN=z&8e=5==Q!PxlAga-X9PPH=>M$KmiVbrtvoK#Tg`6x_K z^$f0FI#Qr@Xy0HAC{*l#XRf{v;qryI!2SZq&I=~5@OCAwD_3D`29?mnyfQ^qxalN$ zFbGP-*?LNDAjHQfI76#8k9%C(YKDQ>GR2hD5yIa)IYoa@xSIL1fb5V#H_5GHbp#HHRKsiog|b< ziM~=#sF#s&08IwHqo$yy#=*jBKR#Msp3e{X*VotgrpfX7--B?%-KZNkp@T&p2TZ-# zJp~C2-GwYRHufET{+TLM_We7tZm<6hVq+woTOIr@mu5gC@3nnvV4g1I}YGNKfI2z3vBp%q&8t(wTkAn)Hmg28t)HE4b0o6_lqPOr&{iLUAl$=d+B^5lODHDN^*`Q6L@1_FxT|myj-wP>f1xrgo<`~ zAH|giC)Y9BdXTPigSOkM$ZhWqZ_OK_uCR)4-|)|wt1BzJ=y_Guv??QV^0Ll7F_|ZF zF;;8vOP>Z~Xl(I8dEqraFUxM#r1KlA)wh#`BBPj@n9MqT!hD%Kzq~(9$@_SUAkq%| z&WXiFM|V`CQ?C0XTu7__9%zRd*04iZELo0X@W{!?`=49XOY2WZ(s54L2y)TY4lWJe zrG%}zb|Y_Ja+6+sYu?9$H`m%aTS_ew>*(u$W=bjnimu<%f-t`jRBmi*Nh%jbLW5gE z!o25WHqxyG;rLk@9?0YKL|Ba>$7VuwXAuW^F%Qx%Ek|fGPs>$C*Vrl z#^$}s;fN_LWk~j0EmQwiz!KOwIpogk<1l2fsMbQkn0}qm-s(fm{K|^|^OL{1c^KFzO4~*Upb!s|cEd4Dt6UyW;?JMoOgirF4W05| z0Vh-G$^?SCrz{TRQ-EjW2A~+i;w;~$__XVOx6_;Y#=s@?`gPdh>Gw3|Hc8T*WXb$z}2_ivw{#-qPKHl6{ICYqZy z@2sVQuEoo&gs4)5o;uhM17()?wIwCt4|I``n->xPx&U5(h*UX1fCYGCa!1ADmb&HH z4hNCbhgJmn`8A0TvO|DRh=;%Ny89e3&R`#Q(QvZwa^JdeaC0VkKCq-IZ+vqLql3Sf z_~icT)*bMYtB`Q8gLCkv=kSqWm`5!)fk|gbNHtBZDmD$eayG^AJpE>s^wd<%a@psn z$5tm_eww={vT|vtjg3ugk@&xtR_!1#(TAC<;3Yd+WODETWSte>dKU%jIh;TCVA*GS zKF7Wx-`laln-WK;YHRBd;Nt^^Z*}Ec;q%S!^_|Yqfq(?MO-VU_&W6dI03t#}Of={@GWz>BAt9l4a$J5Zq;T@a-$Jt4H-f^pVG*$L+1}pZ zVF#gp;zm&8D5-0_eQPzv$2Ot0l=qa(dhkK=`E}oh&AUZByKfx`5-T@%LbtTvq)DKV zgf4|jWVCHRf)0;{k3B{|0Y5nC`{QHxukU~`vWU<3Z7D1)bj=iw!zcBk{9zIp=II<| z>z=rolS{)@0hE{9wb=Oh9#Q%OfyR|7{S|DR+QRvt<*_Z3-jfkf8$9O zYd8F8)Nack#|Gv*xD;!xX_%Opl=^<>Y)?7zknHJe>#2D9aTyWIDJj8LMj6-PO3_Me z=#IzlLsKOjK7Lfwy7VJleK(dmqg#HWI4tn>&!0d1pFIqQz>*djs!Yx4ZsP)d>!lgBGs;*9V-y~2U znvXak85}@SkBk zT<+KYKC7&G{u}^c$HoqvlaJK!uYxh)eSEp zBoFz7Mr{AfmoF0sj0y4aM7FjS4DhDFs@XZe78^ z!0>6$9p-4NFg>21zY7nCynE+Ws|YI7HaEkhuywFQhhc|`fb)+=-<<>cCOollV}qrq zrrwCF{|_oj*oW<~~7l%~goK|0h8d*)qzTzsq-QwGL@5O^iQU})yb#sij*D3SH= zl;U5WS^ix|+4WwmL_xs0m%`2VI?Ob;eDNjgTDVeH`JImg3@KS~sCV zE;T*27k*StOa4!Sxr_TfJq&5lC;Zp}7Iv6_hK67lj{-j)uNpIYEx3>zODii?N95z) z<5Dj<2=Lu+#K*^1b0~&-@_*z}%pwbp3(oue`F zOS0upKXsei^kB3wKJh!&y;~+lSr_XXNw8q(WJ(i zYYvYPq`I*|`_vcNXAbyUQU!a+ujwN}T_-1>;1HJ7uaDuE z%85JF%4wasoqY3ebYy6WDHb7cNy%w6T#PckdGM7ZLv~_PrV%hZfO-xul$QRqerA?6 zjw%z5ipKpe&Ke3fteL9gjh;5OL2^Q(3$hO*$42dl-R$~Anx2@M3ERgB(NZr^00pv6 zvinchPHH9FB=c7LeY4rwp^?m3F&M=Bp>z?f@|_J+PUdal`xZZQ^D;=P>fvBn88F8d z+|yG-5lHw#x|W_nw9Hi3%W_E|%j|o4ScV{Qa4IV+_jn!p>)JAE;G)yhU?04}$H)J> zyBk#>r<>yW%uBq;vg1f^6(Nc%mk2j&OE_DbarKA)E1R?*BaFBfS)Zyl2G zXR0QB<_RmAvuhx$`n=O2kO>OdaB1!B8?^IK{Vo<*k}fa

{^6Retfv z6e)+Y86 z&-OAhn&%B~c$`zOH~YnViV(=PdD(}Fcr6gb z@qCJTX)KfxzL`hqdq$pyR{#-Ot7VpvXTX&Lf;o10Uz!M^YMI*SFN%7P`VNK(D>QTdyCP-Z<%CK(t*T4j;W{3$D2mM!AexlA- zUb<}1Dx;~3vaWm)z9em_tc|P?cssQ$Hj)Y6^M;Y^!#S7DAf(wTVsi4od$#co(U{KZ4KkEm$NX_fw^6flAOA1wX{X>{{THMY+L{U diff --git a/freemius/assets/index.php b/freemius/assets/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/assets/index.php +++ /dev/null @@ -1,3 +0,0 @@ - 0) { - $window.on('scroll', function () { - for (var i = 0; i < iframes.length; i++) { - FS.PostMessage.postScroll(iframes[i]); - } - }); - } - }, - init_child : function () - { - this.init(_parent_subdomain); - - _is_child = true; - - // Post height of a child right after window is loaded. - $(window).bind('load', function () { - FS.PostMessage.postHeight(); - - // Post message that window was loaded. - FS.PostMessage.post('loaded'); - }); - }, - hasParent : function () - { - return _hasParent; - }, - postHeight : function (diff, wrapper) { - diff = diff || 0; - wrapper = wrapper || '#wrap_section'; - this.post('height', { - height: diff + $(wrapper).outerHeight(true) - }); - }, - postScroll : function (iframe) { - this.post('scroll', { - top: $window.scrollTop(), - height: ($window.height() - parseFloat($html.css('paddingTop')) - parseFloat($html.css('marginTop'))) - }, iframe); - }, - post : function (type, data, iframe) - { - console.debug('PostMessage.post', type); - - if (iframe) - { - // Post to iframe. - _postman.postMessage(JSON.stringify({ - type: type, - data: data - }), iframe.src, iframe.contentWindow); - } - else { - // Post to parent. - _postman.postMessage(JSON.stringify({ - type: type, - data: data - }), _parent_url, window.parent); - } - }, - receive: function (type, callback) - { - console.debug('PostMessage.receive', type); - - if (undef === _callbacks[type]) - _callbacks[type] = []; - - _callbacks[type].push(callback); - }, - receiveOnce: function (type, callback) - { - if (this.is_set(type)) - return; - - this.receive(type, callback); - }, - // Check if any callbacks assigned to a specified message type. - is_set: function (type) - { - return (undef != _callbacks[type]); - }, - parent_url: function () - { - return _parent_url; - }, - parent_subdomain: function () - { - return _parent_subdomain; - } - }; - }(); -})(jQuery); \ No newline at end of file diff --git a/freemius/assets/scss/_colors.scss b/freemius/assets/scss/_colors.scss deleted file mode 100644 index f41f62a..0000000 --- a/freemius/assets/scss/_colors.scss +++ /dev/null @@ -1,79 +0,0 @@ -$menu-hover-color: #333; -$darkest-color: #000; -$fms-live-color: #71ae00; -$fms-test-color: #f7941d; -$fms-link-color: #29abe1; -$fms-link-hover-color: darken(#29abe1, 10%); -$body-bkg: #111; -$special-color: #d3135a; -$body-color: #f1f1f1; -$fms-white: #f1f1f1; -$container-bkg: #222; -$container-bkg-odd: #262626; -$container-border-color: #333; -$table-head-bkg: #333; -$table-head-color: #999; -$info-color: #999; -$error-color: #ff0000; - -$fs-logo-blue-color: #29abe1; -$fs-logo-green-color: #71ae00; -$fs-logo-magenta-color: #d3135a; - -// WordPress colors. -$page-header-bkg: #333; -$page-header-color: $fms-white; -$text-dark-color: #333; -$text-light-color: #666; -$text-lightest-color: #999; - -// Notices. -$wp-notice-success-color: #f7fff7; -$wp-notice-success-dark-color: #46b450; -$wp-notice-error-color: #ffeaea; -$wp-notice-error-dark-color: #dc3232; -$wp-notice-warn-color: #fff8e5; -$wp-notice-warn-dark-color: #ffb900; -$fs-notice-promotion-border-color: #00a0d2; -$fs-notice-promotion-bkg: #f2fcff; - -// WP Buttons. -$button-primary-bkg: #6bc406; -$button-primary-color: $fms-white; -$button-secondary-bkg: #333; -$button-secondary-color: $fms-white; -$featured-color: #6bc406; -$wp-selected-color: #0074a3; -$wp-button-alert-border-color: #d2593c; -$wp-button-alert-border-top-color: #ec6544; -$wp-button-alert-shadow-color: #d2593c; -$wp-button-alert-focused-shadow1-color: #dd6041; -$wp-button-alert-focused-shadow2-color: #e4a796; -$wp-button-alert-background-color: #f56a48; -$wp-button-alert-hovered-background-color: #fd6d4a; -$wp-button-alert-active-background-color: #dd6041; -$wp-button-alert-disabled-color: #f5b3a1; -$wp-button-alert-disabled-background-color: #e76444; -$wp-button-alert-disabled-border-color: #d85e40; - -$wordpress_color: #01749A; -$blogger_color: #ff8100; -$wix_color: #fac102; -$shopify_color: #80d100; -$addthis_color: #fe6d4e; -$tumblr_color: #34506b; -$zepo_color: #00baf2; -$jquery_color: #000919; -$javascript_color: #00baf2; -$squarespace_color: #000; - -$blog_color: #ff6600; -$facebook_color: #3b5998; -$twitter_color: #4099ff; -$linkedin_color: #4875b4; -$youtube_color: #ff3333; -$gplus_color: #c63d2d; - -// Tooltip -$tooltip-color: #fff; -$tooltip-bkg-color: rgba(0,0,0,0.8); diff --git a/freemius/assets/scss/_functions.scss b/freemius/assets/scss/_functions.scss deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/assets/scss/_load.scss b/freemius/assets/scss/_load.scss deleted file mode 100644 index cd58776..0000000 --- a/freemius/assets/scss/_load.scss +++ /dev/null @@ -1,4 +0,0 @@ -@import 'mixins'; -@import "vars"; -@import "functions"; -@import "colors"; diff --git a/freemius/assets/scss/_mixins.scss b/freemius/assets/scss/_mixins.scss deleted file mode 100644 index 1fcea86..0000000 --- a/freemius/assets/scss/_mixins.scss +++ /dev/null @@ -1,270 +0,0 @@ -// ---- CSS3 SASS MIXINS ---- -// https://github.com/madr/css3-sass-mixins -// -// Copyright (C) 2011 by Anders Ytterström -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -// ---- LEGACY IE SUPPORT USING FILTERS ---- -// Should IE filters be used or not? -// PROS: gradients, drop shadows etc will be handled by css. -// CONS: will harm the site performance badly, -// especially on sites with heavy rendering and scripting. -$useIEFilters: 0; -// might be 0 or 1. disabled by default. -// ---- /LEGACY IE SUPPORT USING FILTERS ---- - - -@mixin background-size ($value) { - -webkit-background-size: $value; - background-size: $value; -} - -@mixin border-image ($path, $offsets, $repeats) { - -moz-border-image: $path $offsets $repeats; - -o-border-image: $path $offsets $repeats; - -webkit-border-image: $path $offsets $repeats; - border-image: $path $offsets $repeats; -} - -@mixin border-radius ($values...) { - -moz-border-radius: $values; - -webkit-border-radius: $values; - border-radius: $values; - /*-moz-background-clip: padding; - -webkit-background-clip: padding-box; - background-clip: padding-box;*/ -} - -@mixin box-shadow ($values...) { - -moz-box-shadow: $values; - -webkit-box-shadow: $values; - box-shadow: $values; -} - -//@mixin box-shadow ($x, $y, $offset, $hex, $ie: $useIEFilters, $inset: null, $spread:null) { -// -moz-box-shadow: $x $y $offset $spread $hex $inset; -// -webkit-box-shadow: $x $y $offset $spread $hex $inset; -// box-shadow: $x $y $offset $spread $hex $inset; -// -// @if $ie == 1 { -// $iecolor: '#' + red($hex) + green($hex) + blue($hex); -// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=#{$x}, OffY=#{$y}, Color='#{$iecolor}'); -// -ms-filter: quote(progid:DXImageTransform.Microsoft.dropshadow(OffX=#{$x}, OffY=#{$y}, Color='#{$iecolor}')); -// } -//} - -@mixin box-sizing($value) { - -moz-box-sizing: $value; - -webkit-box-sizing: $value; - box-sizing: $value; -} - -// requires sass 3.2 -@mixin keyframes($name){ - @-moz-keyframes #{$name} { @content; } - @-ms-keyframes #{$name} { @content; } - @-o-keyframes #{$name} { @content; } - @-webkit-keyframes #{$name} { @content; } - @keyframes #{$name} { @content; } -} - -@mixin linear-gradient($from, $to, $ie: $useIEFilters) { - @if $ie != 1 { background-color: $to; } - - background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, $from),color-stop(1, $to)); - background-image: -webkit-linear-gradient(top, $from, $to); - background-image: -moz-linear-gradient(top, $from, $to); - background-image: -ms-linear-gradient(top, $from, $to); - background-image: -o-linear-gradient(top, $from, $to); - background-image: linear-gradient(top, bottom, $from, $to); - - @if $ie == 1 { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr='#{$to}'); - } -} - -@mixin horizontal-gradient($startColor: #555, $endColor: #333, $ie: $useIEFilters) { - @if $ie != 1 { background-color: $endColor; } - - background-color: $endColor; - background-image: -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+ - background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+ - background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+ - background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10 - background-image: linear-gradient(to right, $startColor, $endColor); // Standard, IE10 - background-repeat: repeat-x; - @if $ie == 1 { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$startColor}', endColorstr='#{$endColor}', GradientType=1); - } -} - -@mixin radial-gradient($from, $to, $ie: $useIEFilters) { - @if $ie != 1 { background-color: $to; } - - background: -moz-radial-gradient(center, circle cover, $from 0%, $to 100%); - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, $from), color-stop(100%, $to)); - background: -webkit-radial-gradient(center, circle cover, $from 0%, $to 100%); - background: -o-radial-gradient(center, circle cover, $from 0%, $to 100%); - background: -ms-radial-gradient(center, circle cover, $from 0%, $to 100%); - background: radial-gradient(center, circle cover, $from 0%, $to 100%); - background-color: $from; - - @if $ie == 1 { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr='#{$to}', GradientType=1); /* IE6-9 fallback on horizontal gradient */ - } -} - -@mixin perspective($perspective) { - -moz-perspective: $perspective; - -ms-perspective: $perspective; - -webkit-perspective: $perspective; - perspective: $perspective; - -moz-transform-style: preserve-3d; - -ms-transform-style: preserve-3d; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; -} - -@mixin transform ($transforms) { - -moz-transform: $transforms; - -o-transform: $transforms; - -ms-transform: $transforms; - -webkit-transform: $transforms; - transform: $transforms; -} - - @mixin matrix ($a, $b, $c, $d, $e, $f) { - -moz-transform: matrix($a, $b, $c, $d, #{$e}px, #{$f}px); - -o-transform: matrix($a, $b, $c, $d, $e, $f); - -ms-transform: matrix($a, $b, $c, $d, $e, $f); - -webkit-transform: matrix($a, $b, $c, $d, $e, $f); - transform: matrix($a, $b, $c, $d, $e, $f); - } - - @mixin rotate ($deg) { - @include transform(rotate(#{$deg}deg)); - } - - @mixin scale ($size) { - @include transform(scale(#{$size})); - } - - @mixin translate ($x, $y) { - @include transform(translate($x, $y)); - } - -@mixin transition ($value...) { - -moz-transition: $value; - -o-transition: $value; - -ms-transition: $value; - -webkit-transition: $value; - transition: $value; -} - -@mixin animation($str) { - -webkit-animation: #{$str}; - -moz-animation: #{$str}; - -ms-animation: #{$str}; - -o-animation: #{$str}; - animation: #{$str}; -} - -@mixin animation-name($str) { - -webkit-animation-name: #{$str}; - -moz-animation-name: #{$str}; - -ms-animation-name: #{$str}; - -o-animation-name: #{$str}; - animation-name: #{$str}; -} - -@mixin animation-duration($str) { - -webkit-animation-duration: #{$str}; - -moz-animation-duration: #{$str}; - -ms-animation-duration: #{$str}; - -o-animation-duration: #{$str}; - animation-duration: #{$str}; -} - -@mixin animation-direction($str) { - -webkit-animation-direction: #{$str}; - -moz-animation-direction: #{$str}; - -ms-animation-direction: #{$str}; - -o-animation-direction: #{$str}; - animation-direction: #{$str}; -} - -@mixin animation-delay($str) { - animation-delay:#{$str}; - -o-animation-delay:#{$str}; - -ms-animation-delay:#{$str}; - -webkit-animation-delay:#{$str}; - -moz-animation-delay:#{$str}; -} - -@mixin animation-iteration-count($str) { - animation-iteration-count:#{$str}; - -o-animation-iteration-count:#{$str}; - -ms-animation-iteration-count:#{$str}; - -webkit-animation-iteration-count:#{$str}; - -moz-animation-iteration-count:#{$str}; -} - -@mixin animation-timing-function($str) { - -webkit-animation-timing-function: #{$str}; - -moz-animation-timing-function: #{$str}; - -ms-animation-timing-function: #{$str}; - -o-animation-timing-function: #{$str}; - animation-timing-function: #{$str}; -} - -// ==== /CSS3 SASS MIXINS ==== - -@mixin opacity($opacity) { - opacity: $opacity; - $opacity-ie: $opacity * 100; - filter: alpha(opacity=$opacity-ie); //IE8 -} - -@mixin size($width, $height: $width) -{ - width: $width; - height: $height; -} - -@mixin clearfix -{ - &:after { - content: ""; - display: table; - clear: both; - } -} - -// Placeholder text -@mixin placeholder($color: $input-color-placeholder) { - // Firefox - &::-moz-placeholder { - color: $color; - opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526 - } - &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+ - &::-webkit-input-placeholder { color: $color; } // Safari and Chrome -} \ No newline at end of file diff --git a/freemius/assets/scss/_start.scss b/freemius/assets/scss/_start.scss deleted file mode 100644 index 6c15ef9..0000000 --- a/freemius/assets/scss/_start.scss +++ /dev/null @@ -1,4 +0,0 @@ -@import "vars"; -@import "colors"; -@import "mixins"; -@import "functions"; \ No newline at end of file diff --git a/freemius/assets/scss/_vars.scss b/freemius/assets/scss/_vars.scss deleted file mode 100644 index 6564972..0000000 --- a/freemius/assets/scss/_vars.scss +++ /dev/null @@ -1,6 +0,0 @@ -$is_production: true; - -$img_common: if($is_production == true, '//img.freemius.com', 'http://img.freemius:8080'); - -$layout_width: 960px; -$admin_mobile_max_width: 782px; \ No newline at end of file diff --git a/freemius/assets/scss/admin/_ajax-loader.scss b/freemius/assets/scss/admin/_ajax-loader.scss deleted file mode 100644 index f748beb..0000000 --- a/freemius/assets/scss/admin/_ajax-loader.scss +++ /dev/null @@ -1,49 +0,0 @@ -$color: $wp-selected-color; -$bkg-color: #fff; -$size: 20; - -.fs-ajax-loader -{ - position: relative; - width: #{8*$size + 10}px; - height: #{$size}px; - margin: auto; - - .fs-ajax-loader-bar - { - position: absolute; - top: 0; - background-color: $color; - width: #{$size}px; - height: #{$size}px; - @include animation-name(bounce_ajaxLoader); - @include animation-duration(1.5s); - @include animation-iteration-count(infinite); - @include animation-direction(normal); - @include transform(.3); - } - - @for $i from 0 through 7 - { - .fs-ajax-loader-bar-#{$i + 1} - { - left: #{$i*($size - 1)}px; - @include animation-delay(#{0.6 + $i*0.15}s); - } - } -} - -@include keyframes(bounce_ajaxLoader) -{ - 0% - { - @include transform(scale(1)); - background-color: $color; - } - - 100% - { - @include transform(scale(.3)); - background-color: $bkg-color; - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_auto-install.scss b/freemius/assets/scss/admin/_auto-install.scss deleted file mode 100644 index b1cac8e..0000000 --- a/freemius/assets/scss/admin/_auto-install.scss +++ /dev/null @@ -1,33 +0,0 @@ -.fs-modal-auto-install -{ - $max-width: 300px; - - #request-filesystem-credentials-form - { - h2, - .request-filesystem-credentials-action-buttons - { - display: none; - } - - input[type=password], - input[type=email], - input[type=text] - { - -webkit-appearance: none; - padding: 10px 10px 5px 10px; - width: $max-width; - max-width: 100%; - } - - > div, - label, - fieldset - { - width: $max-width; - max-width: 100%; - margin: 0 auto; - display: block; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_buttons.scss b/freemius/assets/scss/admin/_buttons.scss deleted file mode 100644 index a7e02eb..0000000 --- a/freemius/assets/scss/admin/_buttons.scss +++ /dev/null @@ -1,28 +0,0 @@ -.button-primary.warn { - box-shadow: 0 1px 0 $wp-button-alert-shadow-color; - text-shadow: 0 -1px 1px $wp-button-alert-shadow-color, 1px 0 1px $wp-button-alert-shadow-color, 0 1px 1px $wp-button-alert-shadow-color, -1px 0 1px $wp-button-alert-shadow-color; - background: $wp-button-alert-background-color; - border-color: $wp-button-alert-border-top-color $wp-button-alert-border-color $wp-button-alert-border-color; - - &:hover { - background: $wp-button-alert-hovered-background-color; - border-color: $wp-button-alert-border-color; - } - - &:focus { - box-shadow: 0 1px 0 $wp-button-alert-focused-shadow1-color, 0 0 2px 1px $wp-button-alert-focused-shadow2-color; - } - - &:active { - background: $wp-button-alert-active-background-color; - border-color: $wp-button-alert-border-color; - box-shadow: inset 0 2px 0 $wp-button-alert-shadow-color; - } - - &.disabled { - color: $wp-button-alert-disabled-color !important; - background: $wp-button-alert-disabled-background-color !important; - border-color: $wp-button-alert-disabled-border-color !important; - text-shadow: 0 -1px 0 rgba(0,0,0,.1) !important; - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_deactivation-feedback.scss b/freemius/assets/scss/admin/_deactivation-feedback.scss deleted file mode 100644 index b167266..0000000 --- a/freemius/assets/scss/admin/_deactivation-feedback.scss +++ /dev/null @@ -1,55 +0,0 @@ -@import "../colors"; - -.fs-modal.fs-modal-deactivation-feedback { - .reason-input, .internal-message { - margin: 3px 0 3px 22px; - - input, textarea { - width: 100%; - } - } - - li.reason { - &.has-internal-message .internal-message { - border: 1px solid lighten($darkest-color, 80%); - padding: 7px; - display: none; - } - - @media (max-width: 650px) { - li.reason { - margin-bottom: 10px; - - .reason-input, .internal-message { - margin-left: 29px; - } - - label { - display: table; - - > span { - display: table-cell; - font-size: 1.3em; - } - } - } - } - } - - .anonymous-feedback-label { - float: left; - } - - .fs-modal-panel { - margin-top: 0 !important; - - h3 { - margin-top: 0; - line-height: 1.5em; - } - } -} - -#the-list .deactivate > .fs-slug { - display: none; -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_gdpr-consent.scss b/freemius/assets/scss/admin/_gdpr-consent.scss deleted file mode 100644 index 712cc8a..0000000 --- a/freemius/assets/scss/admin/_gdpr-consent.scss +++ /dev/null @@ -1,81 +0,0 @@ -#fs_marketing_optin -{ - display: none; - margin-top: 10px; - border: 1px solid #ccc; - padding: 10px; - line-height: 1.5em; - - .fs-message - { - display: block; - margin-bottom: 5px; - font-size: 1.05em; - font-weight: 600; - } - - &.error - { - border: 1px solid $fs-logo-magenta-color; - background: #fee; - - .fs-message - { - color: $fs-logo-magenta-color; - } - } - - .fs-input-container - { - margin-top: 5px; - - label - { - margin-top: 5px; - display: block; - - input - { - float: left; - margin: 1px 0 0 0; - } - - &:first-child - { - display: block; - margin-bottom: 2px; - } - } - } - - .fs-input-label - { - display: block; - margin-left: 20px; - - .underlined - { - text-decoration: underline; - } - } -} - -.rtl -{ - #fs_marketing_optin - { - .fs-input-container - { - label input - { - float: right; - } - } - - .fs-input-label - { - margin-left: 0; - margin-right: 20px; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_license-activation.scss b/freemius/assets/scss/admin/_license-activation.scss deleted file mode 100644 index 2c3ddac..0000000 --- a/freemius/assets/scss/admin/_license-activation.scss +++ /dev/null @@ -1,47 +0,0 @@ -.fs-modal.fs-modal-license-activation { - .fs-modal-body { - input.license_key { - width: 100%; - } - } -} - -#license_options_container { - table { - &, select, #available_license_key { - width: 100%; - } - - td:first-child { - width: 1%; - } - - #other_license_key_container { - label { - position: relative; - top: 6px; - float: left; - margin-right: 5px; - } - - div { - overflow: hidden; - width: auto; - height: 30px; - display: block; - top: 2px; - position: relative; - - input { - margin: 0; - } - } - } - } -} - -#sites_list_container { - td { - cursor: pointer; - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_license-key-resend.scss b/freemius/assets/scss/admin/_license-key-resend.scss deleted file mode 100644 index 6ec9f86..0000000 --- a/freemius/assets/scss/admin/_license-key-resend.scss +++ /dev/null @@ -1,68 +0,0 @@ -.fs-modal.fs-modal-license-key-resend -{ - .email-address-container - { - overflow: hidden; - padding-right: 2px; - } - - &.fs-freemium - { - input.email-address - { - width: 300px; - } - - label - { - display: block; - margin-bottom: 10px; - } - } - - &.fs-premium - { - input.email-address - { - width: 100%; - } - - .button-container - { - float: right; - margin-left: 7px; - - @media (max-width: 650px) { - margin-top: 2px; - } - } - } -} - -.rtl -{ - .fs-modal.fs-modal-license-key-resend - { - .fs-modal-body - { - .input-container > .email-address-container - { - padding-left: 2px; - padding-right: 0; - } - - .button-container - { - float: left; - margin-right: 7px; - margin-left: 0; - } - } - } -} - -a.show-license-resend-modal -{ - margin-top: 4px; - display: inline-block; -} diff --git a/freemius/assets/scss/admin/_modal-common.scss b/freemius/assets/scss/admin/_modal-common.scss deleted file mode 100644 index 3f65617..0000000 --- a/freemius/assets/scss/admin/_modal-common.scss +++ /dev/null @@ -1,194 +0,0 @@ -@import "../colors"; -@import "../mixins"; - -.fs-modal { - position: fixed; - overflow: auto; - height: 100%; - width: 100%; - top: 0; - z-index: 100000; - display: none; - background: rgba(0, 0, 0, 0.6); - - .fs-modal-dialog { - background: transparent; - position: absolute; - left: 50%; - margin-left: -298px; - padding-bottom: 30px; - top: -100%; - z-index: 100001; - width: 596px; - - @media (max-width: 650px) { - margin-left: -50%; - box-sizing: border-box; - padding-left: 10px; - padding-right: 10px; - width: 100%; - - .fs-modal-panel > h3 > strong { - font-size: 1.3em; - } - } - } - - &.active { - display: block; - - &:before { - display: block; - } - - .fs-modal-dialog { - top: 10%; - } - } - - &.fs-success { - .fs-modal-header { - border-bottom-color: $wp-notice-success-dark-color; - } - - .fs-modal-body { - background-color: $wp-notice-success-color; - } - } - - &.fs-warn { - .fs-modal-header { - border-bottom-color: $wp-notice-warn-dark-color; - } - - .fs-modal-body { - background-color: $wp-notice-warn-color; - } - } - - &.fs-error { - .fs-modal-header { - border-bottom-color: $wp-notice-error-dark-color; - } - - .fs-modal-body { - background-color: $wp-notice-error-color; - } - } - - - .fs-modal-body, - .fs-modal-footer { - border: 0; - background: #fefefe; - padding: 20px; - } - - .fs-modal-header { - border-bottom: #eeeeee solid 1px; - background: #fbfbfb; - padding: 15px 20px; - position: relative; - margin-bottom: -10px; -// z-index: 2; - - h4 { - margin: 0; - padding: 0; - text-transform: uppercase; - font-size: 1.2em; - font-weight: bold; - color: #cacaca; - text-shadow: 1px 1px 1px #fff; - letter-spacing: 0.6px; - -webkit-font-smoothing: antialiased; - } - - .fs-close { - position: absolute; - right: 10px; - top: 12px; - cursor: pointer; - color: #bbb; - @include border-radius(20px); - padding: 3px; - @include transition(all 0.2s ease-in-out); - - &:hover { - color: #fff; - background: #aaa; - } - - &, &:hover - { - .dashicons - { - text-decoration: none; - } - } - } - } - - .fs-modal-body { - border-bottom: 0; - - p { - font-size: 14px; - } - - h2 { - font-size: 20px; - line-height: 1.5em; - } - - > div { - margin-top: 10px; - - h2 { - font-weight: bold; - font-size: 20px; - margin-top: 0; - } - } - } - - .fs-modal-footer { - border-top: #eeeeee solid 1px; - text-align: right; - - > .button { - margin: 0 7px; - - &:first-child { - margin: 0; - } - } - } - - .fs-modal-panel { - > .notice.inline { - margin: 0; - display: none; - } - - &:not(.active) { - display: none; - } - } -} - -.rtl -{ - .fs-modal { - .fs-modal-header { - .fs-close { - right: auto; - left: 20px; - } - } - } -} - -body.has-fs-modal { - overflow: hidden; -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_multisite-options.scss b/freemius/assets/scss/admin/_multisite-options.scss deleted file mode 100644 index 9f2ab60..0000000 --- a/freemius/assets/scss/admin/_multisite-options.scss +++ /dev/null @@ -1,40 +0,0 @@ -#multisite_options_container { - margin-top: 10px; - border: 1px solid #ccc; - padding: 5px; - - a { - text-decoration: none; - - &:focus { - box-shadow: none; - } - - &.selected { - font-weight: bold; - } - } - - &.apply-on-all-sites { - border: 0 none; - padding: 0; - - #all_sites_options { - border-spacing: 0; - - td:not(:first-child) { - display: none; - } - } - } - - #sites_list_container { - display: none; - overflow: auto; - - table td { - border-top: 1px solid #ccc; - padding: 4px 2px; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_plugin-upgrade-notice.scss b/freemius/assets/scss/admin/_plugin-upgrade-notice.scss deleted file mode 100644 index ba8862f..0000000 --- a/freemius/assets/scss/admin/_plugin-upgrade-notice.scss +++ /dev/null @@ -1,8 +0,0 @@ -.plugins p.fs-upgrade-notice -{ - border: 0; - background-color: #d54e21; - padding: 10px; - color: #f9f9f9; - margin-top: 10px; -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_subscription-cancellation.scss b/freemius/assets/scss/admin/_subscription-cancellation.scss deleted file mode 100644 index c9a86b8..0000000 --- a/freemius/assets/scss/admin/_subscription-cancellation.scss +++ /dev/null @@ -1,30 +0,0 @@ -.fs-modal.fs-modal-subscription-cancellation { - .fs-price-increase-warning { - color: red; - font-weight: bold; - padding: 0 25px; - margin-bottom: 0; - } - - ul.subscription-actions label { - input { - float: left; - top: 5px; - position: relative; - - .rtl & { - float: right; - } - } - - span { - display: block; - margin-left: 24px; - - .rtl & { - margin-left: 0; - margin-right: 24px; - } - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_themes.scss b/freemius/assets/scss/admin/_themes.scss deleted file mode 100644 index 7eb4052..0000000 --- a/freemius/assets/scss/admin/_themes.scss +++ /dev/null @@ -1,21 +0,0 @@ -.theme-browser -{ - .theme - { - .fs-premium-theme-badge - { - position: absolute; - top: 10px; - right: 0; - background: $fs-logo-green-color; - color: #fff; - text-transform: uppercase; - padding: 5px 10px; - @include border-radius(3px 0 0 3px); - font-weight: bold; - border-right: 0; - @include box-shadow(0 2px 1px -1px rgba(0, 0, 0, .3)); - font-size: 1.1em; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/_tooltip.scss b/freemius/assets/scss/admin/_tooltip.scss deleted file mode 100644 index d48f52d..0000000 --- a/freemius/assets/scss/admin/_tooltip.scss +++ /dev/null @@ -1,66 +0,0 @@ -.fs-tooltip-trigger -{ - &:not(a) - { - cursor: help; - } - - position: relative; - - .fs-tooltip - { - opacity: 0; - visibility: hidden; - @include transition(opacity 0.3s ease-in-out); - position: absolute; - background: $tooltip-bkg-color; - color: $tooltip-color; - font-family: 'arial', serif; - font-size: 12px; - padding: 10px; - z-index: 999999; - bottom: 100%; - margin-bottom: 5px; - left: 0; - right: 0; - @include border-radius(5px); - @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.2)); - line-height: 1.3em; - font-weight: bold; - text-align: left; - - .rtl & - { - text-align: right; - } - - &::after - { - content: ' '; - display: block; - width: 0; - height: 0; - border-style: solid; - border-width: 5px 5px 0 5px; - border-color: $tooltip-bkg-color transparent transparent transparent; - position: absolute; - top: 100%; - left: 21px; - - .rtl & - { - right: 21px; - left: auto; - } - } - } - - &:hover - { - .fs-tooltip - { - visibility: visible; - opacity: 1; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/account.scss b/freemius/assets/scss/admin/account.scss deleted file mode 100644 index 01e0644..0000000 --- a/freemius/assets/scss/admin/account.scss +++ /dev/null @@ -1,302 +0,0 @@ -@import "../start"; - -#fs_account -{ - .postbox, - .widefat - { - max-width: 700px; - } - - h3 - { - font-size: 1.3em; - padding: 12px 15px; - margin: 0 0 12px 0; - line-height: 1.4; - border-bottom: 1px solid #F1F1F1; - - .dashicons { - width: 26px; - height: 26px; - font-size: 1.3em; - } - } - - i.dashicons - { - font-size: 1.2em; - height: 1.2em; - width: 1.2em; - } - - .dashicons - { - vertical-align: middle; - } - - .fs-header-actions - { - position: absolute; - top: 17px; - right: 15px; - font-size: 0.9em; - - ul - { - margin: 0; - } - - li - { - form - { - display: inline-block; - } - - float: left; - a - { - text-decoration: none; - } - } - } -} - -#fs_account_details .button-group { - float: right; -} - -.rtl #fs_account .fs-header-actions -{ - left: 15px; - right: auto; -} - -.fs-key-value-table -{ - width: 100%; - - form - { - display: inline-block; - } - - tr - { - td:first-child - { - nobr - { - font-weight: bold; - } - - text-align: right; - - form - { - display: block; - } - } - - td.fs-right - { - text-align: right; - } - - &.fs-odd - { - background: #ebebeb; - } - } - - td, th - { - padding: 10px; - } - - code { - line-height: 28px; - } - - var, code, input[type="text"] - { - color: #0073AA; - font-size: 16px; - background: none; - } - - input[type="text"] { - width: 100%; - font-weight: bold; - } -} - -label.fs-tag -{ - background: #ffba00; - color: #fff; - display: inline-block; - border-radius: 3px; - padding: 5px; - font-size: 11px; - line-height: 11px; - vertical-align: baseline; - - &.fs-warn - { - background: #ffba00; - } - &.fs-success - { - background: #46b450; - } - &.fs-error - { - background: #dc3232; - } -} - -#fs_sites -{ - .fs-scrollable-table - { - .fs-table-body { - max-height: 200px; - overflow: auto; - border: 1px solid #e5e5e5; - - & > table.widefat { - border: none !important; - } - } - - .fs-main-column { - width: 100%; - } - - .fs-site-details - { - td:first-of-type - { - text-align: right; - color: grey; - width: 1px; - } - - td:last-of-type - { - text-align: right; - } - } - - .fs-install-details table - { - tr td - { - width: 1px; - white-space: nowrap; - - &:last-of-type - { - width: auto; - } - } - } - } -} - -#fs_addons -{ - h3 - { - border: none; - margin-bottom: 0; - padding: 4px 5px; - } - - td - { - vertical-align: middle; - } - - thead { - white-space: nowrap; - } - - td:first-child, - th:first-child - { - text-align: left; - font-weight: bold; - } - td:last-child, - th:last-child - { - text-align: right; - } - th - { - font-weight: bold; - } -} - -#fs_billing_address { - width: 100%; - - tr { - td { - width: 50%; - padding: 5px; - } - - &:first-of-type { - td { - padding-top: 0; - } - } - } - - @mixin read-mode { - border-color: transparent; - color: #777; - border-bottom: 1px dashed #ccc; - padding-left: 0; - background: none; - } - - span { - font-weight: bold; - } - - input, select { - @include placeholder(transparent); - - display: block; - width: 100%; - margin-top: 5px; - - &.fs-read-mode { - @include read-mode(); - } - } - - - &.fs-read-mode { - td span { - display: none; - } - - input, select - { - @include read-mode(); - @include placeholder(#ccc); - } - } - - - button { - display: block; - width: 100%; - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/add-ons.scss b/freemius/assets/scss/admin/add-ons.scss deleted file mode 100644 index f1636cd..0000000 --- a/freemius/assets/scss/admin/add-ons.scss +++ /dev/null @@ -1,449 +0,0 @@ -@import "../start"; - -#fs_addons -{ - .fs-cards-list - { - list-style: none; - - .fs-card - { - float: left; - // height: 185px; // With reviews/ratings - height: 152px; - width: 310px; - padding: 0; - margin: 0 0 30px 30px; - font-size: 14px; - list-style: none; - border: 1px solid #ddd; - cursor: pointer; - position: relative; - - .fs-overlay - { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - z-index: 9; - } - - .fs-inner - { - background-color: #fff; - overflow: hidden; - height: 100%; - position: relative; - - ul - { - @include transition(all, 0.15s); - left: 0; - right: 0; - top: 0; - position: absolute; - } - - li - { - list-style: none; - line-height: 18px; - padding: 0 15px; - width: 100%; - display: block; - @include box-sizing(border-box); - } - - .fs-card-banner - { - padding: 0; - margin: 0; - line-height: 0; - display: block; - height: 100px; - background-repeat: repeat-x; - background-size: 100% 100%; - @include transition(all, 0.15s); - } - - .fs-title - { - margin: 10px 0 0 0; - height: 18px; - overflow: hidden; - color: #000; - white-space: nowrap; - text-overflow: ellipsis; - font-weight: bold; - } - - .fs-offer - { - font-size: 0.9em; - } - - .fs-description - { - background-color: #f9f9f9; - padding: 10px 15px 100px 15px; - border-top: 1px solid #eee; - margin: 0 0 10px 0; - color: #777; - } - - .fs-tag - { - position: absolute; - top: 10px; - right: 0px; - background: greenyellow; - display: block; - padding: 2px 10px; - @include box-shadow(1px 1px 1px rgba(0,0,0,0.3)); - text-transform: uppercase; - font-size: 0.9em; - font-weight: bold; - } - - .fs-cta - { - .button - { - position: absolute; - top: 112px; - right: 10px; - } - } - } - - @media screen and (min-width: 960px) { - &:hover - { - .fs-overlay - { - border: 2px solid $fms-link-color; - margin-left: -1px; - margin-top: -1px; - } - - .fs-inner - { - ul - { - top: -100px; - } - - .fs-card-banner - { - // background-position: 50% -100px; - } - - .fs-title, - .fs-offer - { - color: $fms-link-color; - } - } - } - } - } - } -} - -#TB_window -{ - &, iframe - { - width: 772px !important; - } -} - -#plugin-information -{ - #section-description - { - h2, h3, p, b, i, blockquote, li, ul, ol - { - clear: none; - } - - .fs-selling-points - { - padding-bottom: 10px; - border-bottom: 1px solid #ddd; - - ul - { - margin: 0; - - li - { - padding: 0; - list-style: none outside none; - - i.dashicons - { - color: $fs-logo-green-color; - font-size: 3em; - vertical-align: middle; - line-height: 30px; - float: left; - margin: 0 0 0 -15px; - } - - h3 - { - margin: 1em 30px !important; - } - } - } - } - - .fs-screenshots - { - @include clearfix(); - ul - { - list-style: none; - margin: 0; - - li - { - width: 225px; - height: 225px; - float: left; - margin-bottom: 20px; - @include box-sizing(content-box); - - a - { - display: block; - width: 100%; - height: 100%; - border: 1px solid; - @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.2)); - background-size: cover; - } - - &.odd - { - margin-right: 20px; - } - } - } - } - } - - .plugin-information-pricing - { - $pricing_color: #FFFEEC; - $borders_color: #DDD; - margin: -16px; - // padding: 20px; - border-bottom: 1px solid $borders_color; - - .fs-plan - { - - h3 - { - margin-top: 0; - padding: 20px; - font-size: 16px; - } - - .nav-tab-wrapper - { - border-bottom: 1px solid $borders_color; - - .nav-tab - { - cursor: pointer; - position: relative; - padding: 0 10px; - font-size: 0.9em; - - label - { - text-transform: uppercase; - color: green; - background: greenyellow; - position: absolute; - left: -1px; - right: -1px; - bottom: 100%; - border: 1px solid darkgreen; - padding: 2px; - text-align: center; - font-size: 0.9em; - line-height: 1em; - } - - &.nav-tab-active - { - cursor: default; - background: $pricing_color; - border-bottom-color: $pricing_color; - } - } - } - - &.fs-single-cycle - { - h3 - { - background: $pricing_color; - margin: 0; - padding-bottom: 0; - color: #0073aa; - } - - .nav-tab-wrapper, - .fs-billing-frequency - { - display: none; - } - } - - .fs-pricing-body - { - background: $pricing_color; - padding: 20px; - } - - .button - { - width: 100%; - text-align: center; - font-weight: bold; - text-transform: uppercase; - font-size: 1.1em; - } - - label - { - white-space: nowrap; - } - - var { - font-style: normal; - } - - .fs-billing-frequency, - .fs-annual-discount - { - text-align: center; - display: block; - font-weight: bold; - margin-bottom: 10px; - text-transform: uppercase; - background: #F3F3F3; - padding: 2px; - border: 1px solid #ccc; - } - - .fs-annual-discount - { - text-transform: none; - color: green; - background: greenyellow; - } - - ul.fs-trial-terms - { - font-size: 0.9em; - - i - { - float: left; - margin: 0 0 0 -15px; - } - - li - { - margin: 10px 0 0 0; - } - } - } - } - - #section-features - { - .fs-features - { - margin: -20px -26px; - } - - table - { - width: 100%; - border-spacing: 0; - border-collapse: separate; - - thead - { - th - { - padding: 10px 0; - } - - .fs-price - { - color: $fs-logo-green-color; - font-weight: normal; - display: block; - text-align: center; - } - } - - tbody - { - td - { - border-top: 1px solid #ccc; - padding: 10px 0; - text-align: center; - width: 100px; - color: $fs-logo-green-color; - - &:first-child - { - text-align: left; - width: auto; - color: inherit; - padding-left: 26px; - } - } - tr.fs-odd - { - td - { - background: #fefefe; - } - } - } - } - - .dashicons-yes - { - width: 30px; - height: 30px; - font-size: 30px; - } - } -} - -@media screen and (max-width: 961px) { - #fs_addons - { - .fs-cards-list - { - .fs-card - { - height: 265px; - } - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/affiliation.scss b/freemius/assets/scss/admin/affiliation.scss deleted file mode 100644 index 469d24e..0000000 --- a/freemius/assets/scss/admin/affiliation.scss +++ /dev/null @@ -1,97 +0,0 @@ -@import "../start"; - -#fs_affiliation_content_wrapper { - #messages { - margin-top: 25px; - } - - h3 { - font-size: 24px; - padding: 0; - margin-left: 0; - } - - ul { - li { - @include box-sizing(border-box); - list-style-type: none; - - &:before { - content: '✓'; - margin-right: 10px; - font-weight: bold; - } - } - } - - p:not(.description), li, label { - font-size: 16px !important; - line-height: 26px !important; - } - - .button { - margin-top: 20px; - margin-bottom: 7px; - line-height: 35px; - height: 40px; - font-size: 16px; - - &#cancel_button { - margin-right: 5px; - } - } - - form { - .input-container { - .input-label { - font-weight: bold; - display: block; - width: 100%; - } - - &.input-container-text { - label, input, textarea { - display: block; - } - } - - margin-bottom: 15px; - - #add_domain, .remove-domain { - text-decoration: none; - display: inline-block; - margin-top: 3px; - - &:focus { - box-shadow: none; - } - - &.disabled { - color: #aaa; - cursor: default; - } - } - } - - #extra_domains_container { - .description { - margin-top: 0; - position: relative; - top: -4px; - } - - .extra-domain-input-container { - margin-bottom: 15px; - - .domain { - display: inline-block; - margin-right: 5px; - - &:last-of-type { - margin-bottom: 0; - } - } - } - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/checkout.scss b/freemius/assets/scss/admin/checkout.scss deleted file mode 100644 index f60ab4d..0000000 --- a/freemius/assets/scss/admin/checkout.scss +++ /dev/null @@ -1,5 +0,0 @@ -@media screen and (max-width: 782px) { - #wpbody-content { - padding-bottom: 0 !important; - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/common.scss b/freemius/assets/scss/admin/common.scss deleted file mode 100644 index 4bbba1f..0000000 --- a/freemius/assets/scss/admin/common.scss +++ /dev/null @@ -1,220 +0,0 @@ -@import "../start"; -@import "themes"; - -#fs_frame -{ - line-height: 0; - font-size: 0; -} - -.fs-full-size-wrapper -{ - margin: 40px 0 -65px -20px; - - @media (max-width: 600px) { - margin: 0 0 -65px -10px; - } -} - -.fs-notice -{ - position: relative; - - &.fs-has-title - { - margin-bottom: 30px !important; - } - - &.success - { - color: green; - // font-weight: normal; - } - - &.promotion - { - border-color: $fs-notice-promotion-border-color !important; - background-color: $fs-notice-promotion-bkg !important; - } - - .fs-notice-body - { - margin: .5em 0; - padding: 2px; - } - - .fs-close - { - // position: absolute; - // top: 2px; - // bottom: 2px; - // right: 2px; - // min-width: 100px; - // text-align: center; - // padding-right: 2px; - cursor: pointer; - color: #aaa; - float: right; - - &:hover - { - color: #666; - // background: #A9A9A9; - } - - > * - { - margin-top: 7px; - display: inline-block; - } - } - - label.fs-plugin-title - { - background: rgba(0, 0, 0, 0.3); - color: #fff; - padding: 2px 10px; - position: absolute; - top: 100%; - bottom: auto; - right: auto; - @include border-radius(0 0 3px 3px); - left: 10px; - font-size: 12px; - font-weight: bold; - cursor: auto; - } -} - -div.fs-notice -{ - &.updated, - &.success, - &.promotion - { - display: block !important; - } -} - -.rtl .fs-notice -{ - .fs-close - { - // left: 2px; - // right: auto; - // padding-right: 0; - // padding-left: 2px; - float: left; - } -} - -.fs-secure-notice -{ - position: fixed; - top: 32px; - left: 160px; - right: 0; - background: rgb(235, 253, 235); - padding: 10px 20px; - color: green; - z-index: 9999; - @include box-shadow(0 2px 2px rgba(6, 113, 6, 0.3)); - @include opacity(0.95); - - &:hover - { - @include opacity(1); - } - - a.fs-security-proof - { - color: green; - text-decoration: none; - } -} - -@media screen and (max-width: 960px) { - .fs-secure-notice - { - left: 36px; - } -} - -@media screen and (max-width: 600px) { - .fs-secure-notice - { - display: none; - } -} - -@media screen and (max-width: 500px) { - #fs_promo_tab - { - display: none; - } -} - -@media screen and (max-width: 782px) { - .fs-secure-notice - { - left: 0; - top: 46px; - text-align: center; - } -} - -span.fs-submenu-item.fs-sub:before -{ - // Add small arrow. - content: '\21B3'; - padding: 0 5px; -} - -.rtl -{ - span.fs-submenu-item.fs-sub:before - { - // Add small RTL arrow. - content: '\21B2'; - } -} - -.fs-submenu-item -{ - &.pricing - { - &.upgrade-mode - { - color: greenyellow; - } - - &.trial-mode - { - color: #83e2ff; - } - } -} - -#adminmenu .update-plugins.fs-trial -{ - background-color: #00b9eb; -} -.fs-ajax-spinner -{ - border: 0; - width: 20px; - height: 20px; - margin-right: 5px; - vertical-align: sub; - display: inline-block; - background: url('/wp-admin/images/wpspin_light-2x.gif'); - background-size: contain; -} - -.wrap.fs-section { - h2 { - text-align: left; - } -} - -@import "plugin-upgrade-notice"; \ No newline at end of file diff --git a/freemius/assets/scss/admin/connect.scss b/freemius/assets/scss/admin/connect.scss deleted file mode 100644 index c147fb6..0000000 --- a/freemius/assets/scss/admin/connect.scss +++ /dev/null @@ -1,548 +0,0 @@ -@import "../start"; - -$form_width: 480px; - -#fs_connect -{ - width: $form_width; - @include box-shadow(0px 1px 2px rgba(0, 0, 0, 0.3)); - margin: 20px 0; - - @media screen and (max-width: ($form_width - 1)) { - @include box-shadow(none); - width: auto; - margin: 0 0 0 -10px; - } - - .fs-content - { - background: #fff; - padding: 15px 20px; - - .fs-error { - background: snow; - color: $fs-logo-magenta-color; - border: 1px solid $fs-logo-magenta-color; - @include box-shadow(0 1px 1px 0 rgba(0,0,0,.1)); - text-align: center; - padding: 5px; - margin-bottom: 10px; - } - - p - { - margin: 0; - padding: 0; - font-size: 1.2em; - } - } - - .fs-license-key-container { - position: relative; - width: 280px; - margin: 10px auto 0 auto; - - input { - width: 100%; - } - - .dashicons { - position: absolute; - top: 5px; - right: 5px; - } - } - - &.require-license-key { - #sites_list_container { - td { - cursor: pointer; - } - } - } - - #delegate_to_site_admins { - margin-right: 15px; - float: right; - height: 26px; - vertical-align: middle; - line-height: 37px; - font-weight: bold; - border-bottom: 1px dashed; - text-decoration: none; - - &.rtl { - margin-left: 15px; - margin-right: 0; - } - } - - .fs-actions - { - padding: 10px 20px; - background: #C0C7CA; - - .button - { - padding: 0 10px 1px; - line-height: 35px; - height: 37px; - font-size: 16px; - margin-bottom: 0; - - .dashicons - { - font-size: 37px; - margin-left: -8px; - margin-right: 12px; - } - - &.button-primary - { - padding-right: 15px; - padding-left: 15px; - - &:after - { - content: ' \279C'; - } - - &.fs-loading - { - &:after - { - content: ''; - } - } - } - - &.button-secondary - { - float: right; - } - } - - // .fs-skip - // { - // line-height: 38px; - // vertical-align: middle; - // text-decoration: none; - // margin-left: 10px; - // } - } - - &.fs-anonymous-disabled - { - .fs-actions - { - .button.button-primary - { - width: 100%; - } - } - } - - .fs-permissions - { - padding: 10px 20px; - background: #FEFEFE; - // background: #F1F1F1; - @include transition(background 0.5s ease); - - .fs-license-sync-disclaimer { - text-align: center; - margin-top: 0; - } - - .fs-trigger - { - font-size: 0.9em; - text-decoration: none; - text-align: center; - display: block; - } - - ul - { - height: 0; - overflow: hidden; - margin: 0; - - li - { - margin-bottom: 12px; - - &:last-child - { - margin-bottom: 0; - } - - i.dashicons - { - float: left; - font-size: 40px; - width: 40px; - height: 40px; - } - - div - { - margin-left: 55px; - - span - { - font-weight: bold; - text-transform: uppercase; - color: #23282d; - } - - p - { - margin: 2px 0 0 0; - } - } - } - } - - &.fs-open - { - background: #fff; - - ul - { - height: auto; - margin: 20px 20px 10px 20px; - } - } - - @media screen and (max-width: ($form_width - 1)) { - background: #fff; - - .fs-trigger - { - display: none; - } - - ul - { - height: auto; - margin: 20px; - } - } - } - - .fs-freemium-licensing { - padding: 8px; -// background: #0085BA; - background: #777; - color: #fff; - - p { - text-align: center; - display: block; - margin: 0; - padding: 0; - } - - a { - color: #C2EEFF; - text-decoration: underline; - } - } - - $icon_size: 80px; - $wp_logo_padding: $icon_size / 10; - $icons_top: 10px; - - .fs-visual - { - padding: 12px; - line-height: 0; - background: #fafafa; - height: $icon_size; - position: relative; - - .fs-site-icon - { - position: absolute; - left: 20px; - top: $icons_top; - } - - .fs-connect-logo - { - position: absolute; - right: 20px; - top: $icons_top; - } - - .fs-plugin-icon - { - position: absolute; - top: $icons_top; - left: 50%; - margin-left: - ($icon_size / 2); - } - - .fs-plugin-icon, - .fs-site-icon, - img, - object - { - width: $icon_size; - height: $icon_size; - } - - .dashicons-wordpress - { - font-size: $icon_size - ($wp_logo_padding * 2); - background: $wordpress_color; - color: #fff; - width: $icon_size - ($wp_logo_padding * 2); - height: $icon_size - ($wp_logo_padding * 2); - padding: $wp_logo_padding; - } - - .dashicons-plus - { - position: absolute; - top: 50%; - font-size: 30px; - margin-top: -10px; - color: #bbb; - - &.fs-first - { - left: 28%; - } - &.fs-second - { - left: 65%; - } - } - - .fs-plugin-icon, - .fs-connect-logo, - .fs-site-icon - { - border: 1px solid #ccc; - padding: 1px; - background: #fff; - } - } - - .fs-terms - { - text-align: center; - font-size: 0.85em; - padding: 5px; - background: rgba(0, 0, 0, 0.05); - - &, a - { - color: #999; - } - - a - { - text-decoration: none; - } - } -} - -@import "multisite-options"; -@import "tooltip"; -@import "gdpr-consent"; - -.rtl -{ - #fs_connect - { - .fs-actions - { - padding: 10px 20px; - background: #C0C7CA; - - .button - { - .dashicons - { - font-size: 37px; - margin-left: -8px; - margin-right: 12px; - } - - &.button-primary - { - &:after - { - content: ' \000bb'; - } - - &.fs-loading - { - &:after - { - content: ''; - } - } - } - - &.button-secondary - { - float: left; - } - } - } - - .fs-permissions - { - ul - { - li - { - div - { - margin-right: 55px; - margin-left: 0; - } - - i.dashicons - { - float: right; - } - - } - } - } - - .fs-visual - { - .fs-site-icon - { - right: 20px; - left: auto; - } - - .fs-connect-logo - { - right: auto; - left: 20px; - } - } - } -} - -#fs_theme_connect_wrapper { - position: fixed; - top: 0; - height: 100%; - width: 100%; - z-index: 99990; - background: rgba(0, 0, 0, 0.75); - text-align: center; - overflow-y: auto; - - &:before { - content: ""; - display: inline-block; - vertical-align: middle; - height: 100%; - } - - > button.close { - color: white; - cursor: pointer; - height: 40px; - width: 40px; - position: absolute; - right: 0; - border: 0; - background-color: transparent; - top: 32px; - } - - #fs_connect { - top: 0; - text-align: left; - display: inline-block; - vertical-align: middle; - margin-top: 52px; - margin-bottom: 20px; - - .fs-terms - { - background: rgba(140, 140, 140, 0.64); - - &, a - { - color: #c5c5c5; - } - } - } -} - -.wp-pointer-content -{ - #fs_connect - { - margin: 0; - @include box-shadow(none); - } -} - -.fs-opt-in-pointer -{ - .wp-pointer-content - { - padding: 0; - } - - &.wp-pointer-top - { - .wp-pointer-arrow - { - border-bottom-color: #dfdfdf; - } - .wp-pointer-arrow-inner - { - border-bottom-color: #fafafa; - } - } - - &.wp-pointer-bottom - { - .wp-pointer-arrow - { - border-top-color: #dfdfdf; - } - .wp-pointer-arrow-inner - { - border-top-color: #fafafa; - } - } - - &.wp-pointer-left - { - .wp-pointer-arrow - { - border-right-color: #dfdfdf; - } - .wp-pointer-arrow-inner - { - border-right-color: #fafafa; - } - } - - &.wp-pointer-right - { - .wp-pointer-arrow - { - border-left-color: #dfdfdf; - } - .wp-pointer-arrow-inner - { - border-left-color: #fafafa; - } - } -} diff --git a/freemius/assets/scss/admin/debug.scss b/freemius/assets/scss/admin/debug.scss deleted file mode 100644 index c8a81c5..0000000 --- a/freemius/assets/scss/admin/debug.scss +++ /dev/null @@ -1,135 +0,0 @@ -@import "../start"; - -.switch -{ - position: relative; - display: inline-block; - font-size: 1.6em; - font-weight: bold; - color: #ccc; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8); - height: 18px; - padding: 6px 6px 5px 6px; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 4px; - background: #ececec; - box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1), inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1); - cursor: pointer; - - span - { - display: inline-block; width: 35px; - text-transform: uppercase; - - &.on - { - color: $button-primary-bkg; - } - } - - .toggle - { - position: absolute; - top: 1px; - width: 37px; - height: 25px; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.3); - border-radius: 4px; - background: #fff; - background: -moz-linear-gradient(top, #ececec 0%, #fff 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #fff)); - background: -webkit-linear-gradient(top, #ececec 0%, #fff 100%); - background: -o-linear-gradient(top, #ececec 0%, #fff 100%); - background: -ms-linear-gradient(top, #ececec 0%, #fff 100%); - background: linear-gradient(top, #ececec 0%, #fff 100%); - box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.5); - z-index: 999; - @include transition(all 0.15s ease-in-out); - } - - &.on .toggle - { - left: 2%; - } - &.off .toggle - { - left: 54%; - } - - /* Round switch */ - &.round - { - padding: 0px 20px; - border-radius: 40px; - - .toggle - { - border-radius: 40px; - width: 14px; - height: 14px; - } - - &.on .toggle - { - left: 3%; - background: $button-primary-bkg; - } - &.off .toggle - { - left: 58%; - } - } -} - -.switch-label -{ - font-size: 20px; - line-height: 31px; - margin: 0 5px; -} - -#fs_log_book { - table { - font-family: Consolas,Monaco,monospace; - font-size: 12px; - - th { - color: #ccc; - } - - tr { - background: #232525; - - &.alternate { - background: #2b2b2b; - } - - td { - &.fs-col--logger { - color: #5a7435; - } - &.fs-col--type { - color: #ffc861; - } - &.fs-col--function { - color: #a7b7b1; - font-weight: bold; - } - &.fs-col--message { - &, a - { - color: #9a73ac !important; - } - } - &.fs-col--file { - color: #d07922; - } - &.fs-col--timestamp { - color: #6596be; - } - } - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/dialog-boxes.scss b/freemius/assets/scss/admin/dialog-boxes.scss deleted file mode 100644 index f4408a3..0000000 --- a/freemius/assets/scss/admin/dialog-boxes.scss +++ /dev/null @@ -1,10 +0,0 @@ -@import "../start"; -@import "modal-common"; -@import "deactivation-feedback"; -@import "subscription-cancellation"; -@import "license-activation"; -@import "multisite-options"; -@import "license-key-resend"; -@import "ajax-loader"; -@import "auto-install"; -@import "buttons"; \ No newline at end of file diff --git a/freemius/assets/scss/admin/gdpr-optin-notice.scss b/freemius/assets/scss/admin/gdpr-optin-notice.scss deleted file mode 100644 index 8d0e3e4..0000000 --- a/freemius/assets/scss/admin/gdpr-optin-notice.scss +++ /dev/null @@ -1,17 +0,0 @@ -.fs-notice[data-id^="gdpr_optin_actions"] -{ - .underlined { - text-decoration: underline; - } - - ul { - .button, .action-description { - vertical-align: middle; - } - - .action-description { - display: inline-block; - margin-left: 3px; - } - } -} \ No newline at end of file diff --git a/freemius/assets/scss/admin/index.php b/freemius/assets/scss/admin/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/assets/scss/admin/index.php +++ /dev/null @@ -1,3 +0,0 @@ -is_registered() && $fs->is_tracking_allowed()` - * - * @since 1.0.1 - * @return bool - */ - abstract function is_registered(); - - /** - * Check if the user skipped connecting the account with Freemius. - * - * @since 1.0.7 - * - * @return bool - */ - abstract function is_anonymous(); - - /** - * Check if the user currently in activation mode. - * - * @since 1.0.7 - * - * @return bool - */ - abstract function is_activation_mode(); - - #endregion - - #---------------------------------------------------------------------------------- - #region Usage Tracking - #---------------------------------------------------------------------------------- - - /** - * Returns TRUE if the user opted-in and didn't disconnect (opt-out). - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool - */ - abstract function is_tracking_allowed(); - - /** - * Returns TRUE if the user never opted-in or manually opted-out. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @return bool - */ - function is_tracking_prohibited() { - return ! $this->is_registered() || ! $this->is_tracking_allowed(); - } - - /** - * Opt-out from usage tracking. - * - * Note: This will not delete the account information but will stop all tracking. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-out. - * 3. object - API Result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - abstract function stop_tracking(); - - /** - * Opt-in back into usage tracking. - * - * Note: This will only work if the user opted-in previously. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-in back to usage tracking. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - abstract function allow_tracking(); - - #endregion - - #---------------------------------------------------------------------------------- - #region Module Type - #---------------------------------------------------------------------------------- - - /** - * Checks if the plugin's type is "plugin". The other type is "theme". - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - abstract function is_plugin(); - - /** - * Checks if the module type is "theme". The other type is "plugin". - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - function is_theme() { - return ( ! $this->is_plugin() ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Permissions - #---------------------------------------------------------------------------------- - - /** - * Check if plugin must be WordPress.org compliant. - * - * @since 1.0.7 - * - * @return bool - */ - abstract function is_org_repo_compliant(); - - /** - * Check if plugin is allowed to install executable files. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return bool - */ - function is_allowed_to_install() { - return ( $this->is_premium() || ! $this->is_org_repo_compliant() ); - } - - #endregion - - /** - * Check if user in trial or in free plan (not paying). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return bool - */ - function is_not_paying() { - return ( $this->is_trial() || $this->is_free_plan() ); - } - - /** - * Check if the user has an activated and valid paid license on current plugin's install. - * - * @since 1.0.9 - * - * @return bool - */ - abstract function is_paying(); - - /** - * Check if the user is paying or in trial. - * - * @since 1.0.9 - * - * @return bool - */ - function is_paying_or_trial() { - return ( $this->is_paying() || $this->is_trial() ); - } - - /** - * Check if user in a trial or have feature enabled license. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @return bool - */ - abstract function can_use_premium_code(); - - #---------------------------------------------------------------------------------- - #region Premium Only - #---------------------------------------------------------------------------------- - - /** - * All logic wrapped in methods with "__premium_only()" suffix will be only - * included in the premium code. - * - * Example: - * if ( freemius()->is__premium_only() ) { - * ... - * } - */ - - /** - * Returns true when running premium plugin code. - * - * @since 1.0.9 - * - * @return bool - */ - function is__premium_only() { - return $this->is_premium(); - } - - /** - * Check if the user has an activated and valid paid license on current plugin's install. - * - * @since 1.0.9 - * - * @return bool - * - */ - function is_paying__premium_only() { - return ( $this->is__premium_only() && $this->is_paying() ); - } - - /** - * All code wrapped in this statement will be only included in the premium code. - * - * @since 1.0.9 - * - * @param string $plan Plan name. - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - function is_plan__premium_only( $plan, $exact = false ) { - return ( $this->is_premium() && $this->is_plan( $plan, $exact ) ); - } - - /** - * Check if plan matches active license' plan or active trial license' plan. - * - * All code wrapped in this statement will be only included in the premium code. - * - * @since 1.0.9 - * - * @param string $plan Plan name. - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - function is_plan_or_trial__premium_only( $plan, $exact = false ) { - return ( $this->is_premium() && $this->is_plan_or_trial( $plan, $exact ) ); - } - - /** - * Check if the user is paying or in trial. - * - * All code wrapped in this statement will be only included in the premium code. - * - * @since 1.0.9 - * - * @return bool - */ - function is_paying_or_trial__premium_only() { - return $this->is_premium() && $this->is_paying_or_trial(); - } - - /** - * Check if the user has an activated and valid paid license on current plugin's install. - * - * @since 1.0.4 - * - * @return bool - * - * @deprecated Method name is confusing since it's not clear from the name the code will be removed. - * @using Alias to is_paying__premium_only() - */ - function is_paying__fs__() { - return $this->is_paying__premium_only(); - } - - /** - * Check if user in a trial or have feature enabled license. - * - * All code wrapped in this statement will be only included in the premium code. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - * @return bool - */ - function can_use_premium_code__premium_only() { - return $this->is_premium() && $this->can_use_premium_code(); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Trial - #---------------------------------------------------------------------------------- - - /** - * Check if the user in a trial. - * - * @since 1.0.3 - * - * @return bool - */ - abstract function is_trial(); - - /** - * Check if trial already utilized. - * - * @since 1.0.9 - * - * @return bool - */ - abstract function is_trial_utilized(); - - #endregion - - #---------------------------------------------------------------------------------- - #region Plans - #---------------------------------------------------------------------------------- - - /** - * Check if the user is on the free plan of the product. - * - * @since 1.0.4 - * - * @return bool - */ - abstract function is_free_plan(); - - /** - * @since 1.0.2 - * - * @param string $plan Plan name. - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - abstract function is_plan( $plan, $exact = false ); - - /** - * Check if plan based on trial. If not in trial mode, should return false. - * - * @since 1.0.9 - * - * @param string $plan Plan name. - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - abstract function is_trial_plan( $plan, $exact = false ); - - /** - * Check if plan matches active license' plan or active trial license' plan. - * - * @since 1.0.9 - * - * @param string $plan Plan name. - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - function is_plan_or_trial( $plan, $exact = false ) { - return $this->is_plan( $plan, $exact ) || - $this->is_trial_plan( $plan, $exact ); - } - - /** - * Check if plugin has any paid plans. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - abstract function has_paid_plan(); - - /** - * Check if plugin has any free plan, or is it premium only. - * - * Note: If no plans configured, assume plugin is free. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - abstract function has_free_plan(); - - /** - * Check if plugin is premium only (no free plans). - * - * NOTE: is__premium_only() is very different method, don't get confused. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - * @return bool - */ - abstract function is_only_premium(); - - /** - * Check if module has a premium code version. - * - * Serviceware module might be freemium without any - * premium code version, where the paid features - * are all part of the service. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @return bool - */ - abstract function has_premium_version(); - - /** - * Check if module has any release on Freemius, - * or all plugin's code is on WordPress.org (Serviceware). - * - * @return bool - */ - function has_release_on_freemius() { - return ! $this->is_org_repo_compliant() || - $this->has_premium_version(); - } - - /** - * Checks if it's a freemium plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - * @return bool - */ - function is_freemium() { - return $this->has_paid_plan() && - $this->has_free_plan(); - } - - /** - * Check if module has only one plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @return bool - */ - abstract function is_single_plan(); - - #endregion - - /** - * Check if running payments in sandbox mode. - * - * @since 1.0.4 - * - * @return bool - */ - abstract function is_payments_sandbox(); - - /** - * Check if running test vs. live plugin. - * - * @since 1.0.5 - * - * @return bool - */ - abstract function is_live(); - - /** - * Check if running premium plugin code. - * - * @since 1.0.5 - * - * @return bool - */ - abstract function is_premium(); - - /** - * Get upgrade URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @param string $period Billing cycle. - * - * @return string - */ - abstract function get_upgrade_url( $period = WP_FS__PERIOD_ANNUALLY ); - - /** - * Check if Freemius was first added in a plugin update. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.5 - * - * @return bool - */ - function is_plugin_update() { - return ! $this->is_plugin_new_install(); - } - - /** - * Check if Freemius was part of the plugin when the user installed it first. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.5 - * - * @return bool - */ - abstract function is_plugin_new_install(); - - #---------------------------------------------------------------------------------- - #region Marketing - #---------------------------------------------------------------------------------- - - /** - * Check if current user purchased any other plugins before. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - abstract function has_purchased_before(); - - /** - * Check if current user classified as an agency. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - abstract function is_agency(); - - /** - * Check if current user classified as a developer. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - abstract function is_developer(); - - /** - * Check if current user classified as a business. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - abstract function is_business(); - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-freemius.php b/freemius/includes/class-freemius.php deleted file mode 100644 index d85a5ba..0000000 --- a/freemius/includes/class-freemius.php +++ /dev/null @@ -1,21794 +0,0 @@ -store_id_slug_type_path_map( $module_id, $slug ); - } - - $this->_module_id = $module_id; - $this->_slug = $this->get_slug(); - $this->_module_type = $this->get_module_type(); - - $this->_blog_id = is_multisite() ? get_current_blog_id() : null; - - $this->_storage = FS_Storage::instance( $this->_module_type, $this->_slug ); - - $this->_cache = FS_Cache_Manager::get_manager( WP_FS___OPTION_PREFIX . "cache_{$module_id}" ); - - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $this->get_unique_affix(), WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->_plugin_main_file_path = $this->_find_caller_plugin_file( $is_init ); - $this->_plugin_dir_path = plugin_dir_path( $this->_plugin_main_file_path ); - $this->_plugin_basename = $this->get_plugin_basename(); - $this->_free_plugin_basename = str_replace( '-premium/', '/', $this->_plugin_basename ); - - $this->_is_multisite_integrated = ( - defined( "WP_FS__PRODUCT_{$module_id}_MULTISITE" ) && - ( true === constant( "WP_FS__PRODUCT_{$module_id}_MULTISITE" ) ) - ); - - $this->_is_network_active = ( - is_multisite() && - $this->_is_multisite_integrated && - // Themes are always network activated, but the ACTUAL activation is per site. - $this->is_plugin() && - ( is_plugin_active_for_network( $this->_plugin_basename ) || - // Plugin network level activation or uninstall. - is_plugin_inactive( $this->_plugin_basename ) ) - ); - - $this->_storage->set_network_active( - $this->_is_network_active, - $this->is_delegated_connection() - ); - - #region Migration - - if ( is_multisite() ) { - /** - * If the install_timestamp exists on the site level but doesn't exist on the - * network level storage, it means that we need to process the storage with migration. - * - * The code in this `if` scope will only be executed once and only for the first site that will execute it because once we migrate the storage data, install_timestamp will be already set in the network level storage. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - if ( false === $this->_storage->get( 'install_timestamp', false, true ) && - false !== $this->_storage->get( 'install_timestamp', false, false ) - ) { - // Initiate storage migration. - $this->_storage->migrate_to_network(); - - // Migrate module cache to network level storage. - $this->_cache->migrate_to_network(); - } - } - - #endregion - - $base_name_split = explode( '/', $this->_plugin_basename ); - $this->_plugin_dir_name = $base_name_split[0]; - - if ( $this->_logger->is_on() ) { - $this->_logger->info( 'plugin_main_file_path = ' . $this->_plugin_main_file_path ); - $this->_logger->info( 'plugin_dir_path = ' . $this->_plugin_dir_path ); - $this->_logger->info( 'plugin_basename = ' . $this->_plugin_basename ); - $this->_logger->info( 'free_plugin_basename = ' . $this->_free_plugin_basename ); - $this->_logger->info( 'plugin_dir_name = ' . $this->_plugin_dir_name ); - } - - // Remember link between file to slug. - $this->store_file_slug_map(); - - // Store plugin's initial install timestamp. - if ( ! isset( $this->_storage->install_timestamp ) ) { - $this->_storage->install_timestamp = WP_FS__SCRIPT_START_TIME; - } - - if ( ! is_object( $this->_plugin ) ) { - $this->_plugin = FS_Plugin_Manager::instance( $this->_module_id )->get(); - } - - $this->_admin_notices = FS_Admin_Notices::instance( - $this->_slug . ( $this->is_theme() ? ':theme' : '' ), - /** - * Ensure that the admin notice will always have a title by using the stored plugin title if available and - * retrieving the title via the "get_plugin_name" method if there is no stored plugin title available. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - ( is_object( $this->_plugin ) ? $this->_plugin->title : $this->get_plugin_name() ), - $this->get_unique_affix() - ); - - if ( 'true' === fs_request_get( 'fs_clear_api_cache' ) || - 'true' === fs_request_is_action( 'restart_freemius' ) - ) { - FS_Api::clear_cache(); - $this->_cache->clear(); - } - - $this->_register_hooks(); - - /** - * Starting from version 2.0.0, `FS_Site` entities no longer have the `plan` property and have `plan_id` - * instead. This should be called before calling `_load_account()`, otherwise, `$this->_site` will not be - * loaded in `_load_account` for versions of SDK starting from 2.0.0. - * - * @author Leo Fajardo (@leorw) - */ - self::migrate_install_plan_to_plan_id( $this->_storage ); - - $this->_load_account(); - - $this->_version_updates_handler(); - } - - /** - * Checks whether this module has a settings menu. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - function has_settings_menu() { - return ( $this->_is_network_active && fs_is_network_admin() ) ? - $this->_menu->has_network_menu() : - $this->_menu->has_menu(); - } - - /** - * Check if the context module is free wp.org theme. - * - * This method is helpful because: - * 1. wp.org themes are limited to a single submenu item, - * and sub-submenu items are most likely not allowed (never verified). - * 2. wp.org themes are not allowed to redirect the user - * after the theme activation, therefore, the agreed UX - * is showing the opt-in as a modal dialog box after - * activation (approved by @otto42, @emiluzelac, @greenshady, @grapplerulrich). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - function is_free_wp_org_theme() { - return ( - $this->is_theme() && - $this->is_org_repo_compliant() && - ! $this->is_premium() - ); - } - - /** - * Checks whether this a submenu item is visible. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.6 - * @since 1.2.2.7 Even if the menu item was specified to be hidden, when it is the context page, then show the submenu item so the user will have the right context page. - * - * @param string $slug - * @param bool $ignore_free_wp_org_theme_context This is used to decide if the associated tab should be shown - * or hidden. - * - * @return bool - */ - function is_submenu_item_visible( $slug, $ignore_free_wp_org_theme_context = false ) { - if ( $this->is_admin_page( $slug ) ) { - /** - * It is the current context page, so show the submenu item - * so the user will have the right context page, even if it - * was set to hidden. - */ - return true; - } - - if ( ! $this->has_settings_menu() ) { - // No menu settings at all. - return false; - } - - if ( ! $ignore_free_wp_org_theme_context && $this->is_free_wp_org_theme() ) { - /** - * wp.org themes are limited to a single submenu item, and - * sub-submenu items are most likely not allowed (never verified). - */ - return false; - } - - return $this->_menu->is_submenu_item_visible( $slug ); - } - - /** - * Check if a Freemius page should be accessible via the UI. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param string $slug - * - * @return bool - */ - function is_page_visible( $slug ) { - if ( $this->is_admin_page( $slug ) ) { - return true; - } - - return $this->_menu->is_submenu_item_visible( $slug, true, true ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - private function _version_updates_handler() { - if ( ! isset( $this->_storage->sdk_version ) || $this->_storage->sdk_version != $this->version ) { - // Freemius version upgrade mode. - $this->_storage->sdk_last_version = $this->_storage->sdk_version; - $this->_storage->sdk_version = $this->version; - - if ( empty( $this->_storage->sdk_last_version ) || - version_compare( $this->_storage->sdk_last_version, $this->version, '<' ) - ) { - $this->_storage->sdk_upgrade_mode = true; - $this->_storage->sdk_downgrade_mode = false; - } else { - $this->_storage->sdk_downgrade_mode = true; - $this->_storage->sdk_upgrade_mode = false; - - } - - $this->do_action( 'sdk_version_update', $this->_storage->sdk_last_version, $this->version ); - } - - $plugin_version = $this->get_plugin_version(); - if ( ! isset( $this->_storage->plugin_version ) || $this->_storage->plugin_version != $plugin_version ) { - // Plugin version upgrade mode. - $this->_storage->plugin_last_version = $this->_storage->plugin_version; - $this->_storage->plugin_version = $plugin_version; - - if ( empty( $this->_storage->plugin_last_version ) || - version_compare( $this->_storage->plugin_last_version, $plugin_version, '<' ) - ) { - $this->_storage->plugin_upgrade_mode = true; - $this->_storage->plugin_downgrade_mode = false; - } else { - $this->_storage->plugin_downgrade_mode = true; - $this->_storage->plugin_upgrade_mode = false; - } - - if ( ! empty( $this->_storage->plugin_last_version ) ) { - // Different version of the plugin was installed before, therefore it's an update. - $this->_storage->is_plugin_new_install = false; - } - - $this->do_action( 'plugin_version_update', $this->_storage->plugin_last_version, $plugin_version ); - } - } - - #-------------------------------------------------------------------------------- - #region Data Migration on SDK Update - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.5 - * - * @param string $sdk_prev_version - * @param string $sdk_version - */ - function _sdk_version_update( $sdk_prev_version, $sdk_version ) { - /** - * @since 1.1.7.3 Fixed unwanted connectivity test cleanup. - */ - if ( empty( $sdk_prev_version ) ) { - return; - } - - if ( version_compare( $sdk_prev_version, '2.1.0', '<' ) && - version_compare( $sdk_version, '2.1.0', '>=' ) - ) { - $this->_storage->handle_gdpr_admin_notice = true; - } - - if ( version_compare( $sdk_prev_version, '2.0.0', '<' ) && - version_compare( $sdk_version, '2.0.0', '>=' ) - ) { - $this->migrate_to_subscriptions_collection(); - - $this->consolidate_licenses(); - - // Clear trial_plan since it's now loaded from the plans collection when needed. - $this->_storage->remove( 'trial_plan', true, false ); - } - - if ( version_compare( $sdk_prev_version, '1.2.3', '<' ) && - version_compare( $sdk_version, '1.2.3', '>=' ) - ) { - /** - * Starting from version 1.2.3, paths are stored as relative instead of absolute and some of them can be - * invalid. - * - * @author Leo Fajardo (@leorw) - */ - $this->remove_invalid_paths(); - } - - if ( version_compare( $sdk_prev_version, '1.1.5', '<' ) && - version_compare( $sdk_version, '1.1.5', '>=' ) - ) { - // On version 1.1.5 merged connectivity and is_on data. - if ( isset( $this->_storage->connectivity_test ) ) { - if ( ! isset( $this->_storage->is_on ) ) { - unset( $this->_storage->connectivity_test ); - } else { - $connectivity_data = $this->_storage->connectivity_test; - $connectivity_data['is_active'] = $this->_storage->is_on['is_active']; - $connectivity_data['timestamp'] = $this->_storage->is_on['timestamp']; - - // Override. - $this->_storage->connectivity_test = $connectivity_data; - - // Remove previous structure. - unset( $this->_storage->is_on ); - } - - } - } - - if ( - version_compare( $sdk_prev_version, '2.2.1', '<' ) && - version_compare( $sdk_version, '2.2.1', '>=' ) - ) { - /** - * Clear the file cache without storing the previous path since it could be a wrong path. For example, - * in the versions of the SDK lower than 2.2.1, it's possible for the path of an add-on to be the same - * as the parent plugin's when the add-on was auto-installed since the relevant method names were not - * skipped in the logic that determines the right path in the `get_caller_main_file_and_type` method - * (e.g. `try_activate_plugin`). Since it was an auto-installation, the caller was the parent plugin - * and so its path was used. In case the stored path is wrong, clearing the cache will resolve issues - * related to data mix-up between plugins (e.g. titles and versions of an add-on and its parent plugin). - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - $this->clear_module_main_file_cache( false ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param \FS_Storage $storage - * @param bool|int|null $blog_id - */ - private static function migrate_install_plan_to_plan_id( FS_Storage $storage, $blog_id = null ) { - if ( empty( $storage->sdk_version ) ) { - // New installation of the plugin, no need to upgrade. - return; - } - - if ( ! version_compare( $storage->sdk_version, '2.0.0', '<' ) ) { - // Previous version is >= 2.0.0, so no need to migrate. - return; - } - - // Alias. - $module_type = $storage->get_module_type(); - $module_slug = $storage->get_module_slug(); - - $installs = self::get_all_sites( $module_type, $blog_id ); - $install = isset( $installs[ $module_slug ] ) ? $installs[ $module_slug ] : null; - - if ( ! is_object( $install ) ) { - return; - } - - if ( isset( $install->plan ) && is_object( $install->plan ) ) { - if ( isset( $install->plan->id ) && ! empty( $install->plan->id ) ) { - $install->plan_id = self::_decrypt( $install->plan->id ); - } - - unset( $install->plan ); - - $installs[ $module_slug ] = clone $install; - - self::set_account_option_by_module( - $module_type, - 'sites', - $installs, - true, - $blog_id - ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - private function migrate_to_subscriptions_collection() { - if ( ! is_object( $this->_site ) ) { - return; - } - - if ( isset( $this->_storage->subscription ) && is_object( $this->_storage->subscription ) ) { - $this->_storage->subscriptions = array( $this->_storage->subscription ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - private function consolidate_licenses() { - $plugin_licenses = self::get_account_option( 'licenses', WP_FS__MODULE_TYPE_PLUGIN ); - if ( isset( $plugin_licenses[ $this->_slug ] ) ) { - $plugin_licenses = $plugin_licenses[ $this->_slug ]; - } else { - $plugin_licenses = array(); - } - - $theme_licenses = self::get_account_option( 'licenses', WP_FS__MODULE_TYPE_THEME ); - if ( isset( $theme_licenses[ $this->_slug ] ) ) { - $theme_licenses = $theme_licenses[ $this->_slug ]; - } else { - $theme_licenses = array(); - } - - if ( empty( $plugin_licenses ) && empty( $theme_licenses ) ) { - return; - } - - $all_licenses = array(); - $user_id_license_ids_map = array(); - - foreach ( $plugin_licenses as $user_id => $user_licenses ) { - if ( is_array( $user_licenses ) ) { - if ( ! isset( $user_license_ids[ $user_id ] ) ) { - $user_id_license_ids_map[ $user_id ] = array(); - } - - foreach ( $user_licenses as $user_license ) { - $all_licenses[] = $user_license; - $user_id_license_ids_map[ $user_id ][] = $user_license->id; - } - } - } - - foreach ( $theme_licenses as $user_id => $user_licenses ) { - if ( is_array( $user_licenses ) ) { - if ( ! isset( $user_license_ids[ $user_id ] ) ) { - $user_id_license_ids_map[ $user_id ] = array(); - } - - foreach ( $user_licenses as $user_license ) { - $all_licenses[] = $user_license; - $user_id_license_ids_map[ $user_id ][] = $user_license->id; - } - } - } - - self::store_user_id_license_ids_map( - $user_id_license_ids_map, - $this->_module_id - ); - - $this->_store_licenses( true, $this->_module_id, $all_licenses ); - } - - /** - * Remove invalid paths. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - */ - private function remove_invalid_paths() { - // Remove invalid path that is still associated with the current slug if there's any. - $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() ); - foreach ( $file_slug_map as $plugin_basename => $slug ) { - if ( $slug === $this->_slug && - $plugin_basename !== $this->_plugin_basename && - ! file_exists( $this->get_absolute_path( $plugin_basename ) ) - ) { - unset( $file_slug_map[ $plugin_basename ] ); - self::$_accounts->set_option( 'file_slug_map', $file_slug_map, true ); - - break; - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param string $plugin_prev_version - * @param string $plugin_version - */ - function _after_version_update( $plugin_prev_version, $plugin_version ) { - if ( $this->is_theme() ) { - // Expire the cache of the previous tabs since the theme may - // have setting updates. - $this->_cache->expire( 'tabs' ); - $this->_cache->expire( 'tabs_stylesheets' ); - } - } - - /** - * A special migration logic for the $_accounts, executed for all the plugins in the system: - * - Moves some data to the network level storage. - * - If the plugin's connection was skipped for all sites, set the plugin as if it was network skipped. - * - If the plugin's connection was ignored for all sites, don't do anything in terms of the network connection. - * - If the plugin was connected to all sites by the same super-admin, set the plugin as if was network opted-in for all sites. - * - If there's at least one site that was connected by a super-admin, find the "main super-admin" (the one that installed the majority of the plugin installs) and set the plugin as if was network activated with the main super-admin, set all the sites that were skipped or opted-in with a different user to delegated mode. Then, prompt the currently logged super-admin to choose what to do with the ignored sites. - * - If there are any sites in the network which the connection decision was not yet taken for, set this plugin into network activation mode so a super-admin can choose what to do with the rest of the sites. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private static function migrate_accounts_to_network() { - $sites = self::get_sites(); - $sites_count = count( $sites ); - $connection_status = array(); - $plugin_slugs = array(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - self::$_accounts->migrate_to_network( $blog_id ); - - /** - * Build a list of all Freemius powered plugins slugs. - */ - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map', array(), $blog_id ); - foreach ( $id_slug_type_path_map as $module_id => $data ) { - if ( WP_FS__MODULE_TYPE_PLUGIN === $data['type'] ) { - $plugin_slugs[ $data['slug'] ] = true; - } - } - - $installs = self::get_account_option( 'sites', WP_FS__MODULE_TYPE_PLUGIN, $blog_id ); - - if ( is_array( $installs ) ) { - foreach ( $installs as $slug => $install ) { - if ( ! isset( $connection_status[ $slug ] ) ) { - $connection_status[ $slug ] = array(); - } - - if ( is_object( $install ) && - FS_Site::is_valid_id( $install->id ) && - FS_User::is_valid_id( $install->user_id ) - ) { - $connection_status[ $slug ][ $blog_id ] = $install->user_id; - } - } - } - } - - foreach ( $plugin_slugs as $slug => $true ) { - if ( ! isset( $connection_status[ $slug ] ) ) { - $connection_status[ $slug ] = array(); - } - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - if ( isset( $connection_status[ $slug ][ $blog_id ] ) ) { - continue; - } - - $storage = FS_Storage::instance( WP_FS__MODULE_TYPE_PLUGIN, $slug ); - - $is_anonymous = $storage->get( 'is_anonymous', null, $blog_id ); - - if ( ! is_null( $is_anonymous ) ) { - // Since 1.1.3 is_anonymous is an array. - if ( is_array( $is_anonymous ) && isset( $is_anonymous['is'] ) ) { - $is_anonymous = $is_anonymous['is']; - } - - if ( is_bool( $is_anonymous ) && true === $is_anonymous ) { - $connection_status[ $slug ][ $blog_id ] = 'skipped'; - } - } - - if ( ! isset( $connection_status[ $slug ][ $blog_id ] ) ) { - $connection_status[ $slug ][ $blog_id ] = 'ignored'; - } - } - } - - $super_admins = array(); - - foreach ( $connection_status as $slug => $blogs_status ) { - $skips = 0; - $ignores = 0; - $connections = 0; - $opted_in_users = array(); - $opted_in_super_admins = array(); - - $storage = FS_Storage::instance( WP_FS__MODULE_TYPE_PLUGIN, $slug ); - - foreach ( $blogs_status as $blog_id => $status_or_user_id ) { - if ( 'skipped' === $status_or_user_id ) { - $skips ++; - } else if ( 'ignored' === $status_or_user_id ) { - $ignores ++; - } else if ( FS_User::is_valid_id( $status_or_user_id ) ) { - $connections ++; - - if ( ! isset( $opted_in_users[ $status_or_user_id ] ) ) { - $opted_in_users[ $status_or_user_id ] = array(); - } - - $opted_in_users[ $status_or_user_id ][] = $blog_id; - - if ( isset( $super_admins[ $status_or_user_id ] ) || - self::is_super_admin( $status_or_user_id ) - ) { - // Cache super-admin data. - $super_admins[ $status_or_user_id ] = true; - - // Remember opted-in super-admins for the plugin. - $opted_in_super_admins[ $status_or_user_id ] = true; - } - } - } - - $main_super_admin_user_id = null; - $all_migrated = false; - if ( $sites_count == $skips ) { - // All sites were skipped -> network skip by copying the anonymous mode from any of the sites. - $storage->is_anonymous_ms = $storage->is_anonymous; - - $all_migrated = true; - } else if ( $sites_count == $ignores ) { - // Don't do anything, still in activation mode. - - $all_migrated = true; - } else if ( 0 < count( $opted_in_super_admins ) ) { - // Find the super-admin with the majority of installs. - $max_installs_by_super_admin = 0; - foreach ( $opted_in_super_admins as $user_id => $true ) { - $installs_count = count( $opted_in_users[ $user_id ] ); - - if ( $installs_count > $max_installs_by_super_admin ) { - $max_installs_by_super_admin = $installs_count; - $main_super_admin_user_id = $user_id; - } - } - - if ( $sites_count == $connections && 1 == count( $opted_in_super_admins ) ) { - // Super-admin opted-in for all sites in the network. - $storage->is_network_connected = true; - - $all_migrated = true; - } - - // Store network user. - $storage->network_user_id = $main_super_admin_user_id; - - $storage->network_install_blog_id = ( $sites_count == $connections ) ? - // Since all sites are opted-in, associating with the main site. - get_current_blog_id() : - // Associating with the 1st found opted-in site. - $opted_in_users[ $main_super_admin_user_id ][0]; - - /** - * Make sure we migrate the plan ID of the network install, otherwise, if after the migration - * the 1st page that will be loaded is the network level WP Admin and $storage->network_install_blog_id - * is different than the main site of the network, the $this->_site will not be set since the plan_id - * will be empty. - */ - $storage->migrate_to_network(); - self::migrate_install_plan_to_plan_id( $storage, $storage->network_install_blog_id ); - } else { - // At least one opt-in. All the opt-in were created by a non-super-admin. - if ( 0 == $ignores ) { - // All sites were opted-in or skipped, all by non-super-admin. So delegate all. - $storage->store( 'is_delegated_connection', true, true ); - - $all_migrated = true; - } - } - - if ( ! $all_migrated ) { - /** - * Delegate all sites that were: - * 1) Opted-in by a user that is NOT the main-super-admin. - * 2) Skipped and non of the sites was opted-in by a super-admin. If any site was opted-in by a super-admin, there will be a main-super-admin, and we consider the skip as if it was done by that user. - */ - foreach ( $blogs_status as $blog_id => $status_or_user_id ) { - if ( $status_or_user_id == $main_super_admin_user_id ) { - continue; - } - - if ( FS_User::is_valid_id( $status_or_user_id ) || - ( 'skipped' === $status_or_user_id && is_null( $main_super_admin_user_id ) ) - ) { - $storage->store( 'is_delegated_connection', true, $blog_id ); - } - } - } - - - if ( ( $connections + $skips > 0 ) ) { - if ( $ignores > 0 ) { - /** - * If admin already opted-in or skipped in any of the network sites, and also - * have sites which the connection decision was not yet taken, set this plugin - * into network activation mode so the super-admin can choose what to do with - * the rest of the sites. - */ - self::set_network_upgrade_mode( $storage ); - } - } - } - } - - /** - * Set a module into network upgrade mode. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_Storage $storage - * - * @return bool - */ - private static function set_network_upgrade_mode( FS_Storage $storage ) { - return $storage->is_network_activation = true; - } - - /** - * Will return true after upgrading to the SDK with the network level integration, - * when the super-admin involvement is required regarding the rest of the sites. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function is_network_upgrade_mode() { - return $this->_storage->get( 'is_network_activation' ); - } - - /** - * Clear flag after the upgrade mode completion. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool True if network activation was on and now completed. - */ - private function network_upgrade_mode_completed() { - if ( fs_is_network_admin() && $this->is_network_upgrade_mode() ) { - $this->_storage->remove( 'is_network_activation' ); - - return true; - } - - return false; - } - - #endregion - - /** - * This action is connected to the 'plugins_loaded' hook and helps to determine - * if this is a new plugin installation or a plugin update. - * - * There are 3 different use-cases: - * 1) New plugin installation right with Freemius: - * 1.1 _activate_plugin_event_hook() will be executed first - * 1.2 Since $this->_storage->is_plugin_new_install is not set, - * and $this->_storage->plugin_last_version is not set, - * $this->_storage->is_plugin_new_install will be set to TRUE. - * 1.3 When _plugins_loaded() will be executed, $this->_storage->is_plugin_new_install will - * be already set to TRUE. - * - * 2) Plugin update, didn't have Freemius before, and now have the SDK: - * 2.1 _activate_plugin_event_hook() will not be executed, because - * the activation hook do NOT fires on updates since WP 3.1. - * 2.2 When _plugins_loaded() will be executed, $this->_storage->is_plugin_new_install will - * be empty, therefore, it will be set to FALSE. - * - * 3) Plugin update, had Freemius in prev version as well: - * 3.1 _version_updates_handler() will be executed 1st, since FS was installed - * before, $this->_storage->plugin_last_version will NOT be empty, - * therefore, $this->_storage->is_plugin_new_install will be set to FALSE. - * 3.2 When _plugins_loaded() will be executed, $this->_storage->is_plugin_new_install is - * already set, therefore, it will not be modified. - * - * Use-case #3 is backward compatible, #3.1 will be executed since 1.0.9. - * - * NOTE: - * The only fallback of this mechanism is if an admin updates a plugin based on use-case #2, - * and then, the next immediate PageView is the plugin's main settings page, it will not - * show the opt-in right away. The reason it will happen is because Freemius execution - * will be turned off till the plugin is fully loaded at least once - * (till $this->_storage->was_plugin_loaded is TRUE). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - */ - function _plugins_loaded() { - // Update flag that plugin was loaded with Freemius at least once. - $this->_storage->was_plugin_loaded = true; - - /** - * Bug fix - only set to false when it's a plugin, due to the - * execution sequence of the theme hooks and our methods, if - * this will be set for themes, Freemius will always assume - * it's a theme update. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.2 - */ - if ( $this->is_plugin() && - ! isset( $this->_storage->is_plugin_new_install ) - ) { - $this->_storage->is_plugin_new_install = false; - } - } - - /** - * Add special parameter to WP admin AJAX calls so when we - * process AJAX calls we can identify its source properly. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - static function _enrich_ajax_url() { - $admin_param = is_network_admin() ? - '_fs_network_admin' : - '_fs_blog_admin'; - ?> - - - - _logger->entrance(); - - if ( is_admin() ) { - add_action( 'plugins_loaded', array( &$this, '_hook_action_links_and_register_account_hooks' ) ); - - if ( $this->is_plugin() ) { - if ( self::is_plugin_install_page() && true !== fs_request_get_bool( 'fs_allow_updater_and_dialog' ) ) { - /** - * Unless the `fs_allow_updater_and_dialog` URL param exists and its value is `true`, make - * Freemius-related updates unavailable on the "Add Plugins" admin page (/plugin-install.php) - * so that they won't interfere with the .org plugins' functionalities on that page (e.g. - * updating of a .org plugin). - */ - add_filter( 'site_transient_update_plugins', array( 'Freemius', '_remove_fs_updates_from_plugin_install_page' ), 10, 2 ); - } else if ( self::is_plugins_page() || self::is_updates_page() ) { - /** - * On the "Plugins" and "Updates" admin pages, if there are premium or non–org-compliant - * plugins, modify their details dialog URLs (add a Freemius-specific param) so that the SDK can - * determine if the plugin information dialog should show information from Freemius. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - add_action( 'admin_footer', array( 'Freemius', '_prepend_fs_allow_updater_and_dialog_flag_url_param' ) ); - } - - $plugin_dir = dirname( $this->_plugin_dir_path ) . '/'; - - /** - * @since 1.2.2 - * - * Hook to both free and premium version activations to support - * auto deactivation on the other version activation. - */ - register_activation_hook( - $plugin_dir . $this->_free_plugin_basename, - array( &$this, '_activate_plugin_event_hook' ) - ); - - register_activation_hook( - $plugin_dir . $this->premium_plugin_basename(), - array( &$this, '_activate_plugin_event_hook' ) - ); - } else { - add_action( 'after_switch_theme', array( &$this, '_activate_theme_event_hook' ), 10, 2 ); - - /** - * Include the required hooks to capture the theme settings' page tabs - * and cache them. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - if ( ! $this->_cache->has_valid( 'tabs' ) ) { - add_action( 'admin_footer', array( &$this, '_tabs_capture' ) ); - // Add license activation AJAX callback. - $this->add_ajax_action( 'store_tabs', array( &$this, '_store_tabs_ajax_action' ) ); - - add_action( 'admin_enqueue_scripts', array( &$this, '_store_tabs_styles' ), 9999999 ); - } - - add_action( - 'admin_footer', - array( &$this, '_add_freemius_tabs' ), - /** - * The tabs JS code must be executed after the tabs capture logic (_tabs_capture()). - * That's why the priority is 11 while the tabs capture logic is added - * with priority 10. - * - * @author Vova Feldman (@svovaf) - */ - 11 - ); - - add_action( 'admin_footer', array( &$this, '_style_premium_theme' ) ); - } - - /** - * Part of the mechanism to identify new plugin install vs. plugin update. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - */ - if ( empty( $this->_storage->was_plugin_loaded ) ) { - /** - * During the plugin activation (not theme), 'plugins_loaded' will be already executed - * when the logic gets here since the activation logic first add the activate plugins, - * then triggers 'plugins_loaded', and only then include the code of the plugin that - * is activated. Which means that _plugins_loaded() will NOT be executed during the - * plugin activation, and that IS intentional. - * - * @author Vova Feldman (@svovaf) - */ - if ( $this->is_plugin() && $this->is_activation_mode( false ) ) { - add_action( 'plugins_loaded', array( &$this, '_plugins_loaded' ) ); - } else { - // If was activated before, then it was already loaded before. - $this->_plugins_loaded(); - } - } - - if ( ! self::is_ajax() ) { - if ( ! $this->is_addon() ) { - add_action( 'init', array( &$this, '_add_default_submenu_items' ), WP_FS__LOWEST_PRIORITY ); - } - } - - if ( $this->_storage->handle_gdpr_admin_notice ) { - add_action( 'init', array( &$this, '_maybe_show_gdpr_admin_notice' ) ); - } - - add_action( 'init', array( &$this, '_maybe_add_gdpr_optin_ajax_handler') ); - } - - if ( $this->is_plugin() ) { - if ( $this->_is_network_active ) { - add_action( 'wpmu_new_blog', array( $this, '_after_new_blog_callback' ), 10, 6 ); - } - - register_deactivation_hook( $this->_plugin_main_file_path, array( &$this, '_deactivate_plugin_hook' ) ); - } - - if ( is_multisite() ) { - add_action( 'deactivate_blog', array( &$this, '_after_site_deactivated_callback' ) ); - add_action( 'archive_blog', array( &$this, '_after_site_deactivated_callback' ) ); - add_action( 'make_spam_blog', array( &$this, '_after_site_deactivated_callback' ) ); - add_action( 'deleted_blog', array( &$this, '_after_site_deleted_callback' ), 10, 2 ); - - add_action( 'activate_blog', array( &$this, '_after_site_reactivated_callback' ) ); - add_action( 'unarchive_blog', array( &$this, '_after_site_reactivated_callback' ) ); - add_action( 'make_ham_blog', array( &$this, '_after_site_reactivated_callback' ) ); - } - - if ( $this->is_theme() && - self::is_customizer() && - $this->apply_filters( 'show_customizer_upsell', true ) - ) { - // Register customizer upsell. - add_action( 'customize_register', array( &$this, '_customizer_register' ) ); - } - - add_action( 'admin_init', array( &$this, '_redirect_on_clicked_menu_link' ), WP_FS__LOWEST_PRIORITY ); - - if ( $this->is_theme() ) { - add_action( 'admin_init', array( &$this, '_add_tracking_links' ) ); - } - - add_action( 'admin_init', array( &$this, '_add_license_activation' ) ); - add_action( 'admin_init', array( &$this, '_add_premium_version_upgrade_selection' ) ); - - $this->add_ajax_action( 'update_billing', array( &$this, '_update_billing_ajax_action' ) ); - $this->add_ajax_action( 'start_trial', array( &$this, '_start_trial_ajax_action' ) ); - - if ( $this->_is_network_active && fs_is_network_admin() ) { - $this->add_ajax_action( 'network_activate', array( &$this, '_network_activate_ajax_action' ) ); - } - - $this->add_ajax_action( 'install_premium_version', array( - &$this, - '_install_premium_version_ajax_action' - ) ); - - $this->add_ajax_action( 'submit_affiliate_application', array( &$this, '_submit_affiliate_application' ) ); - - $this->add_action( 'after_plans_sync', array( &$this, '_check_for_trial_plans' ) ); - - $this->add_action( 'sdk_version_update', array( &$this, '_sdk_version_update' ), WP_FS__DEFAULT_PRIORITY, 2 ); - - $this->add_action( - 'plugin_version_update', - array( &$this, '_after_version_update' ), - WP_FS__DEFAULT_PRIORITY, - 2 - ); - $this->add_filter( 'after_code_type_change', array( &$this, '_after_code_type_change' ) ); - - add_action( 'admin_init', array( &$this, '_add_trial_notice' ) ); - add_action( 'admin_init', array( &$this, '_add_affiliate_program_notice' ) ); - add_action( 'admin_enqueue_scripts', array( &$this, '_enqueue_common_css' ) ); - - /** - * Handle request to reset anonymous mode for `get_reconnect_url()`. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - */ - if ( fs_request_is_action( 'reset_anonymous_mode' ) && - $this->get_unique_affix() === fs_request_get( 'fs_unique_affix' ) - ) { - add_action( 'admin_init', array( &$this, 'connect_again' ) ); - } - } - - /** - * Makes Freemius-related updates unavailable on the "Add Plugins" admin page (/plugin-install.php) so that - * they won't interfere with the .org plugins' functionalities on that page (e.g. updating of a .org plugin). - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - * - * @param object $updates - * @param string|null $transient - * - * @return object - */ - static function _remove_fs_updates_from_plugin_install_page( $updates, $transient = null ) { - if ( is_object( $updates ) && isset( $updates->response ) ) { - foreach ( $updates->response as $file => $plugin ) { - if ( false !== strpos( $plugin->package, 'api.freemius' ) ) { - unset( $updates->response[ $file ] ); - } - } - } - - return $updates; - } - - /** - * Prepends the `fs_allow_updater_and_dialog` param to the plugin information URLs to tell the SDK to handle - * the information that is shown on the plugin details dialog that is shown when the relevant link is clicked. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - * - * @return string - */ - static function _prepend_fs_allow_updater_and_dialog_flag_url_param() { - $slug_basename_map = array(); - foreach ( self::$_instances as $instance ) { - if ( ! $instance->is_plugin() ) { - continue; - } - - $slug_basename_map[ $instance->get_slug() ] = $instance->premium_plugin_basename(); - } - ?> - - _free_plugin_basename ] ); - unset( $uninstallable_plugins[ $this->premium_plugin_basename() ] ); - - update_option( 'uninstall_plugins', $uninstallable_plugins ); - } - - /** - * @since 1.2.0 Invalidate module's main file cache, otherwise, FS_Plugin_Updater will not fetch updates. - * - * @param bool $store_prev_path - */ - private function clear_module_main_file_cache( $store_prev_path = true ) { - if ( ! isset( $this->_storage->plugin_main_file ) || - empty( $this->_storage->plugin_main_file->path ) - ) { - return; - } - - if ( ! $store_prev_path ) { - /** - * Storing the previous path is not needed when clearing the cache after an SDK version update since - * the main purpose of the cache clearing in that event is to correct a wrong plugin main file path - * which causes data mix-up between plugins (e.g. titles and versions of an add-on and its parent plugin). - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - unset( $this->_storage->plugin_main_file->path ); - } else { - $plugin_main_file = clone $this->_storage->plugin_main_file; - - // Store cached path (2nd layer cache). - $plugin_main_file->prev_path = $plugin_main_file->path; - - // Clear cached path. - unset( $plugin_main_file->path ); - - $this->_storage->plugin_main_file = $plugin_main_file; - } - - /** - * Clear global cached path. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map' ); - unset( $id_slug_type_path_map[ $this->_module_id ]['path'] ); - self::$_accounts->set_option( 'id_slug_type_path_map', $id_slug_type_path_map, true ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - function _hook_action_links_and_register_account_hooks() { - add_action( 'admin_init', array( &$this, '_add_tracking_links' ) ); - - if ( self::is_plugins_page() && $this->is_plugin() ) { - $this->hook_plugin_action_links(); - } - - $this->_register_account_hooks(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - private function _register_account_hooks() { - if ( ! is_admin() ) { - return; - } - - /** - * Always show the deactivation feedback form since we added - * automatic free version deactivation upon premium code activation. - * - * @since 1.2.1.6 - */ - $this->add_ajax_action( - 'submit_uninstall_reason', - array( &$this, '_submit_uninstall_reason_action' ) - ); - - $this->add_ajax_action( - 'cancel_subscription_or_trial', - array( &$this, 'cancel_subscription_or_trial_ajax_action' ) - ); - - if ( ! $this->is_addon() || $this->is_parent_plugin_installed() ) { - if ( ( $this->is_plugin() && self::is_plugins_page() ) || - ( $this->is_theme() && self::is_themes_page() ) - ) { - add_action( 'admin_footer', array( &$this, '_add_deactivation_feedback_dialog_box' ) ); - } - } - } - - /** - * Leverage backtrace to find caller plugin file path. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool $is_init Is initiation sequence. - * - * @return string - */ - private function _find_caller_plugin_file( $is_init = false ) { - // Try to load the cached value of the file path. - if ( isset( $this->_storage->plugin_main_file ) ) { - $plugin_main_file = $this->_storage->plugin_main_file; - if ( isset( $plugin_main_file->path ) ) { - $absolute_path = $this->get_absolute_path( $plugin_main_file->path ); - if ( file_exists( $absolute_path ) ) { - return $absolute_path; - } - } - } - - /** - * @since 1.2.1 - * - * `clear_module_main_file_cache()` is clearing the plugin's cached path on - * deactivation. Therefore, if any plugin/theme was initiating `Freemius` - * with that plugin's slug, it was overriding the empty plugin path with a wrong path. - * - * So, we've added a special mechanism with a 2nd layer of cache that uses `prev_path` - * when the class instantiator isn't the module. - */ - if ( ! $is_init ) { - // Fetch prev path cache. - if ( isset( $this->_storage->plugin_main_file ) && - isset( $this->_storage->plugin_main_file->prev_path ) - ) { - $absolute_path = $this->get_absolute_path( $this->_storage->plugin_main_file->prev_path ); - if ( file_exists( $absolute_path ) ) { - return $absolute_path; - } - } - - wp_die( - $this->get_text_inline( 'Freemius SDK couldn\'t find the plugin\'s main file. Please contact sdk@freemius.com with the current error.', 'failed-finding-main-path' ) . - " Module: {$this->_slug}; SDK: " . WP_FS__SDK_VERSION . ";", - $this->get_text_inline( 'Error', 'error' ), - array( 'back_link' => true ) - ); - } - - /** - * @since 1.2.1 - * - * Only the original instantiator that calls dynamic_init can modify the module's path. - */ - // Find caller module. - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map', array() ); - $this->_storage->plugin_main_file = (object) array( - 'path' => $id_slug_type_path_map[ $this->_module_id ]['path'], - ); - - return $this->get_absolute_path( $id_slug_type_path_map[ $this->_module_id ]['path'] ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @param string $path - * - * @return string - */ - private function get_relative_path( $path ) { - $module_root_dir = $this->get_module_root_dir_path(); - if ( 0 === strpos( $path, $module_root_dir ) ) { - $path = substr( $path, strlen( $module_root_dir ) ); - } - - return $path; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @param string $path - * @param string|bool $module_type - * - * @return string - */ - private function get_absolute_path( $path, $module_type = false ) { - $module_root_dir = $this->get_module_root_dir_path( $module_type ); - if ( 0 !== strpos( $path, $module_root_dir ) ) { - $path = fs_normalize_path( $module_root_dir . $path ); - } - - return $path; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @param string|bool $module_type - * - * @return string - */ - private function get_module_root_dir_path( $module_type = false ) { - $is_plugin = empty( $module_type ) ? - $this->is_plugin() : - ( WP_FS__MODULE_TYPE_PLUGIN === $module_type ); - - return fs_normalize_path( trailingslashit( $is_plugin ? - WP_PLUGIN_DIR : - get_theme_root( get_stylesheet() ) ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param number $module_id - * @param string $slug - * - * @since 1.2.2 - */ - private function store_id_slug_type_path_map( $module_id, $slug ) { - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map', array() ); - - $store_option = false; - - if ( ! isset( $id_slug_type_path_map[ $module_id ] ) ) { - $id_slug_type_path_map[ $module_id ] = array( - 'slug' => $slug - ); - - $store_option = true; - } - - if ( ! isset( $id_slug_type_path_map[ $module_id ]['path'] ) || - /** - * This verification is for cases when suddenly the same module - * is installed but with a different folder name. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - */ - ! file_exists( $this->get_absolute_path( - $id_slug_type_path_map[ $module_id ]['path'], - $id_slug_type_path_map[ $module_id ]['type'] - ) ) - ) { - $caller_main_file_and_type = $this->get_caller_main_file_and_type(); - - $id_slug_type_path_map[ $module_id ]['type'] = $caller_main_file_and_type->module_type; - $id_slug_type_path_map[ $module_id ]['path'] = $caller_main_file_and_type->path; - - $store_option = true; - } - - if ( $store_option ) { - self::$_accounts->set_option( 'id_slug_type_path_map', $id_slug_type_path_map, true ); - } - } - - /** - * Identifies the caller type: plugin or theme. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.3 Find the earliest module in the call stack that calls to the SDK. This fix is for cases when - * add-ons are relying on loading the SDK from the parent module, and also allows themes including the - * SDK an internal file instead of directly from functions.php. - * @since 1.2.1.7 Knows how to handle cases when an add-on includes the parent module logic. - */ - private function get_caller_main_file_and_type() { - self::require_plugin_essentials(); - - $all_plugins = fs_get_plugins( true ); - $all_plugins_paths = array(); - - // Get active plugin's main files real full names (might be symlinks). - foreach ( $all_plugins as $relative_path => $data ) { - if ( false === strpos( fs_normalize_path( $relative_path ), '/' ) ) { - /** - * Ignore plugins that don't have a folder (e.g. Hello Dolly) since they - * can't really include the SDK. - * - * @author Vova Feldman - * @since 1.2.1.7 - */ - continue; - } - - $all_plugins_paths[] = fs_normalize_path( realpath( WP_PLUGIN_DIR . '/' . $relative_path ) ); - } - - $caller_file_candidate = false; - $caller_map = array(); - $module_type = WP_FS__MODULE_TYPE_PLUGIN; - $themes_dir = fs_normalize_path( get_theme_root( get_stylesheet() ) ); - - for ( $i = 1, $bt = debug_backtrace(), $len = count( $bt ); $i < $len; $i ++ ) { - if ( empty( $bt[ $i ]['file'] ) ) { - continue; - } - - if ( $i > 1 && ! empty( $bt[ $i - 1 ]['file'] ) && $bt[ $i ]['file'] === $bt[ $i - 1 ]['file'] ) { - // If file same as the prev file in the stack, skip it. - continue; - } - - if ( ! empty( $bt[ $i ]['function'] ) && in_array( $bt[ $i ]['function'], array( - 'do_action', - 'apply_filter', - // The string split is stupid, but otherwise, theme check - // throws info notices. - 'requir' . 'e_once', - 'requir' . 'e', - 'includ' . 'e_once', - 'includ' . 'e', - 'install_and_activate_plugin', - 'try_activate_plugin', - 'activate_plugin' - ) ) - ) { - // Ignore call stack hooks and files inclusion. - continue; - } - - $caller_file_path = fs_normalize_path( $bt[ $i ]['file'] ); - - if ( 'functions.php' === basename( $caller_file_path ) ) { - /** - * 1. Assumes that theme's starting execution file is functions.php. - * 2. This complex logic fixes symlink issues (e.g. with Vargant). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.5 - */ - - if ( $caller_file_path == fs_normalize_path( realpath( trailingslashit( $themes_dir ) . basename( dirname( $caller_file_path ) ) . '/' . basename( $caller_file_path ) ) ) ) { - $module_type = WP_FS__MODULE_TYPE_THEME; - - /** - * Relative path of the theme, e.g.: - * `my-theme/functions.php` - * - * @author Leo Fajardo (@leorw) - */ - $caller_file_candidate = basename( dirname( $caller_file_path ) ) . - '/' . - basename( $caller_file_path ); - - continue; - } - } - - $caller_file_hash = md5( $caller_file_path ); - - if ( ! isset( $caller_map[ $caller_file_hash ] ) ) { - foreach ( $all_plugins_paths as $plugin_path ) { - if ( false !== strpos( $caller_file_path, fs_normalize_path( dirname( $plugin_path ) . '/' ) ) ) { - $caller_map[ $caller_file_hash ] = fs_normalize_path( $plugin_path ); - break; - } - } - } - - if ( isset( $caller_map[ $caller_file_hash ] ) ) { - $module_type = WP_FS__MODULE_TYPE_PLUGIN; - $caller_file_candidate = plugin_basename( $caller_map[ $caller_file_hash ] ); - } - } - - return (object) array( - 'module_type' => $module_type, - 'path' => $caller_file_candidate - ); - } - - #---------------------------------------------------------------------------------- - #region Deactivation Feedback Form - #---------------------------------------------------------------------------------- - - /** - * Displays a confirmation and feedback dialog box when the user clicks on the "Deactivate" link on the plugins - * page. - * - * @author Vova Feldman (@svovaf) - * @author Leo Fajardo (@leorw) - * @since 1.1.2 - */ - function _add_deactivation_feedback_dialog_box() { - /* Check the type of user: - * 1. Long-term (long-term) - * 2. Non-registered and non-anonymous short-term (non-registered-and-non-anonymous-short-term). - * 3. Short-term (short-term) - */ - $is_long_term_user = true; - - // Check if the site is at least 2 days old. - $time_installed = $this->_storage->install_timestamp; - - // Difference in seconds. - $date_diff = time() - $time_installed; - - // Convert seconds to days. - $date_diff_days = floor( $date_diff / ( 60 * 60 * 24 ) ); - - if ( $date_diff_days < 2 ) { - $is_long_term_user = false; - } - - $is_long_term_user = $this->apply_filters( 'is_long_term_user', $is_long_term_user ); - - if ( $is_long_term_user ) { - $user_type = 'long-term'; - } else { - if ( ! $this->is_registered() && ! $this->is_anonymous() ) { - $user_type = 'non-registered-and-non-anonymous-short-term'; - } else { - $user_type = 'short-term'; - } - } - - $uninstall_reasons = $this->_get_uninstall_reasons( $user_type ); - - // Load the HTML template for the deactivation feedback dialog box. - $vars = array( - 'reasons' => $uninstall_reasons, - 'id' => $this->_module_id - ); - - /** - * @todo Deactivation form core functions should be loaded only once! Otherwise, when there are multiple Freemius powered plugins the same code is loaded multiple times. The only thing that should be loaded differently is the various deactivation reasons object based on the state of the plugin. - */ - fs_require_template( 'forms/deactivation/form.php', $vars ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.1.2 - * - * @param string $user_type - * - * @return array The uninstall reasons for the specified user type. - */ - function _get_uninstall_reasons( $user_type = 'long-term' ) { - $module_type = $this->_module_type; - - $internal_message_template_var = array( - 'id' => $this->_module_id - ); - - $plan = $this->get_plan(); - - if ( $this->is_registered() && is_object( $plan ) && $plan->has_technical_support() ) { - $contact_support_template = fs_get_template( 'forms/deactivation/contact.php', $internal_message_template_var ); - } else { - $contact_support_template = ''; - } - - $reason_found_better_plugin = array( - 'id' => self::REASON_FOUND_A_BETTER_PLUGIN, - 'text' => sprintf( $this->get_text_inline( 'I found a better %s', 'reason-found-a-better-plugin' ), $module_type ), - 'input_type' => 'textfield', - 'input_placeholder' => sprintf( $this->get_text_inline( "What's the %s's name?", 'placeholder-plugin-name' ), $module_type ), - ); - - $reason_temporary_deactivation = array( - 'id' => self::REASON_TEMPORARY_DEACTIVATION, - 'text' => sprintf( - $this->get_text_inline( "It's a temporary %s. I'm just debugging an issue.", 'reason-temporary-x' ), - strtolower( $this->is_plugin() ? - $this->get_text_inline( 'Deactivation', 'deactivation' ) : - $this->get_text_inline( 'Theme Switch', 'theme-switch' ) - ) - ), - 'input_type' => '', - 'input_placeholder' => '' - ); - - $reason_other = array( - 'id' => self::REASON_OTHER, - 'text' => $this->get_text_inline( 'Other', 'reason-other' ), - 'input_type' => 'textfield', - 'input_placeholder' => '' - ); - - $long_term_user_reasons = array( - array( - 'id' => self::REASON_NO_LONGER_NEEDED, - 'text' => sprintf( $this->get_text_inline( 'I no longer need the %s', 'reason-no-longer-needed' ), $module_type ), - 'input_type' => '', - 'input_placeholder' => '' - ), - $reason_found_better_plugin, - array( - 'id' => self::REASON_NEEDED_FOR_A_SHORT_PERIOD, - 'text' => sprintf( $this->get_text_inline( 'I only needed the %s for a short period', 'reason-needed-for-a-short-period' ), $module_type ), - 'input_type' => '', - 'input_placeholder' => '' - ), - array( - 'id' => self::REASON_BROKE_MY_SITE, - 'text' => sprintf( $this->get_text_inline( 'The %s broke my site', 'reason-broke-my-site' ), $module_type ), - 'input_type' => '', - 'input_placeholder' => '', - 'internal_message' => $contact_support_template - ), - array( - 'id' => self::REASON_SUDDENLY_STOPPED_WORKING, - 'text' => sprintf( $this->get_text_inline( 'The %s suddenly stopped working', 'reason-suddenly-stopped-working' ), $module_type ), - 'input_type' => '', - 'input_placeholder' => '', - 'internal_message' => $contact_support_template - ) - ); - - if ( $this->is_paying() ) { - $long_term_user_reasons[] = array( - 'id' => self::REASON_CANT_PAY_ANYMORE, - 'text' => $this->get_text_inline( "I can't pay for it anymore", 'reason-cant-pay-anymore' ), - 'input_type' => 'textfield', - 'input_placeholder' => $this->get_text_inline( 'What price would you feel comfortable paying?', 'placeholder-comfortable-price' ) - ); - } - - $reason_dont_share_info = array( - 'id' => self::REASON_DONT_LIKE_TO_SHARE_MY_INFORMATION, - 'text' => $this->get_text_inline( "I don't like to share my information with you", 'reason-dont-like-to-share-my-information' ), - 'input_type' => '', - 'input_placeholder' => '' - ); - - /** - * If the current user has selected the "don't share data" reason in the deactivation feedback modal, inform the - * user by showing additional message that he doesn't have to share data and can just choose to skip the opt-in - * (the Skip button is included in the message to show). This message will only be shown if anonymous mode is - * enabled and the user's account is currently not in pending activation state (similar to the way the Skip - * button in the opt-in form is shown/hidden). - */ - if ( $this->is_enable_anonymous() && ! $this->is_pending_activation() ) { - $reason_dont_share_info['internal_message'] = fs_get_template( 'forms/deactivation/retry-skip.php', $internal_message_template_var ); - } - - $uninstall_reasons = array( - 'long-term' => $long_term_user_reasons, - 'non-registered-and-non-anonymous-short-term' => array( - array( - 'id' => self::REASON_DIDNT_WORK, - 'text' => sprintf( $this->get_text_inline( "The %s didn't work", 'reason-didnt-work' ), $module_type ), - 'input_type' => '', - 'input_placeholder' => '' - ), - $reason_dont_share_info, - $reason_found_better_plugin - ), - 'short-term' => array( - array( - 'id' => self::REASON_COULDNT_MAKE_IT_WORK, - 'text' => $this->get_text_inline( "I couldn't understand how to make it work", 'reason-couldnt-make-it-work' ), - 'input_type' => '', - 'input_placeholder' => '', - 'internal_message' => $contact_support_template - ), - $reason_found_better_plugin, - array( - 'id' => self::REASON_GREAT_BUT_NEED_SPECIFIC_FEATURE, - 'text' => sprintf( $this->get_text_inline( "The %s is great, but I need specific feature that you don't support", 'reason-great-but-need-specific-feature' ), $module_type ), - 'input_type' => 'textarea', - 'input_placeholder' => $this->get_text_inline( 'What feature?', 'placeholder-feature' ) - ), - array( - 'id' => self::REASON_NOT_WORKING, - 'text' => sprintf( $this->get_text_inline( 'The %s is not working', 'reason-not-working' ), $module_type ), - 'input_type' => 'textarea', - 'input_placeholder' => $this->get_text_inline( "Kindly share what didn't work so we can fix it for future users...", 'placeholder-share-what-didnt-work' ) - ), - array( - 'id' => self::REASON_NOT_WHAT_I_WAS_LOOKING_FOR, - 'text' => $this->get_text_inline( "It's not what I was looking for", 'reason-not-what-i-was-looking-for' ), - 'input_type' => 'textarea', - 'input_placeholder' => $this->get_text_inline( "What you've been looking for?", 'placeholder-what-youve-been-looking-for' ) - ), - array( - 'id' => self::REASON_DIDNT_WORK_AS_EXPECTED, - 'text' => sprintf( $this->get_text_inline( "The %s didn't work as expected", 'reason-didnt-work-as-expected' ), $module_type ), - 'input_type' => 'textarea', - 'input_placeholder' => $this->get_text_inline( 'What did you expect?', 'placeholder-what-did-you-expect' ) - ) - ) - ); - - // Randomize the reasons for the current user type. - shuffle( $uninstall_reasons[ $user_type ] ); - - // Keep the following reasons as the last items in the list. - $uninstall_reasons[ $user_type ][] = $reason_temporary_deactivation; - $uninstall_reasons[ $user_type ][] = $reason_other; - - $uninstall_reasons = $this->apply_filters( 'uninstall_reasons', $uninstall_reasons ); - - return $uninstall_reasons[ $user_type ]; - } - - /** - * Called after the user has submitted his reason for deactivating the plugin. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.2 - */ - function _submit_uninstall_reason_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'submit_uninstall_reason' ); - - $reason_id = fs_request_get( 'reason_id' ); - - // Check if the given reason ID is an unsigned integer. - if ( ! ctype_digit( $reason_id ) ) { - exit; - } - - $reason_info = trim( fs_request_get( 'reason_info', '' ) ); - if ( ! empty( $reason_info ) ) { - $reason_info = substr( $reason_info, 0, 128 ); - } - - $reason = (object) array( - 'id' => $reason_id, - 'info' => $reason_info, - 'is_anonymous' => fs_request_get_bool( 'is_anonymous' ) - ); - - $this->_storage->store( 'uninstall_reason', $reason ); - - /** - * If the module type is "theme", trigger the uninstall event here (on theme deactivation) since themes do - * not support uninstall hook. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( $this->is_theme() ) { - if ( $this->is_premium() && ! $this->has_active_valid_license() ) { - FS_Plugin_Updater::instance( $this )->delete_update_data(); - } - - $this->_uninstall_plugin_event( false ); - $this->remove_sdk_reference(); - } - - // Print '1' for successful operation. - echo 1; - exit; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.4 - */ - function cancel_subscription_or_trial_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'cancel_subscription_or_trial' ); - - $result = $this->cancel_subscription_or_trial( fs_request_get( 'plugin_id', $this->get_id() ), false ); - - if ( $this->is_api_error( $result ) ) { - $this->shoot_ajax_failure( $result->error->message ); - } - - $this->shoot_ajax_success(); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.4 - * - * @param number $plugin_id - * - * @return object - */ - private function cancel_subscription_or_trial( $plugin_id ) { - $fs = null; - if ( $plugin_id == $this->get_id() ) { - $fs = $this; - } else if ( $this->is_addon_activated( $plugin_id ) ) { - $fs = self::get_instance_by_id( $plugin_id ); - } - - $result = null; - - if ( ! is_null( $fs ) ) { - $result = $fs->is_paid_trial() ? - $fs->_cancel_trial() : - $fs->_downgrade_site(); - } - - return $result; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - */ - function _delete_theme_update_data_action() { - FS_Plugin_Updater::instance( $this )->delete_update_data(); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Instance - #---------------------------------------------------------------------------------- - - /** - * Main singleton instance. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * - * @param number $module_id - * @param string|bool $slug - * @param bool $is_init Is initiation sequence. - * - * @return Freemius|false - */ - static function instance( $module_id, $slug = false, $is_init = false ) { - if ( empty( $module_id ) ) { - return false; - } - - /** - * Load the essential static data prior to initiating FS_Plugin_Manager since there's an essential MS network migration logic that needs to be executed prior to the initiation. - */ - self::_load_required_static(); - - if ( ! is_numeric( $module_id ) ) { - if ( ! $is_init && true === $slug ) { - $is_init = true; - } - - $slug = $module_id; - - $module = FS_Plugin_Manager::instance( $slug )->get(); - - if ( is_object( $module ) ) { - $module_id = $module->id; - } - } - - $key = 'm_' . $module_id; - - if ( ! isset( self::$_instances[ $key ] ) ) { - self::$_instances[ $key ] = new Freemius( $module_id, $slug, $is_init ); - } - - return self::$_instances[ $key ]; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number $addon_id - * - * @return bool - */ - private static function has_instance( $addon_id ) { - return isset( self::$_instances[ 'm_' . $addon_id ] ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @param string|number $id_or_slug - * @param string $module_type - * - * @return number|false - */ - private static function get_module_id( $id_or_slug, $module_type = WP_FS__MODULE_TYPE_PLUGIN ) { - if ( is_numeric( $id_or_slug ) ) { - return $id_or_slug; - } - - foreach ( self::$_instances as $instance ) { - // Also check the module type since there can be a plugin and a theme with the same slug. - if ( ( $module_type === $instance->get_module_type() ) && ( $id_or_slug === $instance->get_slug() ) ) { - return $instance->get_id(); - } - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number $id - * - * @return false|Freemius - */ - static function get_instance_by_id( $id ) { - return isset ( self::$_instances[ 'm_' . $id ] ) ? - self::$_instances[ 'm_' . $id ] : - false; - } - - /** - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param string $plugin_file - * @param string $module_type - * - * @return false|Freemius - */ - static function get_instance_by_file( $plugin_file, $module_type = WP_FS__MODULE_TYPE_PLUGIN ) { - $slug = self::find_slug_by_basename( $plugin_file ); - - return ( false !== $slug ) ? - self::instance( self::get_module_id( $slug, $module_type ) ) : - false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return false|Freemius - */ - function get_parent_instance() { - return self::get_instance_by_id( $this->_plugin->parent_plugin_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string|number $id_or_slug - * - * @return false|Freemius - */ - function get_addon_instance( $id_or_slug ) { - $addon_id = self::get_module_id( $id_or_slug ); - - return self::instance( $addon_id ); - } - - #endregion ------------------------------------------------------------------ - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function is_parent_plugin_installed() { - $is_active = self::has_instance( $this->_plugin->parent_plugin_id ); - - if ( $is_active ) { - return true; - } - - /** - * Parent module might be a theme. If that's the case, the add-on's FS - * instance will be loaded prior to the theme's FS instance, therefore, - * we need to check if it's active with a "look ahead". - * - * @author Vova Feldman - * @since 1.2.2.3 - */ - global $fs_active_plugins; - if ( is_object( $fs_active_plugins ) && is_array( $fs_active_plugins->plugins ) ) { - $active_theme = wp_get_theme(); - - foreach ( $fs_active_plugins->plugins as $sdk => $module ) { - if ( WP_FS__MODULE_TYPE_THEME === $module->type ) { - if ( $module->plugin_path == $active_theme->get_stylesheet() ) { - // Parent module is a theme and it's currently active. - return true; - } - } - } - } - - return false; - } - - /** - * Check if add-on parent plugin in activation mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - function is_parent_in_activation() { - $parent_fs = $this->get_parent_instance(); - if ( ! is_object( $parent_fs ) ) { - return false; - } - - return ( $parent_fs->is_activation_mode() ); - } - - /** - * Is plugin in activation mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param bool $and_on - * - * @return bool - */ - function is_activation_mode( $and_on = true ) { - return fs_is_network_admin() ? - $this->is_network_activation_mode( $and_on ) : - $this->is_site_activation_mode( $and_on ); - } - - /** - * Is plugin in activation mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param bool $and_on - * - * @return bool - */ - function is_site_activation_mode( $and_on = true ) { - return ( - ( $this->is_on() || ! $and_on ) && - ( $this->is_premium() && true === $this->_storage->require_license_activation ) || - ( - ( ! $this->is_registered() || - ( $this->is_only_premium() && ! $this->has_features_enabled_license() ) ) && - ( ! $this->is_enable_anonymous() || - ( ! $this->is_anonymous() && ! $this->is_pending_activation() ) ) - ) - ); - } - - /** - * Checks if the SDK in network activation mode. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param bool $and_on - * - * @return bool - */ - private function is_network_activation_mode( $and_on = true ) { - if ( ! $this->_is_network_active ) { - // Not network activated. - return false; - } - - if ( $this->is_network_upgrade_mode() ) { - // Special flag to enforce network activation mode to decide what to do with the sites that are not yet opted-in nor skipped. - return true; - } - - if ( ! $this->is_site_activation_mode( $and_on ) ) { - // Whether the context is single site or the network, if the plugin is no longer in activation mode then it is not in network activation mode as well. - return false; - } - - if ( $this->is_network_delegated_connection() ) { - // Super-admin delegated the connection to the site admins -> not activation mode. - return false; - } - - if ( $this->is_network_anonymous() && true !== $this->_storage->require_license_activation ) { - // Super-admin skipped the connection network wide -> not activation mode. - return false; - } - - if ( $this->is_network_registered() ) { - // Super-admin connected at least one site -> not activation mode. - return false; - } - - return true; - } - - /** - * Check if current page is the opt-in/pending-activation page. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @return bool - */ - function is_activation_page() { - if ( $this->_menu->is_main_settings_page() ) { - return true; - } - - if ( ! $this->is_activation_mode() ) { - return false; - } - - // Check if current page is matching the activation page. - return $this->is_matching_url( $this->get_activation_url() ); - } - - /** - * Check if URL path's are matching and that all querystring - * arguments of the $sub_url exist in the $url with the same values. - * - * WARNING: - * 1. This method doesn't check if the sub/domain are matching. - * 2. Ignore case sensitivity. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $sub_url - * @param string $url If argument is not set, check if the sub_url matching the current's page URL. - * - * @return bool - */ - private function is_matching_url( $sub_url, $url = '' ) { - if ( empty( $url ) ) { - $url = $_SERVER['REQUEST_URI']; - } - - $url = strtolower( $url ); - $sub_url = strtolower( $sub_url ); - - if ( parse_url( $sub_url, PHP_URL_PATH ) !== parse_url( $url, PHP_URL_PATH ) ) { - // Different path - DO NOT OVERRIDE PAGE. - return false; - } - - $url_params = array(); - parse_str( parse_url( $url, PHP_URL_QUERY ), $url_params ); - - $sub_url_params = array(); - parse_str( parse_url( $sub_url, PHP_URL_QUERY ), $sub_url_params ); - - foreach ( $sub_url_params as $key => $val ) { - if ( ! isset( $url_params[ $key ] ) || $val != $url_params[ $key ] ) { - // Not matching query string - DO NOT OVERRIDE PAGE. - return false; - } - } - - return true; - } - - /** - * Get the basenames of all active plugins for specific blog. Including network activated plugins. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return string[] - */ - private static function get_active_plugins_basenames( $blog_id = 0 ) { - if ( is_multisite() && $blog_id > 0 ) { - $active_basenames = get_blog_option( $blog_id, 'active_plugins' ); - } else { - $active_basenames = get_option( 'active_plugins' ); - } - - if ( is_multisite() ) { - $network_active_basenames = get_site_option( 'active_sitewide_plugins' ); - - if ( is_array( $network_active_basenames ) && ! empty( $network_active_basenames ) ) { - $active_basenames = array_merge( $active_basenames, $network_active_basenames ); - } - } - - return $active_basenames; - } - - /** - * Get collection of all active plugins. Including network activated plugins. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param int $blog_id Since 2.0.0 - * - * @return array[string]array - */ - private static function get_active_plugins( $blog_id = 0 ) { - self::require_plugin_essentials(); - - $active_plugin = array(); - $all_plugins = fs_get_plugins(); - $active_plugins_basenames = self::get_active_plugins_basenames( $blog_id ); - - foreach ( $active_plugins_basenames as $plugin_basename ) { - $active_plugin[ $plugin_basename ] = $all_plugins[ $plugin_basename ]; - } - - return $active_plugin; - } - - /** - * Get collection of all site active plugins for a specified blog. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return array[string]array - */ - private static function get_site_active_plugins( $blog_id = 0 ) { - $active_basenames = ( is_multisite() && $blog_id > 0 ) ? - get_blog_option( $blog_id, 'active_plugins' ) : - get_option( 'active_plugins' ); - - $active = array(); - - if ( ! is_array( $active_basenames ) ) { - return $active; - } - - foreach ( $active_basenames as $basename ) { - $active[ $basename ] = array( - 'is_active' => true, - 'Version' => '1.0', // Dummy version. - 'slug' => self::get_plugin_slug( $basename ), - ); - } - - return $active; - } - - /** - * Get collection of all plugins with their activation status for a specified blog. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @param int $blog_id Since 2.0.0 - * - * @return array Key is the plugin file path and the value is an array of the plugin data. - */ - private static function get_all_plugins( $blog_id = 0 ) { - self::require_plugin_essentials(); - - $all_plugins = fs_get_plugins(); - - $active_plugins_basenames = self::get_active_plugins_basenames( $blog_id ); - - foreach ( $all_plugins as $basename => &$data ) { - // By default set to inactive (next foreach update the active plugins). - $data['is_active'] = false; - // Enrich with plugin slug. - $data['slug'] = self::get_plugin_slug( $basename ); - } - - // Flag active plugins. - foreach ( $active_plugins_basenames as $basename ) { - if ( isset( $all_plugins[ $basename ] ) ) { - $all_plugins[ $basename ]['is_active'] = true; - } - } - - return $all_plugins; - } - - /** - * Get collection of all plugins and if they are network level activated. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return array Key is the plugin basename and the value is an array of the plugin data. - */ - private static function get_network_plugins() { - self::require_plugin_essentials(); - - $all_plugins = fs_get_plugins(); - - $network_active_basenames = is_multisite() ? - get_site_option( 'active_sitewide_plugins' ) : - array(); - - foreach ( $all_plugins as $basename => &$data ) { - // By default set to inactive (next foreach update the active plugins). - $data['is_active'] = false; - // Enrich with plugin slug. - $data['slug'] = self::get_plugin_slug( $basename ); - } - - // Flag active plugins. - foreach ( $network_active_basenames as $basename ) { - if ( isset( $all_plugins[ $basename ] ) ) { - $all_plugins[ $basename ]['is_active'] = true; - } - } - - return $all_plugins; - } - - /** - * Cached result of get_site_transient( 'update_plugins' ) - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @var object - */ - private static $_plugins_info; - - /** - * Helper function to get specified plugin's slug. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @param $basename - * - * @return string - */ - private static function get_plugin_slug( $basename ) { - if ( ! isset( self::$_plugins_info ) ) { - self::$_plugins_info = get_site_transient( 'update_plugins' ); - } - - $slug = ''; - - if ( is_object( self::$_plugins_info ) ) { - if ( isset( self::$_plugins_info->no_update ) && - isset( self::$_plugins_info->no_update[ $basename ] ) && - ! empty( self::$_plugins_info->no_update[ $basename ]->slug ) - ) { - $slug = self::$_plugins_info->no_update[ $basename ]->slug; - } else if ( isset( self::$_plugins_info->response ) && - isset( self::$_plugins_info->response[ $basename ] ) && - ! empty( self::$_plugins_info->response[ $basename ]->slug ) - ) { - $slug = self::$_plugins_info->response[ $basename ]->slug; - } - } - - if ( empty( $slug ) ) { - // Try to find slug from FS data. - $slug = self::find_slug_by_basename( $basename ); - } - - if ( empty( $slug ) ) { - // Fallback to plugin's folder name. - $slug = dirname( $basename ); - } - - return $slug; - } - - private static $_statics_loaded = false; - - /** - * Load static resources. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - */ - private static function _load_required_static() { - if ( self::$_statics_loaded ) { - return; - } - - self::$_static_logger = FS_Logger::get_logger( WP_FS__SLUG, WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - self::$_static_logger->entrance(); - - self::$_accounts = FS_Options::instance( WP_FS__ACCOUNTS_OPTION_NAME, true ); - - if ( is_multisite() ) { - $has_skipped_migration = ( - // 'id_slug_type_path_map' - was never stored on older versions, therefore, not exists on the site level. - null === self::$_accounts->get_option( 'id_slug_type_path_map', null, false ) && - // 'file_slug_map' stored on the site level, so it was running an SDK version before it was integrated with MS-network. - null !== self::$_accounts->get_option( 'file_slug_map', null, false ) - ); - - /** - * If the file_slug_map exists on the site level but doesn't exist on the - * network level storage, it means that we need to process the storage with migration. - * - * The code in this `if` scope will only be executed once and only for the first site that will execute it because once we migrate the storage data, file_slug_map will be already set in the network level storage. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - if ( - ( $has_skipped_migration && true !== self::$_accounts->get_option( 'ms_migration_complete', false, true ) ) || - ( null === self::$_accounts->get_option( 'file_slug_map', null, true ) && - null !== self::$_accounts->get_option( 'file_slug_map', null, false ) ) - ) { - self::migrate_options_to_network(); - } - } - - self::$_global_admin_notices = FS_Admin_Notices::instance( 'global' ); - - if ( ! WP_FS__DEMO_MODE ) { - add_action( ( fs_is_network_admin() ? 'network_' : '' ) . 'admin_menu', array( - 'Freemius', - '_add_debug_section' - ) ); - } - - add_action( "wp_ajax_fs_toggle_debug_mode", array( 'Freemius', '_toggle_debug_mode' ) ); - - self::add_ajax_action_static( 'get_debug_log', array( 'Freemius', '_get_debug_log' ) ); - - self::add_ajax_action_static( 'get_db_option', array( 'Freemius', '_get_db_option' ) ); - - self::add_ajax_action_static( 'set_db_option', array( 'Freemius', '_set_db_option' ) ); - - if ( 0 == did_action( 'plugins_loaded' ) ) { - add_action( 'plugins_loaded', array( 'Freemius', '_load_textdomain' ), 1 ); - } - - add_action( 'admin_footer', array( 'Freemius', '_enrich_ajax_url' ) ); - add_action( 'admin_footer', array( 'Freemius', '_open_support_forum_in_new_page' ) ); - - - self::$_statics_loaded = true; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @since 2.1.3 - */ - private static function migrate_options_to_network() { - self::migrate_accounts_to_network(); - - // Migrate API options from site level to network level. - $api_network_options = FS_Option_Manager::get_manager( WP_FS__OPTIONS_OPTION_NAME, true, true ); - $api_network_options->migrate_to_network(); - - // Migrate API cache to network level storage. - FS_Cache_Manager::get_manager( WP_FS__API_CACHE_OPTION_NAME )->migrate_to_network(); - - self::$_accounts->set_option( 'ms_migration_complete', true, true ); - } - - #---------------------------------------------------------------------------------- - #region Localization - #---------------------------------------------------------------------------------- - - /** - * Load framework's text domain. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - */ - static function _load_textdomain() { - if ( ! is_admin() ) { - return; - } - - global $fs_active_plugins; - - // Works both for plugins and themes. - load_plugin_textdomain( - 'freemius', - false, - $fs_active_plugins->newest->sdk_path . '/languages/' - ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Debugging - #---------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - */ - static function _add_debug_section() { - if ( ! is_super_admin() ) { - // Add debug page only for super-admins. - return; - } - - self::$_static_logger->entrance(); - - $title = sprintf( '%s [v.%s]', fs_text_inline( 'Freemius Debug' ), WP_FS__SDK_VERSION ); - - if ( WP_FS__DEV_MODE ) { - // Add top-level debug menu item. - $hook = FS_Admin_Menu_Manager::add_page( - $title, - $title, - 'manage_options', - 'freemius', - array( 'Freemius', '_debug_page_render' ) - ); - } else { - // Add hidden debug page. - $hook = FS_Admin_Menu_Manager::add_subpage( - null, - $title, - $title, - 'manage_options', - 'freemius', - array( 'Freemius', '_debug_page_render' ) - ); - } - - if ( ! empty( $hook ) ) { - add_action( "load-$hook", array( 'Freemius', '_debug_page_actions' ) ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - static function _toggle_debug_mode() { - if ( ! is_super_admin() ) { - return; - } - - $is_on = fs_request_get( 'is_on', false, 'post' ); - - if ( fs_request_is_post() && in_array( $is_on, array( 0, 1 ) ) ) { - update_option( 'fs_debug_mode', $is_on ); - - // Turn on/off storage logging. - FS_Logger::_set_storage_logging( ( 1 == $is_on ) ); - } - - exit; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - */ - static function _get_debug_log() { - $logs = FS_Logger::load_db_logs( - fs_request_get( 'filters', false, 'post' ), - ! empty( $_POST['limit'] ) && is_numeric( $_POST['limit'] ) ? $_POST['limit'] : 200, - ! empty( $_POST['offset'] ) && is_numeric( $_POST['offset'] ) ? $_POST['offset'] : 0 - ); - - self::shoot_ajax_success( $logs ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - static function _get_db_option() { - check_admin_referer( 'fs_get_db_option' ); - - $option_name = fs_request_get( 'option_name' ); - - if ( ! is_super_admin() || - ! fs_starts_with( $option_name, 'fs_' ) - ) { - self::shoot_ajax_failure(); - } - - $value = get_option( $option_name ); - - $result = array( - 'name' => $option_name, - ); - - if ( false !== $value ) { - if ( ! is_string( $value ) ) { - $value = json_encode( $value ); - } - - $result['value'] = $value; - } - - self::shoot_ajax_success( $result ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - static function _set_db_option() { - check_admin_referer( 'fs_set_db_option' ); - - $option_name = fs_request_get( 'option_name' ); - - if ( ! is_super_admin() || - ! fs_starts_with( $option_name, 'fs_' ) - ) { - self::shoot_ajax_failure(); - } - - $option_value = fs_request_get( 'option_value' ); - - if ( ! empty( $option_value ) ) { - update_option( $option_name, $option_value ); - } - - self::shoot_ajax_success(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - */ - static function _debug_page_actions() { - self::_clean_admin_content_section(); - - if ( fs_request_is_action( 'restart_freemius' ) ) { - check_admin_referer( 'restart_freemius' ); - - if ( ! is_multisite() ) { - // Clear accounts data. - self::$_accounts->clear( null, true ); - } else { - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - self::$_accounts->clear( $blog_id, true ); - } - - // Clear network level storage. - self::$_accounts->clear( true, true ); - } - - // Clear SDK reference cache. - delete_option( 'fs_active_plugins' ); - } else if ( fs_request_is_action( 'clear_updates_data' ) ) { - check_admin_referer( 'clear_updates_data' ); - - if ( ! is_multisite() ) { - set_site_transient( 'update_plugins', null ); - set_site_transient( 'update_themes', null ); - } else { - $current_blog_id = get_current_blog_id(); - - $sites = self::get_sites(); - foreach ( $sites as $site ) { - switch_to_blog( self::get_site_blog_id( $site ) ); - - set_site_transient( 'update_plugins', null ); - set_site_transient( 'update_themes', null ); - } - - switch_to_blog( $current_blog_id ); - } - } else if ( fs_request_is_action( 'simulate_trial' ) ) { - check_admin_referer( 'simulate_trial' ); - - $fs = freemius( fs_request_get( 'module_id' ) ); - - // Update SDK install to at least 24 hours before. - $fs->_storage->install_timestamp = ( time() - WP_FS__TIME_24_HOURS_IN_SEC ); - // Unset the trial shown timestamp. - unset( $fs->_storage->trial_promotion_shown ); - } else if ( fs_request_is_action( 'simulate_network_upgrade' ) ) { - check_admin_referer( 'simulate_network_upgrade' ); - - $fs = freemius( fs_request_get( 'module_id' ) ); - - self::set_network_upgrade_mode( $fs->_storage ); - } else if ( fs_request_is_action( 'delete_install' ) ) { - check_admin_referer( 'delete_install' ); - - self::_delete_site_by_slug( - fs_request_get( 'slug' ), - fs_request_get( 'module_type' ), - true, - fs_request_get( 'blog_id', null ) - ); - } else if ( fs_request_is_action( 'delete_user' ) ) { - check_admin_referer( 'delete_user' ); - - self::delete_user( fs_request_get( 'user_id' ) ); - } else if ( fs_request_is_action( 'download_logs' ) ) { - check_admin_referer( 'download_logs' ); - - $download_url = FS_Logger::download_db_logs( - fs_request_get( 'filters', false, 'post' ) - ); - - if ( false === $download_url ) { - wp_die( 'Oops... there was an error while generating the logs download file. Please try again and if it doesn\'t work contact support@freemius.com.' ); - } - - fs_redirect( $download_url ); - } else if ( fs_request_is_action( 'migrate_options_to_network' ) ) { - check_admin_referer( 'migrate_options_to_network' ); - - self::migrate_options_to_network(); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - */ - static function _debug_page_render() { - self::$_static_logger->entrance(); - - if ( ! is_multisite() ) { - $all_plugins_installs = self::get_all_sites( WP_FS__MODULE_TYPE_PLUGIN ); - $all_themes_installs = self::get_all_sites( WP_FS__MODULE_TYPE_THEME ); - } else { - $sites = self::get_sites(); - - $all_plugins_installs = array(); - $all_themes_installs = array(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - $plugins_installs = self::get_all_sites( WP_FS__MODULE_TYPE_PLUGIN, $blog_id ); - - foreach ( $plugins_installs as $slug => $install ) { - if ( ! isset( $all_plugins_installs[ $slug ] ) ) { - $all_plugins_installs[ $slug ] = array(); - } - - $install->blog_id = $blog_id; - - $all_plugins_installs[ $slug ][] = $install; - } - - $themes_installs = self::get_all_sites( WP_FS__MODULE_TYPE_THEME, $blog_id ); - - foreach ( $themes_installs as $slug => $install ) { - if ( ! isset( $all_themes_installs[ $slug ] ) ) { - $all_themes_installs[ $slug ] = array(); - } - - $install->blog_id = $blog_id; - - $all_themes_installs[ $slug ][] = $install; - } - } - } - - $licenses_by_module_type = self::get_all_licenses_by_module_type(); - - $vars = array( - 'plugin_sites' => $all_plugins_installs, - 'theme_sites' => $all_themes_installs, - 'users' => self::get_all_users(), - 'addons' => self::get_all_addons(), - 'account_addons' => self::get_all_account_addons(), - 'plugin_licenses' => $licenses_by_module_type[ WP_FS__MODULE_TYPE_PLUGIN ], - 'theme_licenses' => $licenses_by_module_type[ WP_FS__MODULE_TYPE_THEME ] - ); - - fs_enqueue_local_style( 'fs_debug', '/admin/debug.css' ); - fs_require_once_template( 'debug.php', $vars ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Connectivity Issues - #---------------------------------------------------------------------------------- - - /** - * Check if Freemius should be turned on for the current plugin install. - * - * Note: - * $this->_is_on is updated in has_api_connectivity() - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_on() { - self::$_static_logger->entrance(); - - if ( isset( $this->_is_on ) ) { - return $this->_is_on; - } - - // If already installed or pending then sure it's on :) - if ( $this->is_registered() || $this->is_pending_activation() ) { - $this->_is_on = true; - - return true; - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param bool $flush_if_no_connectivity - * - * @return bool - */ - private function should_run_connectivity_test( $flush_if_no_connectivity = false ) { - if ( ! isset( $this->_storage->connectivity_test ) ) { - // Connectivity test was never executed, or cache was cleared. - return true; - } - - if ( WP_FS__PING_API_ON_IP_OR_HOST_CHANGES ) { - if ( WP_FS__IS_HTTP_REQUEST ) { - if ( $_SERVER['HTTP_HOST'] != $this->_storage->connectivity_test['host'] ) { - // Domain changed. - return true; - } - - if ( WP_FS__REMOTE_ADDR != $this->_storage->connectivity_test['server_ip'] ) { - // Server IP changed. - return true; - } - } - } - - if ( $this->_storage->connectivity_test['is_connected'] && - $this->_storage->connectivity_test['is_active'] - ) { - // API connected and Freemius is active - no need to run connectivity check. - return false; - } - - if ( $flush_if_no_connectivity ) { - /** - * If explicitly asked to flush when no connectivity - do it only - * if at least 10 sec passed from the last API connectivity test. - */ - return ( isset( $this->_storage->connectivity_test['timestamp'] ) && - ( WP_FS__SCRIPT_START_TIME - $this->_storage->connectivity_test['timestamp'] ) > 10 ); - } - - /** - * @since 1.1.7 Don't check for connectivity on plugin downgrade. - */ - $version = $this->get_plugin_version(); - if ( version_compare( $version, $this->_storage->connectivity_test['version'], '>' ) ) { - // If it's a plugin version upgrade and Freemius is off or no connectivity, run connectivity test. - return true; - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param int|null $blog_id Since 2.0.0. - * @param bool $is_gdpr_test Since 2.0.2. Perform only the GDPR test. - * - * @return object|false - */ - private function ping( $blog_id = null, $is_gdpr_test = false ) { - if ( WP_FS__SIMULATE_NO_API_CONNECTIVITY ) { - return false; - } - - $version = $this->get_plugin_version(); - - $is_update = $this->apply_filters( 'is_plugin_update', $this->is_plugin_update() ); - - return $this->get_api_plugin_scope()->ping( - $this->get_anonymous_id( $blog_id ), - array( - 'is_update' => json_encode( $is_update ), - 'version' => $version, - 'sdk' => $this->version, - 'is_admin' => json_encode( is_admin() ), - 'is_ajax' => json_encode( self::is_ajax() ), - 'is_cron' => json_encode( self::is_cron() ), - 'is_gdpr_test' => $is_gdpr_test, - 'is_http' => json_encode( WP_FS__IS_HTTP_REQUEST ), - ) - ); - } - - /** - * Check if there's any connectivity issue to Freemius API. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool $flush_if_no_connectivity - * - * @return bool - */ - function has_api_connectivity( $flush_if_no_connectivity = false ) { - $this->_logger->entrance(); - - if ( isset( $this->_has_api_connection ) && ( $this->_has_api_connection || ! $flush_if_no_connectivity ) ) { - return $this->_has_api_connection; - } - - if ( WP_FS__SIMULATE_NO_API_CONNECTIVITY && - isset( $this->_storage->connectivity_test ) && - true === $this->_storage->connectivity_test['is_connected'] - ) { - unset( $this->_storage->connectivity_test ); - } - - if ( ! $this->should_run_connectivity_test( $flush_if_no_connectivity ) ) { - $this->_has_api_connection = $this->_storage->connectivity_test['is_connected']; - /** - * @since 1.1.6 During dev mode, if there's connectivity - turn Freemius on regardless the configuration. - * - * @since 1.2.1.5 If the user running the premium version then ignore the 'is_active' flag and turn Freemius on to enable license key activation. - */ - $this->_is_on = $this->_storage->connectivity_test['is_active'] || - $this->is_premium() || - ( WP_FS__DEV_MODE && $this->_has_api_connection && ! WP_FS__SIMULATE_FREEMIUS_OFF ); - - return $this->_has_api_connection; - } - - $pong = $this->ping(); - $is_connected = $this->get_api_plugin_scope()->is_valid_ping( $pong ); - - if ( ! $is_connected ) { - // API failure. - $this->_add_connectivity_issue_message( $pong ); - } - - if ( $is_connected ) { - FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required ); - } - - $this->store_connectivity_info( $pong, $is_connected ); - - return $this->_has_api_connection; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param object $pong - * @param bool $is_connected - */ - private function store_connectivity_info( $pong, $is_connected ) { - $this->_logger->entrance(); - - $version = $this->get_plugin_version(); - - if ( ! $is_connected || WP_FS__SIMULATE_FREEMIUS_OFF ) { - $is_active = false; - } else { - $is_active = ( isset( $pong->is_active ) && true == $pong->is_active ); - } - - $is_active = $this->apply_filters( - 'is_on', - $is_active, - $this->is_plugin_update(), - $version - ); - - $this->_storage->connectivity_test = array( - 'is_connected' => $is_connected, - 'host' => $_SERVER['HTTP_HOST'], - 'server_ip' => WP_FS__REMOTE_ADDR, - 'is_active' => $is_active, - 'timestamp' => WP_FS__SCRIPT_START_TIME, - // Last version with connectivity attempt. - 'version' => $version, - ); - - $this->_has_api_connection = $is_connected; - $this->_is_on = $is_active || ( WP_FS__DEV_MODE && $is_connected && ! WP_FS__SIMULATE_FREEMIUS_OFF ); - } - - /** - * Force turning Freemius on. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8.1 - * - * @return bool TRUE if successfully turned on. - */ - private function turn_on() { - $this->_logger->entrance(); - - if ( $this->is_on() || ! isset( $this->_storage->connectivity_test['is_active'] ) ) { - return false; - } - - $updated_connectivity = $this->_storage->connectivity_test; - $updated_connectivity['is_active'] = true; - $updated_connectivity['timestamp'] = WP_FS__SCRIPT_START_TIME; - $this->_storage->connectivity_test = $updated_connectivity; - - $this->_is_on = true; - - return true; - } - - /** - * Anonymous and unique site identifier (Hash). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.0 - * - * @param null|int $blog_id Since 2.0.0 - * - * @return string - */ - function get_anonymous_id( $blog_id = null ) { - $unique_id = self::$_accounts->get_option( 'unique_id', null, $blog_id ); - - if ( empty( $unique_id ) || ! is_string( $unique_id ) ) { - $key = fs_strip_url_protocol( get_site_url( $blog_id ) ); - - $secure_auth = SECURE_AUTH_KEY; - if ( empty( $secure_auth ) || false !== strpos( $secure_auth, ' ' ) ) { - // Protect against default auth key. - $secure_auth = md5( microtime() ); - } - - /** - * Base the unique identifier on the WP secure authentication key. Which - * turns the key into a secret anonymous identifier. This will help us - * to avoid duplicate installs generation on the backend upon opt-in. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - */ - $unique_id = md5( $key . $secure_auth ); - - self::$_accounts->set_option( 'unique_id', $unique_id, true, $blog_id ); - } - - $this->_logger->departure( $unique_id ); - - return $unique_id; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @return \WP_User - */ - static function _get_current_wp_user() { - self::require_pluggable_essentials(); - self::wp_cookie_constants(); - - return wp_get_current_user(); - } - - /** - * Define cookie constants which are required by Freemius::_get_current_wp_user() since - * it uses wp_get_current_user() which needs the cookie constants set. When a plugin - * is network activated the cookie constants are only configured after the network - * plugins activation, therefore, if we don't define those constants WP will throw - * PHP warnings/notices. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.1 - */ - private static function wp_cookie_constants() { - if ( defined( 'LOGGED_IN_COOKIE' ) && - ( defined( 'AUTH_COOKIE' ) || defined( 'SECURE_AUTH_COOKIE' ) ) - ) { - return; - } - - /** - * Used to guarantee unique hash cookies - * - * @since 1.5.0 - */ - if ( ! defined( 'COOKIEHASH' ) ) { - $siteurl = get_site_option( 'siteurl' ); - if ( $siteurl ) { - define( 'COOKIEHASH', md5( $siteurl ) ); - } else { - define( 'COOKIEHASH', '' ); - } - } - - if ( ! defined( 'LOGGED_IN_COOKIE' ) ) { - define( 'LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH ); - } - - /** - * @since 2.5.0 - */ - if ( ! defined( 'AUTH_COOKIE' ) ) { - define( 'AUTH_COOKIE', 'wordpress_' . COOKIEHASH ); - } - - /** - * @since 2.6.0 - */ - if ( ! defined( 'SECURE_AUTH_COOKIE' ) ) { - define( 'SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return int - */ - static function get_current_wp_user_id() { - $wp_user = self::_get_current_wp_user(); - - return $wp_user->ID; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $email - * - * @return bool - */ - static function is_valid_email( $email ) { - if ( false === filter_var( $email, FILTER_VALIDATE_EMAIL ) ) { - return false; - } - - $parts = explode( '@', $email ); - - if ( 2 !== count( $parts ) || empty( $parts[1] ) ) { - return false; - } - - $blacklist = array( - 'admin.', - 'webmaster.', - 'localhost.', - 'dev.', - 'development.', - 'test.', - 'stage.', - 'staging.', - ); - - // Make sure domain is not one of the blacklisted. - foreach ( $blacklist as $invalid ) { - if ( 0 === strpos( $parts[1], $invalid ) ) { - return false; - } - } - - // Get the UTF encoded domain name. - $domain = idn_to_ascii( $parts[1] ) . '.'; - - return ( checkdnsrr( $domain, 'MX' ) || checkdnsrr( $domain, 'A' ) ); - } - - /** - * Generate API connectivity issue message. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param mixed $api_result - * @param bool $is_first_failure - */ - function _add_connectivity_issue_message( $api_result, $is_first_failure = true ) { - if ( ! $this->is_premium() && $this->_enable_anonymous ) { - // Don't add message if it's the free version and can run anonymously. - return; - } - - if ( ! function_exists( 'wp_nonce_url' ) ) { - require_once ABSPATH . 'wp-includes/functions.php'; - } - - $current_user = self::_get_current_wp_user(); -// $admin_email = get_option( 'admin_email' ); - $admin_email = $current_user->user_email; - - // Aliases. - $deactivate_plugin_title = $this->esc_html_inline( 'That\'s exhausting, please deactivate', 'deactivate-plugin-title' ); - $deactivate_plugin_desc = $this->esc_html_inline( 'We feel your frustration and sincerely apologize for the inconvenience. Hope to see you again in the future.', 'deactivate-plugin-desc' ); - $install_previous_title = $this->esc_html_inline( 'Let\'s try your previous version', 'install-previous-title' ); - $install_previous_desc = $this->esc_html_inline( 'Uninstall this version and install the previous one.', 'install-previous-desc' ); - $fix_issue_title = $this->esc_html_inline( 'Yes - I\'m giving you a chance to fix it', 'fix-issue-title' ); - $fix_issue_desc = $this->esc_html_inline( 'We will do our best to whitelist your server and resolve this issue ASAP. You will get a follow-up email to %s once we have an update.', 'fix-issue-desc' ); - /* translators: %s: product title (e.g. "Awesome Plugin" requires an access to...) */ - $x_requires_access_to_api = $this->esc_html_inline( '%s requires an access to our API.', 'x-requires-access-to-api' ); - $sysadmin_title = $this->esc_html_inline( 'I\'m a system administrator', 'sysadmin-title' ); - $happy_to_resolve_issue_asap = $this->esc_html_inline( 'We are sure it\'s an issue on our side and more than happy to resolve it for you ASAP if you give us a chance.', 'happy-to-resolve-issue-asap' ); - - $message = false; - if ( is_object( $api_result ) && - isset( $api_result->error ) && - isset( $api_result->error->code ) - ) { - switch ( $api_result->error->code ) { - case 'curl_missing': - $missing_methods = ''; - if ( is_array( $api_result->missing_methods ) && - ! empty( $api_result->missing_methods ) - ) { - foreach ( $api_result->missing_methods as $m ) { - if ( 'curl_version' === $m ) { - continue; - } - - if ( ! empty( $missing_methods ) ) { - $missing_methods .= ', '; - } - - $missing_methods .= sprintf( '%s', $m ); - } - - if ( ! empty( $missing_methods ) ) { - $missing_methods = sprintf( - '

%s %s', - $this->esc_html_inline( 'Disabled method(s):', 'curl-disabled-methods' ), - $missing_methods - ); - } - } - - $message = sprintf( - $x_requires_access_to_api . ' ' . - $this->esc_html_inline( 'We use PHP cURL library for the API calls, which is a very common library and usually installed and activated out of the box. Unfortunately, cURL is not activated (or disabled) on your server.', 'curl-missing-message' ) . ' ' . - $missing_methods . - ' %s', - '' . $this->get_plugin_name() . '', - sprintf( - '

  1. %s
  2. %s
  3. %s
', - sprintf( - '%s%s', - $this->get_text_inline( 'I don\'t know what is cURL or how to install it, help me!', 'curl-missing-no-clue-title' ), - ' - ' . sprintf( - $this->get_text_inline( 'We\'ll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update.', 'curl-missing-no-clue-desc' ), - '' . $admin_email . '' - ) - ), - sprintf( - '%s - %s', - $sysadmin_title, - esc_html( sprintf( $this->get_text_inline( 'Great, please install cURL and enable it in your php.ini file. In addition, search for the \'disable_functions\' directive in your php.ini file and remove any disabled methods starting with \'curl_\'. To make sure it was successfully activated, use \'phpinfo()\'. Once activated, deactivate the %s and reactivate it back again.', 'curl-missing-sysadmin-desc' ), $this->get_module_label( true ) ) ) - ), - sprintf( - '%s - %s', - wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this->_plugin_basename . '&plugin_status=all&paged=1&s=', 'deactivate-plugin_' . $this->_plugin_basename ), - $deactivate_plugin_title, - $deactivate_plugin_desc - ) - ) - ); - break; - case 'cloudflare_ddos_protection': - $message = sprintf( - $x_requires_access_to_api . ' ' . - $this->esc_html_inline( 'From unknown reason, CloudFlare, the firewall we use, blocks the connection.', 'cloudflare-blocks-connection-message' ) . ' ' . - $happy_to_resolve_issue_asap . - ' %s', - '' . $this->get_plugin_name() . '', - sprintf( - '
  1. %s
  2. %s
  3. %s
', - sprintf( - '%s%s', - $fix_issue_title, - ' - ' . sprintf( - $fix_issue_desc, - '' . $admin_email . '' - ) - ), - sprintf( - '%s - %s', - sprintf( 'https://wordpress.org/plugins/%s/download/', $this->_slug ), - $install_previous_title, - $install_previous_desc - ), - sprintf( - '%s - %s', - wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this->_plugin_basename . '&plugin_status=all&paged=1&s=' . '', 'deactivate-plugin_' . $this->_plugin_basename ), - $deactivate_plugin_title, - $deactivate_plugin_desc - ) - ) - ); - break; - case 'squid_cache_block': - $message = sprintf( - $x_requires_access_to_api . ' ' . - $this->esc_html_inline( 'It looks like your server is using Squid ACL (access control lists), which blocks the connection.', 'squid-blocks-connection-message' ) . - ' %s', - '' . $this->get_plugin_name() . '', - sprintf( - '
  1. %s
  2. %s
  3. %s
', - sprintf( - '%s - %s', - $this->esc_html_inline( 'I don\'t know what is Squid or ACL, help me!', 'squid-no-clue-title' ), - sprintf( - $this->esc_html_inline( 'We\'ll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update.', 'squid-no-clue-desc' ), - '' . $admin_email . '' - ) - ), - sprintf( - '%s - %s', - $sysadmin_title, - sprintf( - $this->esc_html_inline( 'Great, please whitelist the following domains: %s. Once you are done, deactivate the %s and activate it again.', 'squid-sysadmin-desc' ), - // We use a filter since the plugin might require additional API connectivity. - '' . implode( ', ', $this->apply_filters( 'api_domains', array( - 'api.freemius.com', - 'wp.freemius.com' - ) ) ) . '', - $this->_module_type - ) - ), - sprintf( - '%s - %s', - wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this->_plugin_basename . '&plugin_status=all&paged=1&s=', 'deactivate-plugin_' . $this->_plugin_basename ), - $deactivate_plugin_title, - $deactivate_plugin_desc - ) - ) - ); - break; -// default: -// $message = $this->get_text_inline( 'connectivity-test-fails-message' ); -// break; - } - } - - $message_id = 'failed_connect_api'; - $type = 'error'; - - $connectivity_test_fails_message = $this->esc_html_inline( 'From unknown reason, the API connectivity test failed.', 'connectivity-test-fails-message' ); - - if ( false === $message ) { - if ( $is_first_failure ) { - // First attempt failed. - $message = sprintf( - $x_requires_access_to_api . ' ' . - $connectivity_test_fails_message . ' ' . - $this->esc_html_inline( 'It\'s probably a temporary issue on our end. Just to be sure, with your permission, would it be o.k to run another connectivity test?', 'connectivity-test-maybe-temporary' ) . '

' . - '%s', - '' . $this->get_plugin_name() . '', - sprintf( - '
%s %s
', - sprintf( - '%s', - $this->get_text_inline( 'Yes - do your thing', 'yes-do-your-thing' ) - ), - sprintf( - '%s', - wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this->_plugin_basename . '&plugin_status=all&paged=1&s=', 'deactivate-plugin_' . $this->_plugin_basename ), - $this->get_text_inline( 'No - just deactivate', 'no-deactivate' ) - ) - ) - ); - - $message_id = 'failed_connect_api_first'; - $type = 'promotion'; - } else { - // Second connectivity attempt failed. - $message = sprintf( - $x_requires_access_to_api . ' ' . - $connectivity_test_fails_message . ' ' . - $happy_to_resolve_issue_asap . - ' %s', - '' . $this->get_plugin_name() . '', - sprintf( - '
  1. %s
  2. %s
  3. %s
', - sprintf( - '%s%s', - $fix_issue_title, - ' - ' . sprintf( - $fix_issue_desc, - '' . $admin_email . '' - ) - ), - sprintf( - '%s - %s', - sprintf( 'https://wordpress.org/plugins/%s/download/', $this->_slug ), - $install_previous_title, - $install_previous_desc - ), - sprintf( - '%s - %s', - wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this->_plugin_basename . '&plugin_status=all&paged=1&s=', 'deactivate-plugin_' . $this->_plugin_basename ), - $deactivate_plugin_title, - $deactivate_plugin_desc - ) - ) - ); - } - } - - $this->_admin_notices->add_sticky( - $message, - $message_id, - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - $type - ); - } - - /** - * Handle user request to resolve connectivity issue. - * This method will send an email to Freemius API technical staff for resolution. - * The email will contain server's info and installed plugins (might be caching issue). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function _email_about_firewall_issue() { - $this->_admin_notices->remove_sticky( 'failed_connect_api' ); - - $pong = $this->ping(); - - $is_connected = $this->get_api_plugin_scope()->is_valid_ping( $pong ); - - if ( $is_connected ) { - FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required ); - - $this->store_connectivity_info( $pong, $is_connected ); - - echo $this->get_after_plugin_activation_redirect_url(); - exit; - } - - $current_user = self::_get_current_wp_user(); - $admin_email = $current_user->user_email; - - $error_type = fs_request_get( 'error_type', 'general' ); - - switch ( $error_type ) { - case 'squid': - $title = 'Squid ACL Blocking Issue'; - break; - case 'cloudflare': - $title = 'CloudFlare Blocking Issue'; - break; - default: - $title = 'API Connectivity Issue'; - break; - } - - $custom_email_sections = array(); - - // Add 'API Error' custom email section. - $custom_email_sections['api_error'] = array( - 'title' => 'API Error', - 'rows' => array( - 'ping' => array( - 'API Error', - is_string( $pong ) ? htmlentities( $pong ) : json_encode( $pong ) - ), - ) - ); - - // Send email with technical details to resolve API connectivity issues. - $this->send_email( - 'api@freemius.com', // recipient - $title . ' [' . $this->get_plugin_name() . ']', // subject - $custom_email_sections, - array( "Reply-To: $admin_email <$admin_email>" ) // headers - ); - - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience.', 'fix-request-sent-message' ), - '' . $admin_email . '' - ), - 'server_details_sent' - ); - - // Action was taken, tell that API connectivity troubleshooting should be off now. - - echo "1"; - exit; - } - - /** - * Handle connectivity test retry approved by the user. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - */ - function _retry_connectivity_test() { - $this->_admin_notices->remove_sticky( 'failed_connect_api_first' ); - - $pong = $this->ping(); - - $is_connected = $this->get_api_plugin_scope()->is_valid_ping( $pong ); - - if ( $is_connected ) { - FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required ); - - $this->store_connectivity_info( $pong, $is_connected ); - - echo $this->get_after_plugin_activation_redirect_url(); - } else { - // Add connectivity issue message after 2nd failed attempt. - $this->_add_connectivity_issue_message( $pong, false ); - - echo "1"; - } - - exit; - } - - static function _add_firewall_issues_javascript() { - $params = array(); - fs_require_once_template( 'firewall-issues-js.php', $params ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Email - #---------------------------------------------------------------------------------- - - /** - * Generates and sends an HTML email with customizable sections. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.2 - * - * @param string $to_address - * @param string $subject - * @param array $sections - * @param array $headers - * - * @return bool Whether the email contents were sent successfully. - */ - private function send_email( - $to_address, - $subject, - $sections = array(), - $headers = array() - ) { - $default_sections = $this->get_email_sections(); - - // Insert new sections or replace the default email sections. - if ( is_array( $sections ) && ! empty( $sections ) ) { - foreach ( $sections as $section_id => $custom_section ) { - if ( ! isset( $default_sections[ $section_id ] ) ) { - // If the section does not exist, add it. - $default_sections[ $section_id ] = $custom_section; - } else { - // If the section already exists, override it. - $current_section = $default_sections[ $section_id ]; - - // Replace the current section's title if a custom section title exists. - if ( isset( $custom_section['title'] ) ) { - $current_section['title'] = $custom_section['title']; - } - - // Insert new rows under the current section or replace the default rows. - if ( isset( $custom_section['rows'] ) && is_array( $custom_section['rows'] ) && ! empty( $custom_section['rows'] ) ) { - foreach ( $custom_section['rows'] as $row_id => $row ) { - $current_section['rows'][ $row_id ] = $row; - } - } - - $default_sections[ $section_id ] = $current_section; - } - } - } - - $vars = array( 'sections' => $default_sections ); - $message = fs_get_template( 'email.php', $vars ); - - // Set the type of email to HTML. - $headers[] = 'Content-type: text/html; charset=UTF-8'; - - $header_string = implode( "\r\n", $headers ); - - return wp_mail( - $to_address, - $subject, - $message, - $header_string - ); - } - - /** - * Generates the data for the sections of the email content. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.2 - * - * @return array - */ - private function get_email_sections() { - // Retrieve the current user's information so that we can get the user's email, first name, and last name below. - $current_user = self::_get_current_wp_user(); - - // Retrieve the cURL version information so that we can get the version number below. - $curl_version_information = curl_version(); - - $active_plugin = self::get_active_plugins(); - - // Generate the list of active plugins separated by new line. - $active_plugin_string = ''; - foreach ( $active_plugin as $plugin ) { - $active_plugin_string .= sprintf( - '%s [v%s]
', - $plugin['PluginURI'], - $plugin['Name'], - $plugin['Version'] - ); - } - - $server_ip = WP_FS__REMOTE_ADDR; - - // Add PHP info for deeper investigation. - ob_start(); - phpinfo(); - $php_info = ob_get_clean(); - - $api_domain = substr( FS_API__ADDRESS, strpos( FS_API__ADDRESS, ':' ) + 3 ); - - // Generate the default email sections. - $sections = array( - 'sdk' => array( - 'title' => 'SDK', - 'rows' => array( - 'fs_version' => array( 'FS Version', $this->version ), - 'curl_version' => array( 'cURL Version', $curl_version_information['version'] ) - ) - ), - 'plugin' => array( - 'title' => ucfirst( $this->get_module_type() ), - 'rows' => array( - 'name' => array( 'Name', $this->get_plugin_name() ), - 'version' => array( 'Version', $this->get_plugin_version() ) - ) - ), - 'api' => array( - 'title' => 'API Subdomain', - 'rows' => array( - 'dns' => array( - 'DNS_CNAME', - function_exists( 'dns_get_record' ) ? - var_export( dns_get_record( $api_domain, DNS_CNAME ), true ) : - 'dns_get_record() disabled/blocked' - ), - 'ip' => array( - 'IP', - function_exists( 'gethostbyname' ) ? - gethostbyname( $api_domain ) : - 'gethostbyname() disabled/blocked' - ), - ), - ), - 'site' => array( - 'title' => 'Site', - 'rows' => array( - 'unique_id' => array( 'Unique ID', $this->get_anonymous_id() ), - 'address' => array( 'Address', site_url() ), - 'host' => array( - 'HTTP_HOST', - ( ! empty( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : '' ) - ), - 'hosting' => array( - 'Hosting Company' => fs_request_has( 'hosting_company' ) ? - fs_request_get( 'hosting_company' ) : - 'Unknown', - ), - 'server_addr' => array( - 'SERVER_ADDR', - '' . $server_ip . '' - ) - ) - ), - 'user' => array( - 'title' => 'User', - 'rows' => array( - 'email' => array( 'Email', $current_user->user_email ), - 'first' => array( 'First', $current_user->user_firstname ), - 'last' => array( 'Last', $current_user->user_lastname ) - ) - ), - 'plugins' => array( - 'title' => 'Plugins', - 'rows' => array( - 'active_plugins' => array( 'Active Plugins', $active_plugin_string ) - ) - ), - 'php_info' => array( - 'title' => 'PHP Info', - 'rows' => array( - 'info' => array( $php_info ) - ), - ) - ); - - // Allow the sections to be modified by other code. - $sections = $this->apply_filters( 'email_template_sections', $sections ); - - return $sections; - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Initialization - #---------------------------------------------------------------------------------- - - /** - * Init plugin's Freemius instance. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param number $id - * @param string $public_key - * @param bool $is_live - * @param bool $is_premium - */ - function init( $id, $public_key, $is_live = true, $is_premium = true ) { - $this->_logger->entrance(); - - $this->dynamic_init( array( - 'id' => $id, - 'public_key' => $public_key, - 'is_live' => $is_live, - 'is_premium' => $is_premium, - ) ); - } - - /** - * Dynamic initiator, originally created to support initiation - * with parent_id for add-ons. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param array $plugin_info - * - * @throws Freemius_Exception - */ - function dynamic_init( array $plugin_info ) { - $this->_logger->entrance(); - - $this->parse_settings( $plugin_info ); - - if ( is_admin() && $this->is_theme() && $this->is_premium() && ! $this->has_active_valid_license() ) { - $this->add_ajax_action( - 'delete_theme_update_data', - array( &$this, '_delete_theme_update_data_action' ) - ); - } - - if ( ! self::is_ajax() ) { - if ( ! $this->is_addon() || $this->is_only_premium() ) { - add_action( - ( $this->_is_network_active && fs_is_network_admin() ? 'network_' : '' ) . 'admin_menu', - array( &$this, '_prepare_admin_menu' ), - WP_FS__LOWEST_PRIORITY - ); - } - } - - if ( $this->should_stop_execution() ) { - return; - } - - if ( ! $this->is_registered() ) { - if ( $this->is_anonymous() ) { - // If user skipped, no need to test connectivity. - $this->_has_api_connection = true; - $this->_is_on = true; - } else { - if ( ! $this->has_api_connectivity() ) { - if ( $this->_admin_notices->has_sticky( 'failed_connect_api_first' ) || - $this->_admin_notices->has_sticky( 'failed_connect_api' ) - ) { - if ( ! $this->_enable_anonymous || $this->is_premium() ) { - // If anonymous mode is disabled, add firewall admin-notice message. - add_action( 'admin_footer', array( 'Freemius', '_add_firewall_issues_javascript' ) ); - - $ajax_action_suffix = $this->_slug . ( $this->is_theme() ? ':theme' : '' ); - add_action( "wp_ajax_fs_resolve_firewall_issues_{$ajax_action_suffix}", array( - &$this, - '_email_about_firewall_issue' - ) ); - - add_action( "wp_ajax_fs_retry_connectivity_test_{$ajax_action_suffix}", array( - &$this, - '_retry_connectivity_test' - ) ); - - /** - * Currently the admin notice manager relies on the module's type and slug. The new AJAX actions manager uses module IDs, hence, consider to replace the if block above with the commented code below after adjusting the admin notices manager to work with module IDs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - /*$this->add_ajax_action( 'resolve_firewall_issues', array( - &$this, - '_email_about_firewall_issue' - ) ); - - $this->add_ajax_action( 'retry_connectivity_test', array( - &$this, - '_retry_connectivity_test' - ) );*/ - } - } - - return; - } else { - $this->_admin_notices->remove_sticky( array( - 'failed_connect_api_first', - 'failed_connect_api', - ) ); - - if ( $this->_anonymous_mode ) { - // Simulate anonymous mode. - $this->_is_anonymous = true; - } - } - } - } - - /** - * This should be executed even if Freemius is off for the core module, - * otherwise, the add-ons dialogbox won't work properly. This is esepcially - * relevant when the developer decided to turn FS off for existing users. - * - * @author Vova Feldman (@svovaf) - */ - if ( $this->is_user_in_admin() && - 'plugin-information' === fs_request_get( 'tab', false ) && - $this->should_use_freemius_updater_and_dialog() && - ( - ( $this->is_addon() && $this->get_slug() == fs_request_get( 'plugin', false ) ) || - ( $this->has_addons() && $this->get_id() == fs_request_get( 'parent_plugin_id', false ) ) - ) - ) { - require_once WP_FS__DIR_INCLUDES . '/fs-plugin-info-dialog.php'; - - new FS_Plugin_Info_Dialog( $this->is_addon() ? $this->get_parent_instance() : $this ); - } - - // Check if Freemius is on for the current plugin. - // This MUST be executed after all the plugin variables has been loaded. - if ( ! $this->is_registered() && ! $this->is_on() ) { - return; - } - - if ( $this->has_api_connectivity() ) { - if ( self::is_cron() ) { - $this->hook_callback_to_sync_cron(); - } else if ( $this->is_user_in_admin() ) { - /** - * Schedule daily data sync cron if: - * - * 1. User opted-in (for tracking). - * 2. If skipped, but later upgraded (opted-in via upgrade). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - */ - if ( $this->is_registered() ) { - if ( ! $this->is_sync_cron_on() && $this->is_tracking_allowed() ) { - $this->schedule_sync_cron(); - } - } - - /** - * Check if requested for manual blocking background sync. - */ - if ( fs_request_has( 'background_sync' ) ) { - $this->run_manual_sync(); - } - } - } - - if ( $this->is_registered() ) { - $this->hook_callback_to_install_sync(); - } - - if ( $this->is_addon() ) { - if ( $this->is_parent_plugin_installed() ) { - // Link to parent FS. - $this->_parent = self::get_instance_by_id( $this->_plugin->parent_plugin_id ); - - // Get parent plugin reference. - $this->_parent_plugin = $this->_parent->get_plugin(); - } - } - - if ( $this->is_user_in_admin() ) { - if ( $this->is_addon() ) { - if ( ! $this->is_parent_plugin_installed() ) { - $parent_name = $this->get_option( $plugin_info, 'parent_name', null ); - - if ( isset( $plugin_info['parent'] ) ) { - $parent_name = $this->get_option( $plugin_info['parent'], 'name', null ); - } - - $this->_admin_notices->add( - ( ! empty( $parent_name ) ? - sprintf( $this->get_text_x_inline( '%s cannot run without %s.', 'addonX cannot run without pluginY', 'addon-x-cannot-run-without-y' ), $this->get_plugin_name(), $parent_name ) : - sprintf( $this->get_text_x_inline( '%s cannot run without the plugin.', 'addonX cannot run...', 'addon-x-cannot-run-without-parent' ), $this->get_plugin_name() ) - ), - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - - return; - } else { - if ( $this->_parent->is_registered() && ! $this->is_registered() ) { - // If parent plugin activated, automatically install add-on for the user. - $this->_activate_addon_account( $this->_parent ); - } else if ( ! $this->_parent->is_registered() && $this->is_registered() ) { - // If add-on activated and parent not, automatically install parent for the user. - $this->activate_parent_account( $this->_parent ); - } - - // @todo This should be only executed on activation. It should be migrated to register_activation_hook() together with other activation related logic. - if ( $this->is_premium() ) { - // Remove add-on download admin-notice. - $this->_parent->_admin_notices->remove_sticky( array( - 'addon_plan_upgraded_' . $this->_slug, - 'no_addon_license_' . $this->_slug, - ) ); - } - -// $this->deactivate_premium_only_addon_without_license(); - } - } - - add_action( 'admin_init', array( &$this, '_admin_init_action' ) ); - -// if ( $this->is_registered() || -// $this->is_anonymous() || -// $this->is_pending_activation() -// ) { -// $this->_init_admin(); -// } - } - - /** - * Should be called outside `$this->is_user_in_admin()` scope - * because the updater has some logic that needs to be executed - * during AJAX calls. - * - * Currently we need to hook to the `http_request_host_is_external` filter. - * In the future, there might be additional logic added. - * - * @author Vova Feldman - * @since 1.2.1.6 - */ - if ( - $this->should_use_freemius_updater_and_dialog() && - ( - $this->is_premium() || - /** - * If not premium but the premium version is installed, also instantiate the updater so that the - * plugin information dialog of the premium version will have the information from the server. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - ( file_exists( fs_normalize_path( WP_PLUGIN_DIR . '/' . $this->premium_plugin_basename() ) ) ) - ) && - $this->has_release_on_freemius() - ) { - FS_Plugin_Updater::instance( $this ); - } - - $this->do_action( 'initiated' ); - - if ( $this->_storage->prev_is_premium !== $this->_plugin->is_premium ) { - if ( isset( $this->_storage->prev_is_premium ) ) { - $this->apply_filters( - 'after_code_type_change', - // New code type. - $this->_plugin->is_premium - ); - } else { - // Set for code type for the first time. - $this->_storage->prev_is_premium = $this->_plugin->is_premium; - } - } - - if ( ! $this->is_addon() ) { - if ( $this->is_registered() ) { - // Fix for upgrade from versions < 1.0.9. - if ( ! isset( $this->_storage->activation_timestamp ) ) { - $this->_storage->activation_timestamp = WP_FS__SCRIPT_START_TIME; - } - - $this->do_action( 'after_init_plugin_registered' ); - } else if ( $this->is_anonymous() ) { - $this->do_action( 'after_init_plugin_anonymous' ); - } else if ( $this->is_pending_activation() ) { - $this->do_action( 'after_init_plugin_pending_activations' ); - } - } else { - if ( $this->is_registered() ) { - $this->do_action( 'after_init_addon_registered' ); - } else if ( $this->is_anonymous() ) { - $this->do_action( 'after_init_addon_anonymous' ); - } else if ( $this->is_pending_activation() ) { - $this->do_action( 'after_init_addon_pending_activations' ); - } - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - * - * @return bool - */ - private function should_use_freemius_updater_and_dialog() { - return ( - /** - * Unless the `fs_allow_updater_and_dialog` URL param exists and its value is `true`, disallow updater - * and dialog on the "Add Plugins" admin page (/plugin-install.php) so that they won't interfere with - * the .org plugins' functionalities on that page (e.g. installation and viewing plugin details from - * .org). - */ - ( ! self::is_plugin_install_page() || true === fs_request_get_bool( 'fs_allow_updater_and_dialog' ) ) && - // Disallow updater and dialog when installing a plugin, otherwise .org "add-on" plugins will be affected. - ( 'install-plugin' !== fs_request_get( 'action' ) ) - ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @since 1.2.1.5 - */ - function _stop_tracking_callback() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'stop_tracking' ); - - $result = $this->stop_tracking( fs_is_network_admin() ); - - if ( true === $result ) { - self::shoot_ajax_success(); - } - - $this->_logger->api_error( $result ); - - self::shoot_ajax_failure( - sprintf( $this->get_text_inline( 'Unexpected API error. Please contact the %s\'s author with the following error.', 'unexpected-api-error' ), $this->_module_type ) . - ( $this->is_api_error( $result ) && isset( $result->error ) ? - $result->error->message : - var_export( $result, true ) ) - ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - */ - function _allow_tracking_callback() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'allow_tracking' ); - - $result = $this->allow_tracking( fs_is_network_admin() ); - - if ( true === $result ) { - self::shoot_ajax_success(); - } - - $this->_logger->api_error( $result ); - - self::shoot_ajax_failure( - sprintf( $this->get_text_inline( 'Unexpected API error. Please contact the %s\'s author with the following error.', 'unexpected-api-error' ), $this->_module_type ) . - ( $this->is_api_error( $result ) && isset( $result->error ) ? - $result->error->message : - var_export( $result, true ) ) - ); - } - - /** - * Opt-out from usage tracking. - * - * Note: This will not delete the account information but will stop all tracking. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-out. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - function stop_site_tracking() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - // User never opted-in. - return false; - } - - if ( $this->is_tracking_prohibited() ) { - // Already disconnected. - return true; - } - - // Send update to FS. - $result = $this->get_api_site_scope()->call( '/?fields=is_disconnected', 'put', array( - 'is_disconnected' => true - ) ); - - if ( ! $this->is_api_result_entity( $result ) || - ! isset( $result->is_disconnected ) || - ! $result->is_disconnected - ) { - $this->_logger->api_error( $result ); - - return $result; - } - - $this->_site->is_disconnected = $result->is_disconnected; - $this->_store_site(); - - $this->clear_sync_cron(); - - // Successfully disconnected. - return true; - } - - /** - * Opt-out network from usage tracking. - * - * Note: This will not delete the account information but will stop all tracking. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-out. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - function stop_network_tracking() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - // User never opted-in. - return false; - } - - $install_id_2_blog_id = array(); - $installs_map = $this->get_blog_install_map(); - - $opt_out_all = true; - - $params = array(); - foreach ( $installs_map as $blog_id => $install ) { - if ( $install->is_tracking_prohibited() ) { - // Already opted-out. - continue; - } - - if ( $this->is_site_delegated_connection( $blog_id ) ) { - // Opt-out only from non-delegated installs. - $opt_out_all = false; - continue; - } - - $params[] = array( 'id' => $install->id ); - - $install_id_2_blog_id[ $install->id ] = $blog_id; - } - - if ( empty( $install_id_2_blog_id ) ) { - return true; - } - - $params[] = array( 'is_disconnected' => true ); - - // Send update to FS. - $result = $this->get_current_or_network_user_api_scope()->call( "/plugins/{$this->_module_id}/installs.json", 'put', $params ); - - if ( ! $this->is_api_result_object( $result, 'installs' ) ) { - $this->_logger->api_error( $result ); - - return $result; - } - - foreach ( $result->installs as $r_install ) { - $blog_id = $install_id_2_blog_id[ $r_install->id ]; - $install = $installs_map[ $blog_id ]; - $install->is_disconnected = $r_install->is_disconnected; - $this->_store_site( true, $blog_id, $install ); - } - - $this->clear_sync_cron( $opt_out_all ); - - // Successfully disconnected. - return true; - } - - /** - * Opt-out from usage tracking. - * - * Note: This will not delete the account information but will stop all tracking. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-out. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @param bool $is_network_action - * - * @return bool|object - */ - function stop_tracking( $is_network_action = false ) { - $this->_logger->entrance(); - - return $is_network_action ? - $this->stop_network_tracking() : - $this->stop_site_tracking(); - } - - /** - * Opt-in back into usage tracking. - * - * Note: This will only work if the user opted-in previously. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-in back to usage tracking. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - function allow_site_tracking() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - // User never opted-in. - return false; - } - - if ( $this->is_tracking_allowed() ) { - // Tracking already allowed. - return true; - } - - $result = $this->get_api_site_scope()->call( '/?is_disconnected', 'put', array( - 'is_disconnected' => false - ) ); - - if ( ! $this->is_api_result_entity( $result ) || - ! isset( $result->is_disconnected ) || - $result->is_disconnected - ) { - $this->_logger->api_error( $result ); - - return $result; - } - - $this->_site->is_disconnected = $result->is_disconnected; - $this->_store_site(); - - $this->schedule_sync_cron(); - - // Successfully reconnected. - return true; - } - - /** - * Opt-in network back into usage tracking. - * - * Note: This will only work if the user opted-in previously. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-in back to usage tracking. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool|object - */ - function allow_network_tracking() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - // User never opted-in. - return false; - } - - $install_id_2_blog_id = array(); - $installs_map = $this->get_blog_install_map(); - - $params = array(); - foreach ( $installs_map as $blog_id => $install ) { - if ( $install->is_tracking_allowed() ) { - continue; - } - - $params[] = array( 'id' => $install->id ); - - $install_id_2_blog_id[ $install->id ] = $blog_id; - } - - if ( empty( $install_id_2_blog_id ) ) { - return true; - } - - $params[] = array( 'is_disconnected' => false ); - - // Send update to FS. - $result = $this->get_current_or_network_user_api_scope()->call( "/plugins/{$this->_module_id}/installs.json", 'put', $params ); - - - if ( ! $this->is_api_result_object( $result, 'installs' ) ) { - $this->_logger->api_error( $result ); - - return $result; - } - - foreach ( $result->installs as $r_install ) { - $blog_id = $install_id_2_blog_id[ $r_install->id ]; - $install = $installs_map[ $blog_id ]; - $install->is_disconnected = $r_install->is_disconnected; - $this->_store_site( true, $blog_id, $install ); - } - - $this->schedule_sync_cron(); - - // Successfully reconnected. - return true; - } - - /** - * Opt-in back into usage tracking. - * - * Note: This will only work if the user opted-in previously. - * - * Returns: - * 1. FALSE - If the user never opted-in. - * 2. TRUE - If successfully opted-in back to usage tracking. - * 3. object - API result on failure. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @param bool $is_network_action - * - * @return bool|object - */ - function allow_tracking( $is_network_action = false ) { - $this->_logger->entrance(); - - return $is_network_action ? - $this->allow_network_tracking() : - $this->allow_site_tracking(); - } - - /** - * If user opted-in and later disabled usage-tracking, - * re-allow tracking for licensing and updates. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @param bool $is_context_single_site - */ - private function reconnect_locally( $is_context_single_site = false ) { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return; - } - - if ( ! fs_is_network_admin() || $is_context_single_site ) { - if ( $this->is_tracking_prohibited() ) { - $this->_site->is_disconnected = false; - $this->_store_site(); - } - } else { - $installs_map = $this->get_blog_install_map(); - foreach ( $installs_map as $blog_id => $install ) { - /** - * @var FS_Site $install - */ - if ( $install->is_tracking_prohibited() ) { - $install->is_disconnected = false; - $this->_store_site( true, $blog_id, $install ); - } - } - } - } - - /** - * Parse plugin's settings (as defined by the plugin dev). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param array $plugin_info - * - * @throws \Freemius_Exception - */ - private function parse_settings( &$plugin_info ) { - $this->_logger->entrance(); - - $id = $this->get_numeric_option( $plugin_info, 'id', false ); - $public_key = $this->get_option( $plugin_info, 'public_key', false ); - $secret_key = $this->get_option( $plugin_info, 'secret_key', null ); - $parent_id = $this->get_numeric_option( $plugin_info, 'parent_id', null ); - $parent_name = $this->get_option( $plugin_info, 'parent_name', null ); - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.9 Try to pull secret key from external config. - */ - if ( is_null( $secret_key ) && defined( "WP_FS__{$this->_slug}_SECRET_KEY" ) ) { - $secret_key = constant( "WP_FS__{$this->_slug}_SECRET_KEY" ); - } - - if ( isset( $plugin_info['parent'] ) ) { - $parent_id = $this->get_numeric_option( $plugin_info['parent'], 'id', null ); -// $parent_slug = $this->get_option( $plugin_info['parent'], 'slug', null ); -// $parent_public_key = $this->get_option( $plugin_info['parent'], 'public_key', null ); -// $parent_name = $this->get_option( $plugin_info['parent'], 'name', null ); - } - - if ( false === $id ) { - throw new Freemius_Exception( array( - 'error' => array( - 'type' => 'ParameterNotSet', - 'message' => 'Plugin id parameter is not set.', - 'code' => 'plugin_id_not_set', - 'http' => 500, - ) - ) ); - } - if ( false === $public_key ) { - throw new Freemius_Exception( array( - 'error' => array( - 'type' => 'ParameterNotSet', - 'message' => 'Plugin public_key parameter is not set.', - 'code' => 'plugin_public_key_not_set', - 'http' => 500, - ) - ) ); - } - - $plugin = ( $this->_plugin instanceof FS_Plugin ) ? - $this->_plugin : - new FS_Plugin(); - - $premium_suffix = $this->get_option( $plugin_info, 'premium_suffix', '(Premium)' ); - - $plugin->update( array( - 'id' => $id, - 'type' => $this->get_option( $plugin_info, 'type', $this->_module_type ), - 'public_key' => $public_key, - 'slug' => $this->_slug, - 'premium_slug' => $this->get_option( $plugin_info, 'premium_slug', "{$this->_slug}-premium" ), - 'parent_plugin_id' => $parent_id, - 'version' => $this->get_plugin_version(), - 'title' => $this->get_plugin_name( $premium_suffix ), - 'file' => $this->_plugin_basename, - 'is_premium' => $this->get_bool_option( $plugin_info, 'is_premium', true ), - 'premium_suffix' => $premium_suffix, - 'is_live' => $this->get_bool_option( $plugin_info, 'is_live', true ), - 'affiliate_moderation' => $this->get_option( $plugin_info, 'has_affiliation' ), - ) ); - - if ( $plugin->is_updated() ) { - // Update plugin details. - $this->_plugin = FS_Plugin_Manager::instance( $this->_module_id )->store( $plugin ); - } - // Set the secret key after storing the plugin, we don't want to store the key in the storage. - $this->_plugin->secret_key = $secret_key; - - if ( ! isset( $plugin_info['menu'] ) ) { - $plugin_info['menu'] = array(); - - if ( ! empty( $this->_storage->sdk_last_version ) && - version_compare( $this->_storage->sdk_last_version, '1.1.2', '<=' ) - ) { - // Backward compatibility to 1.1.2 - $plugin_info['menu']['slug'] = isset( $plugin_info['menu_slug'] ) ? - $plugin_info['menu_slug'] : - $this->_slug; - } - } - - $this->_menu = FS_Admin_Menu_Manager::instance( - $this->_module_id, - $this->_module_type, - $this->get_unique_affix() - ); - - $this->_menu->init( $plugin_info['menu'], $this->is_addon() ); - - $this->_has_addons = $this->get_bool_option( $plugin_info, 'has_addons', false ); - $this->_has_paid_plans = $this->get_bool_option( $plugin_info, 'has_paid_plans', true ); - $this->_has_premium_version = $this->get_bool_option( $plugin_info, 'has_premium_version', $this->_has_paid_plans ); - $this->_ignore_pending_mode = $this->get_bool_option( $plugin_info, 'ignore_pending_mode', false ); - $this->_is_org_compliant = $this->get_bool_option( $plugin_info, 'is_org_compliant', true ); - $this->_is_premium_only = $this->get_bool_option( $plugin_info, 'is_premium_only', false ); - if ( $this->_is_premium_only ) { - // If premium only plugin, disable anonymous mode. - $this->_enable_anonymous = false; - $this->_anonymous_mode = false; - } else { - $this->_enable_anonymous = $this->get_bool_option( $plugin_info, 'enable_anonymous', true ); - $this->_anonymous_mode = $this->get_bool_option( $plugin_info, 'anonymous_mode', false ); - } - $this->_permissions = $this->get_option( $plugin_info, 'permissions', array() ); - - if ( ! empty( $plugin_info['trial'] ) ) { - $this->_trial_days = $this->get_numeric_option( - $plugin_info['trial'], - 'days', - // Default to 0 - trial without days specification. - 0 - ); - - $this->_is_trial_require_payment = $this->get_bool_option( $plugin_info['trial'], 'is_require_payment', false ); - } - } - - /** - * @param string[] $options - * @param string $key - * @param mixed $default - * - * @return bool - */ - private function get_option( &$options, $key, $default = false ) { - return ! empty( $options[ $key ] ) ? $options[ $key ] : $default; - } - - private function get_bool_option( &$options, $key, $default = false ) { - return isset( $options[ $key ] ) && is_bool( $options[ $key ] ) ? $options[ $key ] : $default; - } - - private function get_numeric_option( &$options, $key, $default = false ) { - return isset( $options[ $key ] ) && is_numeric( $options[ $key ] ) ? $options[ $key ] : $default; - } - - /** - * Gate keeper. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return bool - */ - private function should_stop_execution() { - if ( empty( $this->_storage->was_plugin_loaded ) ) { - /** - * Don't execute Freemius until plugin was fully loaded at least once, - * to give the opportunity for the activation hook to run before pinging - * the API for connectivity test. This logic is relevant for the - * identification of new plugin install vs. plugin update. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - */ - return true; - } - - if ( $this->is_activation_mode() ) { - if ( ! is_admin() ) { - /** - * If in activation mode, don't execute Freemius outside of the - * admin dashboard. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - return true; - } - - if ( ! WP_FS__IS_HTTP_REQUEST ) { - /** - * If in activation and executed without HTTP context (e.g. CLI, Cronjob), - * then don't start Freemius. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6.3 - * - * @link https://wordpress.org/support/topic/errors-in-the-freemius-class-when-running-in-wordpress-in-cli - */ - return true; - } - - if ( self::is_cron() ) { - /** - * If in activation mode, don't execute Freemius during wp crons - * (wp crons have HTTP context - called as HTTP request). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - return true; - } - - if ( self::is_ajax() && - ! $this->_admin_notices->has_sticky( 'failed_connect_api_first' ) && - ! $this->_admin_notices->has_sticky( 'failed_connect_api' ) - ) { - /** - * During activation, if running in AJAX mode, unless there's a sticky - * connectivity issue notice, don't run Freemius. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - return true; - } - } - - return false; - } - - /** - * Triggered after code type has changed. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9.1 - */ - function _after_code_type_change() { - $this->_logger->entrance(); - - if ( $this->is_theme() ) { - // Expire the cache of the previous tabs since the theme may - // have setting updates after code type has changed. - $this->_cache->expire( 'tabs' ); - $this->_cache->expire( 'tabs_stylesheets' ); - } - - if ( $this->is_registered() ) { - if ( ! $this->is_addon() ) { - add_action( - is_admin() ? 'admin_init' : 'init', - array( &$this, '_plugin_code_type_changed' ) - ); - } - - if ( $this->is_premium() ) { - // Purge cached payments after switching to the premium version. - // @todo This logic doesn't handle purging the cache for serviceware module upgrade. - $this->get_api_user_scope()->purge_cache( "/plugins/{$this->_module_id}/payments.json?include_addons=true" ); - } - } - } - - /** - * Handles plugin's code type change (free <--> premium). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function _plugin_code_type_changed() { - $this->_logger->entrance(); - - if ( $this->is_premium() ) { - $this->reconnect_locally(); - - // Activated premium code. - $this->do_action( 'after_premium_version_activation' ); - - // Remove all sticky messages related to download of the premium version. - $this->_admin_notices->remove_sticky( array( - 'trial_started', - 'plan_upgraded', - 'plan_changed', - 'license_activated', - ) ); - - $notice = ''; - if ( ! $this->is_only_premium() ) { - $notice = sprintf( $this->get_text_inline( 'Premium %s version was successfully activated.', 'premium-activated-message' ), $this->_module_type ); - } - - $license_notice = $this->get_license_network_activation_notice(); - if ( ! empty( $license_notice ) ) { - $notice .= ' ' . $license_notice; - } - - if ( ! empty( $notice ) ) { - $this->_admin_notices->add_sticky( - trim( $notice ), - 'premium_activated', - $this->get_text_x_inline( 'W00t', - 'Used to express elation, enthusiasm, or triumph (especially in electronic communication).', 'woot' ) . '!' - ); - } - } else { - // Remove sticky message related to premium code activation. - $this->_admin_notices->remove_sticky( 'premium_activated' ); - - // Activated free code (after had the premium before). - $this->do_action( 'after_free_version_reactivation' ); - - if ( $this->is_paying() && ! $this->is_premium() ) { - $this->_admin_notices->add_sticky( - sprintf( - /* translators: %s: License type (e.g. you have a professional license) */ - $this->get_text_inline( 'You have a %s license.', 'you-have-x-license' ), - $this->get_plan_title() - ) . $this->get_complete_upgrade_instructions(), - 'plan_upgraded', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - } - } - - // Schedule code type changes event. - $this->schedule_install_sync(); - - /** - * Unregister the uninstall hook for the other version of the plugin (with different code type) to avoid - * triggering a fatal error when uninstalling that plugin. For example, after deactivating the "free" version - * of a specific plugin, its uninstall hook should be unregistered after the "premium" version has been - * activated. If we don't do that, a fatal error will occur when we try to uninstall the "free" version since - * the main file of the "free" version will be loaded first before calling the hooked callback. Since the - * free and premium versions are almost identical (same class or have same functions), a fatal error like - * "Cannot redeclare class MyClass" or "Cannot redeclare my_function()" will occur. - */ - $this->unregister_uninstall_hook(); - - $this->clear_module_main_file_cache(); - - // Update is_premium of latest version. - $this->_storage->prev_is_premium = $this->_plugin->is_premium; - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Add-ons - #---------------------------------------------------------------------------------- - - /** - * Check if add-on installed and activated on site. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string|number $id_or_slug - * @param bool|null $is_premium Since 1.2.1.7 can check for specified add-on version. - * - * @return bool - */ - function is_addon_activated( $id_or_slug, $is_premium = null ) { - $this->_logger->entrance(); - - $addon_id = self::get_module_id( $id_or_slug ); - $is_activated = self::has_instance( $addon_id ); - - if ( ! $is_activated ) { - return false; - } - - if ( is_bool( $is_premium ) ) { - // Check if the specified code version is activate. - $addon = $this->get_addon_instance( $addon_id ); - $is_activated = ( $is_premium === $addon->is_premium() ); - } - - return $is_activated; - } - - /** - * Check if add-on was connected to install - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param string|number $id_or_slug - * - * @return bool - */ - function is_addon_connected( $id_or_slug ) { - $this->_logger->entrance(); - - $sites = self::get_all_sites( WP_FS__MODULE_TYPE_PLUGIN ); - - $addon_id = self::get_module_id( $id_or_slug ); - $addon = $this->get_addon( $addon_id ); - $slug = $addon->slug; - if ( ! isset( $sites[ $slug ] ) ) { - return false; - } - - $site = $sites[ $slug ]; - - $plugin = FS_Plugin_Manager::instance( $addon_id )->get(); - - if ( $plugin->parent_plugin_id != $this->_plugin->id ) { - // The given slug do NOT belong to any of the plugin's add-ons. - return false; - } - - return ( is_object( $site ) && - is_numeric( $site->id ) && - is_numeric( $site->user_id ) && - FS_Plugin_Plan::is_valid_id( $site->plan_id ) - ); - } - - /** - * Determines if add-on installed. - * - * NOTE: This is a heuristic and only works if the folder/file named as the slug. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string|number $id_or_slug - * - * @return bool - */ - function is_addon_installed( $id_or_slug ) { - $this->_logger->entrance(); - - $addon_id = self::get_module_id( $id_or_slug ); - - return file_exists( fs_normalize_path( WP_PLUGIN_DIR . '/' . $this->get_addon_basename( $addon_id ) ) ); - } - - /** - * Get add-on basename. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string|number $id_or_slug - * - * @return string - */ - function get_addon_basename( $id_or_slug ) { - $addon_id = self::get_module_id( $id_or_slug ); - - if ( $this->is_addon_activated( $addon_id ) ) { - return self::instance( $addon_id )->get_plugin_basename(); - } - - $addon = $this->get_addon( $addon_id ); - $premium_basename = "{$addon->premium_slug}/{$addon->slug}.php"; - - if ( file_exists( fs_normalize_path( WP_PLUGIN_DIR . '/' . $premium_basename ) ) ) { - return $premium_basename; - } - - $all_plugins = $this->get_all_plugins(); - - foreach ( $all_plugins as $basename => $data ) { - if ( $addon->slug === $data['slug'] || - $addon->premium_slug === $data['slug'] - ) { - return $basename; - } - } - - $free_basename = "{$addon->slug}/{$addon->slug}.php"; - - return $free_basename; - } - - /** - * Get installed add-ons instances. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return Freemius[] - */ - function get_installed_addons() { - $installed_addons = array(); - foreach ( self::$_instances as $instance ) { - if ( $instance->is_addon() && is_object( $instance->_parent_plugin ) ) { - if ( $this->_plugin->id == $instance->_parent_plugin->id ) { - $installed_addons[] = $instance; - } - } - } - - return $installed_addons; - } - - /** - * Check if any add-ons of the plugin are installed. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.1 - * - * @return bool - */ - function has_installed_addons() { - if ( ! $this->has_addons() ) { - return false; - } - - foreach ( self::$_instances as $instance ) { - if ( $instance->is_addon() && is_object( $instance->_parent_plugin ) ) { - if ( $this->_plugin->id == $instance->_parent_plugin->id ) { - return true; - } - } - } - - return false; - } - - /** - * Tell Freemius that the current plugin is an add-on. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number $parent_plugin_id The parent plugin ID - */ - function init_addon( $parent_plugin_id ) { - $this->_plugin->parent_plugin_id = $parent_plugin_id; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function is_addon() { - return isset( $this->_plugin->parent_plugin_id ) && is_numeric( $this->_plugin->parent_plugin_id ); - } - - /** - * Deactivate add-on if it's premium only and the user does't have a valid license. - * - * @param bool $is_after_trial_cancel - * - * @return bool If add-on was deactivated. - */ - private function deactivate_premium_only_addon_without_license( $is_after_trial_cancel = false ) { - if ( ! $this->has_free_plan() && - ! $this->has_features_enabled_license() && - ! $this->_has_premium_license() - ) { - if ( $this->is_registered() ) { - // IF wrapper is turned off because activation_timestamp is currently only stored for plugins (not addons). - // if (empty($this->_storage->activation_timestamp) || - // (WP_FS__SCRIPT_START_TIME - $this->_storage->activation_timestamp) > 30 - // ) { - /** - * @todo When it's first fail, there's no reason to try and re-sync because the licenses were just synced after initial activation. - * - * Retry syncing the user add-on licenses. - */ - // Sync licenses. - $this->_sync_licenses(); - // } - - // Try to activate premium license. - $this->_activate_license( true ); - } - - if ( ! $this->has_free_plan() && - ! $this->has_features_enabled_license() && - ! $this->_has_premium_license() - ) { - // @todo Check if deactivate plugins also call the deactivation hook. - - $this->_parent->_admin_notices->add_sticky( - sprintf( - ( $is_after_trial_cancel ? - $this->_parent->get_text_inline( - '%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you\'ll have to purchase a license.', - 'addon-trial-cancelled-message' - ) : - $this->_parent->get_text_inline( - '%s is a premium only add-on. You have to purchase a license first before activating the plugin.', - 'addon-no-license-message' - ) - ), - '' . $this->_plugin->title . '' - ) . ' ' . sprintf( - '%s  ➜', - $this->_parent->addon_url( $this->_slug ), - esc_attr( sprintf( $this->_parent->get_text_inline( 'More information about %s', 'more-information-about-x' ), $this->_plugin->title ) ), - $this->_parent->get_text_inline( 'Purchase License', 'purchase-license' ) - ), - 'no_addon_license_' . $this->_slug, - ( $is_after_trial_cancel ? '' : $this->_parent->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...' ), - ( $is_after_trial_cancel ? 'success' : 'error' ) - ); - - deactivate_plugins( array( $this->_plugin_basename ), true ); - - return true; - } - } - - return false; - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Sandbox - #---------------------------------------------------------------------------------- - - /** - * Set Freemius into sandbox mode for debugging. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $secret_key - */ - function init_sandbox( $secret_key ) { - $this->_plugin->secret_key = $secret_key; - - // Update plugin details. - FS_Plugin_Manager::instance( $this->_module_id )->update( $this->_plugin, true ); - } - - /** - * Check if running payments in sandbox mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return bool - */ - function is_payments_sandbox() { - return ( ! $this->is_live() ) || isset( $this->_plugin->secret_key ); - } - - #endregion - - /** - * Check if running test vs. live plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return bool - */ - function is_live() { - return $this->_plugin->is_live; - } - - /** - * Check if super-admin skipped connection for all sites in the network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function is_network_anonymous() { - if ( ! $this->_is_network_active ) { - return false; - } - - $is_anonymous_ms = $this->_storage->get( 'is_anonymous_ms' ); - - if ( empty( $is_anonymous_ms ) ) { - return false; - } - - return $is_anonymous_ms['is']; - } - - /** - * Check if super-admin opted-in for all sites in the network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function is_network_connected() { - if ( ! $this->_is_network_active ) { - return false; - } - - return $this->_storage->get( 'is_network_connected' ); - } - - /** - * Check if the user skipped connecting the account with Freemius. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - function is_anonymous() { - if ( ! isset( $this->_is_anonymous ) ) { - if ( $this->is_network_anonymous() ) { - $this->_is_anonymous = true; - } else if ( ! fs_is_network_admin() ) { - if ( ! isset( $this->_storage->is_anonymous ) ) { - // Not skipped. - $this->_is_anonymous = false; - } else if ( is_bool( $this->_storage->is_anonymous ) ) { - // For back compatibility, since the variable was boolean before. - $this->_is_anonymous = $this->_storage->is_anonymous; - - // Upgrade stored data format to 1.1.3 format. - $this->set_anonymous_mode( $this->_storage->is_anonymous ); - } else { - // Version 1.1.3 and later. - $this->_is_anonymous = $this->_storage->is_anonymous['is']; - } - } - } - - return $this->_is_anonymous; - } - - /** - * Check if the user skipped the connection of a specified site. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return bool - */ - function is_anonymous_site( $blog_id = 0 ) { - if ( $this->is_network_anonymous() ) { - return true; - } - - $is_anonymous = $this->_storage->get( 'is_anonymous', false, $blog_id ); - - if ( empty( $is_anonymous ) ) { - return false; - } - - return $is_anonymous['is']; - } - - /** - * Check if user connected his account and install pending email activation. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - function is_pending_activation() { - return $this->_storage->get( 'is_pending_activation', false ); - } - - /** - * Check if plugin must be WordPress.org compliant. - * - * @since 1.0.7 - * - * @return bool - */ - function is_org_repo_compliant() { - return $this->_is_org_compliant; - } - - #-------------------------------------------------------------------------------- - #region WP Cron Common - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * - * @return object - */ - private function get_cron_data( $name ) { - $this->_logger->entrance( $name ); - - /** - * @var object $cron_data - */ - return $this->_storage->get( "{$name}_cron", null ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - */ - private function clear_cron_data( $name ) { - $this->_logger->entrance( $name ); - - $this->_storage->remove( "{$name}_cron" ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param int $cron_blog_id The cron executing blog ID. - */ - private function set_cron_data( $name, $cron_blog_id = 0 ) { - $this->_logger->entrance( $name ); - - $this->_storage->store( "{$name}_cron", (object) array( - 'version' => $this->get_plugin_version(), - 'blog_id' => $cron_blog_id, - 'sdk_version' => $this->version, - 'timestamp' => WP_FS__SCRIPT_START_TIME, - 'on' => true, - ) ); - } - - /** - * Get the cron's executing blog ID. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * - * @return int - */ - private function get_cron_blog_id( $name ) { - $this->_logger->entrance( $name ); - - /** - * @var object $cron_data - */ - $cron_data = $this->get_cron_data( $name ); - - return ( is_object( $cron_data ) && is_numeric( $cron_data->blog_id ) ) ? - $cron_data->blog_id : - 0; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * - * @return bool - */ - private function is_cron_on( $name ) { - $this->_logger->entrance( $name ); - - /** - * @var object $cron_data - */ - $cron_data = $this->get_cron_data( $name ); - - return ( ! is_null( $cron_data ) && true === $cron_data->on ); - } - - /** - * Unix timestamp for previous cron execution or false if never executed. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * - * @return int|false - */ - private function cron_last_execution( $name ) { - $this->_logger->entrance( $name ); - - return $this->_storage->get( "{$name}_timestamp" ); - } - - /** - * Set cron execution time to now. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - */ - private function set_cron_execution_timestamp( $name ) { - $this->_logger->entrance( $name ); - - $this->_storage->store( "{$name}_timestamp", time() ); - } - - /** - * Sets the keepalive time to now. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - * - * @param bool|null $use_network_level_storage - */ - private function set_keepalive_timestamp( $use_network_level_storage = null ) { - $this->_logger->entrance(); - - $this->_storage->store( 'keepalive_timestamp', time(), $use_network_level_storage ); - } - - /** - * Check if cron was executed in the last $period of seconds. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param int $period In seconds - * - * @return bool - */ - private function is_cron_executed( $name, $period = WP_FS__TIME_24_HOURS_IN_SEC ) { - $this->_logger->entrance( $name ); - - $last_execution = $this->cron_last_execution( $name ); - - if ( ! is_numeric( $last_execution ) ) { - return false; - } - - return ( $last_execution > ( WP_FS__SCRIPT_START_TIME - $period ) ); - } - - /** - * WP Cron is executed on a site level. When running in a multisite network environment - * with the network integration activated, for optimization reasons, we are consolidating - * the installs data sync cron to be executed only from a single site. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $except_blog_id Target any except the excluded blog ID. - * - * @return int - */ - private function get_cron_target_blog_id( $except_blog_id = 0 ) { - if ( ! is_multisite() ) { - return 0; - } - - if ( $this->_is_network_active && - is_numeric( $this->_storage->network_install_blog_id ) && - $except_blog_id != $this->_storage->network_install_blog_id && - self::is_site_active( $this->_storage->network_install_blog_id ) - ) { - // Try to run cron from the main network blog. - $install = $this->get_install_by_blog_id( $this->_storage->network_install_blog_id ); - - if ( is_object( $install ) && - ( $this->is_premium() || $install->is_tracking_allowed() ) - ) { - return $this->_storage->network_install_blog_id; - } - } - - // Get first opted-in blog ID with active tracking. - $installs = $this->get_blog_install_map(); - foreach ( $installs as $blog_id => $install ) { - if ( $except_blog_id != $blog_id && - self::is_site_active( $blog_id ) && - ( $this->is_premium() || $install->is_tracking_allowed() ) - ) { - return $blog_id; - } - } - - return 0; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param string $action_tag Callback action tag. - * @param bool $is_network_clear If set to TRUE, clear sync cron even if there are installs that are still connected. - */ - private function clear_cron( $name, $action_tag = '', $is_network_clear = false ) { - $this->_logger->entrance( $name ); - - if ( ! $this->is_cron_on( $name ) ) { - return; - } - - $clear_cron = true; - if ( ! $is_network_clear && $this->_is_network_active ) { - $installs = $this->get_blog_install_map(); - - foreach ( $installs as $blog_id => $install ) { - /** - * @var FS_Site $install - */ - if ( $install->is_tracking_allowed() ) { - $clear_cron = false; - break; - } - } - } - - if ( ! $clear_cron ) { - return; - } - - /** - * @var object $cron_data - */ - $cron_data = $this->get_cron_data( $name ); - - $cron_blog_id = is_object( $cron_data ) && isset( $cron_data->blog_id ) ? - $cron_data->blog_id : - 0; - - $this->clear_cron_data( $name ); - - if ( 0 < $cron_blog_id ) { - switch_to_blog( $cron_blog_id ); - } - - if ( empty( $action_tag ) ) { - $action_tag = $name; - } - - wp_clear_scheduled_hook( $this->get_action_tag( $action_tag ) ); - - if ( 0 < $cron_blog_id ) { - restore_current_blog(); - } - } - - /** - * Unix timestamp for next cron execution or false if not scheduled. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param string $action_tag Callback action tag. - * - * @return int|false - */ - private function get_next_scheduled_cron( $name, $action_tag = '' ) { - $this->_logger->entrance( $name ); - - if ( ! $this->is_cron_on( $name ) ) { - return false; - } - - /** - * @var object $cron_data - */ - $cron_data = $this->get_cron_data( $name ); - - $cron_blog_id = is_object( $cron_data ) && isset( $cron_data->blog_id ) ? - $cron_data->blog_id : - 0; - - if ( 0 < $cron_blog_id ) { - switch_to_blog( $cron_blog_id ); - } - - if ( empty( $action_tag ) ) { - $action_tag = $name; - } - - $next_scheduled = wp_next_scheduled( $this->get_action_tag( $action_tag ) ); - - if ( 0 < $cron_blog_id ) { - restore_current_blog(); - } - - return $next_scheduled; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param string $action_tag Callback action tag. - * @param string $recurrence 'single' or 'daily'. - * @param int $start_at Defaults to now. - * @param bool $randomize_start If true, schedule first job randomly during the next 12 hours. Otherwise, schedule job to start right away. - * @param int $except_blog_id Target any except the excluded blog ID. - */ - private function schedule_cron( - $name, - $action_tag = '', - $recurrence = 'single', - $start_at = WP_FS__SCRIPT_START_TIME, - $randomize_start = true, - $except_blog_id = 0 - ) { - $this->_logger->entrance( $name ); - - $this->clear_cron( $name, $action_tag, true ); - - $cron_blog_id = $this->get_cron_target_blog_id( $except_blog_id ); - - if ( is_multisite() && 0 == $cron_blog_id ) { - // Don't schedule cron since couldn't find a target blog. - return; - } - - if ( 0 < $cron_blog_id ) { - switch_to_blog( $cron_blog_id ); - } - - if ( 'daily' === $recurrence ) { - if ( $randomize_start ) { - // Schedule first sync with a random 12 hour time range from now. - $start_at += rand( 0, ( WP_FS__TIME_24_HOURS_IN_SEC / 2 ) ); - } - - // Schedule daily WP cron. - wp_schedule_event( - $start_at, - 'daily', - $this->get_action_tag( $action_tag ) - ); - } else if ( 'single' === $recurrence ) { - // Schedule single cron. - wp_schedule_single_event( - $start_at, - $this->get_action_tag( $action_tag ) - ); - } - - $this->set_cron_data( $name, $cron_blog_id ); - - if ( 0 < $cron_blog_id ) { - restore_current_blog(); - } - } - - /** - * Consolidated cron execution for performance optimization. The max number of API requests is based on the number of unique opted-in users. - * that doesn't halt page loading. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $name Cron name. - * @param callable $callable The function that should be executed. - */ - private function execute_cron( $name, $callable ) { - $this->_logger->entrance( $name ); - - // Store the last time data sync was executed. - $this->set_cron_execution_timestamp( $name ); - - // Check if API is temporary down. - if ( FS_Api::is_temporary_down() ) { - return; - } - - // @todo Add logic that identifies API latency, and reschedule the next background sync randomly between 8-16 hours. - - $users_2_blog_ids = array(); - - if ( ! is_multisite() ) { - // Add dummy blog. - $users_2_blog_ids[0] = array( 0 ); - } else { - $installs = $this->get_blog_install_map(); - foreach ( $installs as $blog_id => $install ) { - if ( $this->is_premium() || $install->is_tracking_allowed() ) { - if ( ! isset( $users_2_blog_ids[ $install->user_id ] ) ) { - $users_2_blog_ids[ $install->user_id ] = array(); - } - - $users_2_blog_ids[ $install->user_id ][] = $blog_id; - } - } - } - - $current_blog_id = get_current_blog_id(); - - foreach ( $users_2_blog_ids as $user_id => $blog_ids ) { - if ( 0 < $blog_ids[0] ) { - $this->switch_to_blog( $blog_ids[0] ); - } - - call_user_func_array( $callable, array( $blog_ids, ( is_multisite() ? $current_blog_id : null ) ) ); - - foreach ( $blog_ids as $blog_id ) { - $this->do_action( "after_{$name}_cron", $blog_id ); - } - } - - if ( is_multisite() ) { - $this->switch_to_blog( $current_blog_id ); - - $this->do_action( "after_{$name}_cron_multisite" ); - } - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Daily Sync Cron - #---------------------------------------------------------------------------------- - - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - private function is_sync_cron_scheduled() { - return $this->is_cron_on( 'sync' ); - } - - /** - * Get the sync cron's executing blog ID. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return int - */ - private function get_sync_cron_blog_id() { - return $this->get_cron_blog_id( 'sync' ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - private function run_manual_sync() { - self::require_pluggable_essentials(); - - if ( ! $this->is_user_admin() ) { - return; - } - - // Run manual sync. - $this->_sync_cron(); - - // Reschedule next cron to run 24 hours from now (performance optimization). - $this->schedule_sync_cron( time() + WP_FS__TIME_24_HOURS_IN_SEC, false ); - } - - /** - * Data sync cron job. Replaces the background sync non blocking HTTP request - * that doesn't halt page loading. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * @since 2.0.0 Consolidate all the data sync into the same cron for performance optimization. The max number of API requests is based on the number of unique opted-in users. - */ - function _sync_cron() { - $this->_logger->entrance(); - - $this->execute_cron( 'sync', array( &$this, '_sync_cron_method' ) ); - } - - /** - * The actual data sync cron logic. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int[] $blog_ids - * @param int|null $current_blog_id @since 2.2.3. This is passed from the `execute_cron` method and used by the - * `_sync_plugin_license` method in order to switch to the previous blog when sending - * updates for a single site in case `execute_cron` has switched to a different blog. - */ - function _sync_cron_method( array $blog_ids, $current_blog_id = null ) { - if ( $this->is_registered() ) { - if ( $this->has_paid_plan() ) { - // Initiate background plan sync. - $this->_sync_license( true, false, $current_blog_id ); - - if ( $this->is_paying() ) { - // Check for premium plugin updates. - $this->check_updates( true ); - } - } else { - // Sync install(s) (only if something changed locally). - if ( 1 < count( $blog_ids ) ) { - $this->sync_installs(); - } else { - $this->sync_install(); - } - } - } - } - - /** - * Check if sync was executed in the last $period of seconds. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param int $period In seconds - * - * @return bool - */ - private function is_sync_executed( $period = WP_FS__TIME_24_HOURS_IN_SEC ) { - return $this->is_cron_executed( 'sync', $period ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return bool - */ - private function is_sync_cron_on() { - return $this->is_cron_on( 'sync' ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param int $start_at Defaults to now. - * @param bool $randomize_start If true, schedule first job randomly during the next 12 hours. Otherwise, schedule job to start right away. - * @param int $except_blog_id Since 2.0.0 when running in a multisite network environment, the cron execution is consolidated. This param allows excluding excluded specified blog ID from being the cron executor. - */ - private function schedule_sync_cron( - $start_at = WP_FS__SCRIPT_START_TIME, - $randomize_start = true, - $except_blog_id = 0 - ) { - $this->schedule_cron( - 'sync', - 'data_sync', - 'daily', - $start_at, - $randomize_start, - $except_blog_id - ); - } - - /** - * Add the actual sync function to the cron job hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - private function hook_callback_to_sync_cron() { - $this->add_action( 'data_sync', array( &$this, '_sync_cron' ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param bool $is_network_clear Since 2.0.0 If set to TRUE, clear sync cron even if there are installs that are still connected. - */ - private function clear_sync_cron( $is_network_clear = false ) { - $this->_logger->entrance(); - - $this->clear_cron( 'sync', 'data_sync', $is_network_clear ); - } - - /** - * Unix timestamp for next sync cron execution or false if not scheduled. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return int|false - */ - function next_sync_cron() { - return $this->get_next_scheduled_cron( 'sync', 'data_sync' ); - } - - /** - * Unix timestamp for previous sync cron execution or false if never executed. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return int|false - */ - function last_sync_cron() { - return $this->cron_last_execution( 'sync' ); - } - - #endregion Daily Sync Cron ------------------------------------------------------------------ - - #---------------------------------------------------------------------------------- - #region Async Install Sync - #---------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return bool - */ - private function is_install_sync_scheduled() { - return $this->is_cron_on( 'install_sync' ); - } - - /** - * Get the sync cron's executing blog ID. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return int - */ - private function get_install_sync_cron_blog_id() { - return $this->get_cron_blog_id( 'install_sync' ); - } - - /** - * Instead of running blocking install sync event, execute non blocking scheduled wp-cron. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param int $except_blog_id Since 2.0.0 when running in a multisite network environment, the cron execution is consolidated. This param allows excluding excluded specified blog ID from being the cron executor. - */ - private function schedule_install_sync( $except_blog_id = 0 ) { - $this->schedule_cron( 'install_sync', 'install_sync', 'single', WP_FS__SCRIPT_START_TIME, false, $except_blog_id ); - } - - /** - * Unix timestamp for previous install sync cron execution or false if never executed. - * - * @todo There's some very strange bug that $this->_storage->install_sync_timestamp value is not being updated. But for sure the sync event is working. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return int|false - */ - function last_install_sync() { - return $this->cron_last_execution( 'install_sync' ); - } - - /** - * Unix timestamp for next install sync cron execution or false if not scheduled. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return int|false - */ - function next_install_sync() { - return $this->get_next_scheduled_cron( 'install_sync', 'install_sync' ); - } - - /** - * Add the actual install sync function to the cron job hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - */ - private function hook_callback_to_install_sync() { - $this->add_action( 'install_sync', array( &$this, '_run_sync_install' ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param bool $is_network_clear Since 2.0.0 If set to TRUE, clear sync cron even if there are installs that are still connected. - */ - private function clear_install_sync_cron( $is_network_clear = false ) { - $this->_logger->entrance(); - - $this->clear_cron( 'install_sync', 'install_sync', $is_network_clear ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * @since 2.0.0 Consolidate all the data sync into the same cron for performance optimization. The max number of API requests is based on the number of unique opted-in users. - */ - public function _run_sync_install() { - $this->_logger->entrance(); - - $this->execute_cron( 'sync', array( &$this, '_sync_install_cron_method' ) ); - } - - /** - * The actual install(s) sync cron logic. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int[] $blog_ids - * @param int|null $current_blog_id - */ - function _sync_install_cron_method( array $blog_ids, $current_blog_id = null ) { - if ( $this->is_registered() ) { - if ( 1 < count( $blog_ids ) ) { - $this->sync_installs( array(), true ); - } else { - $this->sync_install( array(), true ); - } - } - } - - #endregion Async Install Sync ------------------------------------------------------------------ - - /** - * Show a notice that activation is currently pending. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param bool|string $email - * @param bool $is_pending_trial Since 1.2.1.5 - */ - function _add_pending_activation_notice( $email = false, $is_pending_trial = false ) { - if ( ! is_string( $email ) ) { - $current_user = self::_get_current_wp_user(); - $email = $current_user->user_email; - } - - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s.', 'pending-activation-message' ), - '' . $this->get_plugin_name() . '', - '' . $email . '', - ( $is_pending_trial ? - $this->get_text_inline( 'start the trial', 'start-the-trial' ) : - $this->get_text_inline( 'complete the install', 'complete-the-install' ) ) - ), - 'activation_pending', - 'Thanks!' - ); - } - - /** - * Check if currently in plugin activation. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - * - * @return bool - */ - function is_plugin_activation() { - $result = get_transient( "fs_{$this->_module_type}_{$this->_slug}_activated" ); - - return !empty($result); - } - - /** - * - * NOTE: admin_menu action executed before admin_init. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function _admin_init_action() { - /** - * Automatically redirect to connect/activation page after plugin activation. - * - * @since 1.1.7 Do NOT redirect to opt-in when running in network admin mode. - */ - if ( $this->is_plugin_activation() ) { - delete_transient( "fs_{$this->_module_type}_{$this->_slug}_activated" ); - - if ( isset( $_GET['activate-multi'] ) ) { - /** - * Don't redirect if activating multiple plugins at once (bulk activation). - */ - } else { - $this->_redirect_on_activation_hook(); - return; - } - } - - if ( fs_request_is_action( $this->get_unique_affix() . '_skip_activation' ) ) { - check_admin_referer( $this->get_unique_affix() . '_skip_activation' ); - - $this->skip_connection( null, fs_is_network_admin() ); - - fs_redirect( $this->get_after_activation_url( 'after_skip_url' ) ); - } - - if ( $this->is_network_activation_mode() && - fs_request_is_action( $this->get_unique_affix() . '_delegate_activation' ) - ) { - check_admin_referer( $this->get_unique_affix() . '_delegate_activation' ); - - $this->delegate_connection(); - - fs_redirect( $this->get_after_activation_url( 'after_delegation_url' ) ); - } - - $this->_add_upgrade_action_link(); - - if ( ! $this->is_addon() && - ! ( ! $this->_is_network_active && fs_is_network_admin() ) && - ( - ( true === $this->_storage->require_license_activation ) || - // Not registered nor anonymous. - ( ! $this->is_registered() && ! $this->is_anonymous() ) || - // OR, network level and in network upgrade mode. - ( fs_is_network_admin() && $this->_is_network_active && $this->is_network_upgrade_mode() ) - ) - ) { - if ( ! $this->is_pending_activation() ) { - if ( ! $this->_menu->is_main_settings_page() ) { - /** - * If a user visits any other admin page before activating the premium-only theme with a valid - * license, reactivate the previous theme. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( $this->is_theme() - && ! $this->has_settings_menu() - && ! isset( $_REQUEST['fs_action'] ) - && $this->can_activate_previous_theme() - ) { - if ( $this->is_only_premium() ) { - $this->activate_previous_theme(); - return; - } - - if ( true === $this->_storage->require_license_activation ) { - $this->_storage->require_license_activation = false; - } - } - - if ( ! fs_is_network_admin() && - $this->is_network_activation_mode() && - ! $this->is_delegated_connection() - ) { - return; - } - - if ( $this->is_plugin_new_install() || $this->is_only_premium() ) { - if ( ! $this->_anonymous_mode ) { - // Show notice for new plugin installations. - $this->_admin_notices->add( - sprintf( - $this->get_text_inline( 'You are just one step away - %s', 'you-are-step-away' ), - sprintf( '%s', - $this->get_activation_url( array(), ! $this->is_delegated_connection() ), - sprintf( $this->get_text_x_inline( 'Complete "%s" Activation Now', - '%s - plugin name. As complete "PluginX" activation now', 'activate-x-now' ), $this->get_plugin_name() ) - ) - ), - '', - 'update-nag' - ); - } - } else { - if ( $this->should_add_sticky_optin_notice() ) { - $this->add_sticky_optin_admin_notice(); - } - - if ( $this->has_filter( 'optin_pointer_element' ) ) { - // Don't show admin nag if plugin update. - wp_enqueue_script( 'wp-pointer' ); - wp_enqueue_style( 'wp-pointer' ); - - $this->_enqueue_connect_essentials(); - - add_action( 'admin_print_footer_scripts', array( - $this, - '_add_connect_pointer_script' - ) ); - } - } - } - } - - if ( $this->is_theme() && - $this->_menu->is_main_settings_page() - ) { - $this->_show_theme_activation_optin_dialog(); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - private function should_add_sticky_optin_notice() { - if ( fs_is_network_admin() ) { - if ( ! $this->_is_network_active ) { - return false; - } - - if ( ! $this->is_network_activation_mode() ) { - return false; - } - - return ! isset( $this->_storage->sticky_optin_added_ms ); - } - - if ( ! $this->is_activation_mode() ) { - return false; - } - - // If running from a blog admin and delegated the connection. - return ! isset( $this->_storage->sticky_optin_added ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - private function add_sticky_optin_admin_notice() { - if ( ! $this->_is_network_active || ! fs_is_network_admin() ) { - $this->_storage->sticky_optin_added = true; - } else { - $this->_storage->sticky_optin_added_ms = true; - } - - // Show notice for new plugin installations. - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'We made a few tweaks to the %s, %s', 'few-plugin-tweaks' ), - $this->_module_type, - sprintf( '%s', - $this->get_activation_url(), - sprintf( $this->get_text_inline( 'Opt in to make "%s" better!', 'optin-x-now' ), $this->get_plugin_name() ) - ) - ), - 'connect_account', - '', - 'update-nag' - ); - } - - /** - * Enqueue connect requires scripts and styles. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - */ - function _enqueue_connect_essentials() { - wp_enqueue_script( 'jquery' ); - wp_enqueue_script( 'json2' ); - - fs_enqueue_local_script( 'postmessage', 'nojquery.ba-postmessage.min.js' ); - fs_enqueue_local_script( 'fs-postmessage', 'postmessage.js' ); - - fs_enqueue_local_style( 'fs_connect', '/admin/connect.css' ); - } - - /** - * Add connect / opt-in pointer. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - */ - function _add_connect_pointer_script() { - $vars = array( 'id' => $this->_module_id ); - $pointer_content = fs_get_template( 'connect.php', $vars ); - ?> - - _menu->get_raw_slug() ) || - fs_is_plugin_page( $this->_slug ); - } - - /* Events - ------------------------------------------------------------------------------------------------------------------*/ - /** - * Delete site install from Database. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param bool $store - * @param int|null $blog_id Since 2.0.0 - * - * @return false|int The install ID if deleted. Otherwise, FALSE (when install not exist). - */ - function _delete_site( $store = true, $blog_id = null ) { - return self::_delete_site_by_slug( $this->_slug, $this->_module_type, $store, $blog_id ); - } - - /** - * Delete site install from Database. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param string $slug - * @param string $module_type - * @param bool $store - * @param int|null $blog_id Since 2.0.0 - * - * @return false|int The install ID if deleted. Otherwise, FALSE (when install not exist). - */ - static function _delete_site_by_slug( $slug, $module_type, $store = true, $blog_id = null ) { - $sites = self::get_all_sites( $module_type, $blog_id ); - - $install_id = false; - - if ( isset( $sites[ $slug ] ) ) { - if ( is_object( $sites[ $slug ] ) ) { - $install_id = $sites[ $slug ]->id; - } - - unset( $sites[ $slug ] ); - - self::set_account_option_by_module( $module_type, 'sites', $sites, $store, $blog_id ); - } - - return $install_id; - } - - /** - * Delete user. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * @param bool $store - * - * @return false|int The user ID if deleted. Otherwise, FALSE (when install not exist). - */ - private static function delete_user( $user_id, $store = true ) { - $users = self::get_all_users(); - - if ( ! is_array( $users ) || ! isset( $users[ $user_id ] ) ) { - return false; - } - - unset( $users[ $user_id ] ); - - self::$_accounts->set_option( 'users', $users, $store ); - - return $user_id; - } - - /** - * Delete plugin's plans information. - * - * @param bool $store Flush to Database if true. - * @param bool $keep_associated_plans If set to false, delete all plans, even if a plan is associated with an install. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - private function _delete_plans( $store = true, $keep_associated_plans = true ) { - $this->_logger->entrance(); - - $plans = self::get_all_plans( $this->_module_type ); - - $plans_to_keep = array(); - - if ( $keep_associated_plans ) { - $plans_ids_to_keep = $this->get_plans_ids_associated_with_installs(); - foreach ( $plans_ids_to_keep as $plan_id ) { - $plan = self::_get_plan_by_id( $plan_id ); - if ( is_object( $plan ) ) { - $plans_to_keep[] = $plan; - } - } - } - - if ( ! empty( $plans_to_keep ) ) { - $plans[ $this->_slug ] = $plans_to_keep; - } else { - unset( $plans[ $this->_slug ] ); - } - - $this->set_account_option( 'plans', $plans, $store ); - } - - /** - * Delete all plugin licenses. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool $store - */ - private function _delete_licenses( $store = true ) { - $this->_logger->entrance(); - - $all_licenses = self::get_all_licenses(); - - unset( $all_licenses[ $this->_module_id ] ); - - self::$_accounts->set_option( 'all_licenses', $all_licenses, $store ); - } - - /** - * Check if Freemius was added on new plugin installation. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.5 - * - * @return bool - */ - function is_plugin_new_install() { - return isset( $this->_storage->is_plugin_new_install ) && - $this->_storage->is_plugin_new_install; - } - - /** - * Check if it's the first plugin release that is running Freemius. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @return bool - */ - function is_first_freemius_powered_version() { - return empty( $this->_storage->plugin_last_version ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool|string - */ - private function get_previous_theme_slug() { - return isset( $this->_storage->previous_theme ) ? - $this->_storage->previous_theme : - false; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return string - */ - private function can_activate_previous_theme() { - $slug = $this->get_previous_theme_slug(); - if ( false !== $slug && current_user_can( 'switch_themes' ) ) { - $theme_instance = wp_get_theme( $slug ); - - return $theme_instance->exists(); - } - - return false; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - private function activate_previous_theme() { - switch_theme( $this->get_previous_theme_slug() ); - unset( $this->_storage->previous_theme ); - - global $pagenow; - if ( 'themes.php' === $pagenow ) { - /** - * Refresh the active theme information. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - fs_redirect( $this->admin_url( $pagenow ) ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return string - */ - function get_previous_theme_activation_url() { - if ( ! $this->can_activate_previous_theme() ) { - return ''; - } - - /** - * Activation URL - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - return wp_nonce_url( - $this->admin_url( 'themes.php?action=activate&stylesheet=' . urlencode( $this->get_previous_theme_slug() ) ), - 'switch-theme_' . $this->get_previous_theme_slug() - ); - } - - /** - * Saves the slug of the previous theme if it still exists so that it can be used by the logic in the opt-in - * form that decides whether to add a close button to the opt-in dialog or not. So after a premium-only theme is - * activated, the close button will appear and will reactivate the previous theme if clicked. If the previous - * theme doesn't exist, then there will be no close button. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @param string $slug_or_name Old theme's slug or name. - * @param bool|WP_Theme $old_theme WP_Theme instance of the old theme if it still exists. - */ - function _activate_theme_event_hook( $slug_or_name, $old_theme = false ) { - $this->_storage->previous_theme = ( false !== $old_theme ) ? - $old_theme->get_stylesheet() : - $slug_or_name; - - $this->_activate_plugin_event_hook(); - } - - /** - * Plugin activated hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @uses FS_Api - */ - function _activate_plugin_event_hook() { - $this->_logger->entrance( 'slug = ' . $this->_slug ); - - if ( ! $this->is_user_admin() ) { - return; - } - - $this->unregister_uninstall_hook(); - - // Clear API cache on activation. - FS_Api::clear_cache(); - - $is_premium_version_activation = ( current_filter() !== ( 'activate_' . $this->_free_plugin_basename ) ); - - $this->_logger->info( 'Activating ' . ( $is_premium_version_activation ? 'premium' : 'free' ) . ' plugin version.' ); - - // 1. If running in the activation of the FREE module, get the basename of the PREMIUM. - // 2. If running in the activation of the PREMIUM module, get the basename of the FREE. - $other_version_basename = $is_premium_version_activation ? - $this->_free_plugin_basename : - $this->premium_plugin_basename(); - - if ( ! $this->_is_network_active ) { - /** - * During the activation, the plugin isn't yet active, therefore, - * _is_network_active will be set to false even if it's a network level - * activation. So we need to fix that by looking at the is_network_admin() value. - * - * @author Vova Feldman - */ - $this->_is_network_active = ( - $this->_is_multisite_integrated && - // Themes are always network activated, but the ACTUAL activation is per site. - $this->is_plugin() && - fs_is_network_admin() - ); - } - - /** - * If the other module version is activate, deactivate it. - * - * is_plugin_active() checks if the plugin active on the site or the network level - * and deactivate_plugins() deactivates the plugin whether its activated on the site - * or network level. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( is_plugin_active( $other_version_basename ) ) { - deactivate_plugins( $other_version_basename ); - } - - if ( $this->is_registered() ) { - if ( $is_premium_version_activation ) { - $this->reconnect_locally(); - } - - - // Schedule re-activation event and sync. -// $this->sync_install( array(), true ); - $this->schedule_install_sync(); - - // If activating the premium module version, add an admin notice to congratulate for an upgrade completion. - if ( $is_premium_version_activation ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'The upgrade of %s was successfully completed.', 'successful-version-upgrade-message' ), sprintf( '%s', $this->_plugin->title ) ), - $this->get_text_x_inline( 'W00t', - 'Used to express elation, enthusiasm, or triumph (especially in electronic communication).', 'woot' ) . '!' - ); - } - } else if ( $this->is_anonymous() ) { - if ( isset( $this->_storage->is_anonymous_ms ) && $this->_storage->is_anonymous_ms['is'] ) { - $plugin_version = $this->_storage->is_anonymous_ms['version']; - $network = true; - } else { - $plugin_version = $this->_storage->is_anonymous['version']; - $network = false; - } - - /** - * Reset "skipped" click cache on the following: - * 1. Freemius DEV mode. - * 2. WordPress DEBUG mode. - * 3. If a plugin and the user skipped the exact same version before. - * - * @since 1.2.2.7 Ulrich Pogson (@grapplerulrich) asked to not reset the SKIPPED flag if the exact same THEME version was activated before unless the developer is running with WP_DEBUG on, or Freemius debug mode on (WP_FS__DEV_MODE). - * - * @todo 4. If explicitly asked to retry after every activation. - */ - if ( WP_FS__DEV_MODE || - ( - ( $this->is_plugin() || ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ) && - $this->get_plugin_version() == $plugin_version - ) - ) { - $this->reset_anonymous_mode( $network ); - } - } - - if ( - $is_premium_version_activation && - ( - ( ! $this->is_registered() && $this->is_anonymous() ) || - ( - $this->is_registered() && - ! $this->is_trial() && - ! $this->has_features_enabled_license() - ) - ) - ) { - $this->_storage->require_license_activation = true; - } - - if ( ! isset( $this->_storage->is_plugin_new_install ) ) { - /** - * If no previous version of plugin's version exist, it means that it's either - * the first time that the plugin installed on the site, or the plugin was installed - * before but didn't have Freemius integrated. - * - * Since register_activation_hook() do NOT fires on updates since 3.1, and only fires - * on manual activation via the dashboard, is_plugin_activation() is TRUE - * only after immediate activation. - * - * @since 1.1.4 - * @link https://make.wordpress.org/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/ - */ - $this->_storage->is_plugin_new_install = empty( $this->_storage->plugin_last_version ); - } - - if ( ! $this->_anonymous_mode && - $this->has_api_connectivity( WP_FS__DEV_MODE ) && - ! $this->_isAutoInstall - ) { - // Store hint that the plugin was just activated to enable auto-redirection to settings. - set_transient( "fs_{$this->_module_type}_{$this->_slug}_activated", true, 60 ); - } - - /** - * Activation hook is executed after the plugin's main file is loaded, therefore, - * after the plugin was loaded. The logic is located at activate_plugin() - * ./wp-admin/includes/plugin.php. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - */ - $this->_storage->was_plugin_loaded = true; - } - - /** - * Delete account. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param bool $check_user Enforce checking if user have plugins activation privileges. - */ - function delete_account_event( $check_user = true ) { - $this->_logger->entrance( 'slug = ' . $this->_slug ); - - if ( $check_user && ! $this->is_user_admin() ) { - return; - } - - $this->do_action( 'before_account_delete' ); - - // Clear all admin notices. - $this->_admin_notices->clear_all_sticky( false ); - - $this->_delete_site( false ); - - $delete_network_common_data = true; - - if ( $this->_is_network_active ) { - $installs = $this->get_blog_install_map(); - - // Don't delete common network data unless no other installs left. - $delete_network_common_data = empty( $installs ); - } - - if ( $delete_network_common_data ) { - $this->_delete_plans( false ); - - $this->_delete_licenses( false ); - - // Delete add-ons related to plugin's account. - $this->_delete_account_addons( false ); - } - - // @todo Delete plans and licenses of add-ons. - - self::$_accounts->store(); - - /** - * IMPORTANT: - * Clear crons must be executed before clearing all storage. - * Otherwise, the cron will not be cleared. - */ - if ( $delete_network_common_data ) { - $this->clear_sync_cron(); - } - - $this->clear_install_sync_cron(); - - // Clear all storage data. - $this->_storage->clear_all( true, array( - 'connectivity_test', - 'is_on', - ), false ); - - // Send delete event. - $this->get_api_site_scope()->call( '/', 'delete' ); - - $this->do_action( 'after_account_delete' ); - } - - /** - * Delete network level account. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param bool $check_user Enforce checking if user have plugins activation privileges. - */ - function delete_network_account_event( $check_user = true ) { - $this->_logger->entrance( 'slug = ' . $this->_slug ); - - if ( $check_user && ! $this->is_user_admin() ) { - return; - } - - $this->do_action( 'before_network_account_delete' ); - - // Clear all admin notices. - $this->_admin_notices->clear_all_sticky(); - - $this->_delete_plans( false, false ); - - $this->_delete_licenses( false ); - - // Delete add-ons related to plugin's account. - $this->_delete_account_addons( false ); - - // @todo Delete plans and licenses of add-ons. - - self::$_accounts->store( true ); - - /** - * IMPORTANT: - * Clear crons must be executed before clearing all storage. - * Otherwise, the cron will not be cleared. - */ - $this->clear_sync_cron( true ); - $this->clear_install_sync_cron( true ); - - $sites = self::get_sites(); - - $install_ids = array(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - $install_id = $this->_delete_site( true, $blog_id ); - - // Clear all storage data. - $this->_storage->clear_all( true, array( 'connectivity_test' ), $blog_id ); - - if ( FS_Site::is_valid_id( $install_id ) ) { - $install_ids[] = $install_id; - } - - switch_to_blog( $blog_id ); - - $this->do_action( 'after_account_delete' ); - - restore_current_blog(); - } - - $this->_storage->clear_all( true, array( - 'connectivity_test', - 'is_on', - ), true ); - - // Send delete event. - if ( ! empty( $install_ids ) ) { - $result = $this->get_current_or_network_user_api_scope()->call( "/plugins/{$this->_module_id}/installs.json?ids=" . implode( ',', $install_ids ), 'delete' ); - } - - $this->do_action( 'after_network_account_delete' ); - } - - /** - * Plugin deactivation hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - */ - function _deactivate_plugin_hook() { - $this->_logger->entrance( 'slug = ' . $this->_slug ); - - if ( ! $this->is_user_admin() ) { - return; - } - - $is_network_deactivation = fs_is_network_admin(); - $storage_keys_for_removal = array(); - - $this->_admin_notices->clear_all_sticky(); - - $storage_keys_for_removal[] = 'sticky_optin_added'; - if ( isset( $this->_storage->sticky_optin_added ) ) { - unset( $this->_storage->sticky_optin_added ); - } - - if ( ! isset( $this->_storage->is_plugin_new_install ) ) { - // Remember that plugin was already installed. - $this->_storage->is_plugin_new_install = false; - } - - // Hook to plugin uninstall. - register_uninstall_hook( $this->_plugin_main_file_path, array( 'Freemius', '_uninstall_plugin_hook' ) ); - - $this->clear_module_main_file_cache(); - $this->clear_sync_cron( $this->_is_network_active ); - $this->clear_install_sync_cron(); - - if ( $this->is_registered() ) { - if ( $this->is_premium() && ! $this->has_active_valid_license() ) { - FS_Plugin_Updater::instance( $this )->delete_update_data(); - } - - if ( $is_network_deactivation ) { - // Send deactivation event. - $this->sync_installs( array( - 'is_active' => false, - ) ); - } else { - // Send deactivation event. - $this->sync_install( array( - 'is_active' => false, - ) ); - } - } else { - if ( ! $this->has_api_connectivity() ) { - // Reset connectivity test cache. - unset( $this->_storage->connectivity_test ); - - $storage_keys_for_removal[] = 'connectivity_test'; - } - } - - if ( $is_network_deactivation ) { - if ( isset( $this->_storage->sticky_optin_added_ms ) ) { - unset( $this->_storage->sticky_optin_added_ms ); - } - - if ( ! empty( $storage_keys_for_removal ) ) { - $sites = self::get_sites(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - foreach ( $storage_keys_for_removal as $key ) { - $this->_storage->remove( $key, false, $blog_id ); - } - - $this->_storage->save( $blog_id ); - } - } - } - - // Clear API cache on deactivation. - FS_Api::clear_cache(); - - $this->remove_sdk_reference(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - */ - private function remove_sdk_reference() { - global $fs_active_plugins; - - foreach ( $fs_active_plugins->plugins as $sdk_path => $data ) { - if ( $this->_plugin_basename == $data->plugin_path ) { - unset( $fs_active_plugins->plugins[ $sdk_path ] ); - break; - } - } - - fs_fallback_to_newest_active_sdk(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param bool $is_anonymous - * @param bool|int $network_or_blog_id Since 2.0.0 - */ - private function set_anonymous_mode( $is_anonymous = true, $network_or_blog_id = 0 ) { - // Store information regarding skip to try and opt-in the user - // again in the future. - $skip_info = array( - 'is' => $is_anonymous, - 'timestamp' => WP_FS__SCRIPT_START_TIME, - 'version' => $this->get_plugin_version(), - ); - - if ( true === $network_or_blog_id ) { - $this->_storage->is_anonymous_ms = $skip_info; - } else { - $this->_storage->store( 'is_anonymous', $skip_info, $network_or_blog_id ); - } - - $this->network_upgrade_mode_completed(); - - // Update anonymous mode cache. - $this->_is_anonymous = $is_anonymous; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id Site ID. - * @param int $user_id User ID. - * @param string $domain Site domain. - * @param string $path Site path. - * @param int $network_id Network ID. Only relevant on multi-network installations. - * @param array $meta Metadata. Used to set initial site options. - * - * @uses Freemius::is_license_network_active() to check if the context license was network activated by the super-admin. - * @uses Freemius::is_network_connected() to check if the super-admin network opted-in. - * @uses Freemius::is_network_anonymous() to check if the super-admin network skipped. - * @uses Freemius::is_network_delegated_connection() to check if the super-admin network delegated the connection to the site admins. - */ - function _after_new_blog_callback( $blog_id, $user_id, $domain, $path, $network_id, $meta ) { - $this->_logger->entrance(); - - if ( $this->is_premium() && - $this->is_network_connected() && - is_object( $this->_license ) && - $this->_license->can_activate( FS_Site::is_localhost_by_address( $domain ) ) && - $this->is_license_network_active( $blog_id ) - ) { - /** - * Running the premium version, the license was network activated, and the license can also be activated on the current site -> so try to opt-in with the license key. - */ - $current_blog_id = get_current_blog_id(); - $license = clone $this->_license; - - $this->switch_to_blog( $blog_id ); - - // Opt-in with network user. - $this->install_with_user( - $this->get_network_user(), - $license->secret_key, - false, - false, - false - ); - - if ( is_object( $this->_site ) ) { - if ( $this->_site->license_id == $license->id ) { - /** - * If the license was activated successfully, sync the license data from the remote server. - */ - $this->_license = $license; - $this->sync_site_license(); - } - } - - $this->switch_to_blog( $current_blog_id ); - - if ( is_object( $this->_site ) ) { - // Already connected (with or without a license), so no need to continue. - return; - } - } - - if ( $this->is_network_anonymous() ) { - /** - * Opt-in was network skipped so automatically skip the opt-in for the new site. - */ - $this->skip_site_connection( $blog_id ); - } else if ( $this->is_network_delegated_connection() ) { - /** - * Opt-in was network delegated so automatically delegate the opt-in for the new site's admin. - */ - $this->delegate_site_connection( $blog_id ); - } else if ( $this->is_network_connected() ) { - /** - * Opt-in was network activated so automatically opt-in with the network user and new site admin. - */ - $current_blog_id = get_current_blog_id(); - - $this->switch_to_blog( $blog_id ); - - // Opt-in with network user. - $this->install_with_user( - $this->get_network_user(), - false, - false, - false, - false - ); - - $this->switch_to_blog( $current_blog_id ); - } else { - /** - * If the super-admin mixed different options (connect, skip, delegated): - * a) If at least one site connection was delegated, then automatically delegate connection. - * b) Otherwise, it means that at least one site was skipped and at least one site was connected. For a simplified UX in the initial release of the multisite network integration, skip the connection for the newly created site. If the super-admin will want to opt-in they can still do that from the network level Account page. - */ - $has_delegated_site = false; - - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - if ( $this->is_site_delegated_connection( $blog_id ) ) { - $has_delegated_site = true; - break; - } - } - - if ( $has_delegated_site ) { - $this->delegate_site_connection( $blog_id ); - } else { - $this->skip_site_connection( $blog_id ); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param bool|int $network_or_blog_id Since 2.0.0. - */ - private function reset_anonymous_mode( $network_or_blog_id = 0 ) { - if ( true === $network_or_blog_id ) { - unset( $this->_storage->is_anonymous_ms ); - } else { - $this->_storage->remove( 'is_anonymous', true, $network_or_blog_id ); - } - - /** - * Ensure that this field is also "false", otherwise, if the current module's type is "theme" and the module - * has no menus, the opt-in popup will not be shown immediately (in this case, the user will have to click - * on the admin notice that contains the opt-in link in order to trigger the opt-in popup). - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( ! $this->_is_network_active || - 0 === $network_or_blog_id || - get_current_blog_id() == $network_or_blog_id || - ( true === $network_or_blog_id && fs_is_network_admin() ) - ) { - unset( $this->_is_anonymous ); - } - } - - /** - * This is used to ensure that before redirecting to the opt-in page after resetting the anonymous mode or - * deleting the account in the network level, the URL of the page to redirect to is correct. - * - * @author Leo Fajardo (@leorw) - * - * @since 2.1.3 - */ - private function maybe_set_slug_and_network_menu_exists_flag() { - if ( ! empty( $this->_dynamically_added_top_level_page_hook_name ) ) { - $this->_menu->set_slug_and_network_menu_exists_flag( $this->_menu->has_menu() ? - $this->_menu->get_slug() : - $this->_slug - ); - } - } - - /** - * Clears the anonymous mode and redirects to the opt-in screen. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - */ - function connect_again() { - if ( ! $this->is_anonymous() ) { - return; - } - - $this->reset_anonymous_mode( fs_is_network_admin() ); - - $this->maybe_set_slug_and_network_menu_exists_flag(); - - fs_redirect( $this->get_activation_url() ); - } - - /** - * Skip account connect, and set anonymous mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * - * @param array|null $sites Since 2.0.0. Specific sites. - * @param bool $skip_all_network Since 2.0.0. If true, skip connection for all sites. - */ - function skip_connection( $sites = null, $skip_all_network = false ) { - $this->_logger->entrance(); - - $this->_admin_notices->remove_sticky( 'connect_account' ); - - if ( $skip_all_network ) { - $this->set_anonymous_mode( true, true ); - } - - if ( ! $skip_all_network && empty( $sites ) ) { - $this->skip_site_connection(); - } else { - $uids = array(); - - if ( $skip_all_network ) { - $this->set_anonymous_mode( true, true ); - - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $this->skip_site_connection( $blog_id, false ); - $uids[] = $this->get_anonymous_id( $blog_id ); - } - } else if ( ! empty( $sites ) ) { - foreach ( $sites as $site ) { - $uids[] = $site['uid']; - $this->skip_site_connection( $site['blog_id'], false ); - } - } - - // Send anonymous skip event. - // No user identified info nor any tracking will be sent after the user skips the opt-in. - $this->get_api_plugin_scope()->call( 'skip.json', 'put', array( - 'uids' => $uids, - ) ); - } - - $this->network_upgrade_mode_completed(); - } - - /** - * Skip connection for specific site in the network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int|null $blog_id - * @param bool $send_skip - */ - private function skip_site_connection( $blog_id = null, $send_skip = true ) { - $this->_logger->entrance(); - - $this->_admin_notices->remove_sticky( 'connect_account', $blog_id ); - - $this->set_anonymous_mode( true, $blog_id ); - - if ( $send_skip ) { - $this->get_api_plugin_scope()->call( 'skip.json', 'put', array( - 'uids' => array( $this->get_anonymous_id( $blog_id ) ), - ) ); - } - } - - /** - * Plugin version update hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - */ - private function update_plugin_version_event() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return; - } - - $this->schedule_install_sync(); -// $this->sync_install( array(), true ); - } - - /** - * Generate an MD5 signature of a plugins collection. - * This helper methods used to identify changes in a plugins collection. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param array [string]array $plugins - * - * @return string - */ - private function get_plugins_thumbprint( $plugins ) { - ksort( $plugins ); - - $thumbprint = ''; - foreach ( $plugins as $basename => $data ) { - $thumbprint .= $data['slug'] . ',' . - $data['Version'] . ',' . - ( $data['is_active'] ? '1' : '0' ) . ';'; - } - - return md5( $thumbprint ); - } - - /** - * Return a list of modified plugins since the last sync. - * - * Note: - * There's no point to store a plugins counter since even if the number of - * plugins didn't change, we still need to check if the versions are all the - * same and the activity state is similar. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return array|false - */ - private function get_plugins_data_for_api() { - // Alias. - $site_active_plugins_option_name = 'active_plugins'; - $network_plugins_option_name = 'all_plugins'; - - /** - * Collection of all site level active plugins. - */ - $site_active_plugins_cache = self::$_accounts->get_option( $site_active_plugins_option_name ); - - if ( ! is_object( $site_active_plugins_cache ) ) { - $site_active_plugins_cache = (object) array( - 'timestamp' => '', - 'md5' => '', - 'plugins' => array(), - ); - } - - $time = time(); - - if ( ! empty( $site_active_plugins_cache->timestamp ) && - ( $time - $site_active_plugins_cache->timestamp ) < WP_FS__TIME_5_MIN_IN_SEC - ) { - // Don't send plugin updates if last update was in the past 5 min. - return false; - } - - // Write timestamp to lock the logic. - $site_active_plugins_cache->timestamp = $time; - self::$_accounts->set_option( $site_active_plugins_option_name, $site_active_plugins_cache, true ); - - // Reload options from DB. - self::$_accounts->load( true ); - $site_active_plugins_cache = self::$_accounts->get_option( $site_active_plugins_option_name ); - - if ( $time != $site_active_plugins_cache->timestamp ) { - // If timestamp is different, then another thread captured the lock. - return false; - } - - /** - * Collection of all plugins (network level). - */ - $network_plugins_cache = self::$_accounts->get_option( $network_plugins_option_name ); - - if ( ! is_object( $network_plugins_cache ) ) { - $network_plugins_cache = (object) array( - 'timestamp' => '', - 'md5' => '', - 'plugins' => array(), - ); - } - - // Check if there's a change in plugins. - $network_plugins = self::get_network_plugins(); - $site_active_plugins = self::get_site_active_plugins(); - - $network_plugins_thumbprint = $this->get_plugins_thumbprint( $network_plugins ); - $site_active_plugins_thumbprint = $this->get_plugins_thumbprint( $site_active_plugins ); - - // Check if plugins status changed (version or active/inactive). - $network_plugins_changed = ( $network_plugins_cache->md5 !== $network_plugins_thumbprint ); - $site_active_plugins_changed = ( $site_active_plugins_cache->md5 !== $site_active_plugins_thumbprint ); - - if ( ! $network_plugins_changed && - ! $site_active_plugins_changed - ) { - // No changes. - return array(); - } - - $plugins_update_data = array(); - - foreach ( $network_plugins_cache->plugins as $basename => $data ) { - if ( ! isset( $network_plugins[ $basename ] ) ) { - // Plugin uninstalled. - $uninstalled_plugin_data = $data; - $uninstalled_plugin_data['is_active'] = false; - $uninstalled_plugin_data['is_uninstalled'] = true; - $plugins_update_data[] = $uninstalled_plugin_data; - - unset( $network_plugins[ $basename ] ); - - unset( $network_plugins_cache->plugins[ $basename ] ); - unset( $site_active_plugins_cache->plugins[ $basename ] ); - - continue; - } - - $was_active = $data['is_active'] || - ( isset( $site_active_plugins_cache->plugins[ $basename ] ) && - true === $site_active_plugins_cache->plugins[ $basename ]['is_active'] ); - $is_active = $network_plugins[ $basename ]['is_active'] || - ( isset( $site_active_plugins[ $basename ] ) && - $site_active_plugins[ $basename ]['is_active'] ); - - if ( ! isset( $site_active_plugins_cache->plugins[ $basename ] ) && - isset( $site_active_plugins[ $basename ] ) - ) { - // Plugin was site level activated. - $site_active_plugins_cache->plugins[ $basename ] = $network_plugins[ $basename ]; - $site_active_plugins_cache->plugins[ $basename ]['is_active'] = true; - } else if ( isset( $site_active_plugins_cache->plugins[ $basename ] ) && - ! isset( $site_active_plugins[ $basename ] ) - ) { - // Plugin was site level deactivated. - unset( $site_active_plugins_cache->plugins[ $basename ] ); - } - - $prev_version = $data['version']; - $current_version = $network_plugins[ $basename ]['Version']; - - if ( $was_active !== $is_active || $prev_version !== $current_version ) { - // Plugin activated or deactivated, or version changed. - - if ( $was_active !== $is_active ) { - if ( $data['is_active'] != $network_plugins[ $basename ]['is_active'] ) { - $network_plugins_cache->plugins[ $basename ]['is_active'] = $data['is_active']; - } - } - - if ( $prev_version !== $current_version ) { - $network_plugins_cache->plugins[ $basename ]['Version'] = $current_version; - } - - $updated_plugin_data = $data; - $updated_plugin_data['is_active'] = $is_active; - $updated_plugin_data['version'] = $current_version; - $updated_plugin_data['title'] = $network_plugins[ $basename ]['Name']; - $plugins_update_data[] = $updated_plugin_data; - } - } - - // Find new plugins that weren't yet seen before. - foreach ( $network_plugins as $basename => $data ) { - if ( ! isset( $network_plugins_cache->plugins[ $basename ] ) ) { - // New plugin. - $new_plugin = array( - 'slug' => $data['slug'], - 'version' => $data['Version'], - 'title' => $data['Name'], - 'is_active' => $data['is_active'], - 'is_uninstalled' => false, - ); - - $plugins_update_data[] = $new_plugin; - $network_plugins_cache->plugins[ $basename ] = $new_plugin; - - if ( isset( $site_active_plugins[ $basename ] ) ) { - $site_active_plugins_cache->plugins[ $basename ] = $new_plugin; - $site_active_plugins_cache->plugins[ $basename ]['is_active'] = true; - } - } - } - - $site_active_plugins_cache->md5 = $site_active_plugins_thumbprint; - $site_active_plugins_cache->timestamp = $time; - self::$_accounts->set_option( $site_active_plugins_option_name, $site_active_plugins_cache, true ); - - $network_plugins_cache->md5 = $network_plugins_thumbprint; - $network_plugins_cache->timestamp = $time; - self::$_accounts->set_option( $network_plugins_option_name, $network_plugins_cache, true ); - - return $plugins_update_data; - } - - /** - * Return a list of modified themes since the last sync. - * - * Note: - * There's no point to store a themes counter since even if the number of - * themes didn't change, we still need to check if the versions are all the - * same and the activity state is similar. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return array|false - */ - private function get_themes_data_for_api() { - // Alias. - $option_name = 'all_themes'; - - $all_cached_themes = self::$_accounts->get_option( $option_name ); - - if ( ! is_object( $all_cached_themes ) ) { - $all_cached_themes = (object) array( - 'timestamp' => '', - 'md5' => '', - 'themes' => array(), - ); - } - - $time = time(); - - if ( ! empty( $all_cached_themes->timestamp ) && - ( $time - $all_cached_themes->timestamp ) < WP_FS__TIME_5_MIN_IN_SEC - ) { - // Don't send theme updates if last update was in the past 5 min. - return false; - } - - // Write timestamp to lock the logic. - $all_cached_themes->timestamp = $time; - self::$_accounts->set_option( $option_name, $all_cached_themes, true ); - - // Reload options from DB. - self::$_accounts->load( true ); - $all_cached_themes = self::$_accounts->get_option( $option_name ); - - if ( $time != $all_cached_themes->timestamp ) { - // If timestamp is different, then another thread captured the lock. - return false; - } - - // Get active theme. - $active_theme = wp_get_theme(); - $active_theme_stylesheet = $active_theme->get_stylesheet(); - - // Check if there's a change in themes. - $all_themes = wp_get_themes(); - - // Check if themes changed. - ksort( $all_themes ); - - $themes_signature = ''; - foreach ( $all_themes as $slug => $data ) { - $is_active = ( $slug === $active_theme_stylesheet ); - $themes_signature .= $slug . ',' . - $data->version . ',' . - ( $is_active ? '1' : '0' ) . ';'; - } - - // Check if themes status changed (version or active/inactive). - $themes_changed = ( $all_cached_themes->md5 !== md5( $themes_signature ) ); - - $themes_update_data = array(); - - if ( $themes_changed ) { - // Change in themes, report changes. - - // Update existing themes info. - foreach ( $all_cached_themes->themes as $slug => $data ) { - $is_active = ( $slug === $active_theme_stylesheet ); - - if ( ! isset( $all_themes[ $slug ] ) ) { - // Plugin uninstalled. - $uninstalled_theme_data = $data; - $uninstalled_theme_data['is_active'] = false; - $uninstalled_theme_data['is_uninstalled'] = true; - $themes_update_data[] = $uninstalled_theme_data; - - unset( $all_themes[ $slug ] ); - unset( $all_cached_themes->themes[ $slug ] ); - } else if ( $data['is_active'] !== $is_active || - $data['version'] !== $all_themes[ $slug ]->version - ) { - // Plugin activated or deactivated, or version changed. - - $all_cached_themes->themes[ $slug ]['is_active'] = $is_active; - $all_cached_themes->themes[ $slug ]['version'] = $all_themes[ $slug ]->version; - - $themes_update_data[] = $all_cached_themes->themes[ $slug ]; - } - } - - // Find new themes that weren't yet seen before. - foreach ( $all_themes as $slug => $data ) { - if ( ! isset( $all_cached_themes->themes[ $slug ] ) ) { - $is_active = ( $slug === $active_theme_stylesheet ); - - // New plugin. - $new_plugin = array( - 'slug' => $slug, - 'version' => $data->version, - 'title' => $data->name, - 'is_active' => $is_active, - 'is_uninstalled' => false, - ); - - $themes_update_data[] = $new_plugin; - $all_cached_themes->themes[ $slug ] = $new_plugin; - } - } - - $all_cached_themes->md5 = md5( $themes_signature ); - $all_cached_themes->timestamp = time(); - self::$_accounts->set_option( $option_name, $all_cached_themes, true ); - } - - return $themes_update_data; - } - - /** - * Get site data for API install request. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.2 - * - * @param string[] string $override - * @param bool $include_plugins Since 1.1.8 by default include plugin changes. - * @param bool $include_themes Since 1.1.8 by default include plugin changes. - * - * @return array - */ - private function get_install_data_for_api( - array $override, - $include_plugins = true, - $include_themes = true - ) { - if ( ! defined( 'WP_FS__TRACK_PLUGINS' ) || false !== WP_FS__TRACK_PLUGINS ) { - /** - * @since 1.1.8 Also send plugin updates. - */ - if ( $include_plugins && ! isset( $override['plugins'] ) ) { - $plugins = $this->get_plugins_data_for_api(); - if ( ! empty( $plugins ) ) { - $override['plugins'] = $plugins; - } - } - } - - if ( ! defined( 'WP_FS__TRACK_THEMES' ) || false !== WP_FS__TRACK_THEMES ) { - /** - * @since 1.1.8 Also send themes updates. - */ - if ( $include_themes && ! isset( $override['themes'] ) ) { - $themes = $this->get_themes_data_for_api(); - if ( ! empty( $themes ) ) { - $override['themes'] = $themes; - } - } - } - - $versions = $this->get_versions(); - - return array_merge( $versions, array( - 'version' => $this->get_plugin_version(), - 'is_premium' => $this->is_premium(), - 'language' => get_bloginfo( 'language' ), - 'charset' => get_bloginfo( 'charset' ), - 'title' => get_bloginfo( 'name' ), - 'url' => get_site_url(), - // Special params. - 'is_active' => true, - 'is_disconnected' => $this->is_tracking_prohibited(), - 'is_uninstalled' => false, - ), $override ); - } - - /** - * Update installs details. - * - * @todo V1 of multiste network support doesn't support plugin and theme data sending. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string[] string $override - * @param bool $only_diff - * @param bool $include_plugins Since 1.1.8 by default include plugin changes. - * @param bool $include_themes Since 1.1.8 by default include plugin changes. - * - * @return array - */ - private function get_installs_data_for_api( - array $override, - $only_diff = false, - $include_plugins = true, - $include_themes = true - ) { - /** - * @since 1.1.8 Also send plugin updates. - */ -// if ( $include_plugins && ! isset( $override['plugins'] ) ) { -// $plugins = $this->get_plugins_data_for_api(); -// if ( ! empty( $plugins ) ) { -// $override['plugins'] = $plugins; -// } -// } - /** - * @since 1.1.8 Also send themes updates. - */ -// if ( $include_themes && ! isset( $override['themes'] ) ) { -// $themes = $this->get_themes_data_for_api(); -// if ( ! empty( $themes ) ) { -// $override['themes'] = $themes; -// } -// } - - // Common properties. - $versions = $this->get_versions(); - $common = array_merge( $versions, array( - 'version' => $this->get_plugin_version(), - 'is_premium' => $this->is_premium(), - ), $override ); - - - $is_common_diff_for_any_site = false; - $common_diff_union = array(); - - $installs_data = array(); - - $sites = self::get_sites(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( is_object( $install ) ) { - if ( $install->user_id != $this->_user->id ) { - // Install belongs to a different owner. - continue; - } - - if ( ! $this->is_premium() && $install->is_tracking_prohibited() ) { - // Don't send updates regarding opted-out installs. - continue; - } - - $install_data = $this->get_site_info( $site ); - - $uid = $install_data['uid']; - - unset( $install_data['blog_id'] ); - unset( $install_data['uid'] ); - - $install_data['is_disconnected'] = $install->is_disconnected; - $install_data['is_active'] = $this->is_active_for_site( $blog_id ); - $install_data['is_uninstalled'] = $install->is_uninstalled; - - $common_diff = null; - $is_common_diff = false; - if ( $only_diff ) { - $install_data = $this->get_install_diff_for_api( $install_data, $install, $override ); - $common_diff = $this->get_install_diff_for_api( $common, $install, $override ); - - $is_common_diff = ! empty( $common_diff ); - - if ( $is_common_diff ) { - foreach ( $common_diff as $k => $v ) { - if ( ! isset( $common_diff_union[ $k ] ) ) { - $common_diff_union[ $k ] = $v; - } - } - } - - $is_common_diff_for_any_site = $is_common_diff_for_any_site || $is_common_diff; - } - - if ( ! empty( $install_data ) || $is_common_diff ) { - // Add install ID and site unique ID. - $install_data['id'] = $install->id; - $install_data['uid'] = $uid; - - $installs_data[] = $install_data; - } - } - } - - restore_current_blog(); - - if ( 0 < count( $installs_data ) && ( $is_common_diff_for_any_site || ! $only_diff ) ) { - if ( ! $only_diff ) { - $installs_data[] = $common; - } else if ( ! empty( $common_diff_union ) ) { - $installs_data[] = $common_diff_union; - } - } - - foreach ( $installs_data as &$data ) { - $data = (object) $data; - } - - return $installs_data; - } - - /** - * Compare site actual data to the stored install data and return the differences for an API data sync. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param array $site - * @param FS_Site $install - * @param string[] string $override - * - * @return array - */ - private function get_install_diff_for_api( $site, $install, $override = array() ) { - $diff = array(); - $special = array(); - $special_override = false; - - foreach ( $site as $p => $v ) { - if ( property_exists( $install, $p ) ) { - if ( ( is_bool( $install->{$p} ) || ! empty( $install->{$p} ) ) && - $install->{$p} != $v - ) { - $install->{$p} = $v; - $diff[ $p ] = $v; - } - } else { - $special[ $p ] = $v; - - if ( isset( $override[ $p ] ) || - 'plugins' === $p || - 'themes' === $p - ) { - $special_override = true; - } - } - } - - if ( $special_override || 0 < count( $diff ) ) { - // Add special params only if has at least one - // standard param, or if explicitly requested to - // override a special param or a param which is not exist - // in the install object. - $diff = array_merge( $diff, $special ); - } - - return $diff; - } - - /** - * Update install only if changed. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string[] string $override - * @param bool $flush - * - * @return false|object|string - */ - private function send_install_update( $override = array(), $flush = false ) { - $this->_logger->entrance(); - - $check_properties = $this->get_install_data_for_api( $override ); - - if ( $flush ) { - $params = $check_properties; - } else { - $params = $this->get_install_diff_for_api( $check_properties, $this->_site, $override ); - } - - $keepalive_only_update = false; - if ( empty( $params ) ) { - $keepalive_only_update = $this->should_send_keepalive_update(); - - if ( ! $keepalive_only_update ) { - /** - * There are no updates to send including keepalive. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - return false; - } - } - - if ( ! $keepalive_only_update ) { - /** - * Do not update the last install sync timestamp after a keepalive-only call since there were no actual - * updates sent. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - if ( ! is_multisite() ) { - // Update last install sync timestamp. - $this->set_cron_execution_timestamp( 'install_sync' ); - } - - $params['uid'] = $this->get_anonymous_id(); - } - - $this->set_keepalive_timestamp(); - - // Send updated values to FS. - $site = $this->get_api_site_scope()->call( '/', 'put', $params ); - - if ( ! $keepalive_only_update && $this->is_api_result_entity( $site ) ) { - /** - * Do not clear scheduled sync after a keepalive-only call since there were no actual updates sent. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - if ( ! is_multisite() ) { - // I successfully sent install update, clear scheduled sync if exist. - $this->clear_install_sync_cron(); - } - } - - return $site; - } - - /** - * Update installs only if changed. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string[] string $override - * @param bool $flush - * - * @return false|object|string - */ - private function send_installs_update( $override = array(), $flush = false ) { - $this->_logger->entrance(); - - $installs_data = $this->get_installs_data_for_api( $override, ! $flush ); - - $keepalive_only_update = false; - if ( empty( $installs_data ) ) { - /** - * Pass `true` to use the network level storage since the update is for many installs. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - $keepalive_only_update = $this->should_send_keepalive_update( true ); - - if ( ! $keepalive_only_update ) { - /** - * There are no updates to send including keepalive. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - return false; - } - } - - if ( ! $keepalive_only_update ) { - // Update last install sync timestamp if there were actual updates sent (i.e., not a keepalive-only call). - $this->set_cron_execution_timestamp( 'install_sync' ); - } - - /** - * Pass `true` to use the network level storage since the update is for many installs. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - $this->set_keepalive_timestamp( true ); - - // Send updated values to FS. - $result = $this->get_api_user_scope()->call( "/plugins/{$this->_plugin->id}/installs.json", 'put', $installs_data ); - - if ( ! $keepalive_only_update && $this->is_api_result_object( $result, 'installs' ) ) { - // I successfully sent installs update (there was an actual update sent and it's not just a keepalive-only call), clear scheduled sync if exist. - $this->clear_install_sync_cron(); - } - - return $result; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param bool|null $use_network_level_storage - * - * @return bool - */ - private function should_send_keepalive_update( $use_network_level_storage = null ) { - $keepalive_timestamp = $this->_storage->get( 'keepalive_timestamp', 0, $use_network_level_storage ); - - if ( $keepalive_timestamp < ( time() - WP_FS__TIME_WEEK_IN_SEC ) ) { - // If updated more than 7 days ago, trigger a keepalive and update the time it was triggered. - return true; - } else { - // If updated 7 days ago or less, "flip a coin", if the value is 7 trigger a keepalive and update the last time it was triggered. - return ( 7 == rand( 1, 7 ) ); - } - } - - /** - * Update install only if changed. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string[] string $override - * @param bool $flush - */ - private function sync_install( $override = array(), $flush = false ) { - $this->_logger->entrance(); - - $site = $this->send_install_update( $override, $flush ); - - if ( false === $site ) { - // No sync required. - return; - } - - if ( ! $this->is_api_result_entity( $site ) ) { - // Failed to sync, don't update locally. - return; - } - - $this->_site = new FS_Site( $site ); - - $this->_store_site( true ); - } - - /** - * Update install only if changed. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string[] string $override - * @param bool $flush - */ - private function sync_installs( $override = array(), $flush = false ) { - $this->_logger->entrance(); - - $result = $this->send_installs_update( $override, $flush ); - - if ( false === $result ) { - // No sync required. - return; - } - - if ( ! $this->is_api_result_object( $result, 'installs' ) ) { - // Failed to sync, don't update locally. - return; - } - - $address_to_blog_map = $this->get_address_to_blog_map(); - - foreach ( $result->installs as $install ) { - $this->_site = new FS_Site( $install ); - - $address = trailingslashit( fs_strip_url_protocol( $install->url ) ); - $blog_id = $address_to_blog_map[ $address ]; - - $this->_store_site( true, $blog_id ); - } - } - - /** - * Track install's custom event. - * - * IMPORTANT: - * Custom event tracking is currently only supported for specific clients. - * If you are not one of them, please don't use this method. If you will, - * the API will simply ignore your request based on the plugin ID. - * - * Need custom tracking for your plugin or theme? - * If you are interested in custom event tracking please contact yo@freemius.com - * for further details. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @param string $name Event name. - * @param array $properties Associative key/value array with primitive values only - * @param bool $process_at A valid future date-time in the following format Y-m-d H:i:s. - * @param bool $once If true, event will be tracked only once. IMPORTANT: Still trigger the API call. - * - * @return object|false Event data or FALSE on failure. - * - * @throws \Freemius_InvalidArgumentException - */ - public function track_event( $name, $properties = array(), $process_at = false, $once = false ) { - $this->_logger->entrance( http_build_query( array( 'name' => $name, 'once' => $once ) ) ); - - if ( ! $this->is_registered() ) { - return false; - } - - $event = array( 'type' => $name ); - - if ( is_numeric( $process_at ) && $process_at > time() ) { - $event['process_at'] = $process_at; - } - - if ( $once ) { - $event['once'] = true; - } - - if ( ! empty( $properties ) ) { - // Verify associative array values are primitive. - foreach ( $properties as $k => $v ) { - if ( ! is_scalar( $v ) ) { - throw new Freemius_InvalidArgumentException( 'The $properties argument must be an associative key/value array with primitive values only.' ); - } - } - - $event['properties'] = $properties; - } - - $result = $this->get_api_site_scope()->call( 'events.json', 'post', $event ); - - return $this->is_api_error( $result ) ? - false : - $result; - } - - /** - * Track install's custom event only once, but it still triggers the API call. - * - * IMPORTANT: - * Custom event tracking is currently only supported for specific clients. - * If you are not one of them, please don't use this method. If you will, - * the API will simply ignore your request based on the plugin ID. - * - * Need custom tracking for your plugin or theme? - * If you are interested in custom event tracking please contact yo@freemius.com - * for further details. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @param string $name Event name. - * @param array $properties Associative key/value array with primitive values only - * @param bool $process_at A valid future date-time in the following format Y-m-d H:i:s. - * - * @return object|false Event data or FALSE on failure. - * - * @throws \Freemius_InvalidArgumentException - * - * @user Freemius::track_event() - */ - public function track_event_once( $name, $properties = array(), $process_at = false ) { - return $this->track_event( $name, $properties, $process_at, true ); - } - - /** - * Plugin uninstall hook. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param bool $check_user Enforce checking if user have plugins activation privileges. - */ - function _uninstall_plugin_event( $check_user = true ) { - $this->_logger->entrance( 'slug = ' . $this->_slug ); - - if ( $check_user && ! current_user_can( 'activate_plugins' ) ) { - return; - } - - $params = array(); - $uninstall_reason = null; - if ( isset( $this->_storage->uninstall_reason ) ) { - $uninstall_reason = $this->_storage->uninstall_reason; - $params['reason_id'] = $uninstall_reason->id; - $params['reason_info'] = $uninstall_reason->info; - } - - if ( ! $this->is_registered() ) { - // Send anonymous uninstall event only if user submitted a feedback. - if ( isset( $uninstall_reason ) ) { - if ( isset( $uninstall_reason->is_anonymous ) && ! $uninstall_reason->is_anonymous ) { - $this->opt_in( false, false, false, false, true ); - } else { - $params['uid'] = $this->get_anonymous_id(); - $this->get_api_plugin_scope()->call( 'uninstall.json', 'put', $params ); - } - } - } else { - $params = array_merge( $params, array( - 'is_active' => false, - 'is_uninstalled' => true, - ) ); - - if ( $this->_is_network_active ) { - // Send uninstall event. - $this->send_installs_update( $params ); - } else { - // Send uninstall event. - $this->send_install_update( $params ); - } - } - - // @todo Decide if we want to delete plugin information from db. - } - - /** - * Set the basename of the current product and hook _activate_plugin_event_hook() to the activation action. - * - * @author Vova Feldman (@svovaf) - * @since 2.2.1 - * - * @param string $is_premium - * @param string $caller - * - * @return string - */ - function set_basename( $is_premium, $caller ) { - $basename = plugin_basename( $caller ); - - $current_basename = $is_premium ? - $this->_premium_plugin_basename : - $this->_free_plugin_basename; - - if ( $current_basename == $basename ) { - // Basename value set correctly. - return; - } - - if ( $is_premium ) { - $this->_premium_plugin_basename = $basename; - } else { - $this->_free_plugin_basename = $basename; - } - - $plugin_dir = dirname( $this->_plugin_dir_path ) . '/'; - - register_activation_hook( - $plugin_dir . $basename, - array( &$this, '_activate_plugin_event_hook' ) - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * @since 2.2.1 If the context product is in its premium version, use the current module's basename, even if it was renamed. - * - * @return string - */ - function premium_plugin_basename() { - if ( ! isset( $this->_premium_plugin_basename ) ) { - $this->_premium_plugin_basename = $this->is_premium() ? - // The product is premium, so use the current basename. - $this->_plugin_basename : - $this->get_premium_slug() . '/' . basename( $this->_free_plugin_basename ); - } - - return $this->_premium_plugin_basename; - } - - /** - * Uninstall plugin hook. Called only when connected his account with Freemius for active sites tracking. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - */ - public static function _uninstall_plugin_hook() { - self::_load_required_static(); - - self::$_static_logger->entrance(); - - if ( ! current_user_can( 'activate_plugins' ) ) { - return; - } - - $plugin_file = substr( current_filter(), strlen( 'uninstall_' ) ); - - self::$_static_logger->info( 'plugin = ' . $plugin_file ); - - define( 'WP_FS__UNINSTALL_MODE', true ); - - $fs = self::get_instance_by_file( $plugin_file ); - - if ( is_object( $fs ) ) { - self::require_plugin_essentials(); - - if ( is_plugin_active( $fs->_free_plugin_basename ) || - is_plugin_active( $fs->premium_plugin_basename() ) - ) { - // Deleting Free or Premium plugin version while the other version still installed. - return; - } - - $fs->_uninstall_plugin_event(); - - $fs->do_action( 'after_uninstall' ); - } - } - - #---------------------------------------------------------------------------------- - #region Plugin Information - #---------------------------------------------------------------------------------- - - /** - * Load WordPress core plugin.php essential module. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - */ - private static function require_plugin_essentials() { - if ( ! function_exists( 'get_plugins' ) ) { - self::$_static_logger->log( 'Including wp-admin/includes/plugin.php...' ); - - require_once ABSPATH . 'wp-admin/includes/plugin.php'; - } - } - - /** - * Load WordPress core pluggable.php module. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.2 - */ - private static function require_pluggable_essentials() { - if ( ! function_exists( 'wp_get_current_user' ) ) { - require_once ABSPATH . 'wp-includes/pluggable.php'; - } - } - - /** - * Return plugin data. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @return array - */ - function get_plugin_data() { - if ( ! isset( $this->_plugin_data ) ) { - self::require_plugin_essentials(); - - if ( $this->is_plugin() ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.0 When using get_plugin_data() do NOT translate plugin data. - * - * @link https://github.com/Freemius/wordpress-sdk/issues/77 - */ - $plugin_data = get_plugin_data( - $this->_plugin_main_file_path, - false, - false - ); - } else { - $theme_data = wp_get_theme(); - - if ( $this->_plugin_basename !== $theme_data->get_stylesheet() && is_child_theme() ) { - $parent_theme = $theme_data->parent(); - - if ( ( $parent_theme instanceof WP_Theme ) && $this->_plugin_basename === $parent_theme->get_stylesheet() ) { - $theme_data = $parent_theme; - } - } - - $plugin_data = array( - 'Name' => $theme_data->get( 'Name' ), - 'Version' => $theme_data->get( 'Version' ), - 'Author' => $theme_data->get( 'Author' ), - 'Description' => $theme_data->get( 'Description' ), - 'PluginURI' => $theme_data->get( 'ThemeURI' ), - ); - } - - $this->_plugin_data = $plugin_data; - } - - return $this->_plugin_data; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * @since 1.2.2.5 If slug not set load slug by module ID. - * - * @return string Plugin slug. - */ - function get_slug() { - if ( ! isset( $this->_slug ) ) { - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map', array() ); - $this->_slug = $id_slug_type_path_map[ $this->_module_id ]['slug']; - } - - return $this->_slug; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - * - * @return string - */ - function get_premium_slug() { - return is_object( $this->_plugin ) ? - $this->_plugin->premium_slug : - "{$this->_slug}-premium"; - } - - /** - * Retrieve the desired folder name for the product. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @return string Plugin slug. - */ - function get_target_folder_name() { - return $this->can_use_premium_code() ? - $this->_plugin->premium_slug : - $this->_slug; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @return number Plugin ID. - */ - function get_id() { - return $this->_plugin->id; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @return string Freemius SDK version - */ - function get_sdk_version() { - return $this->version; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @return number Parent plugin ID (if parent exist). - */ - function get_parent_id() { - return $this->is_addon() ? - $this->get_parent_instance()->get_id() : - $this->_plugin->id; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @return string Plugin public key. - */ - function get_public_key() { - return $this->_plugin->public_key; - } - - /** - * Will be available only on sandbox mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return mixed Plugin secret key. - */ - function get_secret_key() { - return $this->_plugin->secret_key; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * - * @return bool - */ - function has_secret_key() { - return ! empty( $this->_plugin->secret_key ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string|bool $premium_suffix - * - * @return string - */ - function get_plugin_name( $premium_suffix = false ) { - $this->_logger->entrance(); - - /** - * This `if-else` can be squeezed into a single `if` but I intentionally split it for code readability. - * - * @author Vova Feldman - */ - if ( ! isset( $this->_plugin_name ) ) { - // Name is not yet set. - $this->set_name( $premium_suffix ); - } else if ( - ! empty( $premium_suffix ) && - ( ! is_object( $this->_plugin ) || $this->_plugin->premium_suffix !== $premium_suffix ) - ) { - // Name is already set, but there's a change in the premium suffix. - $this->set_name( $premium_suffix ); - } - - return $this->_plugin_name; - } - - /** - * Calculates and stores the product's name. This helper function was created specifically for get_plugin_name() just to make the code clearer. - * - * @author Vova Feldman (@svovaf) - * @since 2.2.1 - * - * @param string $premium_suffix - */ - private function set_name( $premium_suffix = '' ) { - $plugin_data = $this->get_plugin_data(); - - // Get name. - $this->_plugin_name = $plugin_data['Name']; - - if ( is_string( $premium_suffix ) ) { - $premium_suffix = trim( $premium_suffix ); - - if ( ! empty( $premium_suffix ) ) { - // Check if plugin name contains " (premium)" or a custom suffix and remove it. - $suffix = ( ' ' . strtolower( $premium_suffix ) ); - $suffix_len = strlen( $suffix ); - - if ( strlen( $plugin_data['Name'] ) > $suffix_len && - $suffix === substr( strtolower( $plugin_data['Name'] ), - $suffix_len ) - ) { - $this->_plugin_name = substr( $plugin_data['Name'], 0, - $suffix_len ); - } - } - } - - $this->_logger->departure( 'Name = ' . $this->_plugin_name ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * - * @return string - */ - function get_plugin_version() { - $this->_logger->entrance(); - - $plugin_data = $this->get_plugin_data(); - - $this->_logger->departure( 'Version = ' . $plugin_data['Version'] ); - - return $this->apply_filters( 'plugin_version', $plugin_data['Version'] ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @return string - */ - function get_plugin_title() { - $this->_logger->entrance(); - - $title = $this->_plugin->title; - - return $this->apply_filters( 'plugin_title', $title ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param bool $lowercase - * - * @return string - */ - function get_module_label( $lowercase = false ) { - $label = $this->is_addon() ? - $this->get_text_inline( 'Add-On', 'addon' ) : - ( $this->is_plugin() ? - $this->get_text_inline( 'Plugin', 'plugin' ) : - $this->get_text_inline( 'Theme', 'theme' ) ); - - if ( $lowercase ) { - $label = strtolower( $label ); - } - - return $label; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return string - */ - function get_plugin_basename() { - if ( ! isset( $this->_plugin_basename ) ) { - if ( $this->is_plugin() ) { - $this->_plugin_basename = plugin_basename( $this->_plugin_main_file_path ); - } else { - $this->_plugin_basename = basename( dirname( $this->_plugin_main_file_path ) ); - } - } - - return $this->_plugin_basename; - } - - function get_plugin_folder_name() { - $this->_logger->entrance(); - - $plugin_folder = $this->_plugin_basename; - - while ( '.' !== dirname( $plugin_folder ) ) { - $plugin_folder = dirname( $plugin_folder ); - } - - $this->_logger->departure( 'Folder Name = ' . $plugin_folder ); - - return $plugin_folder; - } - - #endregion ------------------------------------------------------------------ - - /* Account - ------------------------------------------------------------------------------------------------------------------*/ - - /** - * Find plugin's slug by plugin's basename. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $plugin_base_name - * - * @return false|string - */ - private static function find_slug_by_basename( $plugin_base_name ) { - $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() ); - - if ( ! array( $file_slug_map ) || ! isset( $file_slug_map[ $plugin_base_name ] ) ) { - return false; - } - - return $file_slug_map[ $plugin_base_name ]; - } - - /** - * Store the map between the plugin's basename to the slug. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - private function store_file_slug_map() { - $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() ); - - if ( ! array( $file_slug_map ) ) { - $file_slug_map = array(); - } - - if ( ! isset( $file_slug_map[ $this->_plugin_basename ] ) || - $file_slug_map[ $this->_plugin_basename ] !== $this->_slug - ) { - $file_slug_map[ $this->_plugin_basename ] = $this->_slug; - self::$_accounts->set_option( 'file_slug_map', $file_slug_map, true ); - } - } - - /** - * @return array[number]FS_User - */ - static function get_all_users() { - $users = self::$_accounts->get_option( 'users', array() ); - - if ( ! is_array( $users ) ) { - $users = array(); - } - - return $users; - } - - /** - * @param string $module_type - * @param null|int $blog_id Since 2.0.0 - * - * @return array[string]FS_Site - */ - private static function get_all_sites( - $module_type = WP_FS__MODULE_TYPE_PLUGIN, - $blog_id = null - ) { - $sites = self::get_account_option( 'sites', $module_type, $blog_id ); - - if ( ! is_array( $sites ) ) { - $sites = array(); - } - - return $sites; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @since 1.2.2 - * - * @param string $option_name - * @param string $module_type - * @param null|int $network_level_or_blog_id Since 2.0.0 - * - * @return mixed - */ - private static function get_account_option( $option_name, $module_type = null, $network_level_or_blog_id = null ) { - if ( ! is_null( $module_type ) && WP_FS__MODULE_TYPE_PLUGIN !== $module_type ) { - $option_name = $module_type . '_' . $option_name; - } - - return self::$_accounts->get_option( $option_name, array(), $network_level_or_blog_id ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @since 1.2.2 - * - * @param string $option_name - * @param mixed $option_value - * @param bool $store - * @param null|int $network_level_or_blog_id Since 2.0.0 - */ - private function set_account_option( $option_name, $option_value, $store, $network_level_or_blog_id = null ) { - self::set_account_option_by_module( - $this->_module_type, - $option_name, - $option_value, - $store, - $network_level_or_blog_id - ); - } - - /** - * @author Vova Feldman (@svovaf) - * - * @since 1.2.2.7 - * - * @param string $module_type - * @param string $option_name - * @param mixed $option_value - * @param bool $store - * @param null|int $network_level_or_blog_id Since 2.0.0 - */ - private static function set_account_option_by_module( - $module_type, - $option_name, - $option_value, - $store, - $network_level_or_blog_id = null - ) { - if ( WP_FS__MODULE_TYPE_PLUGIN != $module_type ) { - $option_name = $module_type . '_' . $option_name; - } - - self::$_accounts->set_option( $option_name, $option_value, $store, $network_level_or_blog_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number|null $module_id - * - * @return FS_Plugin_License[] - */ - private static function get_all_licenses( $module_id = null ) { - $licenses = self::get_account_option( 'all_licenses' ); - - if ( ! is_array( $licenses ) ) { - $licenses = array(); - } - - if ( is_null( $module_id ) ) { - return $licenses; - } - - $licenses = isset( $licenses[ $module_id ] ) ? - $licenses[ $module_id ] : - array(); - - return $licenses; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return array - */ - private static function get_all_licenses_by_module_type() { - $licenses = self::get_account_option( 'all_licenses' ); - - $licenses_by_module_type = array( - WP_FS__MODULE_TYPE_PLUGIN => array(), - WP_FS__MODULE_TYPE_THEME => array() - ); - - if ( ! is_array( $licenses ) ) { - return $licenses_by_module_type; - } - - foreach ( $licenses as $module_id => $module_licenses ) { - $fs = self::get_instance_by_id( $module_id ); - if ( false === $fs ) { - continue; - } - - $licenses_by_module_type[ $fs->_module_type ] = array_merge( $licenses_by_module_type[ $fs->_module_type ], $module_licenses ); - } - - return $licenses_by_module_type; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param number $module_id - * @param number|null $user_id - * - * @return array - */ - private static function get_user_id_license_ids_map( $module_id, $user_id = null ) { - $all_modules_user_id_license_ids_map = self::get_account_option( 'user_id_license_ids_map' ); - - if ( ! is_array( $all_modules_user_id_license_ids_map ) ) { - $all_modules_user_id_license_ids_map = array(); - } - - $user_id_license_ids_map = isset( $all_modules_user_id_license_ids_map[ $module_id ] ) ? - $all_modules_user_id_license_ids_map[ $module_id ] : - array(); - - if ( FS_User::is_valid_id( $user_id ) ) { - $user_id_license_ids_map = isset( $user_id_license_ids_map[ $user_id ] ) ? - $user_id_license_ids_map[ $user_id ] : - array(); - } - - return $user_id_license_ids_map; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param array $new_user_id_license_ids_map - * @param number $module_id - * @param number|null $user_id - */ - private static function store_user_id_license_ids_map( $new_user_id_license_ids_map, $module_id, $user_id = null ) { - $all_modules_user_id_license_ids_map = self::get_account_option( 'user_id_license_ids_map' ); - if ( ! is_array( $all_modules_user_id_license_ids_map ) ) { - $all_modules_user_id_license_ids_map = array(); - } - - if ( ! isset( $all_modules_user_id_license_ids_map[ $module_id ] ) ) { - $all_modules_user_id_license_ids_map[ $module_id ] = array(); - } - - if ( FS_User::is_valid_id( $user_id ) ) { - $all_modules_user_id_license_ids_map[ $module_id ][ $user_id ] = $new_user_id_license_ids_map; - } else { - $all_modules_user_id_license_ids_map[ $module_id ] = $new_user_id_license_ids_map; - } - - self::$_accounts->set_option( 'user_id_license_ids_map', $all_modules_user_id_license_ids_map, true ); - } - - /** - * Get a collection of the user's linked license IDs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * - * @return number[] - */ - private function get_user_linked_license_ids( $user_id ) { - return self::get_user_id_license_ids_map( $this->_module_id, $user_id ); - } - - /** - * Override the user's linked license IDs with a new IDs collection. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * @param number[] $license_ids - */ - private function set_user_linked_license_ids( $user_id, array $license_ids ) { - self::store_user_id_license_ids_map( $license_ids, $this->_module_id, $user_id ); - } - - /** - * Link a specified license ID to a given user. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $license_id - * @param number $user_id - */ - private function link_license_2_user( $license_id, $user_id ) { - $license_ids = $this->get_user_linked_license_ids( $user_id ); - - if ( in_array( $license_id, $license_ids ) ) { - // License already linked. - return; - } - - $license_ids[] = $license_id; - - $this->set_user_linked_license_ids( $user_id, $license_ids ); - } - - /** - * @param string|bool $module_type - * - * @return FS_Plugin_Plan[] - */ - private static function get_all_plans( $module_type = false ) { - $plans = self::get_account_option( 'plans', $module_type ); - - if ( ! is_array( $plans ) ) { - $plans = array(); - } - - return $plans; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return FS_Plugin_Tag[] - */ - private static function get_all_updates() { - $updates = self::$_accounts->get_option( 'updates', array() ); - - if ( ! is_array( $updates ) ) { - $updates = array(); - } - - return $updates; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return array|false - */ - private static function get_all_addons() { - $addons = self::$_accounts->get_option( 'addons', array() ); - - if ( ! is_array( $addons ) ) { - $addons = array(); - } - - return $addons; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return FS_Plugin[]|false - */ - private static function get_all_account_addons() { - $addons = self::$_accounts->get_option( 'account_addons', array() ); - - if ( ! is_array( $addons ) ) { - $addons = array(); - } - - return $addons; - } - - /** - * Check if user has connected his account (opted-in). - * - * Note: - * If the user opted-in and opted-out on a later stage, - * this will still return true. If you want to check if the - * user is currently opted-in, use: - * `$fs->is_registered() && $fs->is_tracking_allowed()` - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * @return bool - */ - function is_registered() { - return is_object( $this->_user ); - } - - /** - * Returns TRUE if the user opted-in and didn't disconnect (opt-out). - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - * - * @return bool - */ - function is_tracking_allowed() { - return ( is_object( $this->_site ) && $this->_site->is_tracking_allowed() ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return FS_Plugin - */ - function get_plugin() { - return $this->_plugin; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return FS_User - */ - function get_user() { - return $this->_user; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return FS_Site - */ - function get_site() { - return $this->_site; - } - - /** - * Get plugin add-ons. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @since 1.1.7.3 If not yet loaded, fetch data from the API. - * - * @param bool $flush - * - * @return FS_Plugin[]|false - */ - function get_addons( $flush = false ) { - $this->_logger->entrance(); - - if ( ! $this->_has_addons ) { - return false; - } - - $addons = $this->sync_addons( $flush ); - - return ( ! is_array( $addons ) || empty( $addons ) ) ? - false : - $addons; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return FS_Plugin[]|false - */ - function get_account_addons() { - $this->_logger->entrance(); - - $addons = self::get_all_account_addons(); - - if ( ! is_array( $addons ) || - ! isset( $addons[ $this->_plugin->id ] ) || - ! is_array( $addons[ $this->_plugin->id ] ) || - 0 === count( $addons[ $this->_plugin->id ] ) - ) { - return false; - } - - return $addons[ $this->_plugin->id ]; - } - - /** - * Check if user has any - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @return bool - */ - function has_account_addons() { - $addons = $this->get_account_addons(); - - return is_array( $addons ) && ( 0 < count( $addons ) ); - } - - - /** - * Get add-on by ID (from local data). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number $id - * - * @return FS_Plugin|false - */ - function get_addon( $id ) { - $this->_logger->entrance(); - - $addons = $this->get_addons(); - - if ( is_array( $addons ) ) { - foreach ( $addons as $addon ) { - if ( $id == $addon->id ) { - return $addon; - } - } - } - - return false; - } - - /** - * Get add-on by slug (from local data). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string $slug - * - * @param bool $flush - * - * @return FS_Plugin|false - */ - function get_addon_by_slug( $slug, $flush = false ) { - $this->_logger->entrance(); - - $addons = $this->get_addons( $flush ); - - if ( is_array( $addons ) ) { - foreach ( $addons as $addon ) { - if ( $slug === $addon->slug ) { - return $addon; - } - } - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * - * @return FS_User - */ - static function _get_user_by_id( $user_id ) { - self::$_static_logger->entrance( "user_id = {$user_id}" ); - - $users = self::get_all_users(); - - if ( is_array( $users ) ) { - if ( isset( $users[ $user_id ] ) && - $users[ $user_id ] instanceof FS_User && - $user_id == $users[ $user_id ]->id - ) { - return $users[ $user_id ]; - } - - // If user wasn't found by the key, iterate over all the users collection. - foreach ( $users as $user ) { - /** - * @var FS_User $user - */ - if ( $user_id == $user->id ) { - return $user; - } - } - } - - return null; - } - - /** - * Checks if a Freemius user_id is associated with a super-admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * - * @return bool - */ - private static function is_super_admin( $user_id ) { - $is_super_admin = false; - - $user = self::_get_user_by_id( $user_id ); - - if ( $user instanceof FS_User && ! empty( $user->email ) ) { - self::require_pluggable_essentials(); - - $wp_user = get_user_by( 'email', $user->email ); - - if ( $wp_user instanceof WP_User ) { - $super_admins = get_super_admins(); - $is_super_admin = ( is_array( $super_admins ) && in_array( $wp_user->user_login, $super_admins ) ); - } - } - - return $is_super_admin; - } - - #---------------------------------------------------------------------------------- - #region Plans & Licensing - #---------------------------------------------------------------------------------- - - /** - * Check if running premium plugin code. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return bool - */ - function is_premium() { - /** - * `$this->_plugin` will be `false` when `is_activation_mode` calls this method directly from the - * `_register_hooks` method. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - return is_object( $this->_plugin ) ? - $this->_plugin->is_premium : - false; - } - - /** - * Get site's plan ID. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @return number - */ - function get_plan_id() { - return $this->_site->plan_id; - } - - /** - * Get site's plan title. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @return string - */ - function get_plan_title() { - $plan = $this->get_plan(); - - return is_object( $plan ) ? $plan->title : 'PLAN_TITLE'; - } - - /** - * Get site's plan name. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function get_plan_name() { - $plan = $this->get_plan(); - - return is_object( $plan ) ? $plan->name : 'PLAN_NAME'; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return FS_Plugin_Plan|false - */ - function get_plan() { - if ( ! is_object( $this->_site ) ) { - return false; - } - - return FS_Plugin_Plan::is_valid_id( $this->_site->plan_id ) ? - $this->_get_plan_by_id( $this->_site->plan_id ) : - false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return bool - */ - function is_trial() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() || ! is_object( $this->_site ) ) { - return false; - } - - return $this->_site->is_trial(); - } - - /** - * Check if currently in a trial with payment method (credit card or paypal). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @return bool - */ - function is_paid_trial() { - $this->_logger->entrance(); - - if ( ! $this->is_trial() ) { - return false; - } - - return $this->has_active_valid_license() && ( $this->_site->trial_plan_id == $this->_license->plan_id ); - } - - /** - * Check if trial already utilized. - * - * @since 1.0.9 - * - * @return bool - */ - function is_trial_utilized() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return false; - } - - return $this->_site->is_trial_utilized(); - } - - /** - * Get trial plan information (if in trial). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool|FS_Plugin_Plan - */ - function get_trial_plan() { - $this->_logger->entrance(); - - if ( ! $this->is_trial() ) { - return false; - } - - // Try to load plan from local cache. - $trial_plan = $this->_get_plan_by_id( $this->_site->trial_plan_id ); - - if ( ! is_object( $trial_plan ) ) { - $trial_plan = $this->_fetch_site_plan( $this->_site->trial_plan_id ); - - /** - * If managed to fetch the plan, add it to the plans collection. - */ - if ( $trial_plan instanceof FS_Plugin_Plan ) { - if ( ! is_array( $this->_plans ) ) { - $this->_plans = array(); - } - - $this->_plans[] = $trial_plan; - $this->_store_plans(); - } - } - - if ( $trial_plan instanceof FS_Plugin_Plan ) { - return $trial_plan; - } - - /** - * If for some reason failed to get the trial plan, fallback to a dummy name and title. - */ - $trial_plan = new FS_Plugin_Plan(); - $trial_plan->id = $this->_site->trial_plan_id; - $trial_plan->name = 'pro'; - $trial_plan->title = 'Pro'; - - return $trial_plan; - } - - /** - * Check if the user has an activate, non-expired license on current plugin's install. - * - * @since 1.0.9 - * - * @return bool - */ - function is_paying() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return false; - } - - if ( ! $this->has_paid_plan() ) { - return false; - } - - return ( - ! $this->is_trial() && - 'free' !== $this->get_plan_name() && - $this->has_active_valid_license() - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return bool - */ - function is_free_plan() { - if ( ! $this->is_registered() ) { - return true; - } - - if ( ! $this->has_paid_plan() ) { - return true; - } - - return ( - 'free' === $this->get_plan_name() || - ! $this->has_features_enabled_license() - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return bool - */ - function _has_premium_license() { - $this->_logger->entrance(); - - $premium_license = $this->_get_available_premium_license(); - - return ( false !== $premium_license ); - } - - /** - * Check if user has any licenses associated with the plugin (including expired or blocking). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @return bool - */ - function has_any_license() { - return is_array( $this->_licenses ) && ( 0 < count( $this->_licenses ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool|null $is_localhost - * - * @return FS_Plugin_License|false - */ - function _get_available_premium_license( $is_localhost = null ) { - $this->_logger->entrance(); - - $licenses = $this->get_available_premium_licenses( $is_localhost ); - if ( ! empty( $licenses ) ) { - return $licenses[0]; - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool|null $is_localhost - * - * @return FS_Plugin_License[] - */ - function get_available_premium_licenses( $is_localhost = null ) { - $this->_logger->entrance(); - - $licenses = array(); - if ( ! $this->has_paid_plan() ) { - return $licenses; - } - - if ( is_array( $this->_licenses ) ) { - foreach ( $this->_licenses as $license ) { - if ( ! $license->can_activate( $is_localhost ) ) { - continue; - } - - $licenses[] = $license; - } - } - - return $licenses; - } - - /** - * Sync local plugin plans with remote server. - * - * IMPORTANT: If for some reason a site is associated with deleted plan, we'll preserve the plan's information and append it as the last plan. This means that if plan is deleted, the is_plan() method will ALWAYS return true for any given argument (it becomes the most inclusive plan). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return FS_Plugin_Plan[]|object - */ - function _sync_plans() { - $plans = $this->_fetch_plugin_plans(); - - if ( $this->is_array_instanceof( $plans, 'FS_Plugin_Plan' ) ) { - $plans_map = array(); - foreach ( $plans as $plan ) { - $plans_map[ $plan->id ] = true; - } - - $plans_ids_to_keep = $this->get_plans_ids_associated_with_installs(); - - foreach ( $plans_ids_to_keep as $plan_id ) { - if ( isset( $plans_map[ $plan_id ] ) ) { - continue; - } - - $missing_plan = self::_get_plan_by_id( $plan_id ); - - if ( is_object( $missing_plan ) ) { - $plans[] = $missing_plan; - } - } - - $this->_plans = $plans; - $this->_store_plans(); - } - - $this->do_action( 'after_plans_sync', $plans ); - - return $this->_plans; - } - - /** - * Check if specified plan exists locally. If not, fetch it and store it. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $plan_id - * - * @return \FS_Plugin_Plan|object The plan entity or the API error object on failure. - */ - private function sync_plan_if_not_exist( $plan_id ) { - $plan = self::_get_plan_by_id( $plan_id ); - - if ( is_object( $plan ) ) { - // Plan already exists. - return $plan; - } - - $plan = $this->fetch_plan_by_id( $plan_id ); - - if ( $plan instanceof FS_Plugin_Plan ) { - $this->_plans[] = $plan; - $this->_store_plans(); - - return $plan; - } - - return $plan; - } - - /** - * Check if specified license exists locally. If not, fetch it and store it. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $license_id - * @param string $license_key - * - * @return \FS_Plugin_Plan|object The plan entity or the API error object on failure. - */ - private function sync_license_if_not_exist( $license_id, $license_key ) { - $license = $this->_get_license_by_id( $license_id ); - - if ( is_object( $license ) ) { - // License already exists. - return $license; - } - - $license = $this->fetch_license_by_key( $license_id, $license_key ); - - if ( $license instanceof FS_Plugin_License ) { - $this->_licenses[] = $license; - $this->_license = $license; - $this->_store_licenses(); - - return $license; - } - - return $license; - } - - /** - * Get a collection of unique plan IDs that are associated with any installs in the network. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return number[] - */ - private function get_plans_ids_associated_with_installs() { - if ( ! $this->_is_network_active ) { - if ( ! is_object( $this->_site ) || - ! FS_Plugin_Plan::is_valid_id( $this->_site->plan_id ) - ) { - return array(); - } - - return array( $this->_site->plan_id ); - } - - $plan_ids = array(); - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( ! is_object( $install ) || - ! FS_Plugin_Plan::is_valid_id( $install->plan_id ) - ) { - continue; - } - - $plan_ids[ $install->plan_id ] = true; - } - - return array_keys( $plan_ids ); - } - - /** - * Get a collection of unique license IDs that are associated with any installs in the network. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return number[] - */ - private function get_license_ids_associated_with_installs() { - if ( ! $this->_is_network_active ) { - if ( ! is_object( $this->_site ) || - ! FS_Plugin_License::is_valid_id( $this->_site->license_id ) - ) { - return array(); - } - - return array( $this->_site->license_id ); - } - - $license_ids = array(); - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( ! is_object( $install ) || - ! FS_Plugin_License::is_valid_id( $install->license_id ) - ) { - continue; - } - - $license_ids[ $install->license_id ] = true; - } - - return array_keys( $license_ids ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param number $id - * - * @return FS_Plugin_Plan|false - */ - function _get_plan_by_id( $id ) { - $this->_logger->entrance(); - - if ( ! is_array( $this->_plans ) || 0 === count( $this->_plans ) ) { - $this->_sync_plans(); - } - - foreach ( $this->_plans as $plan ) { - if ( $id == $plan->id ) { - return $plan; - } - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.8.1 - * - * @param string $name - * - * @return FS_Plugin_Plan|false - */ - private function get_plan_by_name( $name ) { - $this->_logger->entrance(); - - if ( ! is_array( $this->_plans ) || 0 === count( $this->_plans ) ) { - $this->_sync_plans(); - } - - foreach ( $this->_plans as $plan ) { - if ( $name == $plan->name ) { - return $plan; - } - } - - return false; - } - - /** - * Sync local licenses with remote server. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param number|bool $site_license_id - * @param number|null $blog_id - * - * @return FS_Plugin_License[]|object - */ - function _sync_licenses( $site_license_id = false, $blog_id = null ) { - $this->_logger->entrance(); - - $is_network_admin = fs_is_network_admin(); - - if ( $is_network_admin && is_null( $blog_id ) ) { - $all_licenses = self::get_all_licenses( $this->_module_id ); - } else { - $all_licenses = $this->get_user_licenses( $this->_user->id ); - } - - $foreign_licenses = array( - 'ids' => array(), - 'license_keys' => array() - ); - - $all_licenses_map = array(); - foreach ( $all_licenses as $license ) { - $all_licenses_map[ $license->id ] = true; - if ( $license->user_id == $this->_user->id || $license->id == $site_license_id ) { - continue; - } - - $foreign_licenses['ids'][] = $license->id; - $foreign_licenses['license_keys'][] = $license->secret_key; - } - - if ( empty( $foreign_licenses['ids'] ) ) { - $foreign_licenses = array(); - } - - $licenses = $this->_fetch_licenses( false, $site_license_id, $foreign_licenses, $blog_id ); - - if ( $this->is_array_instanceof( $licenses, 'FS_Plugin_License' ) ) { - $licenses_map = array(); - foreach ( $licenses as $license ) { - $licenses_map[ $license->id ] = true; - } - -// $license_ids_to_keep = $this->get_license_ids_associated_with_installs(); -// foreach ( $license_ids_to_keep as $license_id ) { -// if ( isset( $licenses_map[ $license_id ] ) ) { -// continue; -// } -// -// $missing_license = self::_get_license_by_id( $license_id, false ); -// if ( is_object( $missing_license ) ) { -// $licenses[] = $missing_license; -// $licenses_map[ $missing_license->id ] = true; -// } -// } - - $user_license_ids = $this->get_user_linked_license_ids( $this->_user->id ); - - foreach ( $user_license_ids as $key => $license_id ) { - if ( ! isset( $licenses_map[ $license_id ] ) ) { - // Remove access to licenses that no longer exist. - unset( $user_license_ids[ $key ] ); - } - } - - if ( ! empty( $user_license_ids ) ) { - foreach ( $licenses_map as $license_id => $value ) { - if ( ! isset( $all_licenses_map[ $license_id ] ) ) { - // Associate new licenses with the user who triggered the license syncing. - $user_license_ids[] = $license_id; - } - } - - $user_license_ids = array_unique( $user_license_ids ); - } else { - $user_license_ids = array_keys( $licenses_map ); - } - - if ( ! $is_network_admin || ! is_null( $blog_id ) ) { - $user_licenses = array(); - foreach ( $licenses as $license ) { - if ( ! in_array( $license->id, $user_license_ids ) ) { - continue; - } - - $user_licenses[] = $license; - } - - $this->_licenses = $user_licenses; - } else { - $this->_licenses = $licenses; - } - - $this->set_user_linked_license_ids( $this->_user->id, $user_license_ids ); - - $this->_store_licenses( true, $this->_module_id, $licenses ); - } - - // Update current license. - if ( is_object( $this->_license ) ) { - $this->_license = $this->_get_license_by_id( $this->_license->id ); - } - - return $this->_licenses; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param number $id - * @param bool $sync_licenses - * - * @return FS_Plugin_License|false - */ - function _get_license_by_id( $id, $sync_licenses = true ) { - $this->_logger->entrance(); - - if ( ! FS_Plugin_License::is_valid_id( $id ) ) { - return false; - } - - /** - * When running from the network level admin and opted-in from the network, - * check if the license exists in the network user licenses collection. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - if ( fs_is_network_admin() && - $this->is_network_registered() && - ( ! is_object( $this->_user ) || $this->_storage->network_user_id != $this->_user->id ) - ) { - $licenses = $this->get_user_licenses( $this->_storage->network_user_id ); - - foreach ( $licenses as $license ) { - if ( $id == $license->id ) { - return $license; - } - } - } - - if ( ! $this->has_any_license() && $sync_licenses ) { - $this->_sync_licenses( $id ); - } - - if ( is_array( $this->_licenses ) ) { - foreach ( $this->_licenses as $license ) { - if ( $id == $license->id ) { - return $license; - } - } - } - - return false; - } - - /** - * Get license by ID. Unlike _get_license_by_id(), this method only checks the local storage and return any license, whether it's associated with the current context user/install or not. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $id - * - * @return FS_Plugin_License - */ - private function get_license_by_id( $id ) { - $licenses = self::get_all_licenses( $this->_module_id ); - - if ( is_array( $licenses ) && ! empty( $licenses ) ) { - foreach ( $licenses as $license ) { - if ( $id == $license->id ) { - return $license; - } - } - } - - return null; - } - - /** - * Synchronize the site's context license by fetching the license form the API and updating the local data with it. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return \FS_Plugin_License|mixed - */ - private function sync_site_license() { - $api = $this->get_api_user_scope(); - - $result = $api->get( "/licenses/{$this->_license->id}.json?license_key=" . urlencode( $this->_license->secret_key ), true ); - - if ( ! $this->is_api_result_entity( $result ) ) { - return $result; - } - - $license = $this->_update_site_license( new FS_Plugin_License( $result ) ); - $this->_store_licenses(); - - return $license; - } - - /** - * Get all user's available licenses for the current module. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * - * @return FS_Plugin_License[] - */ - private function get_user_licenses( $user_id ) { - $all_licenses = self::get_all_licenses( $this->_module_id ); - if ( empty( $all_licenses ) ) { - return array(); - } - - $user_license_ids = $this->get_user_linked_license_ids( $user_id ); - if ( empty( $user_license_ids ) ) { - return array(); - } - - $licenses = array(); - foreach ( $all_licenses as $license ) { - if ( in_array( $license->id, $user_license_ids ) ) { - $licenses[] = $license; - } - } - - return $licenses; - } - - /** - * Checks if the context license is network activated except on the given blog ID. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $except_blog_id - * - * @return bool - */ - private function is_license_network_active( $except_blog_id = 0 ) { - $this->_logger->entrance(); - - if ( ! is_object( $this->_license ) ) { - return false; - } - - $sites = self::get_sites(); - - if ( $this->_license->total_activations() < ( count( $sites ) - 1 ) ) { - // There are more sites than the number of activations, so license cannot be network activated. - return false; - } - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - if ( $except_blog_id == $blog_id ) { - // Skip excluded blog. - continue; - } - - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( is_object( $install ) && $install->license_id != $this->_license->id ) { - return false; - } - } - - return true; - } - - /** - * Checks if license can be activated on all the network sites (opted-in or skipped) that are not yet associated with a license. If possible, try to make the activation, if not return false. - * - * Notice: On success, this method will also update the license activations counters (without updating the license in the storage). - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * @param \FS_Plugin_License $license - * - * @return bool - */ - private function try_activate_license_on_network( FS_User $user, FS_Plugin_License $license ) { - $this->_logger->entrance(); - - $result = $this->can_activate_license_on_network( $license ); - - if ( false === $result ) { - return false; - } - - $installs_without_license = $result['installs']; - if ( ! empty( $installs_without_license ) ) { - $this->activate_license_on_many_installs( $user, $license->secret_key, $installs_without_license ); - } - - $disconnected_site_ids = $result['sites']; - if ( ! empty( $disconnected_site_ids ) ) { - $this->activate_license_on_many_sites( $user, $license->secret_key, $disconnected_site_ids ); - } - - $this->link_license_2_user( $license->id, $user->id ); - - // Sync license after activations. - $license->activated += $result['production_count']; - $license->activated_local += $result['localhost_count']; - -// $this->_store_licenses() - - return true; - } - - /** - * Checks if the given license can be activated on the whole network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_Plugin_License $license - * - * @return false|array { - * @type array[int]FS_Site $installs Blog ID to install map. - * @type int[] $sites Non-connected blog IDs. - * @type int $production_count Production sites count. - * @type int $localhost_count Production sites count. - * } - */ - private function can_activate_license_on_network( FS_Plugin_License $license ) { - $sites = self::get_sites(); - - $production_count = 0; - $localhost_count = 0; - - $installs_without_license = array(); - $disconnected_site_ids = array(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( is_object( $install ) ) { - if ( FS_Plugin_License::is_valid_id( $install->license_id ) ) { - // License already activated on the install. - continue; - } - - $url = $install->url; - - $installs_without_license[ $blog_id ] = $install; - } else { - $url = is_object( $site ) ? - $site->siteurl : - get_site_url( $blog_id ); - - $disconnected_site_ids[] = $blog_id; - } - - if ( FS_Site::is_localhost_by_address( $url ) ) { - $localhost_count ++; - } else { - $production_count ++; - } - } - - if ( ! $license->can_activate_bulk( $production_count, $localhost_count ) ) { - return false; - } - - return array( - 'installs' => $installs_without_license, - 'sites' => $disconnected_site_ids, - 'production_count' => $production_count, - 'localhost_count' => $localhost_count, - ); - } - - /** - * Activate a given license on a collection of installs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * @param string $license_key - * @param array $blog_2_install_map { - * @key int Blog ID. - * @value FS_Site Blog's associated install. - * } - * - * @return mixed|true - */ - private function activate_license_on_many_installs( - FS_User $user, - $license_key, - array $blog_2_install_map - ) { - $params = array( - array( 'license_key' => $this->apply_filters( 'license_key', $license_key ) ) - ); - - $install_2_blog_map = array(); - foreach ( $blog_2_install_map as $blog_id => $install ) { - $params[] = array( 'id' => $install->id ); - - $install_2_blog_map[ $install->id ] = $blog_id; - } - - $result = $this->get_api_user_scope_by_user( $user )->call( - "plugins/{$this->_plugin->id}/installs.json", - 'PUT', - $params - ); - - if ( ! $this->is_api_result_object( $result, 'installs' ) ) { - return $result; - } - - foreach ( $result->installs as $r_install ) { - $install = new FS_Site( $r_install ); - $install->is_disconnected = false; - - // Update install. - $this->_store_site( - true, - $install_2_blog_map[ $r_install->id ], - $install - ); - } - - return true; - } - - /** - * Activate a given license on a collection of blogs/sites that are not yet opted-in. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * @param string $license_key - * @param int[] $site_ids - * - * @return true|mixed True if successful, otherwise, the API result. - */ - private function activate_license_on_many_sites( - FS_User $user, - $license_key, - array $site_ids - ) { - $sites = array(); - foreach ( $site_ids as $site_id ) { - $sites[] = $this->get_site_info( array( 'blog_id' => $site_id ) ); - } - - // Install the plugin. - $result = $this->create_installs_with_user( - $user, - $license_key, - false, - $sites, - false, - true - ); - - if ( ! $this->is_api_result_entity( $result ) && - ! $this->is_api_result_object( $result, 'installs' ) - ) { - return $result; - } - - $installs = array(); - foreach ( $result->installs as $install ) { - $installs[] = new FS_Site( $install ); - } - - // Map site addresses to their blog IDs. - $address_to_blog_map = $this->get_address_to_blog_map(); - - $first_blog_id = null; - - foreach ( $installs as $install ) { - $address = trailingslashit( fs_strip_url_protocol( $install->url ) ); - $blog_id = $address_to_blog_map[ $address ]; - - $this->_store_site( true, $blog_id, $install ); - - $this->reset_anonymous_mode( $blog_id ); - - if ( is_null( $first_blog_id ) ) { - $first_blog_id = $blog_id; - } - } - - if ( ! FS_Site::is_valid_id( $this->_storage->network_install_blog_id ) ) { - $this->_storage->network_install_blog_id = $first_blog_id; - } - - return true; - } - - /** - * Sync site's license with user licenses. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param FS_Plugin_License|null $new_license - * - * @return FS_Plugin_License|null - */ - function _update_site_license( $new_license ) { - $this->_logger->entrance(); - - $this->_license = $new_license; - - if ( ! is_object( $new_license ) ) { - $this->_site->license_id = null; - $this->_sync_site_subscription( null ); - - return $this->_license; - } - - $this->_site->license_id = $this->_license->id; - - if ( ! is_array( $this->_licenses ) ) { - $this->_licenses = array(); - } - - $is_license_found = false; - for ( $i = 0, $len = count( $this->_licenses ); $i < $len; $i ++ ) { - if ( $new_license->id == $this->_licenses[ $i ]->id ) { - $this->_licenses[ $i ] = $new_license; - - $is_license_found = true; - break; - } - } - - // If new license just append. - if ( ! $is_license_found ) { - $this->_licenses[] = $new_license; - } - - $this->_sync_site_subscription( $new_license ); - - return $this->_license; - } - - /** - * Sync site's subscription. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param FS_Plugin_License|null $license - * - * @return bool|\FS_Subscription - */ - private function _sync_site_subscription( $license ) { - if ( ! is_object( $license ) ) { - $this->delete_unused_subscriptions(); - - return false; - } - - // Load subscription details if not lifetime. - $subscription = $license->is_lifetime() ? - false : - $this->_fetch_site_license_subscription(); - - if ( is_object( $subscription ) && ! isset( $subscription->error ) ) { - $this->store_subscription( $subscription ); - } else { - $this->delete_unused_subscriptions(); - } - - return $subscription; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool|\FS_Plugin_License - */ - function _get_license() { - if ( ! fs_is_network_admin() || is_object( $this->_license ) ) { - return $this->_license; - } - - return $this->_get_available_premium_license(); - } - - /** - * @param number $license_id - * - * @return null|\FS_Subscription - */ - function _get_subscription( $license_id ) { - if ( ! isset( $this->_storage->subscriptions ) || - empty( $this->_storage->subscriptions ) - ) { - return null; - } - - foreach ( $this->_storage->subscriptions as $subscription ) { - if ( $subscription->license_id == $license_id ) { - return $subscription; - } - } - - return null; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param FS_Subscription $subscription - */ - function store_subscription( FS_Subscription $subscription ) { - if ( ! isset( $this->_storage->subscriptions ) ) { - $this->_storage->subscriptions = array(); - } - - if ( empty( $this->_storage->subscriptions ) || ! is_multisite() ) { - $this->_storage->subscriptions = array( $subscription ); - - return; - } - - $subscriptions = $this->_storage->subscriptions; - - $updated_subscription = false; - foreach ( $subscriptions as $key => $existing_subscription ) { - if ( $existing_subscription->id == $subscription->id ) { - $subscriptions[ $key ] = $subscription; - $updated_subscription = true; - break; - } - } - - if ( ! $updated_subscription ) { - $subscriptions[] = $subscription; - } - - $this->_storage->subscriptions = $subscriptions; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - */ - function delete_unused_subscriptions() { - if ( ! isset( $this->_storage->subscriptions ) || - empty( $this->_storage->subscriptions ) || - // Clean up only if there are already at least 3 subscriptions. - ( count( $this->_storage->subscriptions ) < 3 ) - ) { - return; - } - - if ( ! is_multisite() ) { - // If not multisite, there should only be 1 subscription, so just clear the array. - $this->_storage->subscriptions = array(); - - return; - } - - $subscriptions_to_keep_by_license_id_map = array(); - $sites = self::get_sites(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( ! is_object( $install ) || - ! FS_Plugin_License::is_valid_id( $install->license_id ) - ) { - continue; - } - - $subscriptions_to_keep_by_license_id_map[ $install->license_id ] = true; - } - - if ( empty( $subscriptions_to_keep_by_license_id_map ) ) { - $this->_storage->subscriptions = array(); - - return; - } - - foreach ( $this->_storage->subscriptions as $key => $subscription ) { - if ( ! isset( $subscriptions_to_keep_by_license_id_map[ $subscription->license_id ] ) ) { - unset( $this->_storage->subscriptions[ $key ] ); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @param string $plan Plan name - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - function is_plan( $plan, $exact = false ) { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return false; - } - - $plan = strtolower( $plan ); - - $current_plan_name = $this->get_plan_name(); - - if ( $current_plan_name === $plan ) { - // Exact plan. - return true; - } else if ( $exact ) { - // Required exact, but plans are different. - return false; - } - - $current_plan_order = - 1; - $required_plan_order = - 1; - for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) { - if ( $plan === $this->_plans[ $i ]->name ) { - $required_plan_order = $i; - } else if ( $current_plan_name === $this->_plans[ $i ]->name ) { - $current_plan_order = $i; - } - } - - return ( $current_plan_order > $required_plan_order ); - } - - /** - * Check if module has only one plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @return bool - */ - function is_single_plan() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() || - ! is_array( $this->_plans ) || - 0 === count( $this->_plans ) - ) { - return true; - } - - return ( 1 === count( $this->_plans ) ); - } - - /** - * Check if plan based on trial. If not in trial mode, should return false. - * - * @since 1.0.9 - * - * @param string $plan Plan name - * @param bool $exact If true, looks for exact plan. If false, also check "higher" plans. - * - * @return bool - */ - function is_trial_plan( $plan, $exact = false ) { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - return false; - } - - if ( ! $this->is_trial() ) { - return false; - } - - $trial_plan = $this->get_trial_plan(); - - if ( $trial_plan->name === $plan ) { - // Exact plan. - return true; - } else if ( $exact ) { - // Required exact, but plans are different. - return false; - } - - $current_plan_order = - 1; - $required_plan_order = - 1; - for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) { - if ( $plan === $this->_plans[ $i ]->name ) { - $required_plan_order = $i; - } else if ( $trial_plan->name === $this->_plans[ $i ]->name ) { - $current_plan_order = $i; - } - } - - return ( $current_plan_order > $required_plan_order ); - } - - /** - * Check if plugin has any paid plans. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - function has_paid_plan() { - return $this->_has_paid_plans || - FS_Plan_Manager::instance()->has_paid_plan( $this->_plans ); - } - - /** - * Check if plugin has any plan with a trail. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function has_trial_plan() { - /** - * @author Vova Feldman(@svovaf) - * @since 1.2.1.5 - * - * Allow setting a trial from the SDK without calling the API. - * But, if the user did opt-in, continue using the real data from the API. - */ - if ( $this->_trial_days >= 0 ) { - return true; - } - - return $this->_storage->get( 'has_trial_plan', false ); - } - - /** - * Check if plugin has any free plan, or is it premium only. - * - * Note: If no plans configured, assume plugin is free. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool - */ - function has_free_plan() { - return ! $this->is_only_premium(); - } - - /** - * Displays a license activation dialog box when the user clicks on the "Activate License" - * or "Change License" link on the plugins - * page. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.9 - */ - function _add_license_activation_dialog_box() { - $vars = array( - 'id' => $this->_module_id, - ); - - fs_require_template( 'forms/license-activation.php', $vars ); - fs_require_template( 'forms/resend-key.php', $vars ); - } - - /** - * Displays a subscription cancellation dialog box when the user clicks on the "Deactivate License" - * link on the "Account" page or deactivates a plugin and there's an active subscription that is - * either associated with a non-lifetime single-site license or non-lifetime multisite license that - * is only activated on a single production site. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - * - * @param bool $is_license_deactivation - */ - function _maybe_add_subscription_cancellation_dialog_box( $is_license_deactivation = false ) { - if ( fs_is_network_admin() ) { - // Subscription cancellation dialog box is currently not supported for multisite networks. - return; - } - - $license = $this->_get_license(); - - /** - * If the installation is associated with a non-lifetime license, which is either a single-site or only activated on a single production site (or zero), and connected to an active subscription, suggest the customer to cancel the subscription upon deactivation. - * - * @author Leo Fajardo (@leorw) (Comment added by Vova Feldman @svovaf) - * @since 2.2.1 - */ - if ( ! is_object( $license ) || - $license->is_lifetime() || - ( ! $license->is_single_site() && $license->activated > 1 ) - ) { - return; - } - - /** - * @var FS_Subscription $subscription - */ - $subscription = $this->_get_subscription( $license->id ); - if ( ! is_object( $subscription ) || ! $subscription->is_active() ) { - return; - } - - $vars = array( - 'id' => $this->_module_id, - 'license' => $license, - 'has_trial' => $this->is_paid_trial(), - 'is_license_deactivation' => $is_license_deactivation, - ); - - fs_require_template( 'forms/subscription-cancellation.php', $vars ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - */ - function _add_premium_version_upgrade_selection_dialog_box() { - $modules_update = get_site_transient( $this->is_theme() ? 'update_themes' : 'update_plugins' ); - if ( ! isset( $modules_update->response[ $this->_plugin_basename ] ) ) { - return; - } - - $vars = array( - 'id' => $this->_module_id, - 'new_version' => is_object( $modules_update->response[ $this->_plugin_basename ] ) ? - $modules_update->response[ $this->_plugin_basename ]->new_version : - $modules_update->response[ $this->_plugin_basename ]['new_version'] - ); - - fs_require_template( 'forms/premium-versions-upgrade-metadata.php', $vars ); - fs_require_once_template( 'forms/premium-versions-upgrade-handler.php', $vars ); - } - - /** - * Displays the opt-out dialog box when the user clicks on the "Opt Out" link on the "Plugins" - * page. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - */ - function _add_optout_dialog() { - if ( $this->is_theme() ) { - $vars = null; - fs_require_once_template( '/js/jquery.content-change.php', $vars ); - } - - $vars = array( 'id' => $this->_module_id ); - fs_require_template( 'forms/optout.php', $vars ); - } - - /** - * Prepare page to include all required UI and logic for the license activation dialog. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - */ - function _add_license_activation() { - if ( ! $this->is_user_admin() ) { - // Only admins can activate a license. - return; - } - - if ( ! $this->has_paid_plan() ) { - // Module doesn't have any paid plans. - return; - } - - if ( ! $this->is_premium() ) { - // Only add license activation logic to the premium version. - return; - } - - // Add license activation link and AJAX request handler. - if ( self::is_plugins_page() ) { - /** - * @since 1.2.0 Add license action link only on plugins page. - */ - $this->_add_license_action_link(); - } - - // Add license activation AJAX callback. - $this->add_ajax_action( 'activate_license', array( &$this, '_activate_license_ajax_action' ) ); - - // Add resend license AJAX callback. - $this->add_ajax_action( 'resend_license_key', array( &$this, '_resend_license_key_ajax_action' ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - */ - function _add_premium_version_upgrade_selection() { - if ( ! $this->is_user_admin() ) { - return; - } - - if ( ! $this->is_premium() || $this->has_any_active_valid_license() ) { - // This is relevant only to the free versions and premium versions without an active license. - return; - } - - if ( self::is_updates_page() || ( $this->is_plugin() && self::is_plugins_page() ) ) { - $this->_add_premium_version_upgrade_selection_action(); - } - } - - /** - * @author Leo Fajardo (@leorw) - * - * @since 1.1.9 - * @since 2.0.0 When a super-admin that hasn't connected before is network activating a license and excluding some of the sites for the license activation, go over the unselected sites in the network and if a site is not connected, skipped, nor delegated, if it's a freemium product then just skip the connection for the site, if it's a premium only product, delegate the connection and license activation to the site admin (Vova Feldman @svovaf). - */ - function _activate_license_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'activate_license' ); - - $license_key = trim( fs_request_get( 'license_key' ) ); - - if ( empty( $license_key ) ) { - exit; - } - - $plugin_id = fs_request_get( 'module_id', '', 'post' ); - $fs = ( $plugin_id == $this->_module_id ) ? - $this : - $this->get_addon_instance( $plugin_id ); - - $error = false; - $next_page = false; - - $sites = fs_is_network_admin() ? - fs_request_get( 'sites', array(), 'post' ) : - array(); - - $blog_id = fs_request_get( 'blog_id' ); - $has_valid_blog_id = is_numeric( $blog_id ); - - if ( $fs->is_registered() ) { - if ( fs_is_network_admin() && ! $has_valid_blog_id ) { - // If no specific blog ID was provided, activate the license for all sites in the network. - $blog_2_install_map = array(); - $site_ids = array(); - - foreach ( $sites as $site ) { - if ( ! isset( $site['blog_id'] ) || ! is_numeric( $site['blog_id'] ) ) { - continue; - } - - $install = $this->get_install_by_blog_id( $site['blog_id'] ); - - if ( is_object( $install ) ) { - $blog_2_install_map[ $site['blog_id'] ] = $install; - } else { - $site_ids[] = $site['blog_id']; - } - } - - $user = $this->get_current_or_network_user(); - - if ( ! empty( $blog_2_install_map ) ) { - $result = $this->activate_license_on_many_installs( $user, $license_key, $blog_2_install_map ); - - if ( true !== $result ) { - $error = FS_Api::is_api_error_object( $result ) ? - $result->error->message : - var_export( $result, true ); - } - } - - if ( empty( $error ) && ! empty( $site_ids ) ) { - $result = $this->activate_license_on_many_sites( $user, $license_key, $site_ids ); - - if ( true !== $result ) { - $error = FS_Api::is_api_error_object( $result ) ? - $result->error->message : - var_export( $result, true ); - } - } - } else { - if ( $has_valid_blog_id ) { - /** - * If a specific blog ID was provided, activate the license only for the install that is - * associated with the given blog ID. - * - * @author Leo Fajardo (@leorw) - */ - $this->switch_to_blog( $blog_id ); - } - - $api = $fs->get_api_site_scope(); - - $params = array( - 'license_key' => $fs->apply_filters( 'license_key', $license_key ) - ); - - $install = $api->call( $fs->add_show_pending( '/' ), 'put', $params ); - - if ( FS_Api::is_api_error( $install ) ) { - $error = FS_Api::is_api_error_object( $install ) ? - $install->error->message : - var_export( $install->error, true ); - } else { - $fs->reconnect_locally( $has_valid_blog_id ); - } - } - - if ( empty( $error ) ) { - $this->network_upgrade_mode_completed(); - - $fs->_sync_license( true, $has_valid_blog_id ); - - $next_page = $fs->is_addon() ? - $fs->get_parent_instance()->get_account_url() : - $fs->get_account_url(); - } - } else { - $next_page = $fs->opt_in( - false, - false, - false, - $license_key, - false, - false, - false, - fs_request_get_bool( 'is_marketing_allowed', null ), - $sites - ); - - if ( isset( $next_page->error ) ) { - $error = $next_page->error; - } else { - if ( fs_is_network_admin() ) { - /** - * Get the list of sites that were just opted-in (and license activated). - * This is an optimization for the next part below saving some DB queries. - */ - $connected_sites = array(); - foreach ( $sites as $site ) { - if ( isset( $site['blog_id'] ) && is_numeric( $site['blog_id'] ) ) { - $connected_sites[ $site['blog_id'] ] = true; - } - } - - $all_sites = self::get_sites(); - $pending_sites = array(); - - /** - * Check if there are any sites that are not connected, skipped, nor delegated. For every site that falls into that category, if the product is freemium, skip the connection. If the product is premium only, delegate the connection to the site administrator. - * - * @author Vova Feldman (@svovaf) - */ - foreach ( $all_sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - if ( isset( $connected_sites[ $blog_id ] ) ) { - // Site was just connected. - continue; - } - - if ( $this->is_installed_on_site( $blog_id ) ) { - // Site was already connected before. - continue; - } - - if ( $this->is_site_delegated_connection( $blog_id ) ) { - // Site's connection was delegated. - continue; - } - - if ( $this->is_anonymous_site( $blog_id ) ) { - // Site connection was already skipped. - continue; - } - - $pending_sites[] = self::get_site_info( $site ); - } - - if ( ! empty( $pending_sites ) ) { - if ( $this->is_freemium() ) { - $this->skip_connection( $pending_sites ); - } else { - $this->delegate_connection( $pending_sites ); - } - } - } - } - } - - if ( false === $error && true === $this->_storage->require_license_activation ) { - $this->_storage->require_license_activation = false; - } - - $result = array( - 'success' => ( false === $error ) - ); - - if ( false !== $error ) { - $result['error'] = $error; - } else { - $result['next_page'] = $next_page; - } - - echo json_encode( $result ); - - exit; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3.1 - */ - function _network_activate_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'network_activate' ); - - $plugin_id = fs_request_get( 'module_id', '', 'post' ); - $fs = ( $plugin_id == $this->_module_id ) ? - $this : - $this->get_addon_instance( $plugin_id ); - - $error = false; - - $sites = fs_request_get( 'sites', array(), 'post' ); - if ( is_array( $sites ) && ! empty( $sites ) ) { - $sites_by_action = array( - 'allow' => array(), - 'delegate' => array(), - 'skip' => array() - ); - - foreach ( $sites as $site ) { - $sites_by_action[ $site['action'] ][] = $site; - } - - $total_sites = count( $sites ); - $total_sites_to_delegate = count( $sites_by_action['delegate'] ); - - $next_page = ''; - if ( $total_sites === $total_sites_to_delegate && - ! $this->is_network_upgrade_mode() - ) { - $this->delegate_connection(); - } else { - if ( ! empty( $sites_by_action['delegate'] ) ) { - $this->delegate_connection( $sites_by_action['delegate'] ); - } - - if ( ! empty( $sites_by_action['skip'] ) ) { - $this->skip_connection( $sites_by_action['skip'] ); - } - - if ( ! empty( $sites_by_action['allow'] ) ) { - if ( ! $fs->is_registered() || ! $this->_is_network_active ) { - $next_page = $fs->opt_in( - false, - false, - false, - false, - false, - false, - false, - fs_request_get_bool( 'is_marketing_allowed', null ), - $sites_by_action['allow'] - ); - } else { - $next_page = $fs->install_with_user( - $this->get_network_user(), - false, - false, - false, - true, - $sites_by_action['allow'] - ); - } - - if ( is_object( $next_page ) && isset( $next_page->error ) ) { - $error = $next_page->error; - } - } - } - - if ( empty( $next_page ) ) { - $next_page = $this->get_after_activation_url( 'after_network_activation_url' ); - } - } else { - $error = $this->get_text_inline( 'Invalid site details collection.', 'invalid_site_details_collection' ); - } - - $result = array( - 'success' => ( false === $error ) - ); - - if ( false !== $error ) { - $result['error'] = $error; - } else { - $result['next_page'] = $next_page; - } - - echo json_encode( $result ); - - exit; - } - - /** - * Billing update AJAX callback. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - */ - function _update_billing_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'update_billing' ); - - if ( ! $this->is_user_admin() ) { - // Only for admins. - self::shoot_ajax_failure(); - } - - $billing = fs_request_get( 'billing' ); - - $api = $this->get_api_user_scope(); - $result = $api->call( '/billing.json', 'put', array_merge( $billing, array( - 'plugin_id' => $this->get_parent_id(), - ) ) ); - - if ( ! $this->is_api_result_entity( $result ) ) { - self::shoot_ajax_failure(); - } - - // Purge cached billing. - $this->get_api_user_scope()->purge_cache( 'billing.json' ); - - self::shoot_ajax_success(); - } - - /** - * Trial start for anonymous users (AJAX callback). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - */ - function _start_trial_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'start_trial' ); - - if ( ! $this->is_user_admin() ) { - // Only for admins. - self::shoot_ajax_failure(); - } - - $trial_data = fs_request_get( 'trial' ); - - $next_page = $this->opt_in( - false, - false, - false, - false, - false, - $trial_data['plan_id'] - ); - - if ( is_object( $next_page ) && $this->is_api_error( $next_page ) ) { - self::shoot_ajax_failure( - isset( $next_page->error ) ? - $next_page->error->message : - var_export( $next_page, true ) - ); - } - - $this->shoot_ajax_success( array( - 'next_page' => $next_page, - ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.0 - */ - function _resend_license_key_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'resend_license_key' ); - - $email_address = sanitize_email( trim( fs_request_get( 'email', '', 'post' ) ) ); - - if ( empty( $email_address ) ) { - exit; - } - - $error = false; - - $api = $this->get_api_plugin_scope(); - $result = $api->call( '/licenses/resend.json', 'post', - array( - 'email' => $email_address, - 'url' => home_url(), - ) - ); - - if ( is_object( $result ) && isset( $result->error ) ) { - $error = $result->error; - - if ( in_array( $error->code, array( 'invalid_email', 'no_user' ) ) ) { - $error = $this->get_text_inline( "We couldn't find your email address in the system, are you sure it's the right address?", 'email-not-found' ); - } else if ( 'no_license' === $error->code ) { - $error = $this->get_text_inline( "We can't see any active licenses associated with that email address, are you sure it's the right address?", 'no-active-licenses' ); - } else { - $error = $error->message; - } - } - - $licenses = array( - 'success' => ( false === $error ) - ); - - if ( false !== $error ) { - $licenses['error'] = sprintf( '%s... %s', $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ), strtolower( $error ) ); - } - - echo json_encode( $licenses ); - - exit; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.8 - * - * @var string - */ - private static $_pagenow; - - /** - * Get current page or the referer if executing a WP AJAX request. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.8 - * - * @return string - */ - static function get_current_page() { - if ( ! isset( self::$_pagenow ) ) { - global $pagenow; - if ( empty( $pagenow ) && is_admin() && is_multisite() ) { - /** - * It appears that `$pagenow` is not yet initialized in some network admin pages when this method - * is called, so initialize it here using some pieces of code from `wp-includes/vars.php`. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - if ( is_network_admin() ) { - preg_match( '#/wp-admin/network/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches ); - } else if ( is_user_admin() ) { - preg_match( '#/wp-admin/user/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches ); - } else { - preg_match( '#/wp-admin/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches ); - } - - $pagenow = $self_matches[1]; - $pagenow = trim( $pagenow, '/' ); - $pagenow = preg_replace( '#\?.*?$#', '', $pagenow ); - if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) { - $pagenow = 'index.php'; - } else { - preg_match( '#(.*?)(/|$)#', $pagenow, $self_matches ); - $pagenow = strtolower( $self_matches[1] ); - if ( '.php' !== substr($pagenow, -4, 4) ) - $pagenow .= '.php'; // for Options +Multiviews: /wp-admin/themes/index.php (themes.php is queried) - } - } - - self::$_pagenow = $pagenow; - - if ( self::is_ajax() && - 'admin-ajax.php' === $pagenow - ) { - $referer = fs_get_raw_referer(); - - if ( is_string( $referer ) ) { - $parts = explode( '?', $referer ); - - self::$_pagenow = basename( $parts[0] ); - } - } - } - - return self::$_pagenow; - } - - /** - * Helper method to check if user in the plugins page. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @return bool - */ - static function is_plugins_page() { - return ( 'plugins.php' === self::get_current_page() ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - * - * @return bool - */ - static function is_plugin_install_page() { - return ( 'plugin-install.php' === self::get_current_page() ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - * - * @return bool - */ - static function is_updates_page() { - return ( 'update-core.php' === self::get_current_page() ); - } - - /** - * Helper method to check if user in the themes page. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.6 - * - * @return bool - */ - static function is_themes_page() { - return ( 'themes.php' === self::get_current_page() ); - } - - #---------------------------------------------------------------------------------- - #region Affiliation - #---------------------------------------------------------------------------------- - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @return bool - */ - function has_affiliate_program() { - if ( ! is_object( $this->_plugin ) ) { - return false; - } - - return $this->_plugin->has_affiliate_program(); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.4 - */ - private function fetch_affiliate_terms() { - if ( ! is_object( $this->plugin_affiliate_terms ) ) { - $plugins_api = $this->get_api_plugin_scope(); - $affiliate_terms = $plugins_api->get( '/aff.json?type=affiliation', false ); - - if ( ! $this->is_api_result_entity( $affiliate_terms ) ) { - return; - } - - $this->plugin_affiliate_terms = new FS_AffiliateTerms( $affiliate_terms ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.4 - */ - private function fetch_affiliate_and_custom_terms() { - if ( ! empty( $this->_storage->affiliate_application_data ) ) { - $application_data = $this->_storage->affiliate_application_data; - $flush = ( ! isset( $application_data['status'] ) || 'pending' === $application_data['status'] ); - - $users_api = $this->get_api_user_scope(); - $result = $users_api->get( "/plugins/{$this->_plugin->id}/aff/{$this->plugin_affiliate_terms->id}/affiliates.json", $flush ); - if ( $this->is_api_result_object( $result, 'affiliates' ) ) { - if ( ! empty( $result->affiliates ) ) { - $affiliate = new FS_Affiliate( $result->affiliates[0] ); - - if ( ! isset( $application_data['status'] ) || $application_data['status'] !== $affiliate->status ) { - $application_data['status'] = $affiliate->status; - $this->_storage->affiliate_application_data = $application_data; - } - - if ( $affiliate->is_using_custom_terms ) { - $affiliate_terms = $users_api->get( "/plugins/{$this->_plugin->id}/affiliates/{$affiliate->id}/aff/{$affiliate->custom_affiliate_terms_id}.json", $flush ); - if ( $this->is_api_result_entity( $affiliate_terms ) ) { - $this->custom_affiliate_terms = new FS_AffiliateTerms( $affiliate_terms ); - } - } - - $this->affiliate = $affiliate; - } - } - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - */ - private function fetch_affiliate_and_terms() { - $this->_logger->entrance(); - - $this->fetch_affiliate_terms(); - $this->fetch_affiliate_and_custom_terms(); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @return FS_Affiliate - */ - function get_affiliate() { - return $this->affiliate; - } - - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @return FS_AffiliateTerms - */ - function get_affiliate_terms() { - return is_object( $this->custom_affiliate_terms ) ? - $this->custom_affiliate_terms : - $this->plugin_affiliate_terms; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - */ - function _submit_affiliate_application() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'submit_affiliate_application' ); - - if ( ! $this->is_user_admin() ) { - // Only for admins. - self::shoot_ajax_failure(); - } - - $affiliate = fs_request_get( 'affiliate' ); - - if ( empty( $affiliate['promotion_methods'] ) ) { - unset( $affiliate['promotion_methods'] ); - } - - if ( ! empty( $affiliate['additional_domains'] ) ) { - $affiliate['additional_domains'] = array_unique( $affiliate['additional_domains'] ); - } - - if ( ! $this->is_registered() ) { - // Opt in but don't track usage. - $next_page = $this->opt_in( - false, - false, - false, - false, - false, - false, - true - ); - - if ( is_object( $next_page ) && $this->is_api_error( $next_page ) ) { - self::shoot_ajax_failure( - isset( $next_page->error ) ? - $next_page->error->message : - var_export( $next_page, true ) - ); - } else if ( $this->is_pending_activation() ) { - self::shoot_ajax_failure( $this->get_text_inline( 'Account is pending activation.', 'account-is-pending-activation' ) ); - } - } - - $this->fetch_affiliate_terms(); - - $api = $this->get_api_user_scope(); - $result = $api->call( - ( "/plugins/{$this->_plugin->id}/aff/{$this->plugin_affiliate_terms->id}/affiliates.json" ), - 'post', - $affiliate - ); - - if ( $this->is_api_error( $result ) ) { - self::shoot_ajax_failure( - isset( $result->error ) ? - $result->error->message : - var_export( $result, true ) - ); - } else { - if ( $this->_admin_notices->has_sticky( 'affiliate_program' ) ) { - $this->_admin_notices->remove_sticky( 'affiliate_program' ); - } - - $affiliate_application_data = array( - 'status' => 'pending', - 'stats_description' => $affiliate['stats_description'], - 'promotion_method_description' => $affiliate['promotion_method_description'], - ); - - if ( ! empty( $affiliate['promotion_methods'] ) ) { - $affiliate_application_data['promotion_methods'] = $affiliate['promotion_methods']; - } - - if ( ! empty( $affiliate['domain'] ) ) { - $affiliate_application_data['domain'] = $affiliate['domain']; - } - - if ( ! empty( $affiliate['additional_domains'] ) ) { - $affiliate_application_data['additional_domains'] = $affiliate['additional_domains']; - } - - $this->_storage->affiliate_application_data = $affiliate_application_data; - } - - // Purge cached affiliate. - $api->purge_cache( 'affiliate.json' ); - - self::shoot_ajax_success( $result ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @return array|null - */ - function get_affiliate_application_data() { - if ( empty( $this->_storage->affiliate_application_data ) ) { - return null; - } - - return $this->_storage->affiliate_application_data; - } - - #endregion Affiliation ------------------------------------------------------------ - - #---------------------------------------------------------------------------------- - #region URL Generators - #---------------------------------------------------------------------------------- - - /** - * Alias to pricing_url(). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @uses pricing_url() - * - * @param string $period Billing cycle - * @param bool $is_trial - * - * @return string - */ - function get_upgrade_url( $period = WP_FS__PERIOD_ANNUALLY, $is_trial = false ) { - return $this->pricing_url( $period, $is_trial ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @uses get_upgrade_url() - * - * @return string - */ - function get_trial_url() { - return $this->get_upgrade_url( WP_FS__PERIOD_ANNUALLY, true ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.4 - * - * @param string $new_version - * - * @return string - */ - function version_upgrade_checkout_link( $new_version ) { - if ( ! is_object( $this->_license ) ) { - $url = $this->pricing_url(); - - $purchase_license_text = $this->get_text_inline( 'Buy a license now', 'buy-license-now' ); - } else { - $subscription = $this->_get_subscription( $this->_license->id ); - - $url = $this->checkout_url( - is_object( $subscription ) ? - ( 1 == $subscription->billing_cycle ? WP_FS__PERIOD_MONTHLY : WP_FS__PERIOD_ANNUALLY ) : - WP_FS__PERIOD_LIFETIME, - false, - array( 'licenses' => $this->_license->quota ) - ); - - $purchase_license_text = $this->get_text_inline( 'Renew your license now', 'renew-license-now' ); - } - - return sprintf( - $this->get_text_inline( '%s to access version %s security & feature updates, and support.', 'x-for-updates-and-support' ), - sprintf( '%s', $url, $purchase_license_text ), - $new_version - ); - } - - /** - * Plugin's pricing URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $billing_cycle Billing cycle - * - * @param bool $is_trial - * - * @return string - */ - function pricing_url( $billing_cycle = WP_FS__PERIOD_ANNUALLY, $is_trial = false ) { - $this->_logger->entrance(); - - $params = array( - 'billing_cycle' => $billing_cycle - ); - - if ( $is_trial ) { - $params['trial'] = 'true'; - } - - if ( $this->is_addon() ) { - return $this->_parent->addon_url( $this->_slug ); - } - - return $this->_get_admin_page_url( 'pricing', $params ); - } - - /** - * Checkout page URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string $billing_cycle Billing cycle - * @param bool $is_trial - * @param array $extra (optional) Extra parameters, override other query params. - * - * @return string - */ - function checkout_url( - $billing_cycle = WP_FS__PERIOD_ANNUALLY, - $is_trial = false, - $extra = array() - ) { - $this->_logger->entrance(); - - $params = array( - 'checkout' => 'true', - 'billing_cycle' => $billing_cycle, - ); - - if ( $is_trial ) { - $params['trial'] = 'true'; - } - - /** - * Params in extra override other params. - */ - $params = array_merge( $params, $extra ); - - return $this->_get_admin_page_url( 'pricing', $params ); - } - - /** - * Add-on checkout URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param number $addon_id - * @param number $pricing_id - * @param string $billing_cycle - * @param bool $is_trial - * - * @return string - */ - function addon_checkout_url( - $addon_id, - $pricing_id, - $billing_cycle = WP_FS__PERIOD_ANNUALLY, - $is_trial = false - ) { - return $this->checkout_url( $billing_cycle, $is_trial, array( - 'plugin_id' => $addon_id, - 'pricing_id' => $pricing_id, - ) ); - } - - #endregion - - #endregion ------------------------------------------------------------------ - - /** - * Check if plugin has any add-ons. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @since 1.1.7.3 Base logic only on the parameter provided by the developer in the init function. - * - * @return bool - */ - function has_addons() { - $this->_logger->entrance(); - - return $this->_has_addons; - } - - /** - * Check if plugin can work in anonymous mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - * - * @deprecated Please use is_enable_anonymous() instead. - */ - function enable_anonymous() { - return $this->_enable_anonymous; - } - - /** - * Check if plugin can work in anonymous mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - * @return bool - */ - function is_enable_anonymous() { - return $this->_enable_anonymous; - } - - /** - * Check if plugin is premium only (no free plans). - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9 - * - * @return bool - */ - function is_only_premium() { - return $this->_is_premium_only; - } - - /** - * Checks if the plugin's type is "plugin". The other type is "theme". - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - function is_plugin() { - return ( WP_FS__MODULE_TYPE_PLUGIN === $this->_module_type ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return string - */ - function get_module_type() { - if ( ! isset( $this->_module_type ) ) { - $id_slug_type_path_map = self::$_accounts->get_option( 'id_slug_type_path_map', array() ); - $this->_module_type = $id_slug_type_path_map[ $this->_module_id ]['type']; - } - - return $this->_module_type; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return string - */ - function get_plugin_main_file_path() { - return $this->_plugin_main_file_path; - } - - /** - * Check if module has a premium code version. - * - * Serviceware module might be freemium without any - * premium code version, where the paid features - * are all part of the service. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @return bool - */ - function has_premium_version() { - return $this->_has_premium_version; - } - - /** - * Check if feature supported with current site's plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @todo IMPLEMENT - * - * @param number $feature_id - * - * @throws Exception - */ - function is_feature_supported( $feature_id ) { - throw new Exception( 'not implemented' ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @return bool Is running in SSL/HTTPS - */ - function is_ssl() { - return WP_FS__IS_HTTPS; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool Is running in AJAX call. - * - * @link http://wordpress.stackexchange.com/questions/70676/how-to-check-if-i-am-in-admin-ajax - */ - static function is_ajax() { - return ( defined( 'DOING_AJAX' ) && DOING_AJAX ); - } - - /** - * Check if it's an AJAX call targeted for the current module. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * - * @param array|string $actions Collection of AJAX actions. - * - * @return bool - */ - function is_ajax_action( $actions ) { - // Verify it's an ajax call. - if ( ! self::is_ajax() ) { - return false; - } - - // Verify the call is relevant for the plugin. - if ( $this->_module_id != fs_request_get( 'module_id' ) ) { - return false; - } - - // Verify it's one of the specified actions. - if ( is_string( $actions ) ) { - $actions = explode( ',', $actions ); - } - - if ( is_array( $actions ) && 0 < count( $actions ) ) { - $ajax_action = fs_request_get( 'action' ); - - foreach ( $actions as $action ) { - if ( $ajax_action === $this->get_action_tag( $action ) ) { - return true; - } - } - } - - return false; - } - - /** - * Check if it's an AJAX call targeted for current request. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * - * @param array|string $actions Collection of AJAX actions. - * @param number|null $module_id - * - * @return bool - */ - static function is_ajax_action_static( $actions, $module_id = null ) { - // Verify it's an ajax call. - if ( ! self::is_ajax() ) { - return false; - } - - - if ( ! empty( $module_id ) ) { - // Verify the call is relevant for the plugin. - if ( $module_id != fs_request_get( 'module_id' ) ) { - return false; - } - } - - // Verify it's one of the specified actions. - if ( is_string( $actions ) ) { - $actions = explode( ',', $actions ); - } - - if ( is_array( $actions ) && 0 < count( $actions ) ) { - $ajax_action = fs_request_get( 'action' ); - - foreach ( $actions as $action ) { - if ( $ajax_action === self::get_ajax_action_static( $action, $module_id ) ) { - return true; - } - } - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @return bool - */ - static function is_cron() { - return ( defined( 'DOING_CRON' ) && DOING_CRON ); - } - - /** - * Check if a real user is visiting the admin dashboard. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @return bool - */ - function is_user_in_admin() { - return is_admin() && ! self::is_ajax() && ! self::is_cron(); - } - - /** - * Check if a real user is in the customizer view. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - static function is_customizer() { - return is_customize_preview(); - } - - /** - * Check if running in HTTPS and if site's plan matching the specified plan. - * - * @param string $plan - * @param bool $exact - * - * @return bool - */ - function is_ssl_and_plan( $plan, $exact = false ) { - return ( $this->is_ssl() && $this->is_plan( $plan, $exact ) ); - } - - /** - * Construct plugin's settings page URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $page - * @param array $params - * @param bool|null $network - * - * @return string - */ - function _get_admin_page_url( $page = '', $params = array(), $network = null ) { - if ( is_null( $network ) ) { - $network = ( - $this->_is_network_active && - ( fs_is_network_admin() || ! $this->is_delegated_connection() ) - ); - } - - if ( 0 < count( $params ) ) { - foreach ( $params as $k => $v ) { - $params[ $k ] = urlencode( $v ); - } - } - - $page_param = $this->_menu->get_slug( $page ); - - if ( empty( $page ) && - $this->is_theme() && - // Show the opt-in as an overlay for free wp.org themes or themes without any settings page. - ( $this->is_free_wp_org_theme() || ! $this->has_settings_menu() ) - ) { - $params[ $this->get_unique_affix() . '_show_optin' ] = 'true'; - - return add_query_arg( - $params, - $this->admin_url( 'themes.php', 'admin', $network ) - ); - } - - if ( ! $this->has_settings_menu() ) { - if ( ! empty( $page ) ) { - // Module doesn't have a setting page, but since the request is for - // a specific Freemius page, use the admin.php path. - return add_query_arg( array_merge( $params, array( - 'page' => $page_param, - ) ), $this->admin_url( 'admin.php', 'admin', $network ) ); - } else { - if ( $this->is_activation_mode() ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * If plugin doesn't have a settings page, create one for the opt-in screen. - */ - return add_query_arg( array_merge( $params, array( - 'page' => $this->_slug, - ) ), $this->admin_url( 'admin.php', 'admin', $network ) ); - } else { - // Plugin without a settings page. - return add_query_arg( - $params, - $this->admin_url( 'plugins.php', 'admin', $network ) - ); - } - } - } - - // Module has a submenu settings page. - if ( ! $this->_menu->is_top_level() ) { - $parent_slug = $this->_menu->get_parent_slug(); - $menu_file = ( false !== strpos( $parent_slug, '.php' ) ) ? - $parent_slug : - 'admin.php'; - - return add_query_arg( array_merge( $params, array( - 'page' => $page_param, - ) ), $this->admin_url( $menu_file, 'admin', $network ) ); - } - - // Module has a top level CPT settings page. - if ( $this->_menu->is_cpt() ) { - if ( empty( $page ) && $this->is_activation_mode() ) { - return add_query_arg( array_merge( $params, array( - 'page' => $page_param - ) ), $this->admin_url( 'admin.php', 'admin', $network ) ); - } else { - if ( ! empty( $page ) ) { - $params['page'] = $page_param; - } - - return add_query_arg( - $params, - $this->admin_url( $this->_menu->get_raw_slug(), 'admin', $network ) - ); - } - } - - // Module has a custom top level settings page. - return add_query_arg( array_merge( $params, array( - 'page' => $page_param, - ) ), $this->admin_url( 'admin.php', 'admin', $network ) ); - } - - #-------------------------------------------------------------------------------- - #region Multisite - #-------------------------------------------------------------------------------- - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return bool - */ - function is_network_active() { - return $this->_is_network_active; - } - - /** - * Delegate activation for the given sites in the network (or all sites if `null`) to site admins. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param array|null $sites - */ - private function delegate_connection( $sites = null ) { - $this->_logger->entrance(); - - $this->_admin_notices->remove_sticky( 'connect_account' ); - - if ( is_null( $sites ) ) { - // All sites delegation. - $this->_storage->store( 'is_delegated_connection', true, true, true ); - } else { - // Specified sites delegation. - foreach ( $sites as $site ) { - $this->delegate_site_connection( $site['blog_id'] ); - } - } - - $this->network_upgrade_mode_completed(); - } - - /** - * Delegate specific network site conncetion to the site admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - */ - private function delegate_site_connection( $blog_id ) { - $this->_storage->store( 'is_delegated_connection', true, $blog_id, true ); - } - - /** - * Check if super-admin delegated the connection of ALL sites to the site admins. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function is_network_delegated_connection() { - if ( ! $this->_is_network_active ) { - return false; - } - - return $this->_storage->get( 'is_delegated_connection', false, true ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return bool - */ - function is_site_delegated_connection( $blog_id = 0 ) { - if ( ! $this->_is_network_active ) { - return false; - } - - if ( 0 == $blog_id ) { - $blog_id = get_current_blog_id(); - } - - return $this->_storage->get( 'is_delegated_connection', false, $blog_id ); - } - - /** - * Check if delegated the connection. When running within the the network admin, - * and haven't specified the blog ID, checks if network level delegated. If running - * within a site admin or specified a blog ID, check if delegated the connection for - * the current context site. - * - * If executed outside the the admin, check if delegated the connection - * for the current context site OR the whole network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id If set, checks if network delegated or blog specific delegated. - * - * @return bool - */ - function is_delegated_connection( $blog_id = 0 ) { - if ( ! $this->_is_network_active ) { - return false; - } - - if ( fs_is_network_admin() && 0 == $blog_id ) { - return $this->is_network_delegated_connection(); - } - - return ( - $this->is_network_delegated_connection() || - $this->is_site_delegated_connection( $blog_id ) - ); - } - - /** - * Check if the current module is active for the site. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return bool - */ - function is_active_for_site( $blog_id ) { - if ( ! is_multisite() ) { - // Not a multisite and this code is executed, means that the plugin is active. - return true; - } - - if ( $this->is_theme() ) { - // All themes are site level activated. - return true; - } - - if ( $this->_is_network_active ) { - // Plugin was network activated so it's active. - return true; - } - - return in_array( $this->_plugin_basename, (array) get_blog_option( $blog_id, 'active_plugins', array() ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return array Active & public sites collection. - */ - static function get_sites() { - /** - * For consistency with get_blog_list() which only return active public sites. - * - * @author Vova Feldman (@svovaf) - */ - $args = array( - /** - * Commented out in order to handle the migration of site options whether the site is public or not. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - // 'public' => 1, - 'archived' => 0, - 'mature' => 0, - 'spam' => 0, - 'deleted' => 0, - ); - - if ( function_exists( 'get_sites' ) ) { - // For WP 4.6 and above. - return get_sites( $args ); - } else if ( function_exists( 'wp_get_sites' ) ) { - // For WP 3.7 to WP 4.5. - return wp_get_sites( $args ); - } else { - // For WP 3.6 and below. - return get_blog_list( 0, 'all' ); - } - } - - /** - * Checks if a given blog is active. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param $blog_id - * - * @return bool - */ - private static function is_site_active( $blog_id ) { - global $wpdb; - - $blog_info = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->blogs} WHERE blog_id = %d", $blog_id ) ); - - if ( ! is_object( $blog_info ) ) { - return false; - } - - return ( - true == $blog_info->public && - false == $blog_info->archived && - false == $blog_info->mature && - false == $blog_info->spam && - false == $blog_info->deleted - ); - } - - /** - * Get a mapping between the site addresses to their blog IDs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return array { - * @key string Site address without protocol with a trailing slash. - * @value int Site's blog ID. - * } - */ - private function get_address_to_blog_map() { - $sites = self::get_sites(); - - // Map site addresses to their blog IDs. - $address_to_blog_map = array(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $address = trailingslashit( fs_strip_url_protocol( get_site_url( $blog_id ) ) ); - $address_to_blog_map[ $address ] = $blog_id; - } - - return $address_to_blog_map; - } - - /** - * Get a mapping between the site addresses to their blog IDs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return array { - * @key int Site's blog ID. - * @value FS_Site Associated install. - * } - */ - function get_blog_install_map() { - $sites = self::get_sites(); - - // Map site blog ID to its install. - $install_map = array(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( is_object( $install ) ) { - $install_map[ $blog_id ] = $install; - } - } - - return $install_map; - } - - /** - * Gets a map of module IDs that the given user has opted-in to. - * - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param number $fs_user_id - * - * @return array { - * @key number $plugin_id - * @value bool Always true. - * } - */ - private static function get_user_opted_in_module_ids_map( $fs_user_id ) { - self::$_static_logger->entrance(); - - if ( ! is_multisite() ) { - $installs = array_merge( - self::get_all_sites( WP_FS__MODULE_TYPE_PLUGIN ), - self::get_all_sites( WP_FS__MODULE_TYPE_THEME ) - ); - } else { - $sites = self::get_sites(); - - $installs = array(); - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - - $installs = array_merge( - $installs, - self::get_all_sites( WP_FS__MODULE_TYPE_PLUGIN, $blog_id ), - self::get_all_sites( WP_FS__MODULE_TYPE_THEME, $blog_id ) - ); - } - } - - $module_ids_map = array(); - foreach ( $installs as $install ) { - if ( is_object( $install ) && - FS_Site::is_valid_id( $install->id ) && - FS_User::is_valid_id( $install->user_id ) && - ( $install->user_id == $fs_user_id ) - ) { - $module_ids_map[ $install->plugin_id ] = true; - } - } - - return $module_ids_map; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @return null|array { - * 'install' => FS_Site Module's install, - * 'blog_id' => string The associated blog ID. - * } - */ - private function find_first_install() { - $sites = self::get_sites(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - $install = $this->get_install_by_blog_id( $blog_id ); - - if ( is_object( $install ) ) { - return array( - 'install' => $install, - 'blog_id' => $blog_id - ); - } - } - - return null; - } - - /** - * Switches the Freemius site level context to a specified blog. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * @param FS_Site $install - */ - function switch_to_blog( $blog_id, FS_Site $install = null ) { - if ( $blog_id == $this->_context_is_network_or_blog_id ) { - return; - } - - switch_to_blog( $blog_id ); - $this->_context_is_network_or_blog_id = $blog_id; - - self::$_accounts->set_site_blog_context( $blog_id ); - $this->_storage->set_site_blog_context( $blog_id ); - $this->_storage->set_network_active( $this->_is_network_active, $this->is_delegated_connection( $blog_id ) ); - - $this->_site = is_object( $install ) ? - $install : - $this->get_install_by_blog_id( $blog_id ); - - $this->_user = false; - $this->_licenses = false; - $this->_license = null; - - if ( is_object( $this->_site ) ) { - // Try to fetch user from install. - $this->_user = self::_get_user_by_id( $this->_site->user_id ); - - if ( ! is_object( $this->_user ) && - FS_User::is_valid_id( $this->_storage->prev_user_id ) - ) { - // Try to fetch previously saved user. - $this->_user = self::_get_user_by_id( $this->_storage->prev_user_id ); - - if ( ! is_object( $this->_user ) ) { - // Fallback to network's user. - $this->_user = $this->get_network_user(); - } - } - - $all_plugin_licenses = self::get_all_licenses( $this->_module_id ); - - if ( ! empty( $all_plugin_licenses ) ) { - if ( ! FS_Plugin_License::is_valid_id( $this->_site->license_id ) ) { - $this->_license = null; - } else { - $license_found = false; - foreach ( $all_plugin_licenses as $license ) { - if ( $license->id == $this->_site->license_id ) { - // License found. - $this->_license = $license; - $license_found = true; - break; - } - } - - if ( $license_found ) { - $this->link_license_2_user( $this->_license->id, $this->_user->id ); - } - } - - $this->_licenses = $this->get_user_licenses( $this->_user->id ); - } - } - - unset( $this->_site_api ); - unset( $this->_user_api ); - } - - /** - * Restore the blog context to the blog that originally loaded the module. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function restore_current_blog() { - $this->switch_to_blog( $this->_blog_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param array|WP_Site $site - * - * @return int - */ - static function get_site_blog_id( &$site ) { - return ( $site instanceof WP_Site ) ? - $site->blog_id : - ( is_object( $site ) && isset( $site->userblog_id ) ? - $site->userblog_id : - $site['blog_id'] ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param array|WP_Site|null $site - * - * @return array - */ - function get_site_info( $site = null ) { - $this->_logger->entrance(); - - $switched = false; - - if ( is_null( $site ) ) { - $url = get_site_url(); - $name = get_bloginfo( 'name' ); - $blog_id = null; - } else { - $blog_id = self::get_site_blog_id( $site ); - - if ( get_current_blog_id() != $blog_id ) { - switch_to_blog( $blog_id ); - $switched = true; - } - - if ( $site instanceof WP_Site ) { - $url = $site->siteurl; - $name = $site->blogname; - } else { - $url = get_site_url( $blog_id ); - $name = get_bloginfo( 'name' ); - } - } - - $info = array( - 'uid' => $this->get_anonymous_id( $blog_id ), - 'url' => $url, - 'title' => $name, - 'language' => get_bloginfo( 'language' ), - 'charset' => get_bloginfo( 'charset' ), - ); - - if ( is_numeric( $blog_id ) ) { - $info['blog_id'] = $blog_id; - } - - if ( $switched ) { - restore_current_blog(); - } - - return $info; - } - - /** - * Load the module's install based on the blog ID. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int|null $blog_id - * - * @return FS_Site - */ - function get_install_by_blog_id( $blog_id = null ) { - $installs = self::get_all_sites( $this->_module_type, $blog_id ); - $install = isset( $installs[ $this->_slug ] ) ? $installs[ $this->_slug ] : null; - - if ( is_object( $install ) && - is_numeric( $install->id ) && - is_numeric( $install->user_id ) && - FS_Plugin_Plan::is_valid_id( $install->plan_id ) - ) { - // Load site. - $install = clone $install; - } - - return $install; - } - - /** - * Check if module is installed on a specified site. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int|null $blog_id - * - * @return bool - */ - function is_installed_on_site( $blog_id = null ) { - $installs = self::get_all_sites( $this->_module_type, $blog_id ); - $install = isset( $installs[ $this->_slug ] ) ? $installs[ $this->_slug ] : null; - - return ( - is_object( $install ) && - is_numeric( $install->id ) && - is_numeric( $install->user_id ) && - FS_Plugin_Plan::is_valid_id( $install->plan_id ) - ); - } - - /** - * Check if super-admin connected at least one site via the network opt-in. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function is_network_registered() { - if ( ! $this->_is_network_active ) { - return false; - } - - return FS_User::is_valid_id( $this->_storage->network_user_id ); - } - - /** - * Returns the main user associated with the network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return FS_User - */ - function get_network_user() { - if ( ! $this->_is_network_active ) { - return null; - } - - return FS_User::is_valid_id( $this->_storage->network_user_id ) ? - self::_get_user_by_id( $this->_storage->network_user_id ) : - null; - } - - /** - * Returns the current context user or the network's main user. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return FS_User - */ - function get_current_or_network_user() { - return ( $this->_user instanceof FS_User ) ? - $this->_user : - $this->get_network_user(); - } - - /** - * Returns the main install associated with the network. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return FS_Site - */ - function get_network_install() { - if ( ! $this->_is_network_active ) { - return null; - } - - return FS_Site::is_valid_id( $this->_storage->network_install_blog_id ) ? - $this->get_install_by_blog_id( $this->_storage->network_install_blog_id ) : - null; - } - - /** - * Returns the blog ID that is associated with the main install. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @return int|null - */ - function get_network_install_blog_id() { - if ( ! $this->_is_network_active ) { - return null; - } - - return FS_Site::is_valid_id( $this->_storage->network_install_blog_id ) ? - $this->_storage->network_install_blog_id : - null; - } - - /** - * Returns the current context install or the network's main install. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return FS_Site - */ - function get_current_or_network_install() { - return ( $this->_site instanceof FS_Site ) ? - $this->_site : - $this->get_network_install(); - } - - /** - * Check if executing a site level action from the network level admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return false|int If yes, return the requested blog ID. - */ - private function is_network_level_site_specific_action() { - if ( ! $this->_is_network_active ) { - return false; - } - - if ( ! fs_is_network_admin() ) { - return false; - } - - $blog_id = fs_request_get( 'blog_id', '' ); - - return is_numeric( $blog_id ) ? $blog_id : false; - } - - /** - * Check if executing an action from the network level admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - private function is_network_level_action() { - return ( $this->_is_network_active && fs_is_network_admin() ); - } - - /** - * Needs to be executed after site deactivation, archive, deletion, or flag as spam. - * The logic updates the network level user and blog, and reschedule the crons if the cron executing site matching the site that is no longer publicly active. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $context_blog_id - */ - private function update_multisite_data_after_site_deactivation( $context_blog_id = 0 ) { - $this->_logger->entrance(); - - if ( $this->_is_network_active ) { - if ( $context_blog_id == $this->_storage->network_install_blog_id ) { - $installs_map = $this->get_blog_install_map(); - - foreach ( $installs_map as $blog_id => $install ) { - /** - * @var FS_Site $install - */ - if ( $context_blog_id == $blog_id ) { - continue; - } - - if ( $install->user_id != $this->_storage->network_user_id ) { - continue; - } - - // Switch reference to a blog that is opted-in and belong to the same super-admin. - $this->_storage->network_install_blog_id = $blog_id; - break; - } - } - } - - if ( $this->is_sync_cron_scheduled() && - $context_blog_id == $this->get_sync_cron_blog_id() - ) { - $this->schedule_sync_cron( WP_FS__SCRIPT_START_TIME, true, $context_blog_id ); - } - - if ( $this->is_install_sync_scheduled() && - $context_blog_id == $this->get_install_sync_cron_blog_id() - ) { - $this->schedule_install_sync( $context_blog_id ); - } - } - - /** - * Executed after site deactivation, archive, or flag as spam. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $context_blog_id - */ - public function _after_site_deactivated_callback( $context_blog_id = 0 ) { - $this->_logger->entrance(); - - $install = $this->get_install_by_blog_id( $context_blog_id ); - - if ( ! is_object( $install ) ) { - // Site not connected. - return; - } - - $this->update_multisite_data_after_site_deactivation( $context_blog_id ); - - $current_blog_id = get_current_blog_id(); - - $this->switch_to_blog( $context_blog_id ); - - // Send deactivation event. - $this->sync_install( array( - 'is_active' => false, - ) ); - - $this->switch_to_blog( $current_blog_id ); - } - - /** - * Executed after site deletion. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $context_blog_id - * @param bool $drop True if site's database tables should be dropped. Default is false. - */ - public function _after_site_deleted_callback( $context_blog_id = 0, $drop = false ) { - $this->_logger->entrance(); - - $install = $this->get_install_by_blog_id( $context_blog_id ); - - if ( ! is_object( $install ) ) { - // Site not connected. - return; - } - - $this->update_multisite_data_after_site_deactivation( $context_blog_id ); - - $current_blog_id = get_current_blog_id(); - - $this->switch_to_blog( $context_blog_id ); - - if ( $drop ) { - // Delete install if dropping site DB. - $this->delete_account_event(); - } else { - // Send deactivation event. - $this->sync_install( array( - 'is_active' => false, - ) ); - } - - $this->switch_to_blog( $current_blog_id ); - } - - /** - * Executed after site re-activation. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $context_blog_id - */ - public function _after_site_reactivated_callback( $context_blog_id = 0 ) { - $this->_logger->entrance(); - - $install = $this->get_install_by_blog_id( $context_blog_id ); - - if ( ! is_object( $install ) ) { - // Site not connected. - return; - } - - if ( ! self::is_site_active( $context_blog_id ) ) { - // Site not yet active (can be in spam mode, archived, deleted...). - return; - } - - $current_blog_id = get_current_blog_id(); - - $this->switch_to_blog( $context_blog_id ); - - // Send re-activation event. - $this->sync_install( array( - 'is_active' => true, - ) ); - - $this->switch_to_blog( $current_blog_id ); - } - - #endregion Multisite - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $path - * @param string $scheme - * @param bool $network - * - * @return string - */ - private function admin_url( $path = '', $scheme = 'admin', $network = true ) { - return ( $this->_is_network_active && $network ) ? - network_admin_url( $path, $scheme ) : - admin_url( $path, $scheme ); - } - - /** - * Check if currently in a specified admin page. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param string $page - * - * @return bool - */ - function is_admin_page( $page ) { - return ( $this->_menu->get_slug( $page ) === fs_request_get( 'page', '', 'get' ) ); - } - - /** - * Get module's main admin setting page URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return string - */ - function main_menu_url() { - return $this->_menu->main_menu_url(); - } - - /** - * Check if currently on the theme's setting page or - * on any of the Freemius added pages (via tabs). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - function is_theme_settings_page() { - return fs_starts_with( - fs_request_get( 'page', '', 'get' ), - $this->_menu->get_slug() - ); - } - - /** - * Plugin's account page + sync license URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.9.1 - * - * @param bool|number $plugin_id - * @param bool $add_action_nonce - * @param array $params - * - * @return string - */ - function _get_sync_license_url( $plugin_id = false, $add_action_nonce = true, $params = array() ) { - if ( is_numeric( $plugin_id ) ) { - $params['plugin_id'] = $plugin_id; - } - - return $this->get_account_url( - $this->get_unique_affix() . '_sync_license', - $params, - $add_action_nonce - ); - } - - /** - * Plugin's account URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool|string $action - * @param array $params - * - * @param bool $add_action_nonce - * - * @return string - */ - function get_account_url( $action = false, $params = array(), $add_action_nonce = true ) { - if ( is_string( $action ) ) { - $params['fs_action'] = $action; - } - - self::require_pluggable_essentials(); - - return ( $add_action_nonce && is_string( $action ) ) ? - fs_nonce_url( $this->_get_admin_page_url( 'account', $params ), $action ) : - $this->_get_admin_page_url( 'account', $params ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * - * @param string $tab - * @param bool $action - * @param array $params - * @param bool $add_action_nonce - * - * @return string - * - * @uses get_account_url() - */ - function get_account_tab_url( $tab, $action = false, $params = array(), $add_action_nonce = true ) { - $params['tab'] = $tab; - - return $this->get_account_url( $action, $params, $add_action_nonce ); - } - - /** - * Plugin's account URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool|string $topic - * @param bool|string $message - * - * @return string - */ - function contact_url( $topic = false, $message = false ) { - $params = array(); - if ( is_string( $topic ) ) { - $params['topic'] = $topic; - } - if ( is_string( $message ) ) { - $params['message'] = $message; - } - - if ( $this->is_addon() ) { - $params['addon_id'] = $this->get_id(); - - return $this->get_parent_instance()->_get_admin_page_url( 'contact', $params ); - } else { - return $this->_get_admin_page_url( 'contact', $params ); - } - } - - /** - * Add-on direct info URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.0 - * - * @param string $slug - * - * @return string - */ - function addon_url( $slug ) { - return $this->_get_admin_page_url( 'addons', array( - 'slug' => $slug - ) ); - } - - /* Logger - ------------------------------------------------------------------------------------------------------------------*/ - /** - * @param string $id - * @param bool $prefix_slug - * - * @return FS_Logger - */ - function get_logger( $id = '', $prefix_slug = true ) { - return FS_Logger::get_logger( ( $prefix_slug ? $this->_slug : '' ) . ( ( ! $prefix_slug || empty( $id ) ) ? '' : '_' ) . $id ); - } - - /** - * Note: This method is used externally so don't delete it. - * - * @param $id - * @param bool $load_options - * @param bool $prefix_slug - * - * @return FS_Option_Manager - */ - function get_options_manager( $id, $load_options = false, $prefix_slug = true ) { - return FS_Option_Manager::get_manager( ( $prefix_slug ? $this->_slug : '' ) . ( ( ! $prefix_slug || empty( $id ) ) ? '' : '_' ) . $id, $load_options ); - } - - /* Security - ------------------------------------------------------------------------------------------------------------------*/ - private static function _encrypt( $str ) { - if ( is_null( $str ) ) { - return null; - } - - /** - * The encrypt/decrypt functions are used to protect - * the user from messing up with some of the sensitive - * data stored for the module as a JSON in the database. - * - * I used the same suggested hack by the theme review team. - * For more details, look at the function `Base64UrlDecode()` - * in `./sdk/FreemiusBase.php`. - * - * @todo Remove this hack once the base64 error is removed from the Theme Check. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2 - */ - $fn = 'base64' . '_encode'; - - return $fn( $str ); - } - - static function _decrypt( $str ) { - if ( is_null( $str ) ) { - return null; - } - - /** - * The encrypt/decrypt functions are used to protect - * the user from messing up with some of the sensitive - * data stored for the module as a JSON in the database. - * - * I used the same suggested hack by the theme review team. - * For more details, look at the function `Base64UrlDecode()` - * in `./sdk/FreemiusBase.php`. - * - * @todo Remove this hack once the base64 error is removed from the Theme Check. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2 - */ - $fn = 'base64' . '_decode'; - - return $fn( $str ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param FS_Entity $entity - * - * @return FS_Entity Return an encrypted clone entity. - */ - private static function _encrypt_entity( FS_Entity $entity ) { - $clone = clone $entity; - $props = get_object_vars( $entity ); - - foreach ( $props as $key => $val ) { - $clone->{$key} = self::_encrypt( $val ); - } - - return $clone; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param FS_Entity $entity - * - * @return FS_Entity Return an decrypted clone entity. - */ - private static function decrypt_entity( FS_Entity $entity ) { - $clone = clone $entity; - $props = get_object_vars( $entity ); - - foreach ( $props as $key => $val ) { - $clone->{$key} = self::_decrypt( $val ); - } - - return $clone; - } - - /** - * Tries to activate account based on POST params. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @deprecated Not in use, outdated. - */ - function _activate_account() { - if ( $this->is_registered() ) { - // Already activated. - return; - } - - self::_clean_admin_content_section(); - - if ( fs_request_is_action( 'activate' ) && fs_request_is_post() ) { -// check_admin_referer( 'activate_' . $this->_plugin->public_key ); - - // Verify matching plugin details. - if ( $this->_plugin->id != fs_request_get( 'plugin_id' ) || $this->_slug != fs_request_get( 'plugin_slug' ) ) { - return; - } - - $user = new FS_User(); - $user->id = fs_request_get( 'user_id' ); - $user->public_key = fs_request_get( 'user_public_key' ); - $user->secret_key = fs_request_get( 'user_secret_key' ); - $user->email = fs_request_get( 'user_email' ); - $user->first = fs_request_get( 'user_first' ); - $user->last = fs_request_get( 'user_last' ); - $user->is_verified = fs_request_get_bool( 'user_is_verified' ); - - $site = new FS_Site(); - $site->id = fs_request_get( 'install_id' ); - $site->public_key = fs_request_get( 'install_public_key' ); - $site->secret_key = fs_request_get( 'install_secret_key' ); - $site->plan_id = fs_request_get( 'plan_id' ); - - $plans = array(); - $plans_data = json_decode( urldecode( fs_request_get( 'plans' ) ) ); - foreach ( $plans_data as $p ) { - $plan = new FS_Plugin_Plan( $p ); - if ( $site->plan_id == $plan->id ) { - $plan->title = fs_request_get( 'plan_title' ); - $plan->name = fs_request_get( 'plan_name' ); - } - - $plans[] = $plan; - } - - $this->_set_account( $user, $site, $plans ); - - // Reload the page with the keys. - fs_redirect( $this->_get_admin_page_url() ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $email - * - * @return FS_User|false - */ - static function _get_user_by_email( $email ) { - self::$_static_logger->entrance(); - - $email = trim( strtolower( $email ) ); - - $users = self::get_all_users(); - - if ( is_array( $users ) ) { - foreach ( $users as $user ) { - if ( $email === trim( strtolower( $user->email ) ) ) { - return $user; - } - } - } - - return false; - } - - #---------------------------------------------------------------------------------- - #region Account (Loading, Updates & Activation) - #---------------------------------------------------------------------------------- - - /*** - * Load account information (user + site). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - */ - private function _load_account() { - $this->_logger->entrance(); - - $this->do_action( 'before_account_load' ); - - $users = self::get_all_users(); - $plans = self::get_all_plans( $this->_module_type ); - - if ( $this->_logger->is_on() && is_admin() ) { - $this->_logger->log( 'users = ' . var_export( $users, true ) ); - $this->_logger->log( 'plans = ' . var_export( $plans, true ) ); - } - - $site = fs_is_network_admin() ? - $this->get_network_install() : - $this->get_install_by_blog_id(); - - if ( fs_is_network_admin() && - ! is_object( $site ) && - FS_Site::is_valid_id( $this->_storage->network_install_blog_id ) - ) { - $first_install = $this->find_first_install(); - - if ( is_null( $first_install ) ) { - unset( $this->_storage->network_install_blog_id ); - } else { - $site = $first_install['install']; - $this->_storage->network_install_blog_id = $first_install['blog_id']; - } - } - - if ( is_object( $site ) && - is_numeric( $site->id ) && - is_numeric( $site->user_id ) && - FS_Plugin_Plan::is_valid_id( $site->plan_id ) - ) { - // Load site. - $this->_site = $site; - - // Load plans. - $this->_plans = $plans[ $this->_slug ]; - if ( ! is_array( $this->_plans ) || empty( $this->_plans ) ) { - $this->_sync_plans(); - } else { - for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) { - if ( $this->_plans[ $i ] instanceof FS_Plugin_Plan ) { - $this->_plans[ $i ] = self::decrypt_entity( $this->_plans[ $i ] ); - } else { - unset( $this->_plans[ $i ] ); - } - } - } - } - - $user = null; - if ( fs_is_network_admin() && $this->_is_network_active ) { - $user = $this->get_network_user(); - } - - if ( is_object( $user ) ) { - $this->_user = clone $user; - } else if ( $this->_site ) { - $user = self::_get_user_by_id( $this->_site->user_id ); - - if ( ! is_object( $user ) && FS_User::is_valid_id( $this->_storage->prev_user_id ) ) { - /** - * Try to load the previous owner. This recovery is used for the following use-case: - * 1. Opt-in - * 2. Cloning site1 to site2 - * 3. Ownership switch in site1 (same applies for site2) - * 4. Install data sync on site2 - * 5. Now site2's install is associated with the new owner which does not exists locally. - */ - $user = self::_get_user_by_id( $this->_storage->prev_user_id ); - } - - if ( ! is_object( $user ) ) { - /** - * This is a special fault tolerance mechanism to handle a scenario that the user data is missing. - */ - $user = $this->fetch_user_by_install(); - } - - $this->_user = ( $user instanceof FS_User ) ? - clone $user : - null; - } - - if ( is_object( $this->_user ) ) { - // Load licenses. - $this->_licenses = $this->get_user_licenses( $this->_user->id ); - } - - if ( is_object( $this->_site ) ) { - $this->_license = $this->_get_license_by_id( $this->_site->license_id ); - - if ( $this->_site->version != $this->get_plugin_version() ) { - // If stored install version is different than current installed plugin version, - // then update plugin version event. - $this->update_plugin_version_event(); - } - } - - if ( true === $this->_storage->require_license_activation && - ! fs_request_get_bool( 'require_license', true ) - ) { - $this->_storage->require_license_activation = false; - } - - if ( $this->is_theme() ) { - $this->_register_account_hooks(); - } - } - - /** - * Special user recovery mechanism. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return \FS_User|mixed - */ - private function fetch_user_by_install() { - $api = $this->get_api_site_scope(); - - $uid = $this->get_anonymous_id(); - $request_path = "/users/{$this->_site->user_id}.json?uid={$uid}"; - - $result = $api->get( $request_path, false, WP_FS__TIME_10_MIN_IN_SEC ); - - if ( $this->is_api_result_entity( $result ) ) { - $user = new FS_User( $result ); - $this->_user = $user; - $this->_store_user(); - - return $user; - } - - $error_code = FS_Api::get_error_code( $result ); - - if ( in_array( $error_code, array( 'invalid_unique_id', 'user_cannot_be_recovered' ) ) ) { - /** - * Those API errors will continue coming and are not recoverable with the - * current site's data. Therefore, extend the API call's cached result to 7 days. - */ - $api->update_cache_expiration( $request_path, WP_FS__TIME_WEEK_IN_SEC ); - } - - return $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param FS_User $user - * @param FS_Site $site - * @param bool|array $plans - */ - private function _set_account( FS_User $user, FS_Site $site, $plans = false ) { - $site->user_id = $user->id; - - $this->_site = $site; - $this->_user = $user; - if ( false !== $plans ) { - $this->_plans = $plans; - } - - $this->send_install_update(); - - $this->_store_account(); - - } - - /** - * Get a sanitized array with the WordPress version, SDK version, and PHP version. - * Each version is trimmed after the 16th char. - * - * @author Vova Feldman (@svovaf) - * @since 2.2.1 - * - * @return array - */ - private function get_versions() { - $versions = array(); - $versions['platform_version'] = get_bloginfo( 'version' ); - $versions['sdk_version'] = $this->version; - $versions['programming_language_version'] = phpversion(); - - foreach ( $versions as $k => $version ) { - if ( is_string( $versions[ $k ] ) && ! empty( $versions[ $k ] ) ) { - $versions[ $k ] = substr( $versions[ $k ], 0, 16 ); - } - } - - return $versions; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param array $override_with - * @param bool|int|null $network_level_or_blog_id If true, return params for network level opt-in. If integer, get params for specified blog in the network. - * - * @return array - */ - function get_opt_in_params( $override_with = array(), $network_level_or_blog_id = null ) { - $this->_logger->entrance(); - - $current_user = self::_get_current_wp_user(); - - $activation_action = $this->get_unique_affix() . '_activate_new'; - $return_url = $this->is_anonymous() ? - // If skipped already, then return to the account page. - $this->get_account_url( $activation_action, array(), false ) : - // Return to the module's main page. - $this->get_after_activation_url( 'after_connect_url', array( 'fs_action' => $activation_action ) ); - - $versions = $this->get_versions(); - - $params = array_merge( $versions, array( - 'user_firstname' => $current_user->user_firstname, - 'user_lastname' => $current_user->user_lastname, - 'user_nickname' => $current_user->user_nicename, - 'user_email' => $current_user->user_email, - 'user_ip' => WP_FS__REMOTE_ADDR, - 'plugin_slug' => $this->_slug, - 'plugin_id' => $this->get_id(), - 'plugin_public_key' => $this->get_public_key(), - 'plugin_version' => $this->get_plugin_version(), - 'return_url' => fs_nonce_url( $return_url, $activation_action ), - 'account_url' => fs_nonce_url( $this->_get_admin_page_url( - 'account', - array( 'fs_action' => 'sync_user' ) - ), 'sync_user' ), - 'is_premium' => $this->is_premium(), - 'is_active' => true, - 'is_uninstalled' => false, - ) ); - - if ( true === $network_level_or_blog_id ) { - if ( ! isset( $override_with['sites'] ) ) { - $params['sites'] = array(); - - $sites = self::get_sites(); - - foreach ( $sites as $site ) { - $blog_id = self::get_site_blog_id( $site ); - if ( ! $this->is_site_delegated_connection( $blog_id ) && - ! $this->is_installed_on_site( $blog_id ) - ) { - $params['sites'][] = $this->get_site_info( $site ); - } - } - } - } else { - $site = is_numeric( $network_level_or_blog_id ) ? - array( 'blog_id' => $network_level_or_blog_id ) : - null; - - $site = $this->get_site_info( $site ); - - $params = array_merge( $params, array( - 'site_uid' => $site['uid'], - 'site_url' => $site['url'], - 'site_name' => $site['title'], - 'language' => $site['language'], - 'charset' => $site['charset'], - ) ); - } - - if ( $this->is_pending_activation() && - ! empty( $this->_storage->pending_license_key ) - ) { - $params['license_key'] = $this->_storage->pending_license_key; - } - - if ( WP_FS__SKIP_EMAIL_ACTIVATION && $this->has_secret_key() ) { - // Even though rand() is known for its security issues, - // the timestamp adds another layer of protection. - // It would be very hard for an attacker to get the secret key form here. - // Plus, this should never run in production since the secret should never - // be included in the production version. - $params['ts'] = WP_FS__SCRIPT_START_TIME; - $params['salt'] = md5( uniqid( rand() ) ); - $params['secure'] = md5( - $params['ts'] . - $params['salt'] . - $this->get_secret_key() - ); - } - - return array_merge( $params, $override_with ); - } - - /** - * 1. If successful opt-in or pending activation returns the next page that the user should be redirected to. - * 2. If there was an API error, return the API result. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param string|bool $email - * @param string|bool $first - * @param string|bool $last - * @param string|bool $license_key - * @param bool $is_uninstall If "true", this means that the module is currently being uninstalled. - * In this case, the user and site info will be sent to the server but no - * data will be saved to the WP installation's database. - * @param number|bool $trial_plan_id - * @param bool $is_disconnected Whether or not to opt in without tracking. - * @param null|bool $is_marketing_allowed - * @param array $sites If network-level opt-in, an array of containing details of sites. - * - * @return string|object - * @use WP_Error - */ - function opt_in( - $email = false, - $first = false, - $last = false, - $license_key = false, - $is_uninstall = false, - $trial_plan_id = false, - $is_disconnected = false, - $is_marketing_allowed = null, - $sites = array() - ) { - $this->_logger->entrance(); - - if ( false === $email ) { - $current_user = self::_get_current_wp_user(); - $email = $current_user->user_email; - } - - /** - * @since 1.2.1 If activating with license key, ignore the context-user - * since the user will be automatically loaded from the license. - */ - if ( empty( $license_key ) ) { - // Clean up pending license if opt-ing in again. - $this->_storage->remove( 'pending_license_key' ); - - if ( ! $is_uninstall ) { - $fs_user = Freemius::_get_user_by_email( $email ); - if ( is_object( $fs_user ) && ! $this->is_pending_activation() ) { - return $this->install_with_current_user( - false, - $trial_plan_id, - $sites - ); - } - } - } - - $user_info = array(); - if ( ! empty( $email ) ) { - $user_info['user_email'] = $email; - } - if ( ! empty( $first ) ) { - $user_info['user_firstname'] = $first; - } - if ( ! empty( $last ) ) { - $user_info['user_lastname'] = $last; - } - - if ( ! empty( $sites ) ) { - $is_network = true; - - $user_info['sites'] = $sites; - } else { - $is_network = false; - } - - $params = $this->get_opt_in_params( $user_info, $is_network ); - - $filtered_license_key = false; - if ( is_string( $license_key ) ) { - $filtered_license_key = $this->apply_filters( 'license_key', $license_key ); - $params['license_key'] = $filtered_license_key; - } else if ( FS_Plugin_Plan::is_valid_id( $trial_plan_id ) ) { - $params['trial_plan_id'] = $trial_plan_id; - } - - if ( $is_uninstall ) { - $params['uninstall_params'] = array( - 'reason_id' => $this->_storage->uninstall_reason->id, - 'reason_info' => $this->_storage->uninstall_reason->info - ); - } - - if ( isset( $params['license_key'] ) ) { - $fs_user = Freemius::_get_user_by_email( $email ); - - if ( is_object( $fs_user ) ) { - /** - * If opting in with a context license and the context WP Admin user already opted in - * before from the current site, add the user context security params to avoid the - * unnecessary email activation when the context license is owned by the same context user. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - */ - $params = array_merge( $params, FS_Security::instance()->get_context_params( - $fs_user, - false, - 'install_with_existing_user' - ) ); - } - } - - if ( is_bool( $is_marketing_allowed ) ) { - $params['is_marketing_allowed'] = $is_marketing_allowed; - } - - $params['is_disconnected'] = $is_disconnected; - $params['format'] = 'json'; - - $request = array( - 'method' => 'POST', - 'body' => $params, - 'timeout' => WP_FS__DEBUG_SDK ? 60 : 30, - ); - - $url = $this->add_show_pending( WP_FS__ADDRESS . '/action/service/user/install/' ); - $response = self::safe_remote_post( $url, $request ); - - if ( is_wp_error( $response ) ) { - /** - * @var WP_Error $response - */ - $result = new stdClass(); - - $error_code = $response->get_error_code(); - $error_type = str_replace( ' ', '', ucwords( str_replace( '_', ' ', $error_code ) ) ); - - $result->error = (object) array( - 'type' => $error_type, - 'message' => $response->get_error_message(), - 'code' => $error_code, - 'http' => 402 - ); - - return $result; - } - - // Module is being uninstalled, don't handle the returned data. - if ( $is_uninstall ) { - return true; - } - - /** - * When json_decode() executed on PHP 5.2 with an invalid JSON, it will throw a PHP warning. Unfortunately, the new Theme Check doesn't allow PHP silencing and the theme review team isn't open to change that, therefore, instead of using `@json_decode()` we had to use the method without the `@` directive. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * @link https://themes.trac.wordpress.org/ticket/46134#comment:5 - * @link https://themes.trac.wordpress.org/ticket/46134#comment:9 - * @link https://themes.trac.wordpress.org/ticket/46134#comment:12 - * @link https://themes.trac.wordpress.org/ticket/46134#comment:14 - */ - $decoded = is_string( $response['body'] ) ? - json_decode( $response['body'] ) : - null; - - if ( empty( $decoded ) ) { - return false; - } - - if ( ! $this->is_api_result_object( $decoded ) ) { - if ( ! empty( $params['license_key'] ) ) { - // Pass the fully entered license key to the failure handler. - $params['license_key'] = $license_key; - } - - return $is_uninstall ? - $decoded : - $this->apply_filters( 'after_install_failure', $decoded, $params ); - } else if ( isset( $decoded->pending_activation ) && $decoded->pending_activation ) { - if ( $is_network ) { - $site_ids = array(); - foreach ( $sites as $site ) { - $site_ids[] = $site['blog_id']; - } - - /** - * Store the sites so that they can be installed once the user has clicked on the activation link - * in the email. - * - * @author Leo Fajardo (@leorw) - */ - $this->_storage->pending_sites_info = array( - 'blog_ids' => $site_ids, - 'license_key' => $license_key, - 'trial_plan_id' => $trial_plan_id - ); - } - - // Pending activation, add message. - return $this->set_pending_confirmation( - ( isset( $decoded->email ) ? - $decoded->email : - true ), - false, - $filtered_license_key, - ! empty( $params['trial_plan_id'] ) - ); - } else if ( isset( $decoded->install_secret_key ) ) { - return $this->install_with_new_user( - $decoded->user_id, - $decoded->user_public_key, - $decoded->user_secret_key, - ( isset( $decoded->is_marketing_allowed ) && ! is_null( $decoded->is_marketing_allowed ) ? - $decoded->is_marketing_allowed : - null ), - $decoded->install_id, - $decoded->install_public_key, - $decoded->install_secret_key, - false - ); - } else if ( is_array( $decoded->installs ) ) { - return $this->install_many_with_new_user( - $decoded->user_id, - $decoded->user_public_key, - $decoded->user_secret_key, - ( isset( $decoded->is_marketing_allowed ) && ! is_null( $decoded->is_marketing_allowed ) ? - $decoded->is_marketing_allowed : - null ), - $decoded->installs, - false - ); - } - - return $decoded; - } - - /** - * Set user and site identities. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param FS_User $user - * @param FS_Site $site - * @param bool $redirect - * @param bool $auto_install Since 1.2.1.7 If `true` and setting up an account with a valid license, will - * redirect (or return a URL) to the account page with a special parameter to - * trigger the auto installation processes. - * - * @return string If redirect is `false`, returns the next page the user should be redirected to. - */ - function setup_account( - FS_User $user, - FS_Site $site, - $redirect = true, - $auto_install = false - ) { - return $this->setup_network_account( - $user, - array( $site ), - $redirect, - $auto_install, - false - ); - } - - /** - * Set user and site identities. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param FS_User $user - * @param FS_Site[] $installs - * @param bool $redirect - * @param bool $auto_install Since 1.2.1.7 If `true` and setting up an account with a valid license, will redirect (or return a URL) to the account page with a special parameter to trigger the auto installation processes. - * @param bool $is_network_level_opt_in - * - * @return string If redirect is `false`, returns the next page the user should be redirected to. - */ - function setup_network_account( - FS_User $user, - array $installs, - $redirect = true, - $auto_install = false, - $is_network_level_opt_in = true - ) { - $first_install = $installs[0]; - - $this->_user = $user; - $this->_site = $first_install; - - $this->_sync_plans(); - - if ( $this->_storage->handle_gdpr_admin_notice && - $this->should_handle_gdpr_admin_notice() && - FS_GDPR_Manager::instance()->should_show_opt_in_notice() - ) { - /** - * Clear user lock after an opt-in. - */ - require_once WP_FS__DIR_INCLUDES . '/class-fs-user-lock.php'; - FS_User_Lock::instance()->unlock(); - } - - if ( 1 < count( $installs ) ) { - // Only network level opt-in can have more than one install. - $is_network_level_opt_in = true; - } -// $is_network_level_opt_in = self::is_ajax_action_static( 'network_activate', $this->_module_id ); - // If Freemius was OFF before, turn it on. - $this->turn_on(); - - if ( ! $this->_is_network_active || ! $is_network_level_opt_in ) { - $this->_set_account( $user, $first_install ); - - $this->do_action( 'after_account_connection', $user, $first_install ); - } else { - $this->_store_user(); - - // Map site addresses to their blog IDs. - $address_to_blog_map = $this->get_address_to_blog_map(); - - $first_blog_id = null; - $blog_2_install_map = array(); - foreach ( $installs as $install ) { - $address = trailingslashit( fs_strip_url_protocol( $install->url ) ); - $blog_id = $address_to_blog_map[ $address ]; - - $this->_store_site( true, $blog_id, $install ); - - if ( is_null( $first_blog_id ) ) { - $first_blog_id = $blog_id; - } - - $blog_2_install_map[ $blog_id ] = $install; - } - - if ( ! FS_User::is_valid_id( $this->_storage->network_user_id ) || - ! is_object( self::_get_user_by_id( $this->_storage->network_user_id ) ) - ) { - // Store network user. - $this->_storage->network_user_id = $this->_user->id; - } - - if ( ! FS_Site::is_valid_id( $this->_storage->network_install_blog_id ) ) { - $this->_storage->network_install_blog_id = $first_blog_id; - } - - if ( count( $installs ) === count( $address_to_blog_map ) ) { - // Super-admin opted-in for all sites in the network. - $this->_storage->is_network_connected = true; - } - - $this->_store_licenses( false ); - - self::$_accounts->store(); - - // Don't sync the installs data on network upgrade - if ( ! $this->network_upgrade_mode_completed() ) { - $this->send_installs_update(); - } - - // Switch install context back to the first install. - $this->_site = $first_install; - - $current_blog = get_current_blog_id(); - - foreach ( $blog_2_install_map as $blog_id => $install ) { - $this->switch_to_blog( $blog_id ); - - $this->do_action( 'after_account_connection', $user, $install ); - } - - $this->switch_to_blog( $current_blog ); - - $this->do_action( 'after_network_account_connection', $user, $blog_2_install_map ); - } - - if ( is_numeric( $first_install->license_id ) ) { - $this->_license = $this->_get_license_by_id( $first_install->license_id ); - } - - $this->_admin_notices->remove_sticky( 'connect_account' ); - - if ( $this->is_pending_activation() || ! $this->has_settings_menu() ) { - // Remove pending activation sticky notice (if still exist). - $this->_admin_notices->remove_sticky( 'activation_pending' ); - - // Remove plugin from pending activation mode. - unset( $this->_storage->is_pending_activation ); - - if ( ! $this->is_paying_or_trial() ) { - $this->_admin_notices->add_sticky( - sprintf( $this->get_text_inline( '%s activation was successfully completed.', 'plugin-x-activation-message' ), '' . $this->get_plugin_name() . '' ), - 'activation_complete' - ); - } - } - - if ( $this->is_paying_or_trial() ) { - if ( ! $this->is_premium() || - ! $this->has_premium_version() || - ! $this->has_settings_menu() - ) { - if ( $this->is_paying() ) { - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Your account was successfully activated with the %s plan.', 'activation-with-plan-x-message' ), - $this->get_plan_title() - ) . $this->get_complete_upgrade_instructions(), - 'plan_upgraded', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - } else { - $trial_plan = $this->get_trial_plan(); - - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Your trial has been successfully started.', 'trial-started-message' ), - '' . $this->get_plugin_name() . '' - ) . $this->get_complete_upgrade_instructions( $trial_plan->title ), - 'trial_started', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - } - } - - $this->_admin_notices->remove_sticky( array( - 'trial_promotion', - ) ); - } - - $plugin_id = fs_request_get( 'plugin_id', false ); - - // Store activation time ONLY for plugins & themes (not add-ons). - if ( ! is_numeric( $plugin_id ) || ( $plugin_id == $this->_plugin->id ) ) { - if ( empty( $this->_storage->activation_timestamp ) ) { - $this->_storage->activation_timestamp = WP_FS__SCRIPT_START_TIME; - } - } - - $next_page = ''; - - $extra = array(); - if ( $auto_install ) { - $extra['auto_install'] = 'true'; - } - - if ( is_numeric( $plugin_id ) ) { - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.1.6 - * - * Also sync the license after an anonymous user subscribes. - */ - if ( $this->is_anonymous() || $plugin_id != $this->_plugin->id ) { - // Add-on was installed - sync license right after install. - $next_page = $this->_get_sync_license_url( $plugin_id, true, $extra ); - } - } else { - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.9 If site installed with a valid license, sync license. - */ - if ( $this->is_paying() ) { - $this->_sync_plugin_license( - true, - // Installs data is already synced in the beginning of this method directly or via _set_account(). - false - ); - } - - // Reload the page with the keys. - $next_page = $this->is_anonymous() ? - // If user previously skipped, redirect to account page. - $this->get_account_url( false, $extra ) : - $this->get_after_activation_url( 'after_connect_url', array(), $is_network_level_opt_in ); - } - - if ( ! empty( $next_page ) && $redirect ) { - fs_redirect( $next_page ); - } - - return $next_page; - } - - /** - * Install plugin with new user information after approval. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function _install_with_new_user() { - $this->_logger->entrance(); - - if ( $this->is_registered() ) { - return; - } - - if ( ( $this->is_plugin() && fs_request_is_action( $this->get_unique_affix() . '_activate_new' ) ) || - // @todo This logic should be improved because it's executed on every load of a theme. - $this->is_theme() - ) { -// check_admin_referer( $this->_slug . '_activate_new' ); - - if ( fs_request_has( 'user_secret_key' ) ) { - if ( fs_is_network_admin() && isset( $this->_storage->pending_sites_info ) ) { - $pending_sites_info = $this->_storage->pending_sites_info; - - $this->install_many_pending_with_user( - fs_request_get( 'user_id' ), - fs_request_get( 'user_public_key' ), - fs_request_get( 'user_secret_key' ), - fs_request_get_bool( 'is_marketing_allowed', null ), - $pending_sites_info['blog_ids'], - $pending_sites_info['license_key'], - $pending_sites_info['trial_plan_id'] - ); - } else { - $this->install_with_new_user( - fs_request_get( 'user_id' ), - fs_request_get( 'user_public_key' ), - fs_request_get( 'user_secret_key' ), - fs_request_get_bool( 'is_marketing_allowed', null ), - fs_request_get( 'install_id' ), - fs_request_get( 'install_public_key' ), - fs_request_get( 'install_secret_key' ), - true, - fs_request_get_bool( 'auto_install' ) - ); - } - } else if ( fs_request_has( 'pending_activation' ) ) { - $this->set_pending_confirmation( fs_request_get( 'user_email' ), true ); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $id - * @param string $public_key - * @param string $secret_key - * - * @return \FS_User - */ - private function setup_user( $id, $public_key, $secret_key ) { - $user = self::_get_user_by_id( $id ); - - if ( is_object( $user ) ) { - $this->_user = $user; - } else { - $user = new FS_User(); - $user->id = $id; - $user->public_key = $public_key; - $user->secret_key = $secret_key; - - $this->_user = $user; - $user_result = $this->get_api_user_scope()->get(); - $user = new FS_User( $user_result ); - - $this->_user = $user; - $this->_store_user(); - } - - return $user; - } - - /** - * Install plugin with new user. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param number $user_id - * @param string $user_public_key - * @param string $user_secret_key - * @param bool|null $is_marketing_allowed - * @param number $install_id - * @param string $install_public_key - * @param string $install_secret_key - * @param bool $redirect - * @param bool $auto_install Since 1.2.1.7 If `true` and setting up an account with a valid license, will - * redirect (or return a URL) to the account page with a special parameter to - * trigger the auto installation processes. - * - * @return string If redirect is `false`, returns the next page the user should be redirected to. - */ - private function install_with_new_user( - $user_id, - $user_public_key, - $user_secret_key, - $is_marketing_allowed, - $install_id, - $install_public_key, - $install_secret_key, - $redirect = true, - $auto_install = false - ) { - /** - * This method is also executed after opting in with a license key since the - * license can be potentially associated with a different owner. - * - * @since 2.0.0 - */ - $user = self::_get_user_by_id( $user_id ); - - if ( ! is_object( $user ) ) { - $user = new FS_User(); - $user->id = $user_id; - $user->public_key = $user_public_key; - $user->secret_key = $user_secret_key; - - $this->_user = $user; - $user_result = $this->get_api_user_scope()->get(); - $user = new FS_User( $user_result ); - } - - $this->_user = $user; - - $site = new FS_Site(); - $site->id = $install_id; - $site->public_key = $install_public_key; - $site->secret_key = $install_secret_key; - - $this->_site = $site; - $site_result = $this->get_api_site_scope()->get(); - $site = new FS_Site( $site_result ); - $this->_site = $site; - - if ( ! is_null( $is_marketing_allowed ) ) { - $this->disable_opt_in_notice_and_lock_user(); - } - - return $this->setup_account( - $this->_user, - $this->_site, - $redirect, - $auto_install - ); - } - - /** - * Install plugin with user. - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param number $user_id - * @param string $user_public_key - * @param string $user_secret_key - * @param bool|null $is_marketing_allowed - * @param array $site_ids - * @param bool $license_key - * @param bool $trial_plan_id - * @param bool $redirect - * - * @return string If redirect is `false`, returns the next page the user should be redirected to. - */ - private function install_many_pending_with_user( - $user_id, - $user_public_key, - $user_secret_key, - $is_marketing_allowed, - $site_ids, - $license_key = false, - $trial_plan_id = false, - $redirect = true - ) { - $user = $this->setup_user( $user_id, $user_public_key, $user_secret_key ); - - if ( ! is_null( $is_marketing_allowed ) ) { - $this->disable_opt_in_notice_and_lock_user(); - } - - $sites = array(); - foreach ( $site_ids as $site_id ) { - $sites[] = $this->get_site_info( array( 'blog_id' => $site_id ) ); - } - - $this->install_with_user( $user, $license_key, $trial_plan_id, $redirect, true, $sites ); - } - - /** - * Multi-site install with a new user. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $user_id - * @param string $user_public_key - * @param string $user_secret_key - * @param bool|null $is_marketing_allowed - * @param object[] $installs - * @param bool $redirect - * @param bool $auto_install Since 1.2.1.7 If `true` and setting up an account with a valid license, will - * redirect (or return a URL) to the account page with a special parameter to - * trigger the auto installation processes. - * - * @return string If redirect is `false`, returns the next page the user should be redirected to. - */ - private function install_many_with_new_user( - $user_id, - $user_public_key, - $user_secret_key, - $is_marketing_allowed, - array $installs, - $redirect = true, - $auto_install = false - ) { - $this->setup_user( $user_id, $user_public_key, $user_secret_key ); - - if ( ! is_null( $is_marketing_allowed ) ) { - $this->disable_opt_in_notice_and_lock_user(); - } - - $install_ids = array(); - - foreach ( $installs as $install ) { - $install_ids[] = $install->id; - } - - $left = count( $install_ids ); - $offset = 0; - - $installs = array(); - while ( $left > 0 ) { - $result = $this->get_api_user_scope()->get( "/plugins/{$this->_module_id}/installs.json?ids=" . implode( ',', array_slice( $install_ids, $offset, 25 ) ) ); - - if ( ! $this->is_api_result_object( $result, 'installs' ) ) { - // @todo Handle API error. - } - - $installs = array_merge( $installs, $result->installs ); - - $left -= 25; - } - - foreach ( $installs as &$install ) { - $install = new FS_Site( $install ); - } - - return $this->setup_network_account( - $this->_user, - $installs, - $redirect, - $auto_install - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param string|bool $email - * @param bool $redirect - * @param string|bool $license_key Since 1.2.1.5 - * @param bool $is_pending_trial Since 1.2.1.5 - * - * @return string Since 1.2.1.5 if $redirect is `false`, return the pending activation page. - */ - private function set_pending_confirmation( - $email = false, - $redirect = true, - $license_key = false, - $is_pending_trial = false - ) { - if ( $this->_ignore_pending_mode ) { - /** - * If explicitly asked to ignore pending mode, set to anonymous mode - * if require confirmation before finalizing the opt-in. - * - * @author Vova Feldman - * @since 1.2.1.6 - */ - $this->skip_connection( null, fs_is_network_admin() ); - } else { - // Install must be activated via email since - // user with the same email already exist. - $this->_storage->is_pending_activation = true; - $this->_add_pending_activation_notice( $email, $is_pending_trial ); - } - - if ( ! empty( $license_key ) ) { - $this->_storage->pending_license_key = $license_key; - } - - // Remove the opt-in sticky notice. - $this->_admin_notices->remove_sticky( array( - 'connect_account', - 'trial_promotion', - ) ); - - $next_page = $this->get_after_activation_url( 'after_pending_connect_url' ); - - // Reload the page with with pending activation message. - if ( $redirect ) { - fs_redirect( $next_page ); - } - - return $next_page; - } - - /** - * Install plugin with current logged WP user info. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function _install_with_current_user() { - $this->_logger->entrance(); - - if ( $this->is_registered() ) { - return; - } - - if ( fs_request_is_action( $this->get_unique_affix() . '_activate_existing' ) && fs_request_is_post() ) { -// check_admin_referer( 'activate_existing_' . $this->_plugin->public_key ); - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.9 Add license key if given. - */ - $license_key = fs_request_get( 'license_secret_key' ); - - $this->install_with_current_user( $license_key ); - } - } - - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @param string|bool $license_key - * @param number|bool $trial_plan_id - * @param array $sites Since 2.0.0 - * @param bool $redirect - * - * @return object|string If redirect is `false`, returns the next page the user should be redirected to, or the API error object if failed to install. - */ - private function install_with_current_user( - $license_key = false, - $trial_plan_id = false, - $sites = array(), - $redirect = true - ) { - // Get current logged WP user. - $current_user = self::_get_current_wp_user(); - - // Find the relevant FS user by the email. - $user = self::_get_user_by_email( $current_user->user_email ); - - return $this->install_with_user( $user, $license_key, $trial_plan_id, $redirect, true, $sites ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * @param string|bool $license_key - * @param number|bool $trial_plan_id - * @param bool $redirect - * @param bool $setup_account Since 2.0.0. When set to FALSE, executes a light installation without setting up the account as if it's the first opt-in. - * @param array $sites Since 2.0.0. If not empty, should be a collection of site details for the bulk install API request. - * - * @return \FS_Site|object|string If redirect is `false`, returns the next page the user should be redirected to, or the API error object if failed to install. If $setup_account is set to `false`, return the newly created install. - */ - private function install_with_user( - FS_User $user, - $license_key = false, - $trial_plan_id = false, - $redirect = true, - $setup_account = true, - $sites = array() - ) { - // We have to set the user before getting user scope API handler. - $this->_user = $user; - - // Install the plugin. - $result = $this->create_installs_with_user( - $user, - $license_key, - $trial_plan_id, - $sites, - $redirect - ); - - if ( ! $this->is_api_result_entity( $result ) && - ! $this->is_api_result_object( $result, 'installs' ) - ) { - // @todo Handler potential API error of the $result - } - - if ( empty( $sites ) ) { - $site = new FS_Site( $result ); - $this->_site = $site; - - if ( ! $setup_account ) { - $this->_store_site(); - - $this->sync_plan_if_not_exist( $site->plan_id ); - - if ( ! empty( $license_key ) && FS_Plugin_License::is_valid_id( $site->license_id ) ) { - $this->sync_license_if_not_exist( $site->license_id, $license_key ); - } - - $this->_admin_notices->remove_sticky( 'connect_account', false ); - - return $site; - } - - return $this->setup_account( $this->_user, $this->_site, $redirect ); - } else { - $installs = array(); - foreach ( $result->installs as $install ) { - $installs[] = new FS_Site( $install ); - } - - return $this->setup_network_account( - $user, - $installs, - $redirect - ); - } - } - - /** - * Initiate an API request to create a collection of installs. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * @param bool $license_key - * @param bool $trial_plan_id - * @param array $sites - * @param bool $redirect - * @param bool $silent - * - * @return object|mixed - */ - private function create_installs_with_user( - FS_User $user, - $license_key = false, - $trial_plan_id = false, - $sites = array(), - $redirect = false, - $silent = false - ) { - $extra_install_params = array( - 'uid' => $this->get_anonymous_id(), - 'is_disconnected' => false, - ); - - if ( ! empty( $license_key ) ) { - $extra_install_params['license_key'] = $this->apply_filters( 'license_key', $license_key ); - } else if ( FS_Plugin_Plan::is_valid_id( $trial_plan_id ) ) { - $extra_install_params['trial_plan_id'] = $trial_plan_id; - } - - if ( ! empty( $sites ) ) { - $extra_install_params['sites'] = $sites; - } - - $args = $this->get_install_data_for_api( $extra_install_params, false, false ); - - // Install the plugin. - $result = $this->get_api_user_scope_by_user( $user )->call( - "/plugins/{$this->get_id()}/installs.json", - 'post', - $args - ); - - if ( ! $this->is_api_result_entity( $result ) && - ! $this->is_api_result_object( $result, 'installs' ) - ) { - if ( ! empty( $args['license_key'] ) ) { - // Pass full the fully entered license key to the failure handler. - $args['license_key'] = $license_key; - } - - $result = $this->apply_filters( 'after_install_failure', $result, $args ); - - if ( ! $silent ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' . - $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '' . $result->error->message . '', - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - } - - if ( $redirect ) { - /** - * We set the user before getting the user scope API handler, so the user became temporarily - * registered (`is_registered() = true`). Since the API returned an error and we will redirect, - * we have to set the user to `null`, otherwise, the user will be redirected to the wrong - * activation page based on the return value of `is_registered()`. In addition, in case the - * context plugin doesn't have a settings menu and the default page is the `Plugins` page, - * misleading plugin activation errors will be shown on the `Plugins` page. - * - * @author Leo Fajardo (@leorw) - */ - $this->_user = null; - - fs_redirect( $this->get_activation_url( array( 'error' => $result->error->message ) ) ); - } - } - - return $result; - } - - /** - * Tries to activate add-on account based on parent plugin info. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param Freemius $parent_fs - */ - private function _activate_addon_account( Freemius $parent_fs ) { - if ( $this->is_registered() ) { - // Already activated. - return; - } - - // Activate add-on with parent plugin credentials. - $addon_install = $parent_fs->get_api_site_scope()->call( - "/addons/{$this->_plugin->id}/installs.json", - 'post', - $this->get_install_data_for_api( array( - 'uid' => $this->get_anonymous_id(), - ), false, false ) - ); - - if ( isset( $addon_install->error ) ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' . - $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '' . $addon_install->error->message . '', - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - - return; - } - - // Get user information based on parent's plugin. - $user = $parent_fs->get_user(); - - // First of all, set site and user info - otherwise we won't - // be able to invoke API calls. - $this->_site = new FS_Site( $addon_install ); - $this->_user = $user; - - // Sync add-on plans. - $this->_sync_plans(); - - // Get site's current plan. - //$this->_site->plan = $this->_get_plan_by_id( $this->_site->plan->id ); - - $this->_set_account( $user, $this->_site ); - - // Sync licenses. - $this->_sync_licenses(); - - // Try to activate premium license. - $this->_activate_license( true ); - } - - /** - * Tries to activate parent account based on add-on's info. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param Freemius $parent_fs - */ - private function activate_parent_account( Freemius $parent_fs ) { - if ( ! $this->is_addon() ) { - // This is not an add-on. - return; - } - - if ( $parent_fs->is_registered() ) { - // Already activated. - return; - } - - // Activate parent with add-on's user credentials. - $parent_install = $this->get_api_user_scope()->call( - "/plugins/{$parent_fs->_plugin->id}/installs.json", - 'post', - $parent_fs->get_install_data_for_api( array( - 'uid' => $parent_fs->get_anonymous_id(), - ), false, false ) - ); - - if ( isset( $parent_install->error ) ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' . - $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '' . $parent_install->error->message . '', - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - - return; - } - - $parent_fs->_admin_notices->remove_sticky( 'connect_account' ); - - if ( $parent_fs->is_pending_activation() ) { - $parent_fs->_admin_notices->remove_sticky( 'activation_pending' ); - - unset( $parent_fs->_storage->is_pending_activation ); - } - - // Get user information based on parent's plugin. - $user = $this->get_user(); - - // First of all, set site info - otherwise we won't - // be able to invoke API calls. - $parent_fs->_site = new FS_Site( $parent_install ); - $parent_fs->_user = $user; - - // Sync add-on plans. - $parent_fs->_sync_plans(); - - $parent_fs->_set_account( $user, $parent_fs->_site ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Admin Menu Items - #---------------------------------------------------------------------------------- - - private $_menu_items = array(); - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.8 - * - * @return array - */ - function get_menu_items() { - return $this->_menu_items; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return string - */ - function get_menu_slug() { - return $this->_menu->get_slug(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function _prepare_admin_menu() { -// if ( ! $this->is_on() ) { -// return; -// } - - /** - * When running from a site admin with a network activated module and the connection - * was NOT delegated and the user still haven't skipped or opted-in, then hide the - * site level settings. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - $should_hide_site_admin_settings = ( - $this->_is_network_active && - ! fs_is_network_admin() && - ! $this->is_delegated_connection() && - ! $this->is_anonymous() && - ! $this->is_registered() - ); - - if ( ( ! $this->has_api_connectivity() && ! $this->is_enable_anonymous() ) || - $should_hide_site_admin_settings - ) { - $this->_menu->remove_menu_item( $should_hide_site_admin_settings ); - } else { - $this->do_action( fs_is_network_admin() ? - 'before_network_admin_menu_init' : - 'before_admin_menu_init' - ); - - $this->add_menu_action(); - - $this->add_network_menu_when_missing(); - - $this->add_submenu_items(); - } - } - - /** - * Admin dashboard menu items modifications. - * - * NOTE: admin_menu action executed before admin_init. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - */ - private function add_menu_action() { - if ( $this->is_activation_mode() ) { - if ( $this->is_plugin() || ( $this->has_settings_menu() && ! $this->is_free_wp_org_theme() ) ) { - $this->override_plugin_menu_with_activation(); - } else { - /** - * Handle theme opt-in when the opt-in form shows as a dialog box in the themes page. - */ - if ( fs_request_is_action( $this->get_unique_affix() . '_activate_existing' ) ) { - add_action( 'load-themes.php', array( &$this, '_install_with_current_user' ) ); - } else if ( fs_request_is_action( $this->get_unique_affix() . '_activate_new' ) || - fs_request_get_bool( 'pending_activation' ) - ) { - add_action( 'load-themes.php', array( &$this, '_install_with_new_user' ) ); - } - } - } else { - if ( ! $this->is_registered() ) { - // If not registered try to install user. - if ( fs_request_is_action( $this->get_unique_affix() . '_activate_new' ) ) { - $this->_install_with_new_user(); - } - } else if ( - fs_request_is_action( 'sync_user' ) && - ( ! $this->has_settings_menu() || $this->is_free_wp_org_theme() ) - ) { - $this->_handle_account_user_sync(); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - */ - function _redirect_on_clicked_menu_link() { - $this->_logger->entrance(); - - $page = fs_request_get('page'); - $page = is_string($page) ? strtolower($page) : ''; - - $this->_logger->log( 'page = ' . $page ); - - foreach ( $this->_menu_items as $priority => $items ) { - foreach ( $items as $item ) { - if ( isset( $item['url'] ) ) { - if ( $page === $this->_menu->get_slug( strtolower( $item['menu_slug'] ) ) ) { - $this->_logger->log( 'Redirecting to ' . $item['url'] ); - - fs_redirect( $item['url'] ); - } - } - } - } - } - - /** - * Remove plugin's all admin menu items & pages, and replace with activation page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - */ - private function override_plugin_menu_with_activation() { - $this->_logger->entrance(); - - $hook = false; - - if ( ! $this->has_settings_menu() ) { - // Add the opt-in page without a menu item. - $hook = FS_Admin_Menu_Manager::add_subpage( - null, - $this->get_plugin_name(), - $this->get_plugin_name(), - 'manage_options', - $this->_slug, - array( &$this, '_connect_page_render' ) - ); - } else if ( $this->_menu->is_top_level() ) { - if ( $this->_menu->is_override_exact() ) { - // Make sure the current page is matching the activation page. - if ( ! $this->is_matching_url( $this->get_activation_url() ) ) { - return; - } - } - - $hook = $this->_menu->override_menu_item( array( &$this, '_connect_page_render' ) ); - - if ( false === $hook ) { - // Create new menu item just for the opt-in. - $hook = FS_Admin_Menu_Manager::add_page( - $this->get_plugin_name(), - $this->get_plugin_name(), - 'manage_options', - $this->_menu->get_slug(), - array( &$this, '_connect_page_render' ) - ); - } - } else { - $menus = array( $this->_menu->get_parent_slug() ); - - if ( $this->_menu->is_override_exact() ) { - // Make sure the current page is matching the activation page. - if ( ! $this->is_matching_url( $this->get_activation_url() ) ) { - return; - } - } - - foreach ( $menus as $parent_slug ) { - $hook = $this->_menu->override_submenu_action( - $parent_slug, - $this->_menu->get_raw_slug(), - array( &$this, '_connect_page_render' ) - ); - - if ( false !== $hook ) { - // Found plugin's submenu item. - break; - } - } - } - - if ( $this->is_activation_page() ) { - // Clean admin page from distracting content. - self::_clean_admin_content_section(); - } - - if ( false !== $hook ) { - if ( fs_request_is_action( $this->get_unique_affix() . '_activate_existing' ) ) { - $this->_install_with_current_user(); - } else if ( fs_request_is_action( $this->get_unique_affix() . '_activate_new' ) ) { - $this->_install_with_new_user(); - } - } - } - - /** - * If a plugin was network activated and connected but don't have a network - * level settings, then add an artificial menu item for the Account and other - * Freemius settings. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private function add_network_menu_when_missing() { - $this->_logger->entrance(); - - if ( ! $this->_is_network_active ) { - // Plugin wasn't activated on the network level. - return; - } - - if ( ! fs_is_network_admin() ) { - // The context is not the network admin. - return; - } - - if ( $this->_menu->has_network_menu() ) { - // Plugin already has a network level menu. - return; - } - - if ( $this->is_network_activation_mode() ) { - /** - * Do not add during activation mode, otherwise, there will be duplicate menus while the opt-in - * screen is being shown. - * - * @author Leo Fajardo (@leorw) - */ - return; - } - - if ( ! WP_FS__SHOW_NETWORK_EVEN_WHEN_DELEGATED ) { - if ( $this->is_network_delegated_connection() ) { - // Super-admin delegated the connection to the site admins. - return; - } - } - - if ( ! $this->_menu->has_menu() || $this->_menu->is_top_level() ) { - $this->_dynamically_added_top_level_page_hook_name = $this->_menu->add_page_and_update( - $this->get_plugin_name(), - $this->get_plugin_name(), - 'manage_options', - $this->_menu->has_menu() ? $this->_menu->get_slug() : $this->_slug - ); - } else { - $this->_menu->add_subpage_and_update( - $this->_menu->get_parent_slug(), - $this->get_plugin_name(), - $this->get_plugin_name(), - 'manage_options', - $this->_menu->get_slug() - ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.1 - * - * return string - */ - function get_top_level_menu_capability() { - global $menu; - - $top_level_menu_slug = $this->get_top_level_menu_slug(); - - foreach ( $menu as $menu_info ) { - /** - * The second element in the menu info array is the capability/role that has access to the menu and the - * third element is the menu slug. - */ - if ( $menu_info[2] === $top_level_menu_slug ) { - return $menu_info[1]; - } - } - - return 'read'; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * - * @return string - */ - private function get_top_level_menu_slug() { - return ( $this->is_addon() ? - $this->get_parent_instance()->_menu->get_top_level_menu_slug() : - $this->_menu->get_top_level_menu_slug() ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return string - */ - function get_pricing_cta_label() { - $label = $this->get_text_inline( 'Upgrade', 'upgrade' ); - - if ( $this->is_in_trial_promotion() && - ! $this->is_paying_or_trial() - ) { - // If running a trial promotion, modify the pricing to load the trial. - $label = $this->get_text_inline( 'Start Trial', 'start-trial' ); - } else if ( $this->is_paying() ) { - $label = $this->get_text_inline( 'Pricing', 'pricing' ); - } - - return $label; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - function is_pricing_page_visible() { - return ( - // Has at least one paid plan. - $this->has_paid_plan() && - // Didn't ask to hide the pricing page. - $this->is_page_visible( 'pricing' ) && - // Don't have a valid active license or has more than one plan. - ( ! $this->is_paying() || ! $this->is_single_plan() ) - ); - } - - /** - * Add default Freemius menu items. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * @since 1.2.2.7 Also add submenu items when running in a free .org theme so the tabs will be visible. - */ - private function add_submenu_items() { - $this->_logger->entrance(); - - $is_activation_mode = $this->is_activation_mode(); - - if ( $this->is_addon() ) { - // No submenu items for add-ons. - $add_submenu_items = false; - } else if ( $this->is_free_wp_org_theme() && ! fs_is_network_admin() ) { - // Also add submenu items when running in a free .org theme so the tabs will be visible. - $add_submenu_items = true; - } else if ( $is_activation_mode && ! $this->is_free_wp_org_theme() ) { - $add_submenu_items = false; - } else if ( fs_is_network_admin() ) { - /** - * Add submenu items to network level when plugin was network - * activated and the super-admin did NOT delegated the connection - * of all sites to site admins. - */ - $add_submenu_items = ( - $this->_is_network_active && - ( WP_FS__SHOW_NETWORK_EVEN_WHEN_DELEGATED || - ! $this->is_network_delegated_connection() ) - ); - } else { - $add_submenu_items = ( ! $this->_is_network_active || $this->is_delegated_connection() ); - } - - if ( $add_submenu_items ) { - if ( $this->has_affiliate_program() ) { - // Add affiliation page. - $this->add_submenu_item( - $this->get_text_inline( 'Affiliation', 'affiliation' ), - array( &$this, '_affiliation_page_render' ), - $this->get_plugin_name() . ' – ' . $this->get_text_inline( 'Affiliation', 'affiliation' ), - 'manage_options', - 'affiliation', - 'Freemius::_clean_admin_content_section', - WP_FS__DEFAULT_PRIORITY, - $this->is_submenu_item_visible( 'affiliation' ) - ); - } - } - - if ( $add_submenu_items || - ( $is_activation_mode && - $this->is_only_premium() && - $this->is_admin_page( 'account' ) && - fs_request_is_action( $this->get_unique_affix() . '_sync_license' ) - ) - ) { - if ( ! WP_FS__DEMO_MODE && $this->is_registered() ) { - $show_account = ( - $this->is_submenu_item_visible( 'account' ) && - /** - * @since 1.2.2.7 Don't show the Account for free WP.org themes without any paid plans. - */ - ( ! $this->is_free_wp_org_theme() || $this->has_paid_plan() ) - ); - - // Add user account page. - $this->add_submenu_item( - $this->get_text_inline( 'Account', 'account' ), - array( &$this, '_account_page_render' ), - $this->get_plugin_name() . ' – ' . $this->get_text_inline( 'Account', 'account' ), - 'manage_options', - 'account', - array( &$this, '_account_page_load' ), - WP_FS__DEFAULT_PRIORITY, - ( $add_submenu_items && $show_account ) - ); - } - } - - if ( $add_submenu_items ) { - // Add contact page. - $this->add_submenu_item( - $this->get_text_inline( 'Contact Us', 'contact-us' ), - array( &$this, '_contact_page_render' ), - $this->get_plugin_name() . ' – ' . $this->get_text_inline( 'Contact Us', 'contact-us' ), - 'manage_options', - 'contact', - 'Freemius::_clean_admin_content_section', - WP_FS__DEFAULT_PRIORITY, - $this->is_submenu_item_visible( 'contact' ) - ); - - if ( $this->has_addons() ) { - $this->add_submenu_item( - $this->get_text_inline( 'Add-Ons', 'add-ons' ), - array( &$this, '_addons_page_render' ), - $this->get_plugin_name() . ' – ' . $this->get_text_inline( 'Add-Ons', 'add-ons' ), - 'manage_options', - 'addons', - array( &$this, '_addons_page_load' ), - WP_FS__LOWEST_PRIORITY - 1, - $this->is_submenu_item_visible( 'addons' ) - ); - } - } - - if ( $add_submenu_items || - ( $is_activation_mode && $this->is_only_premium() && $this->is_admin_page( 'pricing' ) ) - ) { - if ( ! WP_FS__DEMO_MODE ) { - $show_pricing = ( - $this->is_submenu_item_visible( 'pricing' ) && - $this->is_pricing_page_visible() - ); - - $pricing_cta_text = $this->get_pricing_cta_label(); - $pricing_class = 'upgrade-mode'; - if ( $show_pricing ) { - if ( $this->is_in_trial_promotion() && - ! $this->is_paying_or_trial() - ) { - // If running a trial promotion, modify the pricing to load the trial. - $pricing_class = 'trial-mode'; - } else if ( $this->is_paying() ) { - $pricing_class = ''; - } - } - - // Add upgrade/pricing page. - $this->add_submenu_item( - $pricing_cta_text . '  ' . ( is_rtl() ? $this->get_text_x_inline( '←', 'ASCII arrow left icon', 'symbol_arrow-left' ) : $this->get_text_x_inline( '➤', 'ASCII arrow right icon', 'symbol_arrow-right' ) ), - array( &$this, '_pricing_page_render' ), - $this->get_plugin_name() . ' – ' . $this->get_text_x_inline( 'Pricing', 'noun', 'pricing' ), - 'manage_options', - 'pricing', - 'Freemius::_clean_admin_content_section', - WP_FS__LOWEST_PRIORITY, - ( $add_submenu_items && $show_pricing ), - $pricing_class - ); - } - } - - if ( ! $is_activation_mode || ( true !== $this->_storage->require_license_activation ) ) { - /** - * Add the other menu items if there are any when not in activation mode or license activation is not - * required (license activation is required for registered or anonymous users after activating the - * premium version when the site is not in trial mode or there's no active valid license). - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - if ( 0 < count( $this->_menu_items ) ) { - if ( ! $this->_menu->is_top_level() ) { - fs_enqueue_local_style( 'fs_common', '/admin/common.css' ); - - // Append submenu items right after the plugin's submenu item. - $this->order_sub_submenu_items(); - } else { - // Append submenu items. - $this->embed_submenu_items(); - } - } - } - } - - /** - * Moved the actual submenu item additions to a separated function, - * in order to support sub-submenu items when the plugin's settings - * only have a submenu and not top-level menu item. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - */ - private function embed_submenu_items() { - $item_template = $this->_menu->is_top_level() ? - '%s' : - '%s'; - - $top_level_menu_capability = $this->get_top_level_menu_capability(); - - ksort( $this->_menu_items ); - - $is_first_submenu_item = true; - - foreach ( $this->_menu_items as $priority => $items ) { - foreach ( $items as $item ) { - $capability = ( ! empty( $item['capability'] ) ? $item['capability'] : $top_level_menu_capability ); - - $menu_item = sprintf( - $item_template, - $this->get_unique_affix(), - $item['menu_slug'], - ! empty( $item['class'] ) ? $item['class'] : '', - $item['menu_title'] - ); - - $top_level_menu_slug = $this->get_top_level_menu_slug(); - $menu_slug = $this->_menu->get_slug( $item['menu_slug'] ); - - if ( ! isset( $item['url'] ) ) { - $hook = FS_Admin_Menu_Manager::add_subpage( - $item['show_submenu'] ? - $top_level_menu_slug : - null, - $item['page_title'], - $menu_item, - $capability, - $menu_slug, - $item['render_function'] - ); - - if ( false !== $item['before_render_function'] ) { - add_action( "load-$hook", $item['before_render_function'] ); - } - } else { - FS_Admin_Menu_Manager::add_subpage( - $item['show_submenu'] ? - $top_level_menu_slug : - null, - $item['page_title'], - $menu_item, - $capability, - $menu_slug, - array( $this, '' ) - ); - } - - if ( $item['show_submenu'] && $is_first_submenu_item ) { - if ( $this->_is_network_active && ! empty( $this->_dynamically_added_top_level_page_hook_name ) ) { - /** - * If the top-level menu has been dynamically created, remove the first submenu item that - * WordPress automatically creates when there's no submenu item whose slug matches the - * parent's. In the following example, the `Awesome Plugin` submenu item will be removed. - * - * Awesome Plugin - * - Awesome Plugin <-- we want to remove this since there's no real setting page for the top-level - * - * @author Leo Fajardo (@leorw) - */ - remove_submenu_page( $top_level_menu_slug, $top_level_menu_slug ); - } - - $is_first_submenu_item = false; - } - } - } - } - - /** - * Re-order the submenu items so all Freemius added new submenu items - * are added right after the plugin's settings submenu item. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - */ - private function order_sub_submenu_items() { - global $submenu; - - $menu_slug = $this->_menu->get_top_level_menu_slug(); - - /** - * Before "admin_menu" fires, WordPress will loop over the default submenus and remove pages for which the user - * does not have permissions. So in case a plugin does not have top-level menu but does have submenus under any - * of the default menus, only users that have the right role can access its sub-submenus (Account, Contact Us, - * Support Forum, etc.) since $submenu[ $menu_slug ] will be empty if the user doesn't have permission. - * - * In case a plugin does not have submenus under any of the default menus but does have submenus under the menu - * of another plugin, only users that have the right role can access its sub-submenus since we will use the - * capability needed to access the parent menu as the capability for the submenus that we will add. - */ - if ( empty( $submenu[ $menu_slug ] ) ) { - return; - } - - $top_level_menu = &$submenu[ $menu_slug ]; - - $all_submenu_items_after = array(); - - $found_submenu_item = false; - - foreach ( $top_level_menu as $submenu_id => $meta ) { - if ( $found_submenu_item ) { - // Remove all submenu items after the plugin's submenu item. - $all_submenu_items_after[] = $meta; - unset( $top_level_menu[ $submenu_id ] ); - } - - if ( $this->_menu->get_raw_slug() === $meta[2] ) { - // Found the submenu item, put all below. - $found_submenu_item = true; - continue; - } - } - - // Embed all plugin's new submenu items. - $this->embed_submenu_items(); - - // Start with specially high number to make sure it's appended. - $i = max( 10000, max( array_keys( $top_level_menu ) ) + 1 ); - foreach ( $all_submenu_items_after as $meta ) { - $top_level_menu[ $i ] = $meta; - $i ++; - } - - // Sort submenu items. - ksort( $top_level_menu ); - } - - /** - * Helper method to return the module's support forum URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return string - */ - function get_support_forum_url() { - return $this->apply_filters( 'support_forum_url', "https://wordpress.org/support/{$this->_module_type}/{$this->_slug}" ); - } - - /** - * Displays the Support Forum link when enabled. - * - * Can be filtered like so: - * - * function _fs_show_support_menu( $is_visible, $menu_id ) { - * if ( 'support' === $menu_id ) { - * return _fs->is_registered(); - * } - * return $is_visible; - * } - * _fs()->add_filter('is_submenu_visible', '_fs_show_support_menu', 10, 2); - * - */ - function _add_default_submenu_items() { - if ( ! $this->is_on() ) { - return; - } - - if ( ! $this->is_activation_mode() && - ( ( $this->_is_network_active && fs_is_network_admin() ) || - ( ! $this->_is_network_active && is_admin() ) ) - ) { - $this->add_submenu_link_item( - $this->apply_filters( 'support_forum_submenu', $this->get_text_inline( 'Support Forum', 'support-forum' ) ), - $this->get_support_forum_url(), - 'wp-support-forum', - null, - 50, - $this->is_submenu_item_visible( 'support' ) - ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param string $menu_title - * @param callable $render_function - * @param bool|string $page_title - * @param string $capability - * @param bool|string $menu_slug - * @param bool|callable $before_render_function - * @param int $priority - * @param bool $show_submenu - * @param string $class Since 1.2.1.5 can add custom classes to menu items. - */ - function add_submenu_item( - $menu_title, - $render_function, - $page_title = false, - $capability = 'manage_options', - $menu_slug = false, - $before_render_function = false, - $priority = WP_FS__DEFAULT_PRIORITY, - $show_submenu = true, - $class = '' - ) { - $this->_logger->entrance( 'Title = ' . $menu_title ); - - if ( $this->is_addon() ) { - $parent_fs = $this->get_parent_instance(); - - if ( is_object( $parent_fs ) ) { - $parent_fs->add_submenu_item( - $menu_title, - $render_function, - $page_title, - $capability, - $menu_slug, - $before_render_function, - $priority, - $show_submenu, - $class - ); - - return; - } - } - - if ( ! isset( $this->_menu_items[ $priority ] ) ) { - $this->_menu_items[ $priority ] = array(); - } - - $this->_menu_items[ $priority ][] = array( - 'page_title' => is_string( $page_title ) ? $page_title : $menu_title, - 'menu_title' => $menu_title, - 'capability' => $capability, - 'menu_slug' => is_string( $menu_slug ) ? $menu_slug : strtolower( $menu_title ), - 'render_function' => $render_function, - 'before_render_function' => $before_render_function, - 'show_submenu' => $show_submenu, - 'class' => $class, - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param string $menu_title - * @param string $url - * @param bool $menu_slug - * @param string $capability - * @param int $priority - * @param bool $show_submenu - */ - function add_submenu_link_item( - $menu_title, - $url, - $menu_slug = false, - $capability = 'read', - $priority = WP_FS__DEFAULT_PRIORITY, - $show_submenu = true - ) { - $this->_logger->entrance( 'Title = ' . $menu_title . '; Url = ' . $url ); - - if ( $this->is_addon() ) { - $parent_fs = $this->get_parent_instance(); - - if ( is_object( $parent_fs ) ) { - $parent_fs->add_submenu_link_item( - $menu_title, - $url, - $menu_slug, - $capability, - $priority, - $show_submenu - ); - - return; - } - } - - if ( ! isset( $this->_menu_items[ $priority ] ) ) { - $this->_menu_items[ $priority ] = array(); - } - - $this->_menu_items[ $priority ][] = array( - 'menu_title' => $menu_title, - 'capability' => $capability, - 'menu_slug' => is_string( $menu_slug ) ? $menu_slug : strtolower( $menu_title ), - 'url' => $url, - 'page_title' => $menu_title, - 'render_function' => 'fs_dummy', - 'before_render_function' => '', - 'show_submenu' => $show_submenu, - ); - } - - #endregion ------------------------------------------------------------------ - - - #-------------------------------------------------------------------------------- - #region Actions / Hooks / Filters - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param string $tag - * - * @return string - */ - public function get_action_tag( $tag ) { - return self::get_action_tag_static( $tag, $this->_slug, $this->is_plugin() ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param string $tag - * @param string $slug - * @param bool $is_plugin - * - * @return string - */ - static function get_action_tag_static( $tag, $slug = '', $is_plugin = true ) { - $action = "fs_{$tag}"; - - if ( ! empty( $slug ) ) { - $action .= '_' . self::get_module_unique_affix( $slug, $is_plugin ); - } - - return $action; - } - - /** - * Returns a string that can be used to generate a unique action name, - * option name, HTML element ID, or HTML element class. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return string - */ - public function get_unique_affix() { - return self::get_module_unique_affix( $this->_slug, $this->is_plugin() ); - } - - /** - * Returns a string that can be used to generate a unique action name, - * option name, HTML element ID, or HTML element class. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.5 - * - * @param string $slug - * @param bool $is_plugin - * - * @return string - */ - static function get_module_unique_affix( $slug, $is_plugin = true ) { - $affix = $slug; - - if ( ! $is_plugin ) { - $affix .= '-' . WP_FS__MODULE_TYPE_THEME; - } - - return $affix; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * @since 1.2.2.5 The AJAX action names are based on the module ID, not like the non-AJAX actions that are - * based on the slug for backward compatibility. - * - * @param string $tag - * - * @return string - */ - function get_ajax_action( $tag ) { - return self::get_ajax_action_static( $tag, $this->_module_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $tag - * - * @return string - */ - function get_ajax_security( $tag ) { - return wp_create_nonce( $this->get_ajax_action( $tag ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $tag - */ - function check_ajax_referer( $tag ) { - check_ajax_referer( $this->get_ajax_action( $tag ), 'security' ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * @since 1.2.2.5 The AJAX action names are based on the module ID, not like the non-AJAX actions that are - * based on the slug for backward compatibility. - * - * @param string $tag - * @param number|null $module_id - * - * @return string - */ - private static function get_ajax_action_static( $tag, $module_id = null ) { - $action = "fs_{$tag}"; - - if ( ! empty( $module_id ) ) { - $action .= "_{$module_id}"; - } - - return $action; - } - - /** - * Do action, specific for the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param string $tag The name of the action to be executed. - * @param mixed $arg,... Optional. Additional arguments which are passed on to the - * functions hooked to the action. Default empty. - * - * @uses do_action() - */ - function do_action( $tag, $arg = '' ) { - $this->_logger->entrance( $tag ); - - $args = func_get_args(); - - call_user_func_array( 'do_action', array_merge( - array( $this->get_action_tag( $tag ) ), - array_slice( $args, 1 ) ) - ); - } - - /** - * Add action, specific for the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param string $tag - * @param callable $function_to_add - * @param int $priority - * @param int $accepted_args - * - * @uses add_action() - */ - function add_action( - $tag, - $function_to_add, - $priority = WP_FS__DEFAULT_PRIORITY, - $accepted_args = 1 - ) { - $this->_logger->entrance( $tag ); - - add_action( $this->get_action_tag( $tag ), $function_to_add, $priority, $accepted_args ); - } - - /** - * Add AJAX action, specific for the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @param string $tag - * @param callable $function_to_add - * @param int $priority - * - * @uses add_action() - * - * @return bool True if action added, false if no need to add the action since the AJAX call isn't matching. - */ - function add_ajax_action( - $tag, - $function_to_add, - $priority = WP_FS__DEFAULT_PRIORITY - ) { - $this->_logger->entrance( $tag ); - - return self::add_ajax_action_static( - $tag, - $function_to_add, - $priority, - $this->_module_id - ); - } - - /** - * Add AJAX action. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param string $tag - * @param callable $function_to_add - * @param int $priority - * @param number|null $module_id - * - * @return bool True if action added, false if no need to add the action since the AJAX call isn't matching. - * @uses add_action() - * - */ - static function add_ajax_action_static( - $tag, - $function_to_add, - $priority = WP_FS__DEFAULT_PRIORITY, - $module_id = null - ) { - self::$_static_logger->entrance( $tag ); - - if ( ! self::is_ajax_action_static( $tag, $module_id ) ) { - return false; - } - - add_action( - 'wp_ajax_' . self::get_ajax_action_static( $tag, $module_id ), - $function_to_add, - $priority, - 0 - ); - - self::$_static_logger->info( "$tag AJAX callback action added." ); - - return true; - } - - /** - * Send a JSON response back to an Ajax request. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $response - */ - static function shoot_ajax_response( $response ) { - wp_send_json( $response ); - } - - /** - * Send a JSON response back to an Ajax request, indicating success. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $data Data to encode as JSON, then print and exit. - */ - static function shoot_ajax_success( $data = null ) { - wp_send_json_success( $data ); - } - - /** - * Send a JSON response back to an Ajax request, indicating failure. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $error Optional error message. - */ - static function shoot_ajax_failure( $error = '' ) { - $result = array( 'success' => false ); - if ( ! empty( $error ) ) { - $result['error'] = $error; - } - - wp_send_json( $result ); - } - - /** - * Apply filter, specific for the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $tag The name of the filter hook. - * @param mixed $value The value on which the filters hooked to `$tag` are applied on. - * - * @return mixed The filtered value after all hooked functions are applied to it. - * - * @uses apply_filters() - */ - function apply_filters( $tag, $value ) { - $this->_logger->entrance( $tag ); - - $args = func_get_args(); - array_unshift( $args, $this->get_unique_affix() ); - - return call_user_func_array( 'fs_apply_filter', $args ); - } - - /** - * Add filter, specific for the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $tag - * @param callable $function_to_add - * @param int $priority - * @param int $accepted_args - * - * @uses add_filter() - */ - function add_filter( $tag, $function_to_add, $priority = WP_FS__DEFAULT_PRIORITY, $accepted_args = 1 ) { - $this->_logger->entrance( $tag ); - - add_filter( $this->get_action_tag( $tag ), $function_to_add, $priority, $accepted_args ); - } - - /** - * Check if has filter. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - * - * @param string $tag - * @param callable|bool $function_to_check Optional. The callback to check for. Default false. - * - * @return false|int - * - * @uses has_filter() - */ - function has_filter( $tag, $function_to_check = false ) { - $this->_logger->entrance( $tag ); - - return has_filter( $this->get_action_tag( $tag ), $function_to_check ); - } - - #endregion - - /** - * Override default i18n text phrases. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string[] string $key_value - * - * @uses fs_override_i18n() - */ - function override_i18n( $key_value ) { - fs_override_i18n( $key_value, $this->_slug ); - } - - /* Account Page - ------------------------------------------------------------------------------------------------------------------*/ - /** - * Update site information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param bool $store Flush to Database if true. - * @param null|int $network_level_or_blog_id Since 2.0.0 - * @param \FS_Site $site Since 2.0.0 - */ - private function _store_site( $store = true, $network_level_or_blog_id = null, FS_Site $site = null ) { - $this->_logger->entrance(); - - if ( empty( $this->_site->id ) ) { - $this->_logger->error( "Empty install ID, can't store site." ); - - return; - } - - $site_clone = is_object( $site ) ? $site : $this->_site; - $encrypted_site = clone $site_clone; - - $sites = self::get_all_sites( $this->_module_type, $network_level_or_blog_id ); - - $prev_stored_user_id = $this->_storage->get( 'prev_user_id', false, $network_level_or_blog_id ); - - if ( empty( $prev_stored_user_id ) && - $this->_user->id != $this->_site->user_id - ) { - /** - * Store the current user ID as the previous user ID so that the previous user can be used - * as the install's owner while the new owner's details are not yet available. - * - * This will be executed only in the `replica` site. For example, there are 2 sites, namely `original` - * and `replica`, then an ownership change was initiated and completed in the `original`, the `replica` - * will be using the previous user until it is updated again (e.g.: until the next clone of `original` - * into `replica`. - * - * @author Leo Fajardo (@leorw) - */ - $this->_storage->store( 'prev_user_id', $sites[ $this->_slug ]->user_id, $network_level_or_blog_id ); - } - - $sites[ $this->_slug ] = $encrypted_site; - - $this->set_account_option( 'sites', $sites, $store, $network_level_or_blog_id ); - } - - /** - * Update plugin's plans information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @param bool $store Flush to Database if true. - */ - private function _store_plans( $store = true ) { - $this->_logger->entrance(); - - $plans = self::get_all_plans( $this->_module_type ); - - // Copy plans. - $encrypted_plans = array(); - for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) { - $encrypted_plans[] = self::_encrypt_entity( $this->_plans[ $i ] ); - } - - $plans[ $this->_slug ] = $encrypted_plans; - - $this->set_account_option( 'plans', $plans, $store ); - } - - /** - * Update user's plugin licenses. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool $store - * @param number|bool $module_id - * @param FS_Plugin_License[] $licenses - */ - private function _store_licenses( $store = true, $module_id = false, $licenses = array() ) { - $this->_logger->entrance(); - - $all_licenses = self::get_all_licenses(); - - if ( ! FS_Plugin::is_valid_id( $module_id ) ) { - $module_id = $this->_module_id; - - $user_licenses = is_array( $this->_licenses ) ? - $this->_licenses : - array(); - - if ( empty( $user_licenses ) ) { - // If the context user doesn't have any license, don't update the licenses collection. - return; - } - - $new_user_licenses_map = array(); - foreach ( $user_licenses as $user_license ) { - $new_user_licenses_map[ $user_license->id ] = $user_license; - } - - self::store_user_id_license_ids_map( array_keys( $new_user_licenses_map ), $this->_module_id, $this->_user->id ); - - // Update user licenses. - $licenses_to_update_count = count( $new_user_licenses_map ); - foreach ( $all_licenses[ $module_id ] as $key => $license ) { - if ( 0 === $licenses_to_update_count ) { - break; - } - - if ( isset( $new_user_licenses_map[ $license->id ] ) ) { - // Update license. - $all_licenses[ $module_id ][ $key ] = $new_user_licenses_map[ $license->id ]; - unset( $new_user_licenses_map[ $license->id ] ); - - $licenses_to_update_count --; - } - } - - if ( ! empty( $new_user_licenses_map ) ) { - // Add new licenses. - $all_licenses[ $module_id ] = array_merge( array_values( $new_user_licenses_map ), $all_licenses[ $module_id ] ); - } - - $licenses = $all_licenses[ $module_id ]; - } - - if ( ! isset( $all_licenses[ $module_id ] ) ) { - $all_licenses[ $module_id ] = array(); - } - - $all_licenses[ $module_id ] = $licenses; - - self::$_accounts->set_option( 'all_licenses', $all_licenses, $store ); - } - - /** - * Update user information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param bool $store Flush to Database if true. - */ - private function _store_user( $store = true ) { - $this->_logger->entrance(); - - if ( empty( $this->_user->id ) ) { - $this->_logger->error( "Empty user ID, can't store user." ); - - return; - } - - $users = self::get_all_users(); - $users[ $this->_user->id ] = $this->_user; - self::$_accounts->set_option( 'users', $users, $store ); - } - - /** - * Update new updates information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param FS_Plugin_Tag|null $update - * @param bool $store Flush to Database if true. - * @param bool|number $plugin_id - */ - private function _store_update( $update, $store = true, $plugin_id = false ) { - $this->_logger->entrance(); - - if ( $update instanceof FS_Plugin_Tag ) { - $update->updated = time(); - } - - if ( ! is_numeric( $plugin_id ) ) { - $plugin_id = $this->_plugin->id; - } - - $updates = self::get_all_updates(); - $updates[ $plugin_id ] = $update; - self::$_accounts->set_option( 'updates', $updates, $store ); - } - - /** - * Update new updates information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param FS_Plugin[] $plugin_addons - * @param bool $store Flush to Database if true. - */ - private function _store_addons( $plugin_addons, $store = true ) { - $this->_logger->entrance(); - - $addons = self::get_all_addons(); - $addons[ $this->_plugin->id ] = $plugin_addons; - self::$_accounts->set_option( 'addons', $addons, $store ); - } - - /** - * Delete plugin's associated add-ons. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - * - * @param bool $store - * - * @return bool - */ - private function _delete_account_addons( $store = true ) { - $all_addons = self::get_all_account_addons(); - - if ( ! isset( $all_addons[ $this->_plugin->id ] ) ) { - return false; - } - - unset( $all_addons[ $this->_plugin->id ] ); - - self::$_accounts->set_option( 'account_addons', $all_addons, $store ); - - return true; - } - - /** - * Update account add-ons list. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param FS_Plugin[] $addons - * @param bool $store Flush to Database if true. - */ - private function _store_account_addons( $addons, $store = true ) { - $this->_logger->entrance(); - - $all_addons = self::get_all_account_addons(); - $all_addons[ $this->_plugin->id ] = $addons; - self::$_accounts->set_option( 'account_addons', $all_addons, $store ); - } - - /** - * Store account params in the Database. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.1 - * - * @param null|int $blog_id Since 2.0.0 - */ - private function _store_account( $blog_id = null ) { - $this->_logger->entrance(); - - $this->_store_site( false, $blog_id ); - $this->_store_user( false ); - $this->_store_plans( false ); - $this->_store_licenses( false ); - - self::$_accounts->store( $blog_id ); - } - - /** - * Sync user's information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * @uses FS_Api - */ - private function _handle_account_user_sync() { - $this->_logger->entrance(); - - $api = $this->get_api_user_scope(); - - // Get user's information. - $user = $api->get( '/', true ); - - if ( isset( $user->id ) ) { - $this->_user->first = $user->first; - $this->_user->last = $user->last; - $this->_user->email = $user->email; - - $is_menu_item_account_visible = $this->is_submenu_item_visible( 'account' ); - - if ( $user->is_verified && - ( ! isset( $this->_user->is_verified ) || false === $this->_user->is_verified ) - ) { - $this->_user->is_verified = true; - - $this->do_action( 'account_email_verified', $user->email ); - - $this->_admin_notices->add( - $this->get_text_inline( 'Your email has been successfully verified - you are AWESOME!', 'email-verified-message' ), - $this->get_text_x_inline( 'Right on', 'a positive response', 'right-on' ) . '!', - 'success', - // Make admin sticky if account menu item is invisible, - // since the page will be auto redirected to the plugin's - // main settings page, and the non-sticky message - // will disappear. - ! $is_menu_item_account_visible, - 'email_verified' - ); - } - - // Flush user details to DB. - $this->_store_user(); - - $this->do_action( 'after_account_user_sync', $user ); - - /** - * If account menu item is hidden, redirect to plugin's main settings page. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @link https://github.com/Freemius/wordpress-sdk/issues/6 - */ - if ( ! $is_menu_item_account_visible ) { - fs_redirect( $this->_get_admin_page_url() ); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * @uses FS_Api - * - * @param number|bool $license_id - * - * @return FS_Subscription|object|bool - */ - private function _fetch_site_license_subscription( $license_id = false ) { - $this->_logger->entrance(); - $api = $this->get_api_site_scope(); - - if ( ! is_numeric( $license_id ) ) { - $license_id = $this->_license->id; - } - - $result = $api->get( "/licenses/{$license_id}/subscriptions.json", true ); - - return ! isset( $result->error ) ? - ( ( is_array( $result->subscriptions ) && 0 < count( $result->subscriptions ) ) ? - new FS_Subscription( $result->subscriptions[0] ) : - false - ) : - $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * @uses FS_Api - * - * @param number|bool $plan_id - * - * @return FS_Plugin_Plan|object - */ - private function _fetch_site_plan( $plan_id = false ) { - $this->_logger->entrance(); - $api = $this->get_api_site_scope(); - - if ( ! is_numeric( $plan_id ) ) { - $plan_id = $this->_site->plan_id; - } - - $plan = $api->get( "/plans/{$plan_id}.json", true ); - - return ! isset( $plan->error ) ? new FS_Plugin_Plan( $plan ) : $plan; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * @uses FS_Api - * - * @return FS_Plugin_Plan[]|object - */ - private function _fetch_plugin_plans() { - $this->_logger->entrance(); - $api = $this->get_current_or_network_user_api_scope(); - - /** - * @since 1.2.3 When running in DEV mode, retrieve pending plans as well. - */ - $result = $api->get( $this->add_show_pending( "/plugins/{$this->_module_id}/plans.json" ), true ); - - if ( $this->is_api_result_object( $result, 'plans' ) && is_array( $result->plans ) ) { - for ( $i = 0, $len = count( $result->plans ); $i < $len; $i ++ ) { - $result->plans[ $i ] = new FS_Plugin_Plan( $result->plans[ $i ] ); - } - - $result = $result->plans; - } - - return $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $plan_id - * - * @return \FS_Plugin_Plan|object - */ - private function fetch_plan_by_id( $plan_id ) { - $this->_logger->entrance(); - $api = $this->get_current_or_network_user_api_scope(); - - $result = $api->get( "/plugins/{$this->_module_id}/plans/{$plan_id}.json", true ); - - return $this->is_api_result_entity( $result ) ? - new FS_Plugin_Plan( $result ) : - $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * @uses FS_Api - * - * @param number|bool $plugin_id - * @param number|bool $site_license_id - * @param array $foreign_licenses @since 2.0.0. This is used by network-activated plugins. - * @param number|null $blog_id - * - * @return FS_Plugin_License[]|object - */ - private function _fetch_licenses( - $plugin_id = false, - $site_license_id = false, - $foreign_licenses = array(), - $blog_id = null - ) { - $this->_logger->entrance(); - - $api = $this->get_api_user_scope(); - - if ( ! is_numeric( $plugin_id ) ) { - $plugin_id = $this->_plugin->id; - } - - $user_licenses_endpoint = "/plugins/{$plugin_id}/licenses.json"; - if ( ! empty ( $foreign_licenses ) ) { - $foreign_licenses = array( - // Prefix with `+` to tell the server to include foreign licenses in the licenses collection. - 'ids' => ( urlencode( '+' ) . implode( ',', $foreign_licenses['ids'] ) ), - 'license_keys' => implode( ',', array_map( 'urlencode', $foreign_licenses['license_keys'] ) ) - ); - - $user_licenses_endpoint = add_query_arg( $foreign_licenses, $user_licenses_endpoint ); - } - - $result = $api->get( $user_licenses_endpoint, true ); - - $is_site_license_synced = false; - - $api_errors = array(); - - if ( $this->is_api_result_object( $result, 'licenses' ) && - is_array( $result->licenses ) - ) { - for ( $i = 0, $len = count( $result->licenses ); $i < $len; $i ++ ) { - $result->licenses[ $i ] = new FS_Plugin_License( $result->licenses[ $i ] ); - - if ( ( ! $is_site_license_synced ) && is_numeric( $site_license_id ) ) { - $is_site_license_synced = ( $site_license_id == $result->licenses[ $i ]->id ); - } - } - - $result = $result->licenses; - } else { - $api_errors[] = $result; - $result = array(); - } - - if ( ! $is_site_license_synced ) { - if ( ! is_null( $blog_id ) ) { - /** - * If blog ID is not null, the request is for syncing of the license of a single site via the - * network-level "Account" page. - * - * @author Leo Fajardo (@leorw) - */ - $this->switch_to_blog( $blog_id ); - } - - $api = $this->get_api_site_scope(); - - if ( is_numeric( $site_license_id ) ) { - // Try to retrieve a foreign license that is linked to the install. - $api_result = $api->call( '/licenses.json' ); - - if ( $this->is_api_result_object( $api_result, 'licenses' ) && - is_array( $api_result->licenses ) - ) { - $licenses = $api_result->licenses; - - if ( ! empty( $licenses ) ) { - $result[] = new FS_Plugin_License( $licenses[0] ); - } - } else { - $api_errors[] = $api_result; - } - } else if ( is_object( $this->_license ) ) { - $is_license_in_result = false; - if ( ! empty( $result ) ) { - foreach ( $result as $license ) { - if ( $license->id == $this->_license->id ) { - $is_license_in_result = true; - break; - } - } - } - - if ( ! $is_license_in_result ) { - // Fetch foreign license by ID and license key. - $license = $api->get( "/licenses/{$this->_license->id}.json?license_key=" . - urlencode( $this->_license->secret_key ) ); - - if ( $this->is_api_result_entity( $license ) ) { - $result[] = new FS_Plugin_License( $license ); - } else { - $api_errors[] = $license; - } - } - } - - if ( ! is_null( $blog_id ) ) { - $this->switch_to_blog( $this->_storage->network_install_blog_id ); - } - } - - if ( is_array( $result ) && 0 < count( $result ) ) { - // If found at least one license, return license collection even if there are errors. - return $result; - } - - if ( ! empty( $api_errors ) ) { - // If found any errors and no licenses, return first error. - return $api_errors[0]; - } - - // Fallback to empty licenses list. - return $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param number $license_id - * @param string $license_key - * - * @return \FS_Plugin_License|object - */ - private function fetch_license_by_key( $license_id, $license_key ) { - $this->_logger->entrance(); - - $api = $this->get_current_or_network_user_api_scope(); - - $result = $api->get( "/licenses/{$license_id}.json?license_key=" . urlencode( $license_key ) ); - - return $this->is_api_result_entity( $result ) ? - new FS_Plugin_License( $result ) : - $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * @uses FS_Api - * - * @param number|bool $plugin_id - * @param bool $flush - * - * @return FS_Payment[]|object - */ - function _fetch_payments( $plugin_id = false, $flush = false ) { - $this->_logger->entrance(); - - $api = $this->get_api_user_scope(); - - if ( ! is_numeric( $plugin_id ) ) { - $plugin_id = $this->_plugin->id; - } - - $result = $api->get( "/plugins/{$plugin_id}/payments.json?include_addons=true", $flush ); - - if ( ! isset( $result->error ) ) { - for ( $i = 0, $len = count( $result->payments ); $i < $len; $i ++ ) { - $result->payments[ $i ] = new FS_Payment( $result->payments[ $i ] ); - } - $result = $result->payments; - } - - return $result; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * @uses FS_Api - * - * @param bool $flush - * - * @return \FS_Billing|mixed - */ - function _fetch_billing( $flush = false ) { - require_once WP_FS__DIR_INCLUDES . '/entities/class-fs-billing.php'; - - $billing = $this->get_api_user_scope()->get( 'billing.json', $flush ); - - if ( $this->is_api_result_entity( $billing ) ) { - $billing = new FS_Billing( $billing ); - } - - return $billing; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param FS_Plugin_License[] $licenses - * @param number $module_id - */ - private function _update_licenses( $licenses, $module_id ) { - $this->_logger->entrance(); - - if ( is_array( $licenses ) ) { - for ( $i = 0, $len = count( $licenses ); $i < $len; $i ++ ) { - $licenses[ $i ]->updated = time(); - } - } - - $this->_store_licenses( true, $module_id, $licenses ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool|number $plugin_id - * @param bool $flush Since 1.1.7.3 - * @param int $expiration Since 1.2.2.7 - * @param bool|string $newer_than Since 2.2.1 - * - * @return object|false New plugin tag info if exist. - */ - private function _fetch_newer_version( $plugin_id = false, $flush = true, $expiration = WP_FS__TIME_24_HOURS_IN_SEC, $newer_than = false ) { - $latest_tag = $this->_fetch_latest_version( $plugin_id, $flush, $expiration, $newer_than ); - - if ( ! is_object( $latest_tag ) ) { - return false; - } - - // Check if version is actually newer. - $has_new_version = - // If it's an non-installed add-on then always return latest. - ( $this->_is_addon_id( $plugin_id ) && ! $this->is_addon_activated( $plugin_id ) ) || - // Compare versions. - version_compare( $this->get_plugin_version(), $latest_tag->version, '<' ); - - $this->_logger->departure( $has_new_version ? 'Found newer plugin version ' . $latest_tag->version : 'No new version' ); - - return $has_new_version ? $latest_tag : false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool|number $plugin_id - * @param bool $flush Since 1.1.7.3 - * @param int $expiration Since 1.2.2.7 - * @param bool|string $newer_than Since 2.2.1 - * - * @return bool|FS_Plugin_Tag - */ - function get_update( $plugin_id = false, $flush = true, $expiration = WP_FS__TIME_24_HOURS_IN_SEC, $newer_than = false ) { - $this->_logger->entrance(); - - if ( ! is_numeric( $plugin_id ) ) { - $plugin_id = $this->_plugin->id; - } - - $this->check_updates( true, $plugin_id, $flush, $expiration, $newer_than ); - $updates = $this->get_all_updates(); - - return isset( $updates[ $plugin_id ] ) && is_object( $updates[ $plugin_id ] ) ? $updates[ $plugin_id ] : false; - } - - /** - * Check if site assigned with active license. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @deprecated Please use has_active_valid_license() instead because license can be cancelled. - */ - function has_active_license() { - return ( - is_object( $this->_license ) && - is_numeric( $this->_license->id ) && - ! $this->_license->is_expired() - ); - } - - /** - * Check if site assigned with active & valid (not expired) license. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - */ - function has_active_valid_license() { - return self::is_active_valid_license( $this->_license ); - } - - /** - * Check if a given license is active & valid (not expired). - * - * @author Vova Feldman (@svovaf) - * @since 2.1.3 - * - * @param FS_Plugin_License $license - * - * @return bool - */ - private static function is_active_valid_license( $license ) { - return ( - is_object( $license ) && - FS_Plugin_License::is_valid_id( $license->id ) && - $license->is_active() && - $license->is_valid() - ); - } - - /** - * Checks if there's any site that is associated with an active & valid license. - * This logic is used to determine if the admin can download the premium code base from a network level admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.3 - * - * @return bool - */ - function has_any_active_valid_license() { - if ( ! fs_is_network_admin() ) { - return $this->has_active_valid_license(); - } - - $installs = $this->get_blog_install_map(); - $all_plugin_licenses = self::get_all_licenses( $this->_module_id ); - - foreach ( $installs as $blog_id => $install ) { - if ( ! FS_Plugin_License::is_valid_id( $install->license_id ) ) { - continue; - } - - foreach ( $all_plugin_licenses as $license ) { - if ( $license->id == $install->license_id ) { - if ( self::is_active_valid_license( $license ) ) { - return true; - } - } - } - } - - return false; - } - - /** - * Check if site assigned with license with enabled features. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function has_features_enabled_license() { - return ( - is_object( $this->_license ) && - is_numeric( $this->_license->id ) && - $this->_license->is_features_enabled() - ); - } - - /** - * Check if user is a trial or have feature enabled license. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @return bool - */ - function can_use_premium_code() { - return $this->is_trial() || $this->has_features_enabled_license(); - } - - /** - * Checks if the current user can activate plugins or switch themes. Note that this method should only be used - * after the `init` action is triggered because it is using `current_user_can()` which is only functional after - * the context user is authenticated. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - function is_user_admin() { - /** - * Require a super-admin when network activated, running from the network level OR if - * running from the site level but not delegated the opt-in. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - if ( $this->_is_network_active && - ( fs_is_network_admin() || ! $this->is_delegated_connection() ) - ) { - return is_super_admin(); - } - - return ( $this->is_plugin() && current_user_can( is_multisite() ? 'manage_options' : 'activate_plugins' ) ) - || ( $this->is_theme() && current_user_can( 'switch_themes' ) ); - } - - /** - * Sync site's plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @uses FS_Api - * - * @param bool $background Hints the method if it's a background sync. If false, it means that was initiated by - * the admin. - * @param bool $is_context_single_site @since 2.0.0. This is used when syncing a license for a single install from the - * network-level "Account" page. - * @param int|null $current_blog_id @since 2.2.3. This is passed from the `execute_cron` method and used by the - * `_sync_plugin_license` method in order to switch to the previous blog when sending - * updates for a single site in case `execute_cron` has switched to a different blog. - */ - private function _sync_license( $background = false, $is_context_single_site = false, $current_blog_id = null ) { - $this->_logger->entrance(); - - $plugin_id = fs_request_get( 'plugin_id', $this->get_id() ); - - $is_addon_sync = ( ! $this->_plugin->is_addon() && $plugin_id != $this->get_id() ); - - if ( $is_addon_sync ) { - $this->_sync_addon_license( $plugin_id, $background ); - } else { - $this->_sync_plugin_license( $background, true, $is_context_single_site, $current_blog_id ); - } - - $this->do_action( 'after_account_plan_sync', $this->get_plan_name() ); - } - - /** - * Sync plugin's add-on license. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * @uses FS_Api - * - * @param number $addon_id - * @param bool $background - */ - private function _sync_addon_license( $addon_id, $background ) { - $this->_logger->entrance(); - - if ( $this->is_addon_activated( $addon_id ) ) { - // If already installed, use add-on sync. - $fs_addon = self::get_instance_by_id( $addon_id ); - $fs_addon->_sync_license( $background ); - - return; - } - - // Validate add-on exists. - $addon = $this->get_addon( $addon_id ); - - if ( ! is_object( $addon ) ) { - return; - } - - // Add add-on into account add-ons. - $account_addons = $this->get_account_addons(); - if ( ! is_array( $account_addons ) ) { - $account_addons = array(); - } - $account_addons[] = $addon->id; - $account_addons = array_unique( $account_addons ); - $this->_store_account_addons( $account_addons ); - - // Load add-on licenses. - $licenses = $this->_fetch_licenses( $addon->id ); - - // Sync add-on licenses. - if ( $this->is_array_instanceof( $licenses, 'FS_Plugin_License' ) ) { - $this->_update_licenses( $licenses, $addon->id ); - - if ( ! $this->is_addon_installed( $addon->id ) && FS_License_Manager::has_premium_license( $licenses ) ) { - $plans_result = $this->get_api_site_or_plugin_scope()->get( $this->add_show_pending( "/addons/{$addon_id}/plans.json" ) ); - - if ( ! isset( $plans_result->error ) ) { - $plans = array(); - foreach ( $plans_result->plans as $plan ) { - $plans[] = new FS_Plugin_Plan( $plan ); - } - - $this->_admin_notices->add_sticky( - sprintf( - ( FS_Plan_Manager::instance()->has_free_plan( $plans ) ? - $this->get_text_inline( 'Your %s Add-on plan was successfully upgraded.', 'addon-successfully-upgraded-message' ) : - /* translators: %s:product name, e.g. Facebook add-on was successfully... */ - $this->get_text_inline( '%s Add-on was successfully purchased.', 'addon-successfully-purchased-message' ) ), - $addon->title - ) . ' ' . $this->get_latest_download_link( - $this->get_text_inline( 'Download the latest version', 'download-latest-version' ), - $addon_id - ), - 'addon_plan_upgraded_' . $addon->slug, - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - } - } - } - } - - /** - * Sync site's plugin plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * @uses FS_Api - * - * @param bool $background Hints the method if it's a background sync. If false, it means that was initiated by the admin. - * @param bool $send_installs_update Since 2.0.0 - * @param bool $is_context_single_site Since 2.0.0. This is used when sending an update for a single install and - * syncing its license from the network-level "Account" page (e.g.: after - * activating a license only for the single install). - * @param int|null $current_blog_id Since 2.2.3. This is passed from the `execute_cron` method so that it - * can be used here to switch to the previous blog in case `execute_cron` - * has switched to a different blog. - */ - private function _sync_plugin_license( - $background = false, - $send_installs_update = true, - $is_context_single_site = false, - $current_blog_id = null - ) { - $this->_logger->entrance(); - - $plan_change = 'none'; - - $is_site_level_sync = ( $is_context_single_site || fs_is_blog_admin() || ! $this->_is_network_active ); - - if ( ! $send_installs_update ) { - $site = $this->_site; - } else { - /** - * Sync site info. - * - * @todo This line will execute install sync on a daily basis, even if running the free version (for opted-in users). The reason we want to keep it that way is for cases when the user was a paying customer, then there was a failure in subscription payment, and then after some time the payment was successful. This could be heavily optimized. For example, we can skip the $flush if the current install was never associated with a paid version. - */ - if ( $is_site_level_sync ) { - /** - * Switch to the previous blog since `execute_cron` may have switched to a different blog. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - if ( is_numeric( $current_blog_id ) ) { - $this->switch_to_blog( $current_blog_id ); - } - - $result = $this->send_install_update( array(), true ); - $is_valid = $this->is_api_result_entity( $result ); - } else { - $result = $this->send_installs_update( array(), true ); - $is_valid = $this->is_api_result_object( $result, 'installs' ); - } - - if ( ! $is_valid ) { - if ( $is_context_single_site ) { - // Switch back to the main blog so that the following logic will have the right entities. - $this->switch_to_blog( $this->_storage->network_install_blog_id ); - } - - // Show API messages only if not background sync or if paying customer. - if ( ! $background || $this->is_paying() ) { - // Try to ping API to see if not blocked. - if ( ! FS_Api::test() ) { - /** - * Failed to ping API - blocked! - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 Only show message related to one of the Freemius powered plugins. Once it will be resolved it will fix the issue for all plugins anyways. There's no point to scare users with multiple error messages. - */ - $api = $this->get_api_site_scope(); - - if ( ! self::$_global_admin_notices->has_sticky( 'api_blocked' ) ) { - self::$_global_admin_notices->add( - sprintf( - $this->get_text_x_inline( 'Your server is blocking the access to Freemius\' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s', '%1s - plugin title, %2s - API domain', 'server-blocking-access' ), - $this->get_plugin_name(), - '' . $api->get_url() . '' - ) . '
' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . var_export( $result->error, true ), - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error', - $background, - 'api_blocked' - ); - } - } else { - // Authentication params are broken. - $this->_admin_notices->add( - $this->get_text_inline( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.', 'wrong-authentication-param-message' ), - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - } - } - - // No reason to continue with license sync while there are API issues. - return; - } - - if ( $is_site_level_sync ) { - $site = new FS_Site( $result ); - } else { - // Map site addresses to their blog IDs. - $address_to_blog_map = $this->get_address_to_blog_map(); - - // Find the current context install. - $site = null; - foreach ( $result->installs as $install ) { - if ( $install->id == $this->_site->id ) { - $site = new FS_Site( $install ); - } else { - $address = trailingslashit( fs_strip_url_protocol( $install->url ) ); - $blog_id = $address_to_blog_map[ $address ]; - - $this->_store_site( true, $blog_id, new FS_Site( $install ) ); - } - } - } - - // Sync plans. - $this->_sync_plans(); - } - - // Remove sticky API connectivity message. - self::$_global_admin_notices->remove_sticky( 'api_blocked' ); - - if ( ! $this->has_paid_plan() ) { - $this->_site = $site; - $this->_store_site( - true, - $is_site_level_sync ? - null : - $this->get_network_install_blog_id() - ); - } else { - $context_blog_id = 0; - - if ( $is_context_single_site ) { - $context_blog_id = get_current_blog_id(); - - // Switch back to the main blog in order to properly sync the license. - $this->switch_to_blog( $this->_storage->network_install_blog_id ); - } - - /** - * Sync licenses. Pass the site's license ID so that the foreign licenses will be fetched if the license - * associated with that ID is not included in the user's licenses collection. - */ - $this->_sync_licenses( - $site->license_id, - ( $is_context_single_site ? - $context_blog_id : - null - ) - ); - - if ( $is_context_single_site ) { - $this->switch_to_blog( $context_blog_id ); - } - - // Check if plan / license changed. - if ( $site->plan_id != $this->_site->plan_id || - // Check if trial started. - $site->trial_plan_id != $this->_site->trial_plan_id || - $site->trial_ends != $this->_site->trial_ends || - // Check if license changed. - $site->license_id != $this->_site->license_id - ) { - if ( $site->is_trial() && ( ! $this->_site->is_trial() || $site->trial_ends != $this->_site->trial_ends ) ) { - // New trial started. - $this->_site = $site; - $plan_change = 'trial_started'; - - // For trial with subscription use-case. - $new_license = is_null( $site->license_id ) ? null : $this->_get_license_by_id( $site->license_id ); - - if ( is_object( $new_license ) && $new_license->is_valid() ) { - $this->_site = $site; - $this->_update_site_license( $new_license ); - $this->_store_licenses(); - - $this->_sync_site_subscription( $this->_license ); - } - } else if ( $this->_site->is_trial() && ! $site->is_trial() && ! is_numeric( $site->license_id ) ) { - // Was in trial, but now trial expired and no license ID. - // New trial started. - $this->_site = $site; - $plan_change = 'trial_expired'; - } else { - $is_free = $this->is_free_plan(); - - // Make sure license exist and not expired. - $new_license = is_null( $site->license_id ) ? - null : - $this->_get_license_by_id( $site->license_id ); - - if ( $is_free && is_null( $new_license ) && $this->has_any_license() && $this->_license->is_cancelled ) { - // License cancelled. - $this->_site = $site; - $this->_update_site_license( $new_license ); - $this->_store_licenses(); - - $plan_change = 'cancelled'; - } else if ( $is_free && ( ( ! is_object( $new_license ) || $new_license->is_expired() ) ) ) { - // The license is expired, so ignore upgrade method. - $this->_site = $site; - } else { - // License changed. - $this->_site = $site; - - /** - * IMPORTANT: - * The line below should be executed before trying to activate the license on the rest of the network, otherwise, the license' activation counters may be out of sync + there's no need to activate the license on the context site since it's already activated on it. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - $this->_update_site_license( $new_license ); - - if ( ! $is_context_single_site && - fs_is_network_admin() && - $this->_is_network_active && - $new_license->quota > 1 && - get_blog_count() > 1 - ) { - // See if license can activated on all sites. - if ( ! $this->try_activate_license_on_network( $this->_user, $new_license ) ) { - if ( ! fs_request_get_bool( 'auto_install' ) ) { - // Open the license activation dialog box on the account page. - add_action( 'admin_footer', array( - &$this, - '_open_license_activation_dialog_box' - ) ); - } - } - } - - $this->_store_licenses(); - - $plan_change = $is_free ? - 'upgraded' : - ( is_object( $new_license ) ? - 'changed' : - 'downgraded' ); - } - } - - // Store updated site info. - $this->_store_site( - true, - $is_site_level_sync ? - null : - $this->get_network_install_blog_id() - ); - } else { - if ( is_object( $this->_license ) && $this->_license->is_expired() ) { - if ( ! $this->has_features_enabled_license() ) { - $this->_deactivate_license(); - $plan_change = 'downgraded'; - } else { - $plan_change = 'expired'; - } - } - - if ( is_numeric( $site->license_id ) && is_object( $this->_license ) ) { - $this->_sync_site_subscription( $this->_license ); - } - } - } - - $hmm_text = $this->get_text_x_inline( 'Hmm', 'something somebody says when they are thinking about what you have just said.', 'hmm' ) . '...'; - - if ( $this->has_paid_plan() ) { - switch ( $plan_change ) { - case 'none': - if ( ! $background && is_admin() ) { - $plan = $this->is_trial() ? - $this->get_trial_plan() : - $this->get_plan(); - - if ( $plan->is_free() ) { - $this->_admin_notices->add( - sprintf( - $this->get_text_inline( 'It looks like you are still on the %s plan. If you did upgrade or change your plan, it\'s probably an issue on our side - sorry.', 'plan-did-not-change-message' ), - '' . $plan->title . ( $this->is_trial() ? ' ' . $this->get_text_x_inline( 'Trial', 'trial period', 'trial' ) : '' ) . '' - ) . ' ' . sprintf( - '%s', - $this->contact_url( - 'bug', - sprintf( $this->get_text_inline( 'I have upgraded my account but when I try to Sync the License, the plan remains %s.', 'plan-did-not-change-email-message' ), - strtoupper( $plan->name ) - ) - ), - $this->get_text_inline( 'Please contact us here', 'contact-us-here' ) - ), - $hmm_text - ); - } - } - break; - case 'upgraded': - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Your plan was successfully upgraded.', 'plan-upgraded-message' ), - '' . $this->get_plugin_name() . '' - ) . $this->get_complete_upgrade_instructions(), - 'plan_upgraded', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - - $this->_admin_notices->remove_sticky( array( - 'trial_started', - 'trial_promotion', - 'trial_expired', - 'activation_complete', - 'license_expired', - ) ); - break; - case 'changed': - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Your plan was successfully changed to %s.', 'plan-changed-to-x-message' ), - $this->get_plan_title() - ), - 'plan_changed' - ); - - $this->_admin_notices->remove_sticky( array( - 'trial_started', - 'trial_promotion', - 'trial_expired', - 'activation_complete', - ) ); - break; - case 'downgraded': - $this->_admin_notices->add_sticky( - ($this->has_free_plan() ? - sprintf( $this->get_text_inline( 'Your license has expired. You can still continue using the free %s forever.', 'license-expired-blocking-message' ), $this->_module_type ) : - /* translators: %1$s: product title; %2$s, %3$s: wrapping HTML anchor element; %4$s: 'plugin', 'theme', or 'add-on'. */ - sprintf( $this->get_text_inline( 'Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions.', 'license-expired-blocking-message_premium-only' ), sprintf('', $this->pricing_url()), '', $this->get_module_label(true) ) ), - 'license_expired', - $hmm_text - ); - $this->_admin_notices->remove_sticky( 'plan_upgraded' ); - break; - case 'cancelled': - $this->_admin_notices->add( - $this->get_text_inline( 'Your license has been cancelled. If you think it\'s a mistake, please contact support.', 'license-cancelled' ) . ' ' . - sprintf( - '%s', - $this->contact_url( 'bug' ), - $this->get_text_inline( 'Please contact us here', 'contact-us-here' ) - ), - $hmm_text, - 'error' - ); - $this->_admin_notices->remove_sticky( 'plan_upgraded' ); - break; - case 'expired': - $this->_admin_notices->add_sticky( - sprintf( $this->get_text_inline( 'Your license has expired. You can still continue using all the %s features, but you\'ll need to renew your license to continue getting updates and support.', 'license-expired-non-blocking-message' ), $this->get_plan()->title ), - 'license_expired', - $hmm_text - ); - $this->_admin_notices->remove_sticky( 'plan_upgraded' ); - break; - case 'trial_started': - $this->_admin_notices->add_sticky( - sprintf( - $this->get_text_inline( 'Your trial has been successfully started.', 'trial-started-message' ), - '' . $this->get_plugin_name() . '' - ) . $this->get_complete_upgrade_instructions( $this->get_trial_plan()->title ), - 'trial_started', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - - $this->_admin_notices->remove_sticky( array( - 'trial_promotion', - ) ); - break; - case 'trial_expired': - $this->_admin_notices->add_sticky( - ($this->has_free_plan() ? - $this->get_text_inline( 'Your free trial has expired. You can still continue using all our free features.', 'trial-expired-message' ) : - /* translators: %1$s: product title; %2$s, %3$s: wrapping HTML anchor element; %4$s: 'plugin', 'theme', or 'add-on'. */ - sprintf( $this->get_text_inline( 'Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions.', 'trial-expired-message_premium-only' ), sprintf('', $this->pricing_url()), '', $this->get_module_label(true))), - 'trial_expired', - $hmm_text - ); - $this->_admin_notices->remove_sticky( array( - 'trial_started', - 'trial_promotion', - 'plan_upgraded', - ) ); - break; - } - } - - if ( 'none' !== $plan_change ) { - $this->do_action( 'after_license_change', $plan_change, $this->get_plan() ); - } - } - - /** - * Include the required JS at the footer of the admin to trigger the license activation dialog box. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - public function _open_license_activation_dialog_box() { - $vars = array( 'license_id' => $this->_site->license_id ); - fs_require_once_template( 'js/open-license-activation.php', $vars ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool $background - */ - protected function _activate_license( $background = false ) { - $this->_logger->entrance(); - - $license_id = fs_request_get( 'license_id' ); - - if ( is_object( $this->_site ) && - FS_Plugin_License::is_valid_id( $license_id ) && - $license_id == $this->_site->license_id - ) { - // License is already activated. - return; - } - - $premium_license = FS_Plugin_License::is_valid_id( $license_id ) ? - $this->_get_license_by_id( $license_id ) : - $this->_get_available_premium_license(); - - if ( ! is_object( $premium_license ) ) { - return; - } - - if ( ! is_object( $this->_site ) ) { - // Not yet opted-in. - $user = $this->get_current_or_network_user(); - if ( ! is_object( $user ) ) { - $user = self::_get_user_by_id( $premium_license->user_id ); - } - - if ( is_object( $user ) ) { - $this->install_with_user( $user, $premium_license->secret_key, false, false, false ); - } else { - $this->opt_in( - false, - false, - false, - $premium_license->secret_key - ); - - return; - } - } - - - /** - * If the premium license is already associated with the install, just - * update the license reference (activation is not required). - * - * @since 1.1.9 - */ - if ( $premium_license->id == $this->_site->license_id ) { - // License is already activated. - $this->_update_site_license( $premium_license ); - $this->_store_account(); - - return; - } - - if ( $this->_site->user_id != $premium_license->user_id ) { - $api_request_params = array( 'license_key' => $premium_license->secret_key ); - } else { - $api_request_params = array(); - } - - $api = $this->get_api_site_scope(); - $license = $api->call( "/licenses/{$premium_license->id}.json", 'put', $api_request_params ); - - if ( ! $this->is_api_result_entity( $license ) ) { - if ( ! $background ) { - $this->_admin_notices->add( sprintf( - '%s %s', - $this->get_text_inline( 'It looks like the license could not be activated.', 'license-activation-failed-message' ), - ( is_object( $license ) && isset( $license->error ) ? - $license->error->message : - sprintf( '%s
%s', - $this->get_text_inline( 'Error received from the server:', 'server-error-message' ), - var_export( $license, true ) - ) - ) - ), - $this->get_text_x_inline( 'Hmm', 'something somebody says when they are thinking about what you have just said.', 'hmm' ) . '...', - 'error' - ); - } - - return; - } - - $premium_license = new FS_Plugin_License( $license ); - - // Updated site plan. - $site = $this->get_api_site_scope()->get( '/', true ); - if ( $this->is_api_result_entity( $site ) ) { - $this->_site = new FS_Site( $site ); - } - $this->_update_site_license( $premium_license ); - - $this->_store_account(); - - if ( ! $background ) { - $this->_admin_notices->add_sticky( - $this->get_text_inline( 'Your license was successfully activated.', 'license-activated-message' ) . - $this->get_complete_upgrade_instructions(), - 'license_activated', - $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!' - ); - } - - $this->_admin_notices->remove_sticky( array( - 'trial_promotion', - 'license_expired', - ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param bool $show_notice - */ - protected function _deactivate_license( $show_notice = true ) { - $this->_logger->entrance(); - - $hmm_text = $this->get_text_x_inline( 'Hmm', 'something somebody says when they are thinking about what you have just said.', 'hmm' ) . '...'; - - if ( ! FS_Plugin_License::is_valid_id( $this->_site->license_id ) ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'It looks like your site currently doesn\'t have an active license.', 'no-active-license-message' ), $this->get_plan_title() ), - $hmm_text - ); - - return; - } - - $api = $this->get_api_site_scope(); - $license = $api->call( "/licenses/{$this->_site->license_id}.json", 'delete' ); - - $this->handle_license_deactivation_result( $license, $hmm_text, $show_notice ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - * - * @param FS_Plugin_License $license - * @param bool|string $hmm_text - * @param bool $show_notice - */ - private function handle_license_deactivation_result( $license, $hmm_text = false, $show_notice = true ) { - if ( isset( $license->error ) ) { - $this->_admin_notices->add( - $this->get_text_inline( 'It looks like the license deactivation failed.', 'license-deactivation-failed-message' ) . '
' . - $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . ' ' . var_export( $license->error, true ), - $hmm_text, - 'error' - ); - - return; - } - - // Update license cache. - if ( is_array( $this->_licenses ) ) { - for ( $i = 0, $len = count( $this->_licenses ); $i < $len; $i ++ ) { - if ( $license->id == $this->_licenses[ $i ]->id ) { - $this->_licenses[ $i ] = new FS_Plugin_License( $license ); - } - } - } - - // Update site plan to default. - $this->_sync_plans(); - $this->_site->plan_id = $this->_plans[0]->id; - // Unlink license from site. - $this->_update_site_license( null ); - - $this->_store_account(); - - if ( $show_notice ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Your license was successfully deactivated, you are back to the %s plan.', 'license-deactivation-message' ), $this->get_plan_title() ), - $this->get_text_inline( 'O.K', 'ok' ) - ); - } - - $this->_admin_notices->remove_sticky( array( - 'plan_upgraded', - 'license_activated', - ) ); - } - - /** - * Site plan downgrade. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @return object - * - * @uses FS_Api - */ - private function _downgrade_site() { - $this->_logger->entrance(); - - $deactivate_license = fs_request_get_bool( 'deactivate_license' ); - - $api = $this->get_api_site_scope(); - $site = $api->call( 'downgrade.json', 'put', array( 'deactivate_license' => $deactivate_license ) ); - - $plan_downgraded = false; - $plan = false; - if ( $this->is_api_result_entity( $site ) ) { - $prev_plan_id = $this->_site->plan_id; - - // Update new site plan id. - $this->_site->plan_id = $site->plan_id; - - $plan = $this->get_plan(); - $subscription = $this->_sync_site_subscription( $this->_license ); - - // Plan downgraded if plan was changed or subscription was cancelled. - $plan_downgraded = ( $plan instanceof FS_Plugin_Plan && $prev_plan_id != $plan->id ) || - ( is_object( $subscription ) && ! isset( $subscription->error ) && ! $subscription->is_active() ); - } else { - // handle different error cases. - $this->handle_license_deactivation_result( - $site, - $this->get_text_x_inline( 'Hmm', 'something somebody says when they are thinking about what you have just said.', 'hmm' ) . '...' - ); - } - - if ( ! $plan_downgraded ) { - return (object) array( - 'error' => (object) array( - 'message' => $this->get_text_inline( 'Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes.', 'subscription-cancellation-failure-message' ) - ) - ); - } - - // Remove previous sticky message about upgrade (if exist). - $this->_admin_notices->remove_sticky( 'plan_upgraded' ); - - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Your subscription was successfully cancelled. Your %s plan license will expire in %s.', 'plan-x-downgraded-message' ), - $plan->title, - human_time_diff( time(), strtotime( $this->_license->expiration ) ) - ) - ); - - // Store site updates. - $this->_store_site(); - - if ( $deactivate_license && - ! FS_Plugin_License::is_valid_id( $site->license_id ) - ) { - if ( $this->_site->is_localhost() ) { - $this->_license->activated_local = max( 0, $this->_license->activated_local - 1 ); - } else { - $this->_license->activated = max( 0, $this->_license->activated - 1 ); - } - - // Handle successful license deactivation result. - $this->handle_license_deactivation_result( $this->_license ); - } - - return $site; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.8.1 - * - * @param bool|string $plan_name - * - * @return bool If trial was successfully started. - */ - function start_trial( $plan_name = false ) { - $this->_logger->entrance(); - - // Alias. - $oops_text = $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...'; - - if ( $this->is_trial() ) { - // Already in trial mode. - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'You are already running the %s in a trial mode.', 'in-trial-mode' ), $this->_module_type ), - $oops_text, - 'error' - ); - - return false; - } - - if ( $this->_site->is_trial_utilized() ) { - // Trial was already utilized. - $this->_admin_notices->add( - $this->get_text_inline( 'You already utilized a trial before.', 'trial-utilized' ), - $oops_text, - 'error' - ); - - return false; - } - - if ( false !== $plan_name ) { - $plan = $this->get_plan_by_name( $plan_name ); - - if ( false === $plan ) { - // Plan doesn't exist. - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Plan %s do not exist, therefore, can\'t start a trial.', 'trial-plan-x-not-exist' ), $plan_name ), - $oops_text, - 'error' - ); - - return false; - } - - if ( ! $plan->has_trial() ) { - // Plan doesn't exist. - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Plan %s does not support a trial period.', 'plan-x-no-trial' ), $plan_name ), - $oops_text, - 'error' - ); - - return false; - } - } else { - if ( ! $this->has_trial_plan() ) { - // None of the plans have a trial. - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'None of the %s\'s plans supports a trial period.', 'no-trials' ), $this->_module_type ), - $oops_text, - 'error' - ); - - return false; - } - - $plans_with_trial = FS_Plan_Manager::instance()->get_trial_plans( $this->_plans ); - - $plan = $plans_with_trial[0]; - } - - $api = $this->get_api_site_scope(); - $plan = $api->call( "plans/{$plan->id}/trials.json", 'post' ); - - if ( ! $this->is_api_result_entity( $plan ) ) { - // Some API error while trying to start the trial. - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Unexpected API error. Please contact the %s\'s author with the following error.', 'unexpected-api-error' ), $this->_module_type ) - . ' ' . var_export( $plan, true ), - $oops_text, - 'error' - ); - - return false; - } - - // Sync license. - $this->_sync_license(); - - return $this->is_trial(); - } - - /** - * Cancel site trial. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return object - * - * @uses FS_Api - */ - private function _cancel_trial() { - $this->_logger->entrance(); - - if ( ! $this->is_trial() ) { - return (object) array( - 'error' => (object) array( - 'message' => $this->get_text_inline( 'It looks like you are not in trial mode anymore so there\'s nothing to cancel :)', 'trial-cancel-no-trial-message' ) - ) - ); - } - - $trial_plan = $this->get_trial_plan(); - - $api = $this->get_api_site_scope(); - $site = $api->call( 'trials.json', 'delete' ); - - $trial_cancelled = false; - - if ( $this->is_api_result_entity( $site ) ) { - $prev_trial_ends = $this->_site->trial_ends; - - if ( $this->is_paid_trial() ) { - $this->_license->expiration = $site->trial_ends; - $this->_license->is_cancelled = true; - $this->_update_site_license( $this->_license ); - $this->_store_licenses(); - - // Clear subscription reference. - $this->_sync_site_subscription( null ); - } - - // Update site info. - $this->_site = new FS_Site( $site ); - - $trial_cancelled = ( $prev_trial_ends != $site->trial_ends ); - } else { - // @todo handle different error cases. - } - - if ( ! $trial_cancelled ) { - return (object) array( - 'error' => (object) array( - 'message' => $this->get_text_inline( 'Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes.', 'trial-cancel-failure-message' ) - ) - ); - } - - // Remove previous sticky messages about upgrade or trial (if exist). - $this->_admin_notices->remove_sticky( array( - 'trial_started', - 'trial_promotion', - 'plan_upgraded', - ) ); - - // Store site updates. - $this->_store_site(); - - if ( ! $this->is_addon() || - ! $this->deactivate_premium_only_addon_without_license( true ) - ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Your %s free trial was successfully cancelled.', 'trial-cancel-message' ), $trial_plan->title ) - ); - } - - return $site; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool|number $plugin_id - * - * @return bool - */ - private function _is_addon_id( $plugin_id ) { - return is_numeric( $plugin_id ) && ( $this->get_id() != $plugin_id ); - } - - /** - * Check if user eligible to download premium version updates. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - private function _can_download_premium() { - return $this->has_any_active_valid_license() || - ( $this->is_trial() && ! $this->get_trial_plan()->is_free() ); - } - - /** - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool|number $addon_id - * @param string $type "json" or "zip" - * - * @return string - */ - private function _get_latest_version_endpoint( $addon_id = false, $type = 'json' ) { - - $is_addon = $this->_is_addon_id( $addon_id ); - - $is_premium = null; - if ( ! $is_addon ) { - $is_premium = ( $this->is_premium() || $this->_can_download_premium() ); - } else if ( $this->is_addon_activated( $addon_id ) ) { - $fs_addon = self::get_instance_by_id( $addon_id ); - $is_premium = ( $fs_addon->is_premium() || $fs_addon->_can_download_premium() ); - } - - // If add-on, then append add-on ID. - $endpoint = ( $is_addon ? "/addons/$addon_id" : '' ) . - '/updates/latest.' . $type; - - // If add-on and not yet activated, try to fetch based on server licensing. - if ( is_bool( $is_premium ) ) { - $endpoint = add_query_arg( 'is_premium', json_encode( $is_premium ), $endpoint ); - } - - if ( $this->has_secret_key() ) { - $endpoint = add_query_arg( 'type', 'all', $endpoint ); - } - - return $endpoint; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool|number $addon_id - * @param bool $flush Since 1.1.7.3 - * @param int $expiration Since 1.2.2.7 - * @param bool|string $newer_than Since 2.2.1 - * @param bool|string $fetch_readme Since 2.2.1 - * - * @return object|false Plugin latest tag info. - */ - function _fetch_latest_version( - $addon_id = false, - $flush = true, - $expiration = WP_FS__TIME_24_HOURS_IN_SEC, - $newer_than = false, - $fetch_readme = true - ) { - $this->_logger->entrance(); - - $switch_to_blog_id = null; - - /** - * @since 1.1.7.3 Check for plugin updates from Freemius only if opted-in. - * @since 1.1.7.4 Also check updates for add-ons. - */ - if ( ! $this->is_registered() && - ! $this->_is_addon_id( $addon_id ) - ) { - if ( ! is_multisite() ) { - return false; - } - - $installs_map = $this->get_blog_install_map(); - - foreach ( $installs_map as $blog_id => $install ) { - /** - * @var FS_Site $install - */ - if ( $install->is_trial() ) { - $switch_to_blog_id = $blog_id; - break; - } - - if ( FS_Plugin_License::is_valid_id( $install->license_id ) ) { - $license = $this->get_license_by_id( $install->license_id ); - - if ( is_object( $license ) && $license->is_features_enabled() ) { - $switch_to_blog_id = $blog_id; - break; - } - } - } - - if ( is_null( $switch_to_blog_id ) ) { - return false; - } - } - - $current_blog_id = is_numeric( $switch_to_blog_id ) ? - get_current_blog_id() : - 0; - - if ( is_numeric( $switch_to_blog_id ) ) { - $this->switch_to_blog( $switch_to_blog_id ); - } - - $latest_version_endpoint = $this->_get_latest_version_endpoint( $addon_id, 'json' ); - - if ( ! empty( $newer_than ) ) { - $latest_version_endpoint = add_query_arg( 'newer_than', $newer_than, $latest_version_endpoint ); - } - - if ( true === $fetch_readme ) { - $latest_version_endpoint = add_query_arg( 'readme', 'true', $latest_version_endpoint ); - } - - $tag = $this->get_api_site_or_plugin_scope()->get( - $latest_version_endpoint, - $flush, - $expiration - ); - - if ( is_numeric( $switch_to_blog_id ) ) { - $this->switch_to_blog( $current_blog_id ); - } - - $latest_version = ( is_object( $tag ) && isset( $tag->version ) ) ? $tag->version : 'couldn\'t get'; - - $this->_logger->departure( 'Latest version ' . $latest_version ); - - return ( is_object( $tag ) && isset( $tag->version ) ) ? $tag : false; - } - - #---------------------------------------------------------------------------------- - #region Download Plugin - #---------------------------------------------------------------------------------- - - /** - * Download latest plugin version, based on plan. - * - * Not like _download_latest(), this will redirect the page - * to secure download url to prevent dual download (from FS to WP server, - * and then from WP server to the client / browser). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool|number $plugin_id - * - * @uses FS_Api - * @uses wp_redirect() - */ - private function download_latest_directly( $plugin_id = false ) { - $this->_logger->entrance(); - - wp_redirect( $this->get_latest_download_api_url( $plugin_id ) ); - } - - /** - * Get latest plugin FS API download URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool|number $plugin_id - * - * @return string - */ - private function get_latest_download_api_url( $plugin_id = false ) { - $this->_logger->entrance(); - - return $this->get_api_site_scope()->get_signed_url( - $this->_get_latest_version_endpoint( $plugin_id, 'zip' ) - ); - } - - /** - * Get payment invoice URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * - * @param bool|number $payment_id - * - * @return string - */ - function _get_invoice_api_url( $payment_id = false ) { - $this->_logger->entrance(); - - return $this->get_api_user_scope()->get_signed_url( - "/payments/{$payment_id}/invoice.pdf" - ); - } - - /** - * Get latest plugin download link. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $label - * @param bool|number $plugin_id - * - * @return string - */ - private function get_latest_download_link( $label, $plugin_id = false ) { - return sprintf( - '%s', - $this->_get_latest_download_local_url( $plugin_id ), - $label - ); - } - - /** - * Get latest plugin download local URL. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool|number $plugin_id - * - * @return string - */ - function _get_latest_download_local_url( $plugin_id = false ) { - // Add timestamp to protect from caching. - $params = array( 'ts' => WP_FS__SCRIPT_START_TIME ); - - if ( ! empty( $plugin_id ) ) { - $params['plugin_id'] = $plugin_id; - } else if ( $this->is_addon() ) { - $params['plugin_id'] = $this->get_id(); - } - - $fs = $this->is_addon() ? - $this->get_parent_instance() : - $this; - - return $fs->get_account_url( 'download_latest', $params ); - } - - #endregion Download Plugin ------------------------------------------------------------------ - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @uses FS_Api - * - * @param bool $background Hints the method if it's a background updates check. If false, it means that - * was initiated by the admin. - * @param bool|number $plugin_id - * @param bool $flush Since 1.1.7.3 - * @param int $expiration Since 1.2.2.7 - * @param bool|string $newer_than Since 2.2.1 - */ - private function check_updates( - $background = false, - $plugin_id = false, - $flush = true, - $expiration = WP_FS__TIME_24_HOURS_IN_SEC, - $newer_than = false - ) { - $this->_logger->entrance(); - - // Check if there's a newer version for download. - $new_version = $this->_fetch_newer_version( $plugin_id, $flush, $expiration, $newer_than ); - - $update = null; - if ( is_object( $new_version ) ) { - $update = new FS_Plugin_Tag( $new_version ); - - if ( ! $background ) { - $this->_admin_notices->add( - sprintf( - /* translators: %s: Numeric version number (e.g. '2.1.9' */ - $this->get_text_inline( 'Version %s was released.', 'version-x-released' ) . ' ' . $this->get_text_inline( 'Please download %s.', 'please-download-x' ), - $update->version, - sprintf( - '%s', - $this->get_account_url( 'download_latest' ), - sprintf( - /* translators: %s: plan name (e.g. latest "Professional" version) */ - $this->get_text_inline( 'the latest %s version here', 'latest-x-version' ), - $this->get_plan_title() - ) - ) - ), - $this->get_text_inline( 'New', 'new' ) . '!' - ); - } - } else if ( false === $new_version && ! $background ) { - $this->_admin_notices->add( - $this->get_text_inline( 'Seems like you got the latest release.', 'you-have-latest' ), - $this->get_text_inline( 'You are all good!', 'you-are-good' ) - ); - } - - $this->_store_update( $update, true, $plugin_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool $flush Since 1.1.7.3 add 24 hour cache by default. - * - * @return FS_Plugin[] - * - * @uses FS_Api - */ - private function sync_addons( $flush = false ) { - $this->_logger->entrance(); - - $api = $this->get_api_site_or_plugin_scope(); - - $path = $this->add_show_pending( '/addons.json?enriched=true' ); - - /** - * @since 1.2.1 - * - * If there's a cached version of the add-ons and not asking - * for a flush, just use the currently stored add-ons. - */ - if ( ! $flush && $api->is_cached( $path ) ) { - $addons = self::get_all_addons(); - - return $addons[ $this->_plugin->id ]; - } - - $result = $api->get( $path, $flush ); - - $addons = array(); - if ( $this->is_api_result_object( $result, 'plugins' ) && - is_array( $result->plugins ) - ) { - for ( $i = 0, $len = count( $result->plugins ); $i < $len; $i ++ ) { - $addons[ $i ] = new FS_Plugin( $result->plugins[ $i ] ); - } - - $this->_store_addons( $addons, true ); - } - - return $addons; - } - - /** - * Handle user email update. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * @uses FS_Api - * - * @param string $new_email - * - * @return object - */ - private function update_email( $new_email ) { - $this->_logger->entrance(); - - - $api = $this->get_api_user_scope(); - $user = $api->call( "?plugin_id={$this->_plugin->id}&fields=id,email,is_verified", 'put', array( - 'email' => $new_email, - 'after_email_confirm_url' => $this->_get_admin_page_url( - 'account', - array( 'fs_action' => 'sync_user' ) - ), - ) ); - - if ( ! isset( $user->error ) ) { - $this->_user->email = $user->email; - $this->_user->is_verified = $user->is_verified; - $this->_store_user(); - } else { - // handle different error cases. - - } - - return $user; - } - - #---------------------------------------------------------------------------------- - #region API Error Handling - #---------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * - * @param mixed $result - * - * @return bool Is API result contains an error. - */ - private function is_api_error( $result ) { - return FS_Api::is_api_error( $result ); - } - - /** - * Checks if given API result is a non-empty and not an error object. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $result - * @param string|null $required_property Optional property we want to verify that is set. - * - * @return bool - */ - function is_api_result_object( $result, $required_property = null ) { - return FS_Api::is_api_result_object( $result, $required_property ); - } - - /** - * Checks if given API result is a non-empty entity object with non-empty ID. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $result - * - * @return bool - */ - private function is_api_result_entity( $result ) { - return FS_Api::is_api_result_entity( $result ); - } - - #endregion - - /** - * Make sure a given argument is an array of a specific type. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $array - * @param string $class - * - * @return bool - */ - private function is_array_instanceof( $array, $class ) { - return ( is_array( $array ) && ( empty( $array ) || $array[0] instanceof $class ) ); - } - - /** - * Start install ownership change. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * @uses FS_Api - * - * @param string $candidate_email - * - * @return bool Is ownership change successfully initiated. - */ - private function init_change_owner( $candidate_email ) { - $this->_logger->entrance(); - - $api = $this->get_api_site_scope(); - $result = $api->call( "/users/{$this->_user->id}.json", 'put', array( - 'email' => $candidate_email, - 'after_confirm_url' => $this->_get_admin_page_url( - 'account', - array( 'fs_action' => 'change_owner' ) - ), - ) ); - - return ! $this->is_api_error( $result ); - } - - /** - * Handle install ownership change. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * @uses FS_Api - * - * @return bool Was ownership change successfully complete. - */ - private function complete_change_owner() { - $this->_logger->entrance(); - - $site_result = $this->get_api_site_scope( true )->get(); - $site = new FS_Site( $site_result ); - $this->_site = $site; - - $user = new FS_User(); - $user->id = fs_request_get( 'user_id' ); - - // Validate install's user and given user. - if ( $user->id != $this->_site->user_id ) { - return false; - } - - $user->public_key = fs_request_get( 'user_public_key' ); - $user->secret_key = fs_request_get( 'user_secret_key' ); - - // Fetch new user information. - $this->_user = $user; - $user_result = $this->get_api_user_scope( true )->get(); - $user = new FS_User( $user_result ); - $this->_user = $user; - - $this->_set_account( $user, $site ); - - return true; - } - - /** - * Handle user name update. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * @uses FS_Api - * - * @return object - */ - private function update_user_name() { - $this->_logger->entrance(); - $name = fs_request_get( 'fs_user_name_' . $this->get_unique_affix(), '' ); - - $api = $this->get_api_user_scope(); - $user = $api->call( "?plugin_id={$this->_plugin->id}&fields=id,first,last", 'put', array( - 'name' => $name, - ) ); - - if ( ! isset( $user->error ) ) { - $this->_user->first = $user->first; - $this->_user->last = $user->last; - $this->_store_user(); - } else { - // handle different error cases. - - } - - return $user; - } - - /** - * Verify user email. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * @uses FS_Api - */ - private function verify_email() { - $this->_handle_account_user_sync(); - - if ( $this->_user->is_verified() ) { - return; - } - - $api = $this->get_api_site_scope(); - $result = $api->call( "/users/{$this->_user->id}/verify.json", 'put', array( - 'after_email_confirm_url' => $this->_get_admin_page_url( - 'account', - array( 'fs_action' => 'sync_user' ) - ) - ) ); - - if ( ! isset( $result->error ) ) { - $this->_admin_notices->add( sprintf( - $this->get_text_inline( 'Verification mail was just sent to %s. If you can\'t find it after 5 min, please check your spam box.', 'verification-email-sent-message' ), - sprintf( '%2s', esc_url( $this->_user->email ), $this->_user->email ) - ) ); - } else { - // handle different error cases. - - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.2 - * - * @param array $params - * @param bool|null $network - * - * @return string - */ - function get_activation_url( $params = array(), $network = null ) { - if ( $this->is_addon() && $this->has_free_plan() ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 Add-on's activation is the parent's module activation. - */ - return $this->get_parent_instance()->get_activation_url( $params ); - } - - return $this->apply_filters( 'connect_url', $this->_get_admin_page_url( '', $params, $network ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param array $params - * - * @return string - */ - function get_reconnect_url( $params = array() ) { - $params['fs_action'] = 'reset_anonymous_mode'; - $params['fs_unique_affix'] = $this->get_unique_affix(); - - return $this->get_activation_url( $params ); - } - - /** - * Get the URL of the page that should be loaded after the user connect - * or skip in the opt-in screen. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param string $filter Filter name. - * @param array $params Since 1.2.2.7 - * @param bool|null $network - * - * @return string - */ - function get_after_activation_url( $filter, $params = array(), $network = null ) { - if ( $this->is_free_wp_org_theme() && - ( fs_request_has( 'pending_activation' ) || - // For cases when the first time path is set, even though it's a WP.org theme. - fs_request_get_bool( $this->get_unique_affix() . '_show_optin' ) ) - ) { - $first_time_path = ''; - } else { - $first_time_path = $this->_menu->get_first_time_path(); - } - - if ( $this->_is_network_active && - fs_is_network_admin() && - ! $this->_menu->has_network_menu() && - $this->is_network_registered() - ) { - $target_url = $this->get_account_url(); - } else { - // Default plugin's page. - $target_url = $this->_get_admin_page_url( '', array(), $network ); - } - - return add_query_arg( $params, $this->apply_filters( - $filter, - empty( $first_time_path ) ? - $target_url : - $first_time_path - ) ); - } - - /** - * Handle account page updates / edits / actions. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - */ - private function _handle_account_edits() { - if ( ! $this->is_user_admin() ) { - return; - } - - $action = fs_get_action(); - - if ( empty( $action ) ) { - return; - } - - $plugin_id = fs_request_get( 'plugin_id', $this->get_id() ); - $install_id = fs_request_get( 'install_id', '' ); - - // Alias. - $oops_text = $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...'; - - $is_network_action = $this->is_network_level_action(); - $blog_id = $this->is_network_level_site_specific_action(); - - if ( is_numeric( $blog_id ) ) { - $this->switch_to_blog( $blog_id ); - } else { - $blog_id = ''; - } - - switch ( $action ) { - case 'opt_in': - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - - if ( $plugin_id == $this->get_id() ) { - if ( $is_network_action && ! empty( $blog_id ) ) { - if ( ! $this->is_registered() ) { - $this->install_with_user( - $this->get_network_user(), - false, - false, - false, - false - ); - - $this->_admin_notices->add( - $this->get_text_inline( 'Site successfully opted in.', 'successful-opt-in' ), - $this->get_text_inline( 'Awesome', 'awesome' ) - ); - } - } - } - break; - - case 'toggle_tracking': - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - - if ( $plugin_id == $this->get_id() ) { - if ( $is_network_action && ! empty( $blog_id ) ) { - if ( $this->is_registered() ) { - if ( $this->is_tracking_prohibited() ) { - if ( $this->allow_site_tracking() ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'We appreciate your help in making the %s better by letting us track some usage data.', 'opt-out-message-appreciation' ), $this->_module_type ), - $this->get_text_inline( 'Thank you!', 'thank-you' ) - ); - } - } else { - if ( $this->stop_site_tracking() ) { - $this->_admin_notices->add( - sprintf( - $this->get_text_inline( 'We will no longer be sending any usage data of %s on %s to %s.', 'opted-out-successfully' ), - $this->get_plugin_title(), - fs_strip_url_protocol( get_site_url( $blog_id ) ), - sprintf( - '%s', - 'https://freemius.com', - 'freemius.com' - ) - ) - ); - } - } - } - } - } - - break; - - case 'delete_account': - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - - if ( $plugin_id == $this->get_id() ) { - if ( $is_network_action && empty( $blog_id ) ) { - $this->delete_network_account_event(); - } else { - $this->delete_account_event(); - } - - // Clear user and site. - $this->_site = null; - $this->_user = null; - - $this->maybe_set_slug_and_network_menu_exists_flag(); - - fs_redirect( $this->get_activation_url() ); - } else { - if ( $this->is_addon_activated( $plugin_id ) ) { - $fs_addon = self::get_instance_by_id( $plugin_id ); - $fs_addon->delete_account_event(); - - fs_redirect( $this->_get_admin_page_url( 'account' ) ); - } - } - - return; - - case 'downgrade_account': - if ( is_numeric( $blog_id ) ) { - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - } else { - check_admin_referer( $action ); - } - - $switch_to_network_install_blog_after_cancellation = ( - is_numeric( $blog_id ) && - $plugin_id == $this->get_id() && - ! $this->is_trial() - ); - - $result = $this->cancel_subscription_or_trial( $plugin_id ); - if ( $this->is_api_error( $result ) ) { - $this->_admin_notices->add( - $result->error->message, - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - } - - if ( $switch_to_network_install_blog_after_cancellation ) { - $this->switch_to_blog( $this->_storage->network_install_blog_id ); - } - - return; - - case 'activate_license': - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - - $fs = $this; - if ( $plugin_id != $this->get_id() ) { - $fs = $this->is_addon_activated( $plugin_id ) ? - self::get_instance_by_id( $plugin_id ) : - null; - } - - if ( is_object( $fs ) ) { - $fs->_activate_license(); - } - - return; - - case 'deactivate_license': - check_admin_referer( trim( "{$action}:{$blog_id}:{$install_id}", ':' ) ); - - if ( $plugin_id == $this->get_id() ) { - $this->_deactivate_license(); - - if ( $this->is_only_premium() ) { - // Clear user and site. - $this->_site = null; - $this->_user = null; - - if ( ! $is_network_action ) { - fs_redirect( $this->get_activation_url() ); - } else if ( is_numeric( $blog_id ) ) { - $this->switch_to_blog( $this->_storage->network_install_blog_id ); - } - } - } else { - if ( $this->is_addon_activated( $plugin_id ) ) { - $fs_addon = self::get_instance_by_id( $plugin_id ); - $fs_addon->_deactivate_license(); - } - } - - return; - - case 'check_updates': - check_admin_referer( $action ); - $this->check_updates(); - - return; - - case 'change_owner': - $state = fs_request_get( 'state', 'init' ); - switch ( $state ) { - case 'init': - $candidate_email = fs_request_get( 'candidate_email', '' ); - - if ( $this->init_change_owner( $candidate_email ) ) { - $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder.', 'change-owner-request-sent-x' ), '' . $this->_user->email . '' ) ); - } - break; - case 'owner_confirmed': - $candidate_email = fs_request_get( 'candidate_email', '' ); - - $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.', 'change-owner-request_owner-confirmed' ), '' . $candidate_email . '' ) ); - break; - case 'candidate_confirmed': - if ( $this->complete_change_owner() ) { - $this->_admin_notices->add_sticky( - sprintf( $this->get_text_inline( '%s is the new owner of the account.', 'change-owner-request_candidate-confirmed' ), '' . $this->_user->email . '' ), - 'ownership_changed', - $this->get_text_x_inline( 'Congrats', 'as congratulations', 'congrats' ) . '!' - ); - } else { - // @todo Handle failed ownership change message. - } - break; - } - - return; - - case 'update_email': - check_admin_referer( 'update_email' ); - - $new_email = fs_request_get( 'fs_email_' . $this->get_unique_affix(), '' ); - $result = $this->update_email( $new_email ); - - if ( isset( $result->error ) ) { - switch ( $result->error->code ) { - case 'user_exist': - $this->_admin_notices->add( - $this->get_text_inline( 'Sorry, we could not complete the email update. Another user with the same email is already registered.', 'user-exist-message' ) . ' ' . - sprintf( $this->get_text_inline( 'If you would like to give up the ownership of the %s\'s account to %s click the Change Ownership button.', 'user-exist-message_ownership' ), $this->_module_type, '' . $new_email . '' ) . - sprintf( - '', - $this->get_account_url( 'change_owner', array( - 'state' => 'init', - 'candidate_email' => $new_email - ) ), - $this->get_text_inline( 'Change Ownership', 'change-ownership' ) - ), - $oops_text, - 'error' - ); - break; - } - } else { - $this->_admin_notices->add( $this->get_text_inline( 'Your email was successfully updated. You should receive an email with confirmation instructions in few moments.', 'email-updated-message' ) ); - } - - return; - - case 'update_user_name': - check_admin_referer( 'update_user_name' ); - - $result = $this->update_user_name(); - - if ( isset( $result->error ) ) { - $this->_admin_notices->add( - $this->get_text_inline( 'Please provide your full name.', 'name-update-failed-message' ), - $oops_text, - 'error' - ); - } else { - $this->_admin_notices->add( $this->get_text_inline( 'Your name was successfully updated.', 'name-updated-message' ) ); - } - - return; - - #region Actions that might be called from external links (e.g. email) - - case 'cancel_trial': - $result = $this->cancel_subscription_or_trial( $plugin_id ); - if ( $this->is_api_error( $result ) ) { - $this->_admin_notices->add( - $result->error->message, - $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...', - 'error' - ); - } - - return; - - case 'verify_email': - $this->verify_email(); - - return; - - case 'sync_user': - $this->_handle_account_user_sync(); - - return; - - case $this->get_unique_affix() . '_sync_license': - $this->_sync_license(); - - return; - - case 'download_latest': - $this->download_latest_directly( $plugin_id ); - - return; - - #endregion - } - - if ( WP_FS__IS_POST_REQUEST ) { - $properties = array( 'site_secret_key', 'site_id', 'site_public_key' ); - foreach ( $properties as $p ) { - if ( 'update_' . $p === $action ) { - check_admin_referer( $action ); - - $this->_logger->log( $action ); - - $site_property = substr( $p, strlen( 'site_' ) ); - $site_property_value = fs_request_get( 'fs_' . $p . '_' . $this->get_unique_affix(), '' ); - $this->get_site()->{$site_property} = $site_property_value; - - // Store account after modification. - $this->_store_site(); - - $this->do_action( 'account_property_edit', 'site', $site_property, $site_property_value ); - - $this->_admin_notices->add( sprintf( - /* translators: %s: User's account property (e.g. email address, name) */ - $this->get_text_inline( 'You have successfully updated your %s.', 'x-updated' ), - '' . str_replace( '_', ' ', $p ) . '' - ) ); - - return; - } - } - } - } - - /** - * Account page resources load. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - */ - function _account_page_load() { - $this->_logger->entrance(); - - $this->_logger->info( var_export( $_REQUEST, true ) ); - - fs_enqueue_local_style( 'fs_account', '/admin/account.css' ); - - if ( $this->has_addons() ) { - wp_enqueue_script( 'plugin-install' ); - add_thickbox(); - - function fs_addons_body_class( $classes ) { - $classes .= ' plugins-php'; - - return $classes; - } - - add_filter( 'admin_body_class', 'fs_addons_body_class' ); - } - - if ( $this->has_paid_plan() && - ! $this->has_any_license() && - ! $this->is_sync_executed() && - $this->is_tracking_allowed() - ) { - /** - * If no licenses found and no sync job was executed during the last 24 hours, - * just execute the sync job right away (blocking execution). - * - * @since 1.1.7.3 - */ - $this->run_manual_sync(); - } - - $this->_handle_account_edits(); - - $this->do_action( 'account_page_load_before_departure' ); - } - - /** - * Renders the "Affiliation" page. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - */ - function _affiliation_page_render() { - $this->_logger->entrance(); - - $this->fetch_affiliate_and_terms(); - - fs_enqueue_local_style( 'fs_affiliation', '/admin/affiliation.css' ); - - $vars = array( 'id' => $this->_module_id ); - echo $this->apply_filters( "/forms/affiliation.php", fs_get_template( '/forms/affiliation.php', $vars ) ); - } - - - /** - * Render account page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - */ - function _account_page_render() { - $this->_logger->entrance(); - - $template = 'account.php'; - $vars = array( 'id' => $this->_module_id ); - - /** - * Added filter to the template to allow developers wrapping the template - * in custom HTML (e.g. within a wizard/tabs). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - */ - echo $this->apply_filters( "templates/{$template}", fs_get_template( $template, $vars ) ); - } - - /** - * Render account connect page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function _connect_page_render() { - $this->_logger->entrance(); - - $vars = array( 'id' => $this->_module_id ); - - /** - * Added filter to the template to allow developers wrapping the template - * in custom HTML (e.g. within a wizard/tabs). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - */ - echo $this->apply_filters( 'templates/connect.php', fs_get_template( 'connect.php', $vars ) ); - } - - /** - * Load required resources before add-ons page render. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - */ - function _addons_page_load() { - $this->_logger->entrance(); - - fs_enqueue_local_style( 'fs_addons', '/admin/add-ons.css' ); - - wp_enqueue_script( 'plugin-install' ); - add_thickbox(); - - function fs_addons_body_class( $classes ) { - $classes .= ' plugins-php'; - - return $classes; - } - - add_filter( 'admin_body_class', 'fs_addons_body_class' ); - - if ( ! $this->is_registered() && $this->is_org_repo_compliant() ) { - $this->_admin_notices->add( - sprintf( $this->get_text_inline( 'Just letting you know that the add-ons information of %s is being pulled from an external server.', 'addons-info-external-message' ), '' . $this->get_plugin_name() . '' ), - $this->get_text_x_inline( 'Heads up', 'advance notice of something that will need attention.', 'heads-up' ), - 'update-nag' - ); - } - } - - /** - * Render add-ons page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - */ - function _addons_page_render() { - $this->_logger->entrance(); - - $vars = array( 'id' => $this->_module_id ); - - /** - * Added filter to the template to allow developers wrapping the template - * in custom HTML (e.g. within a wizard/tabs). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - */ - echo $this->apply_filters( 'templates/add-ons.php', fs_get_template( 'add-ons.php', $vars ) ); - } - - /* Pricing & Upgrade - ------------------------------------------------------------------------------------------------------------------*/ - /** - * Render pricing page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - */ - function _pricing_page_render() { - $this->_logger->entrance(); - - $vars = array( 'id' => $this->_module_id ); - - if ( 'true' === fs_request_get( 'checkout', false ) ) { - echo $this->apply_filters( 'templates/checkout.php', fs_get_template( 'checkout.php', $vars ) ); - } else { - echo $this->apply_filters( 'templates/pricing.php', fs_get_template( 'pricing.php', $vars ) ); - } - } - - #---------------------------------------------------------------------------------- - #region Contact Us - #---------------------------------------------------------------------------------- - - /** - * Render contact-us page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - */ - function _contact_page_render() { - $this->_logger->entrance(); - - $vars = array( 'id' => $this->_module_id ); - - /** - * Added filter to the template to allow developers wrapping the template - * in custom HTML (e.g. within a wizard/tabs). - * - * @author Vova Feldman (@svovaf) - * @since 2.1.3 - */ - echo $this->apply_filters( 'templates/contact.php', fs_get_template( 'contact.php', $vars ) ); - } - - #endregion ------------------------------------------------------------------------ - - /** - * Hide all admin notices to prevent distractions. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @uses remove_all_actions() - */ - private static function _hide_admin_notices() { - remove_all_actions( 'admin_notices' ); - remove_all_actions( 'network_admin_notices' ); - remove_all_actions( 'all_admin_notices' ); - remove_all_actions( 'user_admin_notices' ); - } - - static function _clean_admin_content_section_hook() { - self::_hide_admin_notices(); - - // Hide footer. - echo ''; - } - - /** - * Attach to admin_head hook to hide all admin notices. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - */ - static function _clean_admin_content_section() { - add_action( 'admin_head', 'Freemius::_clean_admin_content_section_hook' ); - } - - /* CSS & JavaScript - ------------------------------------------------------------------------------------------------------------------*/ - /* function _enqueue_script($handle, $src) { - $url = plugins_url( substr( WP_FS__DIR_JS, strlen( $this->_plugin_dir_path ) ) . '/assets/js/' . $src ); - - $this->_logger->entrance( 'script = ' . $url ); - - wp_enqueue_script( $handle, $url ); - }*/ - - /* SDK - ------------------------------------------------------------------------------------------------------------------*/ - private $_user_api; - - /** - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @param bool $flush - * - * @return FS_Api - */ - private function get_api_user_scope( $flush = false ) { - if ( ! isset( $this->_user_api ) || $flush ) { - $this->_user_api = $this->get_api_user_scope_by_user( $this->_user ); - } - - return $this->_user_api; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_User $user - * - * @return \FS_Api - */ - private function get_api_user_scope_by_user( FS_User $user ) { - return FS_Api::instance( - $this->_module_id, - 'user', - $user->id, - $user->public_key, - ! $this->is_live(), - $user->secret_key - ); - } - - /** - * - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param bool $flush - * - * @return FS_Api - */ - private function get_current_or_network_user_api_scope( $flush = false ) { - if ( ! $this->_is_network_active || - ( isset( $this->_user ) && $this->_user instanceof FS_User ) - ) { - return $this->get_api_user_scope( $flush ); - } - - $user = $this->get_current_or_network_user(); - - $this->_user_api = FS_Api::instance( - $this->_module_id, - 'user', - $user->id, - $user->public_key, - ! $this->is_live(), - $user->secret_key - ); - - return $this->_user_api; - } - - private $_site_api; - - /** - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @param bool $flush - * - * @return FS_Api - */ - private function get_api_site_scope( $flush = false ) { - if ( ! isset( $this->_site_api ) || $flush ) { - $this->_site_api = FS_Api::instance( - $this->_module_id, - 'install', - $this->_site->id, - $this->_site->public_key, - ! $this->is_live(), - $this->_site->secret_key - ); - } - - return $this->_site_api; - } - - private $_plugin_api; - - /** - * Get plugin public API scope. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return FS_Api - */ - function get_api_plugin_scope() { - if ( ! isset( $this->_plugin_api ) ) { - $this->_plugin_api = FS_Api::instance( - $this->_module_id, - 'plugin', - $this->_plugin->id, - $this->_plugin->public_key, - ! $this->is_live() - ); - } - - return $this->_plugin_api; - } - - /** - * Get site API scope object (fallback to public plugin scope when not registered). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return FS_Api - */ - function get_api_site_or_plugin_scope() { - return $this->is_registered() ? - $this->get_api_site_scope() : - $this->get_api_plugin_scope(); - } - - /** - * Show trial promotional notice (if any trial exist). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param FS_Plugin_Plan[] $plans - */ - function _check_for_trial_plans( $plans ) { - /** - * For some reason core's do_action() flattens arrays when it has a single object item. Therefore, we need to restructure the array as expected. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.2 - */ - if ( ! is_array( $plans ) && is_object( $plans ) ) { - $plans = array( $plans ); - } - - $this->_storage->has_trial_plan = FS_Plan_Manager::instance()->has_trial_plan( $plans ); - } - - /** - * During trial promotion the "upgrade" submenu item turns to - * "start trial" to encourage the trial. Since we want to keep - * the same menu item handler and there's no robust way to - * add new arguments to the menu item link's querystring, - * use JavaScript to find the menu item and update the href of - * the link. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - */ - function _fix_start_trial_menu_item_url() { - $template_args = array( 'id' => $this->_module_id ); - fs_require_template( 'add-trial-to-pricing.php', $template_args ); - } - - /** - * Check if module is currently in a trial promotion mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - function is_in_trial_promotion() { - return $this->_admin_notices->has_sticky( 'trial_promotion' ); - } - - /** - * Show trial promotional notice (if any trial exist). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool If trial notice added. - */ - function _add_trial_notice() { - if ( ! $this->is_user_admin() ) { - return false; - } - - if ( ! $this->is_user_in_admin() ) { - return false; - } - - if ( $this->_is_network_active ) { - if ( fs_is_network_admin() ) { - // Network level trial is disabled at the moment. - return false; - } - - if ( ! $this->is_delegated_connection() ) { - // Only delegated sites should support trials. - return false; - } - } - - // Check if trial message is already shown. - if ( $this->is_in_trial_promotion() ) { - add_action( 'admin_footer', array( &$this, '_fix_start_trial_menu_item_url' ) ); - - $this->_menu->add_counter_to_menu_item( 1, 'fs-trial' ); - - return false; - } - - if ( $this->is_premium() && ! WP_FS__DEV_MODE ) { - // Don't show trial if running the premium code, unless running in DEV mode. - return false; - } - - if ( ! $this->has_trial_plan() ) { - // No plans with trial. - return false; - } - - if ( ! $this->apply_filters( 'show_trial', true ) ) { - // Developer explicitly asked not to show the trial promo. - return false; - } - - if ( $this->is_registered() ) { - // Check if trial already utilized. - if ( $this->_site->is_trial_utilized() ) { - return false; - } - - if ( $this->is_paying_or_trial() ) { - // Don't show trial if paying or already in trial. - return false; - } - } - - if ( $this->is_activation_mode() || $this->is_pending_activation() ) { - // If not yet opted-in/skipped, or pending activation, don't show trial. - return false; - } - - $last_time_trial_promotion_shown = $this->_storage->get( 'trial_promotion_shown', false ); - $was_promotion_shown_before = ( false !== $last_time_trial_promotion_shown ); - - // Show promotion if never shown before and 24 hours after initial activation with FS. - if ( ! $was_promotion_shown_before && - $this->_storage->install_timestamp > ( time() - $this->apply_filters( 'show_first_trial_after_n_sec', WP_FS__TIME_24_HOURS_IN_SEC ) ) - ) { - return false; - } - - // OR if promotion was shown before, try showing it every 30 days. - if ( $was_promotion_shown_before && - $this->apply_filters( 'reshow_trial_after_every_n_sec', 30 * WP_FS__TIME_24_HOURS_IN_SEC ) > time() - $last_time_trial_promotion_shown - ) { - return false; - } - - $trial_period = $this->_trial_days; - $require_payment = $this->_is_trial_require_payment; - $trial_url = $this->get_trial_url(); - $plans_string = strtolower( $this->get_text_inline( 'Awesome', 'awesome' ) ); - - if ( $this->is_registered() ) { - // If opted-in, override trial with up to date data from API. - $trial_plans = FS_Plan_Manager::instance()->get_trial_plans( $this->_plans ); - $trial_plans_count = count( $trial_plans ); - - if ( 0 === $trial_plans_count ) { - // If there's no plans with a trial just exit. - return false; - } - - /** - * @var FS_Plugin_Plan $paid_plan - */ - $paid_plan = $trial_plans[0]; - $require_payment = $paid_plan->is_require_subscription; - $trial_period = $paid_plan->trial_period; - - $total_paid_plans = count( $this->_plans ) - ( FS_Plan_Manager::instance()->has_free_plan( $this->_plans ) ? 1 : 0 ); - - if ( $total_paid_plans !== $trial_plans_count ) { - // Not all paid plans have a trial - generate a string of those that have it. - for ( $i = 0; $i < $trial_plans_count; $i ++ ) { - $plans_string .= sprintf( - ' %s', - $trial_url, - $trial_plans[ $i ]->title - ); - - if ( $i < $trial_plans_count - 2 ) { - $plans_string .= ', '; - } else if ( $i == $trial_plans_count - 2 ) { - $plans_string .= ' and '; - } - } - } - } - - $message = sprintf( - $this->get_text_x_inline( 'Hey', 'exclamation', 'hey' ) . '! ' . $this->get_text_inline( 'How do you like %s so far? Test all our %s premium features with a %d-day free trial.', 'trial-x-promotion-message' ), - sprintf( '%s', $this->get_plugin_name() ), - $plans_string, - $trial_period - ); - - // "No Credit-Card Required" or "No Commitment for N Days". - $cc_string = $require_payment ? - sprintf( $this->get_text_inline( 'No commitment for %s days - cancel anytime!', 'no-commitment-for-x-days' ), $trial_period ) : - $this->get_text_inline( 'No credit card required', 'no-cc-required' ) . '!'; - - - // Start trial button. - $button = ' ' . sprintf( - '', - $trial_url, - $this->get_text_x_inline( 'Start free trial', 'call to action', 'start-free-trial' ) - ); - - $this->_admin_notices->add_sticky( - $this->apply_filters( 'trial_promotion_message', "{$message} {$cc_string} {$button}" ), - 'trial_promotion', - '', - 'promotion' - ); - - $this->_storage->trial_promotion_shown = WP_FS__SCRIPT_START_TIME; - - return true; - } - - /** - * Lets users/customers know that the product has an affiliate program. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2.11 - * - * @return bool Returns true if the notice has been added. - */ - function _add_affiliate_program_notice() { - if ( ! $this->is_user_admin() ) { - return false; - } - - if ( ! $this->is_user_in_admin() ) { - return false; - } - - // Check if the notice is already shown. - if ( $this->_admin_notices->has_sticky( 'affiliate_program' ) ) { - return false; - } - - if ( - // Product has no affiliate program. - ! $this->has_affiliate_program() || - // User has applied for an affiliate account. - ! empty( $this->_storage->affiliate_application_data ) - ) { - return false; - } - - if ( ! $this->apply_filters( 'show_affiliate_program_notice', true ) ) { - // Developer explicitly asked not to show the notice about the affiliate program. - return false; - } - - if ( $this->is_activation_mode() || $this->is_pending_activation() ) { - // If not yet opted in/skipped, or pending activation, don't show the notice. - return false; - } - - $last_time_notice_was_shown = $this->_storage->get( 'affiliate_program_notice_shown', false ); - $was_notice_shown_before = ( false !== $last_time_notice_was_shown ); - - /** - * Do not show the notice if it was already shown before or less than 30 days have passed since the initial - * activation with FS. - */ - if ( $was_notice_shown_before || - $this->_storage->install_timestamp > ( time() - ( WP_FS__TIME_24_HOURS_IN_SEC * 30 ) ) - ) { - return false; - } - - if ( ! $this->is_paying() && - FS_Plugin::AFFILIATE_MODERATION_CUSTOMERS == $this->_plugin->affiliate_moderation - ) { - // If the user is not a customer and the affiliate program is only for customers, don't show the notice. - return false; - } - - $message = sprintf( - $this->get_text_inline( 'Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!', 'become-an-ambassador-admin-notice' ), - sprintf( '%s', $this->get_plugin_name() ), - $this->get_module_label( true ) - ); - - // HTML code for the "Learn more..." button. - $button = ' ' . sprintf( - '', - $this->_get_admin_page_url( 'affiliation' ), - $this->get_text_inline( 'Learn more', 'learn-more' ) . '...' - ); - - $this->_admin_notices->add_sticky( - $this->apply_filters( 'affiliate_program_notice', "{$message} {$button}" ), - 'affiliate_program', - '', - 'promotion' - ); - - $this->_storage->affiliate_program_notice_shown = WP_FS__SCRIPT_START_TIME; - - return true; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - */ - function _enqueue_common_css() { - if ( $this->has_paid_plan() && ! $this->is_paying() ) { - // Add basic CSS for admin-notices and menu-item colors. - fs_enqueue_local_style( 'fs_common', '/admin/common.css' ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - function _show_theme_activation_optin_dialog() { - fs_enqueue_local_style( 'fs_connect', '/admin/connect.css' ); - - add_action( 'admin_footer-themes.php', array( &$this, '_add_fs_theme_activation_dialog' ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - function _add_fs_theme_activation_dialog() { - $vars = array( 'id' => $this->_module_id ); - fs_require_once_template( 'connect.php', $vars ); - } - - /* Action Links - ------------------------------------------------------------------------------------------------------------------*/ - private $_action_links_hooked = false; - private $_action_links = array(); - - /** - * Hook to plugin action links filter. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - */ - private function hook_plugin_action_links() { - $this->_logger->entrance(); - - $this->_action_links_hooked = true; - - $this->_logger->log( 'Adding action links hooks.' ); - - // Add action link to settings page. - add_filter( 'plugin_action_links_' . $this->_plugin_basename, array( - &$this, - '_modify_plugin_action_links_hook' - ), WP_FS__DEFAULT_PRIORITY, 2 ); - add_filter( 'network_admin_plugin_action_links_' . $this->_plugin_basename, array( - &$this, - '_modify_plugin_action_links_hook' - ), WP_FS__DEFAULT_PRIORITY, 2 ); - } - - /** - * Add plugin action link. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * - * @param $label - * @param $url - * @param bool $external - * @param int $priority - * @param bool $key - */ - function add_plugin_action_link( $label, $url, $external = false, $priority = WP_FS__DEFAULT_PRIORITY, $key = false ) { - $this->_logger->entrance(); - - if ( ! isset( $this->_action_links[ $priority ] ) ) { - $this->_action_links[ $priority ] = array(); - } - - if ( false === $key ) { - $key = preg_replace( "/[^A-Za-z0-9 ]/", '', strtolower( $label ) ); - } - - $this->_action_links[ $priority ][] = array( - 'label' => $label, - 'href' => $url, - 'key' => $key, - 'external' => $external - ); - } - - /** - * Adds Upgrade and Add-Ons links to the main Plugins page link actions collection. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - */ - function _add_upgrade_action_link() { - $this->_logger->entrance(); - - if ( ! $this->is_paying() && $this->has_paid_plan() ) { - $this->add_plugin_action_link( - $this->get_text_inline( 'Upgrade', 'upgrade' ), - $this->get_upgrade_url(), - false, - 7, - 'upgrade' - ); - } - - if ( $this->has_addons() ) { - $this->add_plugin_action_link( - $this->get_text_inline( 'Add-Ons', 'add-ons' ), - $this->_get_admin_page_url( 'addons' ), - false, - 9, - 'addons' - ); - } - } - - /** - * Adds "Activate License" or "Change License" link to the main Plugins page link actions collection. - * - * @author Leo Fajardo (@leorw) - * @since 1.1.9 - */ - function _add_license_action_link() { - $this->_logger->entrance(); - - if ( ! self::is_ajax() ) { - // Inject license activation dialog UI and client side code. - add_action( 'admin_footer', array( &$this, '_add_license_activation_dialog_box' ) ); - } - - $link_text = $this->is_free_plan() ? - $this->get_text_inline( 'Activate License', 'activate-license' ) : - $this->get_text_inline( 'Change License', 'change-license' ); - - $this->add_plugin_action_link( - $link_text, - '#', - false, - 11, - ( 'activate-license ' . $this->get_unique_affix() ) - ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - */ - function _add_premium_version_upgrade_selection_action() { - $this->_logger->entrance(); - - if ( ! self::is_ajax() ) { - add_action( 'admin_footer', array( &$this, '_add_premium_version_upgrade_selection_dialog_box' ) ); - } - } - - /** - * Adds "Opt in" or "Opt out" link to the main "Plugins" page link actions collection. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.1.5 - */ - function _add_tracking_links() { - if ( ! current_user_can( 'manage_options' ) ) { - return; - } - - $this->_logger->entrance(); - - /** - * If the activation has been delegated to site admins, no tracking-related actions for now. - * - * @author Leo Fajardo (@leorw) - */ - if ( $this->_is_network_active && $this->is_network_delegated_connection() ) { - return; - } - - if ( fs_request_is_action_secure( $this->get_unique_affix() . '_reconnect' ) ) { - if ( ! $this->is_registered() && $this->is_anonymous() ) { - $this->connect_again(); - - return; - } - } - - if ( ( $this->is_plugin() && ! self::is_plugins_page() ) || - ( $this->is_theme() && ! self::is_themes_page() ) - ) { - // Only show tracking links on the plugins and themes pages. - return; - } - - if ( ! $this->is_enable_anonymous() ) { - // Don't allow to opt-out if anonymous mode is disabled. - return; - } - - if ( ! $this->is_free_plan() ) { - // Don't allow to opt-out if running in paid plan. - return; - } - - if ( $this->add_ajax_action( 'stop_tracking', array( &$this, '_stop_tracking_callback' ) ) ) { - return; - } - - if ( $this->add_ajax_action( 'allow_tracking', array( &$this, '_allow_tracking_callback' ) ) ) { - return; - } - - $url = '#'; - - if ( $this->is_registered() ) { - if ( $this->is_tracking_allowed() ) { - $link_text_id = $this->get_text_inline( 'Opt Out', 'opt-out' ); - } else { - $link_text_id = $this->get_text_inline( 'Opt In', 'opt-in' ); - } - - add_action( 'admin_footer', array( &$this, '_add_optout_dialog' ) ); - } else { - $link_text_id = $this->get_text_inline( 'Opt In', 'opt-in' ); - - $params = ! $this->is_anonymous() ? - array() : - array( - 'nonce' => wp_create_nonce( $this->get_unique_affix() . '_reconnect' ), - 'fs_action' => ( $this->get_unique_affix() . '_reconnect' ), - ); - - $url = $this->get_activation_url( $params ); - } - - if ( $this->is_plugin() && self::is_plugins_page() ) { - $this->add_plugin_action_link( - $link_text_id, - $url, - false, - 13, - "opt-in-or-opt-out {$this->_slug}" - ); - } - } - - /** - * Get the URL of the page that should be loaded right after the plugin activation. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.4 - * - * @return string - */ - function get_after_plugin_activation_redirect_url() { - $url = false; - - if ( ! $this->is_addon() || ! $this->has_free_plan() ) { - $first_time_path = $this->_menu->get_first_time_path(); - - if ( $this->is_activation_mode() ) { - $url = $this->get_activation_url(); - } else if ( ! empty( $first_time_path ) ) { - $url = $first_time_path; - } else { - $page = ''; - if ( ! empty( $this->_dynamically_added_top_level_page_hook_name ) ) { - if ( $this->is_network_registered() ) { - $page = 'account'; - } else if ( $this->is_network_anonymous() ) { - $this->maybe_set_slug_and_network_menu_exists_flag(); - } - } - - $url = $this->_get_admin_page_url( $page ); - } - } else { - $plugin_fs = false; - - if ( $this->is_parent_plugin_installed() ) { - $plugin_fs = self::get_parent_instance(); - } - - if ( is_object( $plugin_fs ) ) { - if ( ! $plugin_fs->is_registered() ) { - // Forward to parent plugin connect when parent not registered. - $url = $plugin_fs->get_activation_url(); - } else { - // Forward to account page. - $url = $plugin_fs->_get_admin_page_url( 'account' ); - } - } - } - - return $url; - } - - /** - * Forward page to activation page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - */ - function _redirect_on_activation_hook() { - $url = $this->get_after_plugin_activation_redirect_url(); - - if ( is_string( $url ) ) { - fs_redirect( $url ); - } - } - - /** - * Modify plugin's page action links collection. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.0 - * - * @param array $links - * @param $file - * - * @return array - */ - function _modify_plugin_action_links_hook( $links, $file ) { - $this->_logger->entrance(); - - $passed_deactivate = false; - $deactivate_link = ''; - $before_deactivate = array(); - $after_deactivate = array(); - foreach ( $links as $key => $link ) { - if ( 'deactivate' === $key ) { - $deactivate_link = $link; - $passed_deactivate = true; - continue; - } - - if ( ! $passed_deactivate ) { - $before_deactivate[ $key ] = $link; - } else { - $after_deactivate[ $key ] = $link; - } - } - - ksort( $this->_action_links ); - - foreach ( $this->_action_links as $new_links ) { - foreach ( $new_links as $link ) { - $before_deactivate[ $link['key'] ] = '' . $link['label'] . ''; - } - } - - if ( ! empty( $deactivate_link ) ) { - /** - * This HTML element is used to identify the correct plugin when attaching an event to its Deactivate link. - * - * @since 1.2.1.6 Always show the deactivation feedback form since we added automatic free version deactivation upon premium code activation. - */ - $deactivate_link .= ''; - - // Append deactivation link. - $before_deactivate['deactivate'] = $deactivate_link; - } - - return array_merge( $before_deactivate, $after_deactivate ); - } - - /** - * Adds admin message. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $message - * @param string $title - * @param string $type - */ - function add_admin_message( $message, $title = '', $type = 'success' ) { - $this->_admin_notices->add( $message, $title, $type ); - } - - /** - * Adds sticky admin message. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.0 - * - * @param string $message - * @param string $id - * @param string $title - * @param string $type - */ - function add_sticky_admin_message( $message, $id, $title = '', $type = 'success' ) { - $this->_admin_notices->add_sticky( $message, $id, $title, $type ); - } - - /** - * Check if the paid version of the module is installed. - * - * @author Vova Feldman (@svovaf) - * @since 2.2.0 - * - * @return bool - */ - private function is_premium_version_installed() { - $premium_plugin_basename = $this->premium_plugin_basename(); - $premium_plugin = get_plugins( '/' . dirname( $premium_plugin_basename ) ); - - return ! empty( $premium_plugin ); - } - - /** - * Helper function that returns the final steps for the upgrade completion. - * - * If the module is already running the premium code, returns an empty string. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @param string $plan_title - * - * @return string - */ - private function get_complete_upgrade_instructions( $plan_title = '' ) { - $this->_logger->entrance(); - - $activate_license_string = $this->get_license_network_activation_notice(); - - if ( ! $this->has_premium_version() || $this->is_premium() ) { - return '' . $activate_license_string; - } - - if ( empty( $plan_title ) ) { - $plan_title = $this->get_plan_title(); - } - - if ( $this->is_premium_version_installed() ) { - /** - * If the premium version is already installed, instead of showing the installation instructions, - * tell the current user to activate it. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - $premium_plugin_basename = $this->premium_plugin_basename(); - - return sprintf( - /* translators: %1s: Product title; %2s: Plan title */ - $this->get_text_inline( ' The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s', 'activate-premium-version' ), - sprintf( '%s', esc_html( $this->get_plugin_title() ) ), - $plan_title, - sprintf( - '', - wp_nonce_url( 'plugins.php?action=activate&plugin=' . $premium_plugin_basename, 'activate-plugin_' . $premium_plugin_basename ), - esc_html( sprintf( - /* translators: %s: Plan title */ - $this->get_text_inline( 'Activate %s features', 'activate-x-features' ), - $plan_title - ) ) - ) - ); - } else { - // @since 1.2.1.5 The free version is auto deactivated. - $deactivation_step = version_compare( $this->version, '1.2.1.5', '<' ) ? - ( '
  • ' . $this->esc_html_inline( 'Deactivate the free version', 'deactivate-free-version' ) . '.
  • ' ) : - ''; - - return sprintf( - ' %s:
    1. %s.
    2. %s
    3. %s (%s).
    ', - $this->get_text_inline( 'Please follow these steps to complete the upgrade', 'follow-steps-to-complete-upgrade' ), - ( empty( $activate_license_string ) ? '' : $activate_license_string . '
  • ' ) . - $this->get_latest_download_link( sprintf( - /* translators: %s: Plan title */ - $this->get_text_inline( 'Download the latest %s version', 'download-latest-x-version' ), - $plan_title - ) ), - $deactivation_step, - $this->get_text_inline( 'Upload and activate the downloaded version', 'upload-and-activate' ), - '//bit.ly/upload-wp-' . $this->_module_type . 's', - $this->get_text_inline( 'How to upload and activate?', 'howto-upload-activate' ) - ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param string $url - * @param array $request - */ - private static function enrich_request_for_debug( &$url, &$request ) { - if ( WP_FS__DEBUG_SDK || isset( $_COOKIE['XDEBUG_SESSION'] ) ) { - $url = add_query_arg( 'XDEBUG_SESSION_START', rand( 0, 9999999 ), $url ); - $url = add_query_arg( 'XDEBUG_SESSION', 'PHPSTORM', $url ); - - $request['cookies'] = array( - new WP_Http_Cookie( array( - 'name' => 'XDEBUG_SESSION', - 'value' => 'PHPSTORM', - ) ) - ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param string $url - * @param array $request - * @param int $success_cache_expiration - * @param int $failure_cache_expiration - * @param bool $maybe_enrich_request_for_debug - * - * @return WP_Error|array - */ - static function safe_remote_post( - &$url, - $request, - $success_cache_expiration = 0, - $failure_cache_expiration = 0, - $maybe_enrich_request_for_debug = true - ) { - $should_cache = ($success_cache_expiration + $failure_cache_expiration > 0); - - $cache_key = $should_cache ? md5( fs_strip_url_protocol($url) . json_encode( $request ) ) : false; - - $response = (!WP_FS__DEBUG_SDK && ( false !== $cache_key )) ? - get_transient( $cache_key ) : - false; - - if ( false === $response ) { - if ( $maybe_enrich_request_for_debug ) { - self::enrich_request_for_debug( $url, $request ); - } - - $response = wp_remote_post( $url, $request ); - - if ( $response instanceof WP_Error ) { - if ( 'https://' === substr( $url, 0, 8 ) && - isset( $response->errors ) && - isset( $response->errors['http_request_failed'] ) - ) { - $http_error = strtolower( $response->errors['http_request_failed'][0] ); - - if ( false !== strpos( $http_error, 'ssl' ) || - false !== strpos( $http_error, 'curl error 35' ) - ) { - // Failed due to old version of cURL or Open SSL (SSLv3 is not supported by CloudFlare). - $url = 'http://' . substr( $url, 8 ); - - $request['timeout'] = 15; - $response = wp_remote_post( $url, $request ); - } - } - } - - if ( false !== $cache_key ) { - set_transient( - $cache_key, - $response, - ( ( $response instanceof WP_Error ) ? - $failure_cache_expiration : - $success_cache_expiration ) - ); - } - } - - return $response; - } - - /** - * This method is used to enrich the after upgrade notice instructions when the upgraded - * license cannot be activated network wide (license quota isn't large enough). - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - private function get_license_network_activation_notice() { - if ( ! $this->_is_network_active ) { - // Module isn't network level activated. - return ''; - } - - if ( ! fs_is_network_admin() ) { - // Not network level admin. - return ''; - } - - if ( get_blog_count() == 1 ) { - // There's only a single site in the network so if there's a context license it was already activated. - return ''; - } - - if ( ! is_object( $this->_license ) ) { - // No context license. - return ''; - } - - if ( $this->_license->is_single_site() && 0 < $this->_license->activated ) { - // License was already utilized (this is not 100% the case if all the network is localhost sites and the license can be utilized on unlimited localhost sites). - return ''; - } - - if ( $this->can_activate_license_on_network( $this->_license ) ) { - // License can be activated on all the network, so probably, the license is already activate on all the network (that's how the after upgrade sync works). - return ''; - } - - return sprintf( - $this->get_text_inline( '%sClick here%s to choose the sites where you\'d like to activate the license on.', 'network-choose-sites-for-license' ), - '', - '' - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $key - * - * @return string - */ - function get_text( $key ) { - return fs_text( $key, $this->_slug ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * - * @return string - */ - function get_text_inline( $text, $key = '' ) { - return _fs_text_inline( $text, $key, $this->_slug ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * - * @return string - */ - function get_text_x_inline( $text, $context, $key ) { - return _fs_text_x_inline( $text, $context, $key, $this->_slug ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * - * @return string - */ - function esc_html_inline( $text, $key ) { - return esc_html( _fs_text_inline( $text, $key, $this->_slug ) ); - } - - #---------------------------------------------------------------------------------- - #region Versioning - #---------------------------------------------------------------------------------- - - /** - * Check if Freemius in SDK upgrade mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_sdk_upgrade_mode() { - return isset( $this->_storage->sdk_upgrade_mode ) ? - $this->_storage->sdk_upgrade_mode : - false; - } - - /** - * Turn SDK upgrade mode off. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function set_sdk_upgrade_complete() { - $this->_storage->sdk_upgrade_mode = false; - } - - /** - * Check if plugin upgrade mode. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_plugin_upgrade_mode() { - return isset( $this->_storage->plugin_upgrade_mode ) ? - $this->_storage->plugin_upgrade_mode : - false; - } - - /** - * Turn plugin upgrade mode off. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function set_plugin_upgrade_complete() { - $this->_storage->plugin_upgrade_mode = false; - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Permissions - #---------------------------------------------------------------------------------- - - /** - * Check if specific permission requested. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $permission - * - * @return bool - */ - function is_permission_requested( $permission ) { - return isset( $this->_permissions[ $permission ] ) && ( true === $this->_permissions[ $permission ] ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Auto Activation - #---------------------------------------------------------------------------------- - - /** - * Hints the SDK if running an auto-installation. - * - * @var bool - */ - private $_isAutoInstall = false; - - /** - * After upgrade callback to install and auto activate a plugin. - * This code will only be executed on explicit request from the user, - * following the practice Jetpack are using with their theme installations. - * - * @link https://make.wordpress.org/plugins/2017/03/16/clarification-of-guideline-8-executable-code-and-installs/ - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - function _install_premium_version_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'install_premium_version' ); - - if ( ! $this->is_registered() ) { - // Not registered. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Auto installation only works for opted-in users.', 'auto-install-error-not-opted-in' ), - 'code' => 'premium_installed', - ) ); - } - - $plugin_id = fs_request_get( 'target_module_id', $this->get_id() ); - - if ( ! FS_Plugin::is_valid_id( $plugin_id ) ) { - // Invalid ID. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Invalid module ID.', 'auto-install-error-invalid-id' ), - 'code' => 'invalid_module_id', - ) ); - } - - if ( $plugin_id == $this->get_id() ) { - if ( $this->is_premium() ) { - // Already using the premium code version. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Premium version already active.', 'auto-install-error-premium-activated' ), - 'code' => 'premium_installed', - ) ); - } - if ( ! $this->can_use_premium_code() ) { - // Don't have access to the premium code. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'You do not have a valid license to access the premium version.', 'auto-install-error-invalid-license' ), - 'code' => 'invalid_license', - ) ); - } - if ( ! $this->has_release_on_freemius() ) { - // Plugin is a serviceware, no premium code version. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Plugin is a "Serviceware" which means it does not have a premium code version.', 'auto-install-error-serviceware' ), - 'code' => 'premium_version_missing', - ) ); - } - } else { - $addon = $this->get_addon( $plugin_id ); - - if ( ! is_object( $addon ) ) { - // Invalid add-on ID. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Invalid module ID.', 'auto-install-error-invalid-id' ), - 'code' => 'invalid_module_id', - ) ); - } - - if ( $this->is_addon_activated( $plugin_id, true ) ) { - // Premium add-on version is already activated. - self::shoot_ajax_failure( array( - 'message' => $this->get_text_inline( 'Premium add-on version already installed.', 'auto-install-error-premium-addon-activated' ), - 'code' => 'premium_installed', - ) ); - } - } - - $this->_isAutoInstall = true; - - // Try to install and activate. - $updater = FS_Plugin_Updater::instance( $this ); - $result = $updater->install_and_activate_plugin( $plugin_id ); - - if ( is_array( $result ) && ! empty( $result['message'] ) ) { - self::shoot_ajax_failure( array( - 'message' => $result['message'], - 'code' => $result['code'], - ) ); - } - - self::shoot_ajax_success( $result ); - } - - /** - * Displays module activation dialog box after a successful upgrade - * where the user explicitly requested to auto download and install - * the premium version. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - function _add_auto_installation_dialog_box() { - $this->_logger->entrance(); - - if ( ! $this->is_registered() ) { - // Not registered. - return; - } - - $plugin_id = fs_request_get( 'plugin_id', $this->get_id() ); - - if ( ! FS_Plugin::is_valid_id( $plugin_id ) ) { - // Invalid module ID. - return; - } - - if ( $plugin_id == $this->get_id() ) { - if ( $this->is_premium() ) { - // Already using the premium code version. - return; - } - if ( ! $this->can_use_premium_code() ) { - // Don't have access to the premium code. - return; - } - if ( ! $this->has_release_on_freemius() ) { - // Plugin is a serviceware, no premium code version. - return; - } - } else { - $addon = $this->get_addon( $plugin_id ); - - if ( ! is_object( $addon ) ) { - // Invalid add-on ID. - return; - } - - if ( $this->is_addon_activated( $plugin_id, true ) ) { - // Premium add-on version is already activated. - return; - } - } - - $vars = array( - 'id' => $this->_module_id, - 'target_module_id' => $plugin_id, - 'slug' => $this->_slug, - ); - - fs_require_template( 'auto-installation.php', $vars ); - } - - #endregion - - #-------------------------------------------------------------------------------- - #region Tabs Integration - #-------------------------------------------------------------------------------- - - #region Module's Original Tabs - - /** - * Inject a JavaScript logic to capture the theme tabs HTML. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - function _tabs_capture() { - $this->_logger->entrance(); - - if ( ! $this->is_theme_settings_page() || - ! $this->is_matching_url( $this->main_menu_url() ) - ) { - return; - } - - $params = array( - 'id' => $this->_module_id, - ); - - fs_require_once_template( 'tabs-capture-js.php', $params ); - } - - /** - * Cache theme's tabs HTML for a week. The cache will also be set as expired - * after version and type (free/premium) changes, in addition to the week period. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - function _store_tabs_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'store_tabs' ); - - // Init filesystem if not yet initiated. - WP_Filesystem(); - - // Get POST body HTML data. - global $wp_filesystem; - $tabs_html = $wp_filesystem->get_contents( "php://input" ); - - if ( is_string( $tabs_html ) ) { - $tabs_html = trim( $tabs_html ); - } - - if ( ! is_string( $tabs_html ) || empty( $tabs_html ) ) { - self::shoot_ajax_failure(); - } - - $this->_cache->set( 'tabs', $tabs_html, 7 * WP_FS__TIME_24_HOURS_IN_SEC ); - - self::shoot_ajax_success(); - } - - /** - * Cache theme's settings page custom styles. The cache will also be set as expired - * after version and type (free/premium) changes, in addition to the week period. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - function _store_tabs_styles() { - $this->_logger->entrance(); - - if ( ! $this->is_theme_settings_page() || - ! $this->is_matching_url( $this->main_menu_url() ) - ) { - return; - } - - $wp_styles = wp_styles(); - - $theme_styles_url = get_template_directory_uri(); - - $stylesheets = array(); - foreach ( $wp_styles->queue as $handler ) { - if ( fs_starts_with( $handler, 'fs_' ) ) { - // Assume that stylesheets that their handler starts with "fs_" belong to the SDK. - continue; - } - - /** - * @var _WP_Dependency $stylesheet - */ - $stylesheet = $wp_styles->registered[ $handler ]; - - if ( fs_starts_with( $stylesheet->src, $theme_styles_url ) ) { - $stylesheets[] = $stylesheet->src; - } - } - - if ( ! empty( $stylesheets ) ) { - $this->_cache->set( 'tabs_stylesheets', $stylesheets, 7 * WP_FS__TIME_24_HOURS_IN_SEC ); - } - } - - /** - * Check if module's original settings page has any tabs. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - private function has_tabs() { - return $this->_cache->has( 'tabs' ); - } - - /** - * Get module's settings page HTML content, starting - * from the beginning of the
    element, - * until the tabs HTML (including). - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return string - */ - private function get_tabs_html() { - $this->_logger->entrance(); - - return $this->_cache->get( 'tabs' ); - } - - /** - * Check if page should include tabs. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool - */ - private function should_page_include_tabs() { - if ( ! $this->has_settings_menu() ) { - // Don't add tabs if no settings at all. - return false; - } - - if ( ! $this->is_theme() ) { - // Only add tabs to themes for now. - return false; - } - - if ( ! $this->has_paid_plan() && ! $this->has_addons() ) { - // Only add tabs to monetizing themes. - return false; - } - - if ( ! $this->is_theme_settings_page() ) { - // Only add tabs if browsing one of the theme's setting pages. - return false; - } - - if ( $this->is_admin_page( 'pricing' ) && fs_request_get_bool( 'checkout' ) ) { - // Don't add tabs on checkout page, we want to reduce distractions - // as much as possible. - return false; - } - - return true; - } - - /** - * Add the tabs HTML before the setting's page content and - * enqueue any required stylesheets. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool If tabs were included. - */ - function _add_tabs_before_content() { - $this->_logger->entrance(); - - if ( ! $this->should_page_include_tabs() ) { - return false; - } - - /** - * Enqueue the original stylesheets that are included in the - * theme settings page. That way, if the theme settings has - * some custom _styled_ content above the tabs UI, this - * will make sure that the styling is preserved. - */ - $stylesheets = $this->_cache->get( 'tabs_stylesheets', array() ); - if ( is_array( $stylesheets ) ) { - for ( $i = 0, $len = count( $stylesheets ); $i < $len; $i ++ ) { - wp_enqueue_style( "fs_{$this->_module_id}_tabs_{$i}", $stylesheets[ $i ] ); - } - } - - // Cut closing
    tag. - echo substr( trim( $this->get_tabs_html() ), 0, - 6 ); - - return true; - } - - /** - * Add the tabs closing HTML after the setting's page content. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return bool If tabs closing HTML was included. - */ - function _add_tabs_after_content() { - $this->_logger->entrance(); - - if ( ! $this->should_page_include_tabs() ) { - return false; - } - - echo ''; - - return true; - } - - #endregion - - /** - * Add in-page JavaScript to inject the Freemius tabs into - * the module's setting tabs section. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - function _add_freemius_tabs() { - $this->_logger->entrance(); - - if ( ! $this->should_page_include_tabs() ) { - return; - } - - $params = array( 'id' => $this->_module_id ); - fs_require_once_template( 'tabs.php', $params ); - } - - #endregion - - #-------------------------------------------------------------------------------- - #region Customizer Integration for Themes - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param WP_Customize_Manager $customizer - */ - function _customizer_register( $customizer ) { - $this->_logger->entrance(); - - if ( $this->is_pricing_page_visible() ) { - require_once WP_FS__DIR_INCLUDES . '/customizer/class-fs-customizer-upsell-control.php'; - - $customizer->add_section( 'freemius_upsell', array( - 'title' => '★ ' . $this->get_text_inline( 'View paid features', 'view-paid-features' ), - 'priority' => 1, - ) ); - $customizer->add_setting( 'freemius_upsell', array( - 'sanitize_callback' => 'esc_html', - ) ); - - $customizer->add_control( new FS_Customizer_Upsell_Control( $customizer, 'freemius_upsell', array( - 'fs' => $this, - 'section' => 'freemius_upsell', - 'priority' => 100, - ) ) ); - } - - if ( $this->is_page_visible( 'contact' ) || $this->is_page_visible( 'support' ) ) { - require_once WP_FS__DIR_INCLUDES . '/customizer/class-fs-customizer-support-section.php'; - - // Main Documentation Link In Customizer Root. - $customizer->add_section( new FS_Customizer_Support_Section( $customizer, 'freemius_support', array( - 'fs' => $this, - 'priority' => 1000, - ) ) ); - } - } - - #endregion - - /** - * If the theme has a paid version, add some custom - * styling to the theme's premium version (if exists) - * to highlight that it's the premium version of the - * same theme, making it easier for identification - * after the user upgrades and upload it to the site. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - function _style_premium_theme() { - $this->_logger->entrance(); - - if ( ! self::is_themes_page() ) { - // Only include in the themes page. - return; - } - - if ( ! $this->has_paid_plan() ) { - // Only include if has any paid plans. - return; - } - - $params = null; - fs_require_once_template( '/js/jquery.content-change.php', $params ); - - $params = array( - 'slug' => $this->_slug, - 'id' => $this->_module_id, - ); - - fs_require_template( '/js/style-premium-theme.php', $params ); - } - - /** - * This method will return the absolute URL of the module's local icon. - * - * When you are running your plugin or theme on a **localhost** environment, if the icon - * is not found in the local assets folder, try to fetch the icon URL from Freemius. If not set and - * it's a plugin hosted on WordPress.org, try fetching the icon URL from wordpress.org. - * If an icon is found, this method will automatically attempt to download the icon and store it - * in /freemius/assets/img/{slug}.{png|jpg|gif|svg}. - * - * It's important to mention that this method is NOT phoning home since the developer will deploy - * the product with the local icon in the assets folder. The download process just simplifies - * the process for the developer. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function get_local_icon_url() { - global $fs_active_plugins; - - /** - * @since 1.1.7.5 - */ - $local_path = $this->apply_filters( 'plugin_icon', false ); - - if ( is_string( $local_path ) ) { - $icons = array( $local_path ); - } else { - $img_dir = WP_FS__DIR_IMG; - - // Locate the main assets folder. - if ( 1 < count( $fs_active_plugins->plugins ) ) { - $plugin_or_theme_img_dir = ( $this->is_plugin() ? WP_PLUGIN_DIR : get_theme_root( get_stylesheet() ) ); - - foreach ( $fs_active_plugins->plugins as $sdk_path => &$data ) { - if ( $data->plugin_path == $this->get_plugin_basename() ) { - $img_dir = $plugin_or_theme_img_dir - . '/' - /** - * The basename will be `themes` or the basename of a custom themes directory. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3 - */ - . str_replace( '../' . basename( $plugin_or_theme_img_dir ) . '/', '', $sdk_path ) - . '/assets/img'; - - break; - } - } - } - - // Try to locate the icon in the assets folder. - $icons = glob( fs_normalize_path( $img_dir . "/{$this->_slug}.*" ) ); - - if ( ! is_array( $icons ) || 0 === count( $icons ) ) { - if ( ! WP_FS__IS_LOCALHOST && $this->is_theme() ) { - $icons = array( - fs_normalize_path( $img_dir . '/theme-icon.png' ) - ); - } else { - $icon_found = false; - $local_path = fs_normalize_path( "{$img_dir}/{$this->_slug}.png" ); - - if ( ! function_exists( 'get_filesystem_method' ) ) { - require_once ABSPATH . 'wp-admin/includes/file.php'; - } - - $have_write_permissions = ( 'direct' === get_filesystem_method( array(), fs_normalize_path( $img_dir ) ) ); - - /** - * IMPORTANT: THIS CODE WILL NEVER RUN AFTER THE PLUGIN IS IN THE REPO. - * - * This code will only be executed once during the testing - * of the plugin in a local environment. The plugin icon file WILL - * already exist in the assets folder when the plugin is deployed to - * the repository. - */ - if ( WP_FS__IS_LOCALHOST && $have_write_permissions ) { - // Fetch icon from Freemius. - $icon = $this->fetch_remote_icon_url(); - - // Fetch icon from WordPress.org. - if ( empty( $icon ) && $this->is_plugin() && $this->is_org_repo_compliant() ) { - if ( ! function_exists( 'plugins_api' ) ) { - require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; - } - - $plugin_information = plugins_api( 'plugin_information', array( - 'slug' => $this->_slug, - 'fields' => array( - 'sections' => false, - 'tags' => false, - 'icons' => true - ) - ) ); - - if ( - ! is_wp_error( $plugin_information ) - && isset( $plugin_information->icons ) - && ! empty( $plugin_information->icons ) - ) { - /** - * Get the smallest icon. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - $icon = end( $plugin_information->icons ); - } - } - - if ( ! empty( $icon ) ) { - if ( 0 !== strpos( $icon, 'http' ) ) { - $icon = 'http:' . $icon; - } - - /** - * Get a clean file extension, e.g.: "jpg" and not "jpg?rev=1305765". - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - $ext = pathinfo( strtok( $icon, '?' ), PATHINFO_EXTENSION ); - - $local_path = fs_normalize_path( "{$img_dir}/{$this->_slug}.{$ext}" ); - - // Try to download the icon. - $icon_found = fs_download_image( $icon, $local_path ); - } - } - - if ( ! $icon_found ) { - // No icons found, fallback to default icon. - if ( $have_write_permissions ) { - // If have write permissions, copy default icon. - copy( fs_normalize_path( $img_dir . "/{$this->_module_type}-icon.png" ), $local_path ); - } else { - // If doesn't have write permissions, use default icon path. - $local_path = fs_normalize_path( $img_dir . "/{$this->_module_type}-icon.png" ); - } - } - - $icons = array( $local_path ); - } - } - } - - $icon_dir = dirname( $icons[0] ); - - return fs_img_url( substr( $icons[0], strlen( $icon_dir ) ), $icon_dir ); - } - - /** - * Fetch module's extended info. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return object|mixed - */ - private function fetch_module_info() { - return $this->get_api_plugin_scope()->get( 'info.json', false, WP_FS__TIME_WEEK_IN_SEC ); - } - - /** - * Fetch module's remote icon URL. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function fetch_remote_icon_url() { - $info = $this->fetch_module_info(); - - return ( $this->is_api_result_object( $info, 'icon' ) && is_string( $info->icon ) ) ? - $info->icon : - ''; - } - - #-------------------------------------------------------------------------------- - #region GDPR - #-------------------------------------------------------------------------------- - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @return bool - */ - function fetch_and_store_current_user_gdpr_anonymously() { - $pong = $this->ping( null, true ); - - if ( ! $this->get_api_plugin_scope()->is_valid_ping( $pong ) ) { - return false; - } else { - FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required ); - - return $pong->is_gdpr_required; - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param array $user_plugins - * - * @return string - */ - private function get_gdpr_admin_notice_string( $user_plugins ) { - $this->_logger->entrance(); - - $addons = self::get_all_addons(); - - foreach ( $user_plugins as $user_plugin ) { - $has_addons = isset( $addons[ $user_plugin->id ] ); - - if ( WP_FS__MODULE_TYPE_PLUGIN === $user_plugin->type && ! $has_addons ) { - if ( $this->_module_id == $user_plugin->id ) { - $addons = $this->get_addons(); - $has_addons = ( ! empty( $addons ) ); - } else { - $plugin_api = FS_Api::instance( - $user_plugin->id, - 'plugin', - $user_plugin->id, - $user_plugin->public_key, - ! $user_plugin->is_live - ); - - $addons_result = $plugin_api->get( '/addons.json?enriched=true', true ); - - if ( $this->is_api_result_object( $addons_result, 'plugins' ) && - is_array( $addons_result->plugins ) && - ! empty( $addons_result->plugins ) - ) { - $has_addons = true; - } - } - } - - $user_plugin->has_addons = $has_addons; - } - - $is_single_parent_product = ( 1 === count( $user_plugins ) ); - - $multiple_products_text = ''; - - if ( $is_single_parent_product ) { - $single_parent_product = reset( $user_plugins ); - - $thank_you = sprintf( - "%s", - $single_parent_product->id, - sprintf( - $single_parent_product->has_addons ? - $this->get_text_inline( 'Thank you so much for using %s and its add-ons!', 'thank-you-for-using-product-and-its-addons' ) : - $this->get_text_inline( 'Thank you so much for using %s!', 'thank-you-for-using-product' ), - sprintf('%s', $single_parent_product->title) - ) - ); - - $already_opted_in = sprintf( - $this->get_text_inline( "You've already opted-in to our usage-tracking, which helps us keep improving the %s.", 'already-opted-in-to-product-usage-tracking' ), - ( WP_FS__MODULE_TYPE_THEME === $single_parent_product->type ) ? WP_FS__MODULE_TYPE_THEME : WP_FS__MODULE_TYPE_PLUGIN - ); - } else { - $thank_you = $this->get_text_inline( 'Thank you so much for using our products!', 'thank-you-for-using-products' ); - $already_opted_in = $this->get_text_inline( "You've already opted-in to our usage-tracking, which helps us keep improving them.", 'already-opted-in-to-products-usage-tracking' ); - - $products_and_add_ons = ''; - foreach ( $user_plugins as $user_plugin ) { - if ( ! empty( $products_and_add_ons ) ) { - $products_and_add_ons .= ', '; - } - - if ( ! $user_plugin->has_addons ) { - $products_and_add_ons .= sprintf( - "%s", - $user_plugin->id, - $user_plugin->title - ); - } else { - $products_and_add_ons .= sprintf( - "%s", - $user_plugin->id, - sprintf( - $this->get_text_inline( '%s and its add-ons', 'product-and-its-addons' ), - $user_plugin->title - ) - ); - } - } - - $multiple_products_text = sprintf( - "%s: %s", - $this->get_text_inline( 'Products', 'products' ), - $products_and_add_ons - ); - } - - $actions = sprintf( - '
    • %s - %s
    • %s - %s
    ', - sprintf('', $this->get_text_inline( 'Yes', 'yes' ) ), - $this->get_text_inline( 'send me security & feature updates, educational content and offers.', 'send-updates' ), - sprintf('', $this->get_text_inline( 'No', 'no' ) ), - sprintf( - $this->get_text_inline( 'do %sNOT%s send me security & feature updates, educational content and offers.', 'do-not-send-updates' ), - '', - '' - ) - ); - - return sprintf( - '%s %s %s', - $thank_you, - $already_opted_in, - sprintf($this->get_text_inline( 'Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂', 'due-to-gdpr-compliance-requirements' ), '', '') . - '

    ' . - '' . $this->get_text_inline( "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:", 'contact-for-updates' ) . '' . - $actions . - ( $is_single_parent_product ? '' : $multiple_products_text ) - ); - } - - /** - * This method is called for opted-in users to fetch the is_marketing_allowed flag of the user for all the - * plugins and themes they've opted in to. - * - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param string $user_email - * @param string $license_key - * @param array $plugin_ids - * @param string|null $license_key - * - * @return array|false - */ - private function fetch_user_marketing_flag_status_by_plugins( $user_email, $license_key, $plugin_ids ) { - $request = array( - 'method' => 'POST', - 'body' => array(), - 'timeout' => WP_FS__DEBUG_SDK ? 60 : 30, - ); - - if ( is_string( $user_email ) ) { - $request['body']['email'] = $user_email; - } else { - $request['body']['license_key'] = $license_key; - } - - $result = array(); - - $url = WP_FS__ADDRESS . '/action/service/user_plugin/'; - $total_plugin_ids = count( $plugin_ids ); - - $plugin_ids_count_per_request = 10; - for ( $i = 1; $i <= $total_plugin_ids; $i += $plugin_ids_count_per_request ) { - $plugin_ids_set = array_slice( $plugin_ids, $i - 1, $plugin_ids_count_per_request ); - - $request['body']['plugin_ids'] = $plugin_ids_set; - - $response = self::safe_remote_post( - $url, - $request, - WP_FS__TIME_24_HOURS_IN_SEC, - WP_FS__TIME_12_HOURS_IN_SEC - ); - - if ( ! is_wp_error( $response ) ) { - $decoded = is_string( $response['body'] ) ? - json_decode( $response['body'] ) : - null; - - if ( - !is_object($decoded) || - !isset($decoded->success) || - true !== $decoded->success || - !isset( $decoded->data ) || - !is_array( $decoded->data ) - ) { - return false; - } - - $result = array_merge( $result, $decoded->data ); - } - } - - return $result; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function _maybe_show_gdpr_admin_notice() { - if ( ! $this->is_user_in_admin() ) { - return; - } - - if ( ! $this->should_handle_gdpr_admin_notice() ) { - return; - } - - if ( ! $this->is_user_admin() ) { - return; - } - - require_once WP_FS__DIR_INCLUDES . '/class-fs-user-lock.php'; - - $lock = FS_User_Lock::instance(); - - /** - * Try to acquire a 60-sec lock based on the WP user and thread/process ID. - */ - if ( ! $lock->try_lock( 60 ) ) { - return; - } - - /** - * @var $current_wp_user WP_User - */ - $current_wp_user = self::_get_current_wp_user(); - - /** - * @var FS_User $current_fs_user - */ - $current_fs_user = Freemius::_get_user_by_email( $current_wp_user->user_email ); - - $ten_years_in_sec = 10 * 365 * WP_FS__TIME_24_HOURS_IN_SEC; - - if ( ! is_object( $current_fs_user ) ) { - // 10-year lock. - $lock->lock( $ten_years_in_sec ); - - return; - } - - $gdpr = FS_GDPR_Manager::instance(); - - if ( $gdpr->is_opt_in_notice_shown() ) { - // 30-day lock. - $lock->lock( 30 * WP_FS__TIME_24_HOURS_IN_SEC ); - - return; - } - - if ( ! $gdpr->should_show_opt_in_notice() ) { - // 10-year lock. - $lock->lock( $ten_years_in_sec ); - - return; - } - - $last_time_notice_shown = $gdpr->last_time_notice_was_shown(); - $was_notice_shown_before = ( false !== $last_time_notice_shown ); - - if ( $was_notice_shown_before && - 30 * WP_FS__TIME_24_HOURS_IN_SEC > time() - $last_time_notice_shown - ) { - // If the notice was shown before, show it again after 30 days from the last time it was shown. - return; - } - - /** - * Find all plugin IDs that were installed by the current admin. - */ - $plugin_ids_map = self::get_user_opted_in_module_ids_map( $current_fs_user->id ); - - if ( empty( $plugin_ids_map )) { - $lock->lock( $ten_years_in_sec ); - - return; - } - - $user_plugins = $this->fetch_user_marketing_flag_status_by_plugins( - $current_fs_user->email, - null, - array_keys( $plugin_ids_map ) - ); - - if ( empty( $user_plugins ) ) { - $lock->lock( - is_array($user_plugins) ? - $ten_years_in_sec : - // Lock for 24-hours on errors. - WP_FS__TIME_24_HOURS_IN_SEC - ); - - return; - } - - $has_unset_marketing_optin = false; - - foreach ( $user_plugins as $user_plugin ) { - if ( true == $user_plugin->is_marketing_allowed ) { - unset( $plugin_ids_map[ $user_plugin->plugin_id ] ); - } - - if ( ! $has_unset_marketing_optin && is_null( $user_plugin->is_marketing_allowed ) ) { - $has_unset_marketing_optin = true; - } - } - - if ( empty( $plugin_ids_map ) || - ( $was_notice_shown_before && ! $has_unset_marketing_optin ) - ) { - $lock->lock( $ten_years_in_sec ); - - return; - } - - $modules = array_merge( - array_values( self::$_accounts->get_option( 'plugins', array() ) ), - array_values( self::$_accounts->get_option( 'themes', array() ) ) - ); - - foreach ( $modules as $module ) { - if ( ! FS_Plugin::is_valid_id( $module->parent_plugin_id ) && isset( $plugin_ids_map[ $module->id ] ) ) { - $plugin_ids_map[ $module->id ] = $module; - } - } - - $plugin_title = null; - if ( 1 === count( $plugin_ids_map ) ) { - $module = reset( $plugin_ids_map ); - $plugin_title = $module->title; - } - - $gdpr->add_opt_in_sticky_notice( - $this->get_gdpr_admin_notice_string( $plugin_ids_map ), - $plugin_title - ); - - $this->add_gdpr_optin_ajax_handler_and_style(); - - $gdpr->notice_was_just_shown(); - - // 30-day lock. - $lock->lock( 30 * WP_FS__TIME_24_HOURS_IN_SEC ); - } - - /** - * Prevents the GDPR opt-in admin notice from being added if the user has already chosen to allow or not allow - * marketing. - * - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - private function disable_opt_in_notice_and_lock_user() { - FS_GDPR_Manager::instance()->disable_opt_in_notice(); - - require_once WP_FS__DIR_INCLUDES . '/class-fs-user-lock.php'; - - // 10-year lock. - FS_User_Lock::instance()->lock( 10 * 365 * WP_FS__TIME_24_HOURS_IN_SEC ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function _add_gdpr_optin_js() { - $vars = array( 'id' => $this->_module_id ); - - fs_require_once_template( 'gdpr-optin-js.php', $vars ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function enqueue_gdpr_optin_notice_style() { - fs_enqueue_local_style( 'fs_gdpr_optin_notice', '/admin/gdpr-optin-notice.css' ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function _maybe_add_gdpr_optin_ajax_handler() { - $this->add_ajax_action( 'fetch_is_marketing_required_flag_value', array( &$this, '_fetch_is_marketing_required_flag_value_ajax_action' ) ); - - if ( FS_GDPR_Manager::instance()->is_opt_in_notice_shown() ) { - $this->add_gdpr_optin_ajax_handler_and_style(); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function _fetch_is_marketing_required_flag_value_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'fetch_is_marketing_required_flag_value' ); - - $license_key = fs_request_get( 'license_key' ); - - if ( empty($license_key) ) { - self::shoot_ajax_failure( $this->get_text_inline( 'License key is empty.', 'empty-license-key' ) ); - } - - $user_plugins = $this->fetch_user_marketing_flag_status_by_plugins( - null, - $license_key, - array( $this->_module_id ) - ); - - if ( ! is_array( $user_plugins ) || - empty($user_plugins) || - !isset($user_plugins[0]->plugin_id) || - $user_plugins[0]->plugin_id != $this->_module_id - ) { - /** - * If faced an error or if the module ID do not match to the current module, ask for GDPR opt-in. - * - * @author Vova Feldman (@svovaf) - */ - self::shoot_ajax_success( array( 'is_marketing_allowed' => null ) ); - } - - self::shoot_ajax_success( array( 'is_marketing_allowed' => $user_plugins[0]->is_marketing_allowed ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - private function add_gdpr_optin_ajax_handler_and_style() { - // Add GDPR action AJAX callback. - $this->add_ajax_action( 'gdpr_optin_action', array( &$this, '_gdpr_optin_ajax_action' ) ); - - add_action( 'admin_footer', array( &$this, '_add_gdpr_optin_js' ) ); - add_action( 'admin_enqueue_scripts', array( &$this, 'enqueue_gdpr_optin_notice_style' ) ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - function _gdpr_optin_ajax_action() { - $this->_logger->entrance(); - - $this->check_ajax_referer( 'gdpr_optin_action' ); - - if ( ! fs_request_has( 'is_marketing_allowed' ) || ! fs_request_has( 'plugin_ids' ) ) { - self::shoot_ajax_failure(); - } - - $current_wp_user = self::_get_current_wp_user(); - - $plugin_ids = fs_request_get( 'plugin_ids', array() ); - if ( ! is_array( $plugin_ids ) || empty( $plugin_ids ) ) { - self::shoot_ajax_failure(); - } - - $modules = array_merge( - array_values( self::$_accounts->get_option( 'plugins', array() ) ), - array_values( self::$_accounts->get_option( 'themes', array() ) ) - ); - - foreach ( $modules as $key => $module ) { - if ( ! in_array( $module->id, $plugin_ids ) ) { - unset( $modules[ $key ] ); - } - } - - if ( empty( $modules ) ) { - self::shoot_ajax_failure(); - } - - $user_api = $this->get_api_user_scope_by_user( Freemius::_get_user_by_email( $current_wp_user->user_email ) ); - - foreach ( $modules as $module ) { - $user_api->call( "?plugin_id={$module->id}", 'put', array( - 'is_marketing_allowed' => ( true == fs_request_get_bool( 'is_marketing_allowed' ) ) - ) ); - } - - FS_GDPR_Manager::instance()->remove_opt_in_notice(); - - require_once WP_FS__DIR_INCLUDES . '/class-fs-user-lock.php'; - - // 10-year lock. - FS_User_Lock::instance()->lock( 10 * 365 * WP_FS__TIME_24_HOURS_IN_SEC ); - - self::shoot_ajax_success(); - } - - /** - * Checks if the GDPR admin notice should be handled. By default, this logic is off, unless the integrator adds the special 'handle_gdpr_admin_notice' filter. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return bool - */ - private function should_handle_gdpr_admin_notice() { - return $this->apply_filters( - 'handle_gdpr_admin_notice', - // Default to false. - false - ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Marketing - #---------------------------------------------------------------------------------- - - /** - * Check if current user purchased any other plugins before. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function has_purchased_before() { - // TODO: Implement has_purchased_before() method. - throw new Exception( 'not implemented' ); - } - - /** - * Check if current user classified as an agency. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_agency() { - // TODO: Implement is_agency() method. - throw new Exception( 'not implemented' ); - } - - /** - * Check if current user classified as a developer. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_developer() { - // TODO: Implement is_developer() method. - throw new Exception( 'not implemented' ); - } - - /** - * Check if current user classified as a business. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_business() { - // TODO: Implement is_business() method. - throw new Exception( 'not implemented' ); - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Helper - #---------------------------------------------------------------------------------- - - /** - * If running with a secret key, assume it's the developer and show pending plans as well. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.2 - * - * @param string $path - * - * @return string - */ - function add_show_pending( $path ) { - if ( ! $this->has_secret_key() ) { - return $path; - } - - return $path . ( false !== strpos( $path, '?' ) ? '&' : '?' ) . 'show_pending=true'; - } - - #endregion - } diff --git a/freemius/includes/class-fs-admin-notices.php b/freemius/includes/class-fs-admin-notices.php deleted file mode 100644 index 01b197a..0000000 --- a/freemius/includes/class-fs-admin-notices.php +++ /dev/null @@ -1,321 +0,0 @@ -_id = $id; - $this->_title = $title; - $this->_module_unique_affix = $module_unique_affix; - $this->_is_multisite = is_multisite(); - - if ( $this->_is_multisite ) { - $this->_blog_id = get_current_blog_id(); - - $this->_network_notices = FS_Admin_Notice_Manager::instance( - $id, - $title, - $module_unique_affix, - $is_network_and_blog_admins, - true - ); - } - - $this->_notices = FS_Admin_Notice_Manager::instance( - $id, - $title, - $module_unique_affix, - false, - $this->_blog_id - ); - } - - /** - * Add admin message to admin messages queue, and hook to admin_notices / all_admin_notices if not yet hooked. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $message - * @param string $title - * @param string $type - * @param bool $is_sticky - * @param string $id Message ID - * @param bool $store_if_sticky - * @param int|null $network_level_or_blog_id - * - * @uses add_action() - */ - function add( - $message, - $title = '', - $type = 'success', - $is_sticky = false, - $id = '', - $store_if_sticky = true, - $network_level_or_blog_id = null - ) { - if ( $this->should_use_network_notices( $id, $network_level_or_blog_id ) ) { - $notices = $this->_network_notices; - } else { - $notices = $this->get_site_notices( $network_level_or_blog_id ); - } - - $notices->add( - $message, - $title, - $type, - $is_sticky, - $id, - $store_if_sticky - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string|string[] $ids - * @param int|null $network_level_or_blog_id - */ - function remove_sticky( $ids, $network_level_or_blog_id = null ) { - if ( ! is_array( $ids ) ) { - $ids = array( $ids ); - } - - if ( $this->should_use_network_notices( $ids[0], $network_level_or_blog_id ) ) { - $notices = $this->_network_notices; - } else { - $notices = $this->get_site_notices( $network_level_or_blog_id ); - } - - return $notices->remove_sticky( $ids ); - } - - /** - * Check if sticky message exists by id. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $id - * @param int|null $network_level_or_blog_id - * - * @return bool - */ - function has_sticky( $id, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_notices( $id, $network_level_or_blog_id ) ) { - $notices = $this->_network_notices; - } else { - $notices = $this->get_site_notices( $network_level_or_blog_id ); - } - - return $notices->has_sticky( $id ); - } - - /** - * Adds sticky admin notification. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $message - * @param string $id Message ID - * @param string $title - * @param string $type - * @param int|null $network_level_or_blog_id - * @param number|null $wp_user_id - * @param string|null $plugin_title - * @param bool $is_network_and_blog_admins Whether or not the message should be shown both on network and - * blog admin pages. - */ - function add_sticky( - $message, - $id, - $title = '', - $type = 'success', - $network_level_or_blog_id = null, - $wp_user_id = null, - $plugin_title = null, - $is_network_and_blog_admins = false - ) { - if ( $this->should_use_network_notices( $id, $network_level_or_blog_id ) ) { - $notices = $this->_network_notices; - } else { - $notices = $this->get_site_notices( $network_level_or_blog_id ); - } - - $notices->add_sticky( $message, $id, $title, $type, $wp_user_id, $plugin_title, $is_network_and_blog_admins ); - } - - /** - * Clear all sticky messages. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int|null $network_level_or_blog_id - */ - function clear_all_sticky( $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite || - false === $network_level_or_blog_id || - 0 == $network_level_or_blog_id || - is_null( $network_level_or_blog_id ) - ) { - $notices = $this->get_site_notices( $network_level_or_blog_id ); - $notices->clear_all_sticky(); - } - - if ( $this->_is_multisite && - ( true === $network_level_or_blog_id || is_null( $network_level_or_blog_id ) ) - ) { - $this->_network_notices->clear_all_sticky(); - } - } - - /** - * Add admin message to all admin messages queue, and hook to all_admin_notices if not yet hooked. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $message - * @param string $title - * @param string $type - * @param bool $is_sticky - * @param string $id Message ID - */ - function add_all( $message, $title = '', $type = 'success', $is_sticky = false, $id = '' ) { - $this->add( $message, $title, $type, $is_sticky, true, $id ); - } - - #-------------------------------------------------------------------------------- - #region Helper Methods - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return FS_Admin_Notice_Manager - */ - private function get_site_notices( $blog_id = 0 ) { - if ( 0 == $blog_id || $blog_id == $this->_blog_id ) { - return $this->_notices; - } - - return FS_Admin_Notice_Manager::instance( - $this->_id, - $this->_title, - $this->_module_unique_affix, - false, - $blog_id - ); - } - - /** - * Check if the network notices should be used. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $id - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite notices (if there's a network). When `false`, use the current context blog notices. When `null`, the decision which notices manager to use (MS vs. Current S) will be handled internally and determined based on the $id and the context admin (blog admin vs. network level admin). - * - * @return bool - */ - private function should_use_network_notices( $id = '', $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite ) { - // Not a multisite environment. - return false; - } - - if ( is_numeric( $network_level_or_blog_id ) ) { - // Explicitly asked to use a specified blog storage. - return false; - } - - if ( is_bool( $network_level_or_blog_id ) ) { - // Explicitly specified whether should use the network or blog level storage. - return $network_level_or_blog_id; - } - - return fs_is_network_admin(); - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-fs-api.php b/freemius/includes/class-fs-api.php deleted file mode 100644 index 0727fc0..0000000 --- a/freemius/includes/class-fs-api.php +++ /dev/null @@ -1,625 +0,0 @@ -get_option( 'api_clock_diff', 0 ); - Freemius_Api_WordPress::SetClockDiff( self::$_clock_diff ); - - if ( self::$_options->get_option( 'api_force_http', false ) ) { - Freemius_Api_WordPress::SetHttp(); - } - } - - /** - * @param string $slug - * @param string $scope 'app', 'developer', 'user' or 'install'. - * @param number $id Element's id. - * @param string $public_key Public key. - * @param bool|string $secret_key Element's secret key. - * @param bool $is_sandbox - */ - private function __construct( $slug, $scope, $id, $public_key, $secret_key, $is_sandbox ) { - $this->_api = new Freemius_Api_WordPress( $scope, $id, $public_key, $secret_key, $is_sandbox ); - - $this->_slug = $slug; - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $slug . '_api', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - } - - /** - * Find clock diff between server and API server, and store the diff locally. - * - * @param bool|int $diff - * - * @return bool|int False if clock diff didn't change, otherwise returns the clock diff in seconds. - */ - private function _sync_clock_diff( $diff = false ) { - $this->_logger->entrance(); - - // Sync clock and store. - $new_clock_diff = ( false === $diff ) ? - Freemius_Api_WordPress::FindClockDiff() : - $diff; - - if ( $new_clock_diff === self::$_clock_diff ) { - return false; - } - - self::$_clock_diff = $new_clock_diff; - - // Update API clock's diff. - Freemius_Api_WordPress::SetClockDiff( self::$_clock_diff ); - - // Store new clock diff in storage. - self::$_options->set_option( 'api_clock_diff', self::$_clock_diff, true ); - - return $new_clock_diff; - } - - /** - * Override API call to enable retry with servers' clock auto sync method. - * - * @param string $path - * @param string $method - * @param array $params - * @param bool $retry Is in retry or first call attempt. - * - * @return array|mixed|string|void - */ - private function _call( $path, $method = 'GET', $params = array(), $retry = false ) { - $this->_logger->entrance( $method . ':' . $path ); - - if ( self::is_temporary_down() ) { - $result = $this->get_temporary_unavailable_error(); - } else { - $result = $this->_api->Api( $path, $method, $params ); - - if ( null !== $result && - isset( $result->error ) && - isset( $result->error->code ) && - 'request_expired' === $result->error->code - ) { - if ( ! $retry ) { - $diff = isset( $result->error->timestamp ) ? - ( time() - strtotime( $result->error->timestamp ) ) : - false; - - // Try to sync clock diff. - if ( false !== $this->_sync_clock_diff( $diff ) ) { - // Retry call with new synced clock. - return $this->_call( $path, $method, $params, true ); - } - } - } - } - - if ( $this->_logger->is_on() && self::is_api_error( $result ) ) { - // Log API errors. - $this->_logger->api_error( $result ); - } - - return $result; - } - - /** - * Override API call to wrap it in servers' clock sync method. - * - * @param string $path - * @param string $method - * @param array $params - * - * @return array|mixed|string|void - * @throws Freemius_Exception - */ - function call( $path, $method = 'GET', $params = array() ) { - return $this->_call( $path, $method, $params ); - } - - /** - * Get API request URL signed via query string. - * - * @param string $path - * - * @return string - */ - function get_signed_url( $path ) { - return $this->_api->GetSignedUrl( $path ); - } - - /** - * @param string $path - * @param bool $flush - * @param int $expiration (optional) Time until expiration in seconds from now, defaults to 24 hours - * - * @return stdClass|mixed - */ - function get( $path = '/', $flush = false, $expiration = WP_FS__TIME_24_HOURS_IN_SEC ) { - $this->_logger->entrance( $path ); - - $cache_key = $this->get_cache_key( $path ); - - // Always flush during development. - if ( WP_FS__DEV_MODE || $this->_api->IsSandbox() ) { - $flush = true; - } - - $cached_result = self::$_cache->get( $cache_key ); - - if ( $flush || ! self::$_cache->has_valid( $cache_key, $expiration ) ) { - $result = $this->call( $path ); - - if ( ! is_object( $result ) || isset( $result->error ) ) { - // Api returned an error. - if ( is_object( $cached_result ) && - ! isset( $cached_result->error ) - ) { - // If there was an error during a newer data fetch, - // fallback to older data version. - $result = $cached_result; - - if ( $this->_logger->is_on() ) { - $this->_logger->warn( 'Fallback to cached API result: ' . var_export( $cached_result, true ) ); - } - } else { - if ( is_object( $result ) && 404 == $result->error->http ) { - /** - * If the response code is 404, cache the result for half of the `$expiration`. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.3.1 - */ - $expiration /= 2; - } else { - // If no older data version and the response code is not 404, return result without - // caching the error. - return $result; - } - } - } - - self::$_cache->set( $cache_key, $result, $expiration ); - - $cached_result = $result; - } else { - $this->_logger->log( 'Using cached API result.' ); - } - - return $cached_result; - } - - /** - * Check if there's a cached version of the API request. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @param string $path - * @param string $method - * @param array $params - * - * @return bool - */ - function is_cached( $path, $method = 'GET', $params = array() ) { - $cache_key = $this->get_cache_key( $path, $method, $params ); - - return self::$_cache->has_valid( $cache_key ); - } - - /** - * Invalidate a cached version of the API request. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param string $path - * @param string $method - * @param array $params - */ - function purge_cache( $path, $method = 'GET', $params = array() ) { - $this->_logger->entrance( "{$method}:{$path}" ); - - $cache_key = $this->get_cache_key( $path, $method, $params ); - - self::$_cache->purge( $cache_key ); - } - - /** - * Invalidate a cached version of the API request. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $path - * @param int $expiration - * @param string $method - * @param array $params - */ - function update_cache_expiration( $path, $expiration = WP_FS__TIME_24_HOURS_IN_SEC, $method = 'GET', $params = array() ) { - $this->_logger->entrance( "{$method}:{$path}:{$expiration}" ); - - $cache_key = $this->get_cache_key( $path, $method, $params ); - - self::$_cache->update_expiration( $cache_key, $expiration ); - } - - /** - * @param string $path - * @param string $method - * @param array $params - * - * @return string - * @throws \Freemius_Exception - */ - private function get_cache_key( $path, $method = 'GET', $params = array() ) { - $canonized = $this->_api->CanonizePath( $path ); -// $exploded = explode('/', $canonized); -// return $method . '_' . array_pop($exploded) . '_' . md5($canonized . json_encode($params)); - return strtolower( $method . ':' . $canonized ) . ( ! empty( $params ) ? '#' . md5( json_encode( $params ) ) : '' ); - } - - /** - * Test API connectivity. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 If fails, try to fallback to HTTP. - * @since 1.1.6 Added a 5-min caching mechanism, to prevent from overloading the server if the API if - * temporary down. - * - * @return bool True if successful connectivity to the API. - */ - static function test() { - self::_init(); - - $cache_key = 'ping_test'; - - $test = self::$_cache->get_valid( $cache_key, null ); - - if ( is_null( $test ) ) { - $test = Freemius_Api_WordPress::Test(); - - if ( false === $test && Freemius_Api_WordPress::IsHttps() ) { - // Fallback to HTTP, since HTTPS fails. - Freemius_Api_WordPress::SetHttp(); - - self::$_options->set_option( 'api_force_http', true, true ); - - $test = Freemius_Api_WordPress::Test(); - - if ( false === $test ) { - /** - * API connectivity test fail also in HTTP request, therefore, - * fallback to HTTPS to keep connection secure. - * - * @since 1.1.6 - */ - self::$_options->set_option( 'api_force_http', false, true ); - } - } - - self::$_cache->set( $cache_key, $test, WP_FS__TIME_5_MIN_IN_SEC ); - } - - return $test; - } - - /** - * Check if API is temporary down. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @return bool - */ - static function is_temporary_down() { - self::_init(); - - $test = self::$_cache->get_valid( 'ping_test', null ); - - return ( false === $test ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @return object - */ - private function get_temporary_unavailable_error() { - return (object) array( - 'error' => (object) array( - 'type' => 'TemporaryUnavailable', - 'message' => 'API is temporary unavailable, please retry in ' . ( self::$_cache->get_record_expiration( 'ping_test' ) - WP_FS__SCRIPT_START_TIME ) . ' sec.', - 'code' => 'temporary_unavailable', - 'http' => 503 - ) - ); - } - - /** - * Ping API for connectivity test, and return result object. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param null|string $unique_anonymous_id - * @param array $params - * - * @return object - */ - function ping( $unique_anonymous_id = null, $params = array() ) { - $this->_logger->entrance(); - - if ( self::is_temporary_down() ) { - return $this->get_temporary_unavailable_error(); - } - - $pong = is_null( $unique_anonymous_id ) ? - Freemius_Api_WordPress::Ping() : - $this->_call( 'ping.json?' . http_build_query( array_merge( - array( 'uid' => $unique_anonymous_id ), - $params - ) ) ); - - if ( $this->is_valid_ping( $pong ) ) { - return $pong; - } - - if ( self::should_try_with_http( $pong ) ) { - // Fallback to HTTP, since HTTPS fails. - Freemius_Api_WordPress::SetHttp(); - - self::$_options->set_option( 'api_force_http', true, true ); - - $pong = is_null( $unique_anonymous_id ) ? - Freemius_Api_WordPress::Ping() : - $this->_call( 'ping.json?' . http_build_query( array_merge( - array( 'uid' => $unique_anonymous_id ), - $params - ) ) ); - - if ( ! $this->is_valid_ping( $pong ) ) { - self::$_options->set_option( 'api_force_http', false, true ); - } - } - - return $pong; - } - - /** - * Check if based on the API result we should try - * to re-run the same request with HTTP instead of HTTPS. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param $result - * - * @return bool - */ - private static function should_try_with_http( $result ) { - if ( ! Freemius_Api_WordPress::IsHttps() ) { - return false; - } - - return ( ! is_object( $result ) || - ! isset( $result->error ) || - ! isset( $result->error->code ) || - ! in_array( $result->error->code, array( - 'curl_missing', - 'cloudflare_ddos_protection', - 'maintenance_mode', - 'squid_cache_block', - 'too_many_requests', - ) ) ); - - } - - /** - * Check if valid ping request result. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.1 - * - * @param mixed $pong - * - * @return bool - */ - function is_valid_ping( $pong ) { - return Freemius_Api_WordPress::Test( $pong ); - } - - function get_url( $path = '' ) { - return Freemius_Api_WordPress::GetUrl( $path, $this->_api->IsSandbox() ); - } - - /** - * Clear API cache. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - static function clear_cache() { - self::_init(); - - self::$_cache = FS_Cache_Manager::get_manager( WP_FS__API_CACHE_OPTION_NAME ); - self::$_cache->clear(); - } - - #---------------------------------------------------------------------------------- - #region Error Handling - #---------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $result - * - * @return bool Is API result contains an error. - */ - static function is_api_error( $result ) { - return ( is_object( $result ) && isset( $result->error ) ) || - is_string( $result ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param mixed $result - * - * @return bool Is API result contains an error. - */ - static function is_api_error_object( $result ) { - return ( - is_object( $result ) && - isset( $result->error ) && - isset( $result->error->message ) - ); - } - - /** - * Checks if given API result is a non-empty and not an error object. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $result - * @param string|null $required_property Optional property we want to verify that is set. - * - * @return bool - */ - static function is_api_result_object( $result, $required_property = null ) { - return ( - is_object( $result ) && - ! isset( $result->error ) && - ( empty( $required_property ) || isset( $result->{$required_property} ) ) - ); - } - - /** - * Checks if given API result is a non-empty entity object with non-empty ID. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $result - * - * @return bool - */ - static function is_api_result_entity( $result ) { - return self::is_api_result_object( $result, 'id' ) && - FS_Entity::is_valid_id( $result->id ); - } - - /** - * Get API result error code. If failed to get code, returns an empty string. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param mixed $result - * - * @return string - */ - static function get_error_code( $result ) { - if ( is_object( $result ) && - isset( $result->error ) && - is_object( $result->error ) && - ! empty( $result->error->code ) - ) { - return $result->error->code; - } - - return ''; - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-fs-logger.php b/freemius/includes/class-fs-logger.php deleted file mode 100644 index 90e918f..0000000 --- a/freemius/includes/class-fs-logger.php +++ /dev/null @@ -1,691 +0,0 @@ -_id = $id; - - $bt = debug_backtrace(); - $caller = $bt[2]; - - if ( false !== strpos( $caller['file'], 'plugins' ) ) { - $this->_file_start = strpos( $caller['file'], 'plugins' ) + strlen( 'plugins/' ); - } else { - $this->_file_start = strpos( $caller['file'], 'themes' ) + strlen( 'themes/' ); - } - - if ( $on ) { - $this->on(); - } - if ( $echo ) { - $this->echo_on(); - } - } - - /** - * @param string $id - * @param bool $on - * @param bool $echo - * - * @return FS_Logger - */ - public static function get_logger( $id, $on = false, $echo = false ) { - $id = strtolower( $id ); - - if ( ! isset( self::$_processID ) ) { - self::init(); - } - - if ( ! isset( self::$LOGGERS[ $id ] ) ) { - self::$LOGGERS[ $id ] = new FS_Logger( $id, $on, $echo ); - } - - return self::$LOGGERS[ $id ]; - } - - /** - * Initialize logging global info. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - */ - private static function init() { - self::$_ownerName = function_exists( 'get_current_user' ) ? - get_current_user() : - 'unknown'; - self::$_isStorageLoggingOn = ( 1 == get_option( 'fs_storage_logger', 0 ) ); - self::$_abspathLength = strlen( ABSPATH ); - self::$_processID = mt_rand( 0, 32000 ); - - // Process ID may be `false` on errors. - if ( ! is_numeric( self::$_processID ) ) { - self::$_processID = 0; - } - } - - private static function hook_footer() { - if ( self::$_HOOKED_FOOTER ) { - return; - } - - if ( is_admin() ) { - add_action( 'admin_footer', 'FS_Logger::dump', 100 ); - } else { - add_action( 'wp_footer', 'FS_Logger::dump', 100 ); - } - } - - function is_on() { - return $this->_on; - } - - function on() { - $this->_on = true; - - if ( ! function_exists( 'dbDelta' ) ) { - require_once ABSPATH . 'wp-admin/includes/upgrade.php'; - } - - self::hook_footer(); - } - - function echo_on() { - $this->on(); - - $this->_echo = true; - } - - function is_echo_on() { - return $this->_echo; - } - - function get_id() { - return $this->_id; - } - - function get_file() { - return $this->_file_start; - } - - private function _log( &$message, $type = 'log', $wrapper ) { - if ( ! $this->is_on() ) { - return; - } - - $bt = debug_backtrace(); - $depth = $wrapper ? 3 : 2; - while ( $depth < count( $bt ) - 1 && 'eval' === $bt[ $depth ]['function'] ) { - $depth ++; - } - - $caller = $bt[ $depth ]; - - /** - * Retrieve the correct call file & line number from backtrace - * when logging from a wrapper method. - * - * @author Vova Feldman - * @since 1.2.1.6 - */ - if ( empty( $caller['line'] ) ) { - $depth --; - - while ( $depth >= 0 ) { - if ( ! empty( $bt[ $depth ]['line'] ) ) { - $caller['line'] = $bt[ $depth ]['line']; - $caller['file'] = $bt[ $depth ]['file']; - break; - } - } - } - - $log = array_merge( $caller, array( - 'cnt' => self::$CNT ++, - 'logger' => $this, - 'timestamp' => microtime( true ), - 'log_type' => $type, - 'msg' => $message, - ) ); - - if ( self::$_isStorageLoggingOn ) { - $this->db_log( $type, $message, self::$CNT, $caller ); - } - - self::$LOG[] = $log; - - if ( $this->is_echo_on() && ! Freemius::is_ajax() ) { - echo self::format_html( $log ) . "\n"; - } - } - - function log( $message, $wrapper = false ) { - $this->_log( $message, 'log', $wrapper ); - } - - function info( $message, $wrapper = false ) { - $this->_log( $message, 'info', $wrapper ); - } - - function warn( $message, $wrapper = false ) { - $this->_log( $message, 'warn', $wrapper ); - } - - function error( $message, $wrapper = false ) { - $this->_log( $message, 'error', $wrapper ); - } - - /** - * Log API error. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param mixed $api_result - * @param bool $wrapper - */ - function api_error( $api_result, $wrapper = false ) { - $message = ''; - if ( is_object( $api_result ) && - ! empty( $api_result->error ) && - ! empty( $api_result->error->message ) - ) { - $message = $api_result->error->message; - } else if ( is_object( $api_result ) ) { - $message = var_export( $api_result, true ); - } else if ( is_string( $api_result ) ) { - $message = $api_result; - } else if ( empty( $api_result ) ) { - $message = 'Empty API result.'; - } - - $message = 'API Error: ' . $message; - - $this->_log( $message, 'error', $wrapper ); - } - - function entrance( $message = '', $wrapper = false ) { - $msg = 'Entrance' . ( empty( $message ) ? '' : ' > ' ) . $message; - - $this->_log( $msg, 'log', $wrapper ); - } - - function departure( $message = '', $wrapper = false ) { - $msg = 'Departure' . ( empty( $message ) ? '' : ' > ' ) . $message; - - $this->_log( $msg, 'log', $wrapper ); - } - - #-------------------------------------------------------------------------------- - #region Log Formatting - #-------------------------------------------------------------------------------- - - private static function format( $log, $show_type = true ) { - return '[' . str_pad( $log['cnt'], strlen( self::$CNT ), '0', STR_PAD_LEFT ) . '] [' . $log['logger']->_id . '] ' . ( $show_type ? '[' . $log['log_type'] . ']' : '' ) . ( ! empty( $log['class'] ) ? $log['class'] . $log['type'] : '' ) . $log['function'] . ' >> ' . $log['msg'] . ( isset( $log['file'] ) ? ' (' . substr( $log['file'], $log['logger']->_file_start ) . ' ' . $log['line'] . ') ' : '' ) . ' [' . $log['timestamp'] . ']'; - } - - private static function format_html( $log ) { - return '
    [' . $log['cnt'] . '] [' . $log['logger']->_id . '] [' . $log['log_type'] . '] ' . ( ! empty( $log['class'] ) ? $log['class'] . $log['type'] : '' ) . $log['function'] . ' >> ' . esc_html( $log['msg'] ) . '' . ( isset( $log['file'] ) ? ' (' . substr( $log['file'], $log['logger']->_file_start ) . ' ' . $log['line'] . ')' : '' ) . ' [' . $log['timestamp'] . ']
    '; - } - - #endregion - - static function dump() { - ?> - - - - prefix}fs_logger"; - - if ( $is_on ) { - /** - * Create logging table. - * - * NOTE: - * dbDelta must use KEY and not INDEX for indexes. - * - * @link https://core.trac.wordpress.org/ticket/2695 - */ - $result = $wpdb->query( "CREATE TABLE {$table} ( -`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, -`process_id` INT UNSIGNED NOT NULL, -`user_name` VARCHAR(64) NOT NULL, -`logger` VARCHAR(128) NOT NULL, -`log_order` INT UNSIGNED NOT NULL, -`type` ENUM('log','info','warn','error') NOT NULL DEFAULT 'log', -`message` TEXT NOT NULL, -`file` VARCHAR(256) NOT NULL, -`line` INT UNSIGNED NOT NULL, -`function` VARCHAR(256) NOT NULL, -`request_type` ENUM('call','ajax','cron') NOT NULL DEFAULT 'call', -`request_url` VARCHAR(1024) NOT NULL, -`created` DECIMAL(16, 6) NOT NULL, -PRIMARY KEY (`id`), -KEY `process_id` (`process_id` ASC), -KEY `process_logger` (`process_id` ASC, `logger` ASC), -KEY `function` (`function` ASC), -KEY `type` (`type` ASC))" ); - } else { - /** - * Drop logging table. - */ - $result = $wpdb->query( "DROP TABLE IF EXISTS $table;" ); - } - - if ( false !== $result ) { - update_option( 'fs_storage_logger', ( $is_on ? 1 : 0 ) ); - } - - return ( false !== $result ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param string $type - * @param string $message - * @param int $log_order - * @param array $caller - * - * @return false|int - */ - private function db_log( - &$type, - &$message, - &$log_order, - &$caller - ) { - global $wpdb; - - $request_type = 'call'; - if ( defined( 'DOING_CRON' ) && DOING_CRON ) { - $request_type = 'cron'; - } else if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { - $request_type = 'ajax'; - } - - $request_url = WP_FS__IS_HTTP_REQUEST ? - $_SERVER['REQUEST_URI'] : - ''; - - return $wpdb->insert( - "{$wpdb->prefix}fs_logger", - array( - 'process_id' => self::$_processID, - 'user_name' => self::$_ownerName, - 'logger' => $this->_id, - 'log_order' => $log_order, - 'type' => $type, - 'request_type' => $request_type, - 'request_url' => $request_url, - 'message' => $message, - 'file' => isset( $caller['file'] ) ? - substr( $caller['file'], self::$_abspathLength ) : - '', - 'line' => $caller['line'], - 'function' => ( ! empty( $caller['class'] ) ? $caller['class'] . $caller['type'] : '' ) . $caller['function'], - 'created' => microtime( true ), - ) - ); - } - - /** - * Persistent DB logger columns. - * - * @var array - */ - private static $_log_columns = array( - 'id', - 'process_id', - 'user_name', - 'logger', - 'log_order', - 'type', - 'message', - 'file', - 'line', - 'function', - 'request_type', - 'request_url', - 'created', - ); - - /** - * Create DB logs query. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param bool $filters - * @param int $limit - * @param int $offset - * @param bool $order - * @param bool $escape_eol - * - * @return string - */ - private static function build_db_logs_query( - $filters = false, - $limit = 200, - $offset = 0, - $order = false, - $escape_eol = false - ) { - global $wpdb; - - $select = '*'; - - if ( $escape_eol ) { - $select = ''; - for ( $i = 0, $len = count( self::$_log_columns ); $i < $len; $i ++ ) { - if ( $i > 0 ) { - $select .= ', '; - } - - if ( 'message' !== self::$_log_columns[ $i ] ) { - $select .= self::$_log_columns[ $i ]; - } else { - $select .= 'REPLACE(message , \'\n\', \' \') AS message'; - } - } - } - - $query = "SELECT {$select} FROM {$wpdb->prefix}fs_logger"; - if ( is_array( $filters ) ) { - $criteria = array(); - - if ( ! empty( $filters['type'] ) && 'all' !== $filters['type'] ) { - $filters['type'] = strtolower( $filters['type'] ); - - switch ( $filters['type'] ) { - case 'warn_error': - $criteria[] = array( 'col' => 'type', 'val' => array( 'warn', 'error' ) ); - break; - case 'error': - case 'warn': - $criteria[] = array( 'col' => 'type', 'val' => $filters['type'] ); - break; - case 'info': - default: - $criteria[] = array( 'col' => 'type', 'val' => array( 'info', 'log' ) ); - break; - } - } - - if ( ! empty( $filters['request_type'] ) ) { - $filters['request_type'] = strtolower( $filters['request_type'] ); - - if ( in_array( $filters['request_type'], array( 'call', 'ajax', 'cron' ) ) ) { - $criteria[] = array( 'col' => 'request_type', 'val' => $filters['request_type'] ); - } - } - - if ( ! empty( $filters['file'] ) ) { - $criteria[] = array( - 'col' => 'file', - 'op' => 'LIKE', - 'val' => '%' . esc_sql( $filters['file'] ), - ); - } - - if ( ! empty( $filters['function'] ) ) { - $criteria[] = array( - 'col' => 'function', - 'op' => 'LIKE', - 'val' => '%' . esc_sql( $filters['function'] ), - ); - } - - if ( ! empty( $filters['process_id'] ) && is_numeric( $filters['process_id'] ) ) { - $criteria[] = array( 'col' => 'process_id', 'val' => $filters['process_id'] ); - } - - if ( ! empty( $filters['logger'] ) ) { - $criteria[] = array( - 'col' => 'logger', - 'op' => 'LIKE', - 'val' => '%' . esc_sql( $filters['logger'] ) . '%', - ); - } - - if ( ! empty( $filters['message'] ) ) { - $criteria[] = array( - 'col' => 'message', - 'op' => 'LIKE', - 'val' => '%' . esc_sql( $filters['message'] ) . '%', - ); - } - - if ( 0 < count( $criteria ) ) { - $query .= "\nWHERE\n"; - - $first = true; - foreach ( $criteria as $c ) { - if ( ! $first ) { - $query .= "AND\n"; - } - - if ( is_array( $c['val'] ) ) { - $operator = 'IN'; - - for ( $i = 0, $len = count( $c['val'] ); $i < $len; $i ++ ) { - $c['val'][ $i ] = "'" . esc_sql( $c['val'][ $i ] ) . "'"; - } - - $val = '(' . implode( ',', $c['val'] ) . ')'; - } else { - $operator = ! empty( $c['op'] ) ? $c['op'] : '='; - $val = "'" . esc_sql( $c['val'] ) . "'"; - } - - $query .= "`{$c['col']}` {$operator} {$val}\n"; - - $first = false; - } - } - } - - if ( ! is_array( $order ) ) { - $order = array( - 'col' => 'id', - 'order' => 'desc' - ); - } - - $query .= " ORDER BY {$order['col']} {$order['order']} LIMIT {$offset},{$limit}"; - - return $query; - } - - /** - * Load logs from DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param bool $filters - * @param int $limit - * @param int $offset - * @param bool $order - * - * @return object[]|null - */ - public static function load_db_logs( - $filters = false, - $limit = 200, - $offset = 0, - $order = false - ) { - global $wpdb; - - $query = self::build_db_logs_query( - $filters, - $limit, - $offset, - $order - ); - - return $wpdb->get_results( $query ); - } - - /** - * Load logs from DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param bool $filters - * @param string $filename - * @param int $limit - * @param int $offset - * @param bool $order - * - * @return false|string File download URL or false on failure. - */ - public static function download_db_logs( - $filters = false, - $filename = '', - $limit = 10000, - $offset = 0, - $order = false - ) { - global $wpdb; - - $query = self::build_db_logs_query( - $filters, - $limit, - $offset, - $order, - true - ); - - $upload_dir = wp_upload_dir(); - if ( empty( $filename ) ) { - $filename = 'fs-logs-' . date( 'Y-m-d_H-i-s', WP_FS__SCRIPT_START_TIME ) . '.csv'; - } - $filepath = rtrim( $upload_dir['path'], '/' ) . "/{$filename}"; - - $query .= " INTO OUTFILE '{$filepath}' FIELDS TERMINATED BY '\t' ESCAPED BY '\\\\' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\\n'"; - - $columns = ''; - for ( $i = 0, $len = count( self::$_log_columns ); $i < $len; $i ++ ) { - if ( $i > 0 ) { - $columns .= ', '; - } - - $columns .= "'" . self::$_log_columns[ $i ] . "'"; - } - - $query = "SELECT {$columns} UNION ALL " . $query; - - $result = $wpdb->query( $query ); - - if ( false === $result ) { - return false; - } - - return rtrim( $upload_dir['url'], '/' ) . '/' . $filename; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param string $filename - * - * @return string - */ - public static function get_logs_download_url( $filename = '' ) { - $upload_dir = wp_upload_dir(); - if ( empty( $filename ) ) { - $filename = 'fs-logs-' . date( 'Y-m-d_H-i-s', WP_FS__SCRIPT_START_TIME ) . '.csv'; - } - - return rtrim( $upload_dir['url'], '/' ) . $filename; - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-fs-options.php b/freemius/includes/class-fs-options.php deleted file mode 100644 index f762a6b..0000000 --- a/freemius/includes/class-fs-options.php +++ /dev/null @@ -1,431 +0,0 @@ -_id = $id; - $this->_is_multisite = is_multisite(); - - if ( $this->_is_multisite ) { - $this->_blog_id = get_current_blog_id(); - $this->_network_options = FS_Option_Manager::get_manager( $id, $load, true ); - } - - $this->_options = FS_Option_Manager::get_manager( $id, $load, $this->_blog_id ); - } - - /** - * Switch the context of the site level options manager. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param $blog_id - */ - function set_site_blog_context( $blog_id ) { - $this->_blog_id = $blog_id; - - $this->_options = FS_Option_Manager::get_manager( $this->_id, false, $this->_blog_id ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $option - * @param mixed $default - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_SITE_LEVEL_PARAMS). - * - * @return mixed - */ - function get_option( $option, $default = null, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_storage( $option, $network_level_or_blog_id ) ) { - return $this->_network_options->get_option( $option, $default ); - } - - $site_options = $this->get_site_options( $network_level_or_blog_id ); - - return $site_options->get_option( $option, $default ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param string $option - * @param mixed $value - * @param bool $flush - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_SITE_LEVEL_PARAMS). - */ - function set_option( $option, $value, $flush = false, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_storage( $option, $network_level_or_blog_id ) ) { - $this->_network_options->set_option( $option, $value, $flush ); - } else { - $site_options = $this->get_site_options( $network_level_or_blog_id ); - $site_options->set_option( $option, $value, $flush ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $option - * @param bool $flush - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_SITE_LEVEL_PARAMS). - */ - function unset_option( $option, $flush = false, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_storage( $option, $network_level_or_blog_id ) ) { - $this->_network_options->unset_option( $option, $flush ); - } else { - $site_options = $this->get_site_options( $network_level_or_blog_id ); - $site_options->unset_option( $option, $flush ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param bool $flush - * @param bool $network_level - */ - function load( $flush = false, $network_level = true ) { - if ( $this->_is_multisite && $network_level ) { - $this->_network_options->load( $flush ); - } else { - $this->_options->load( $flush ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.0 - * - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, store both network storage and the current context blog storage. - */ - function store( $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite || - false === $network_level_or_blog_id || - 0 == $network_level_or_blog_id || - is_null( $network_level_or_blog_id ) - ) { - $site_options = $this->get_site_options( $network_level_or_blog_id ); - $site_options->store(); - } - - if ( $this->_is_multisite && - ( is_null( $network_level_or_blog_id ) || true === $network_level_or_blog_id ) - ) { - $this->_network_options->store(); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int|null|bool $network_level_or_blog_id - * @param bool $flush - */ - function clear( $network_level_or_blog_id = null, $flush = false ) { - if ( ! $this->_is_multisite || - false === $network_level_or_blog_id || - is_null( $network_level_or_blog_id ) || - is_numeric( $network_level_or_blog_id ) - ) { - $site_options = $this->get_site_options( $network_level_or_blog_id ); - $site_options->clear( $flush ); - } - - if ( $this->_is_multisite && - ( true === $network_level_or_blog_id || is_null( $network_level_or_blog_id ) ) - ) { - $this->_network_options->clear( $flush ); - } - } - - /** - * Migration script to the new storage data structure that is network compatible. - * - * IMPORTANT: - * This method should be executed only after it is determined if this is a network - * level compatible product activation. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - */ - function migrate_to_network( $blog_id = 0 ) { - if ( ! $this->_is_multisite ) { - return; - } - - $updated = false; - - $site_options = $this->get_site_options( $blog_id ); - - $keys = $site_options->get_options_keys(); - - foreach ( $keys as $option ) { - if ( $this->is_site_option( $option ) || - // Don't move admin notices to the network storage. - in_array($option, array( - // Don't move admin notices to the network storage. - 'admin_notices', - // Don't migrate the module specific data, it will be migrated by the FS_Storage. - 'plugin_data', - 'theme_data', - )) - ) { - continue; - } - - $option_updated = false; - - // Migrate option to the network storage. - $site_option = $site_options->get_option( $option ); - - if ( ! $this->_network_options->has_option( $option ) ) { - // Option not set on the network level, so just set it. - $this->_network_options->set_option( $option, $site_option, false ); - - $option_updated = true; - } else { - // Option already set on the network level, so we need to merge it inelegantly. - $network_option = $this->_network_options->get_option( $option ); - - if ( is_array( $network_option ) && is_array( $site_option ) ) { - // Option is an array. - foreach ( $site_option as $key => $value ) { - if ( ! isset( $network_option[ $key ] ) ) { - $network_option[ $key ] = $value; - - $option_updated = true; - } else if ( is_array( $network_option[ $key ] ) && is_array( $value ) ) { - if ( empty( $network_option[ $key ] ) ) { - $network_option[ $key ] = $value; - - $option_updated = true; - } else if ( empty( $value ) ) { - // Do nothing. - } else { - reset($value); - $first_key = key($value); - if ( $value[$first_key] instanceof FS_Entity ) { - // Merge entities by IDs. - $network_entities_ids = array(); - foreach ( $network_option[ $key ] as $entity ) { - $network_entities_ids[ $entity->id ] = true; - } - - foreach ( $value as $entity ) { - if ( ! isset( $network_entities_ids[ $entity->id ] ) ) { - $network_option[ $key ][] = $entity; - - $option_updated = true; - } - } - } - } - } - } - } - - if ( $option_updated ) { - $this->_network_options->set_option( $option, $network_option, false ); - } - } - - /** - * Remove the option from site level storage. - * - * IMPORTANT: - * The line below is intentionally commented since we want to preserve the option - * on the site storage level for "downgrade compatibility". Basically, if the user - * will downgrade to an older version of the plugin with the prev storage structure, - * it will continue working. - * - * @todo After a few releases we can remove this. - */ -// $site_options->unset_option($option, false); - - if ( $option_updated ) { - $updated = true; - } - } - - if ( ! $updated ) { - return; - } - - // Update network level storage. - $this->_network_options->store(); -// $site_options->store(); - } - - - #-------------------------------------------------------------------------------- - #region Helper Methods - #-------------------------------------------------------------------------------- - - /** - * We don't want to load the map right away since it's not even needed in a non-MS environment. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private static function load_site_options_map() { - self::$_SITE_OPTIONS_MAP = array( - 'sites' => true, - 'theme_sites' => true, - 'unique_id' => true, - 'active_plugins' => true, - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $option - * - * @return bool - */ - private function is_site_option( $option ) { - if ( WP_FS__ACCOUNTS_OPTION_NAME != $this->_id ) { - return false; - } - - if ( ! isset( self::$_SITE_OPTIONS_MAP ) ) { - self::load_site_options_map(); - } - - return isset( self::$_SITE_OPTIONS_MAP[ $option ] ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return FS_Option_Manager - */ - private function get_site_options( $blog_id = 0 ) { - if ( 0 == $blog_id || $blog_id == $this->_blog_id ) { - return $this->_options; - } - - return FS_Option_Manager::get_manager( $this->_id, true, $blog_id ); - } - - /** - * Check if an option should be stored on the MS network storage. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $option - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_SITE_LEVEL_PARAMS). - * - * @return bool - */ - private function should_use_network_storage( $option, $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite ) { - // Not a multisite environment. - return false; - } - - if ( is_numeric( $network_level_or_blog_id ) ) { - // Explicitly asked to use a specified blog storage. - return false; - } - - if ( is_bool( $network_level_or_blog_id ) ) { - // Explicitly specified whether should use the network or blog level storage. - return $network_level_or_blog_id; - } - - // Determine which storage to use based on the option. - return ! $this->is_site_option( $option ); - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-fs-plugin-updater.php b/freemius/includes/class-fs-plugin-updater.php deleted file mode 100644 index bcd416b..0000000 --- a/freemius/includes/class-fs-plugin-updater.php +++ /dev/null @@ -1,1360 +0,0 @@ -get_id(); - - if ( ! isset( self::$_INSTANCES[ $key ] ) ) { - self::$_INSTANCES[ $key ] = new self( $freemius ); - } - - return self::$_INSTANCES[ $key ]; - } - - #endregion - - private function __construct( Freemius $freemius ) { - $this->_fs = $freemius; - - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $freemius->get_slug() . '_updater', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->filters(); - } - - /** - * Initiate required filters. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - */ - private function filters() { - // Override request for plugin information - add_filter( 'plugins_api', array( &$this, 'plugins_api_filter' ), 10, 3 ); - - $this->add_transient_filters(); - - /** - * If user has the premium plugin's code but do NOT have an active license, - * encourage him to upgrade by showing that there's a new release, but instead - * of showing an update link, show upgrade link to the pricing page. - * - * @since 1.1.6 - * - */ - // WP 2.9+ - add_action( "after_plugin_row_{$this->_fs->get_plugin_basename()}", array( - &$this, - 'catch_plugin_update_row' - ), 9 ); - add_action( "after_plugin_row_{$this->_fs->get_plugin_basename()}", array( - &$this, - 'edit_and_echo_plugin_update_row' - ), 11, 2 ); - - add_action( 'admin_head', array( &$this, 'catch_plugin_information_dialog_contents' ) ); - - if ( ! WP_FS__IS_PRODUCTION_MODE ) { - add_filter( 'http_request_host_is_external', array( - $this, - 'http_request_host_is_external_filter' - ), 10, 3 ); - } - - if ( $this->_fs->is_premium() ) { - if ( ! $this->is_correct_folder_name() ) { - add_filter( 'upgrader_post_install', array( &$this, '_maybe_update_folder_name' ), 10, 3 ); - } - - add_filter( 'upgrader_pre_install', array( 'FS_Plugin_Updater', '_store_basename_for_source_adjustment' ), 1, 2 ); - add_filter( 'upgrader_source_selection', array( 'FS_Plugin_Updater', '_maybe_adjust_source_dir' ), 1, 3 ); - - if ( ! $this->_fs->has_any_active_valid_license() ) { - add_filter( 'wp_prepare_themes_for_js', array( &$this, 'change_theme_update_info_html' ), 10, 1 ); - } - } - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.4 - */ - function catch_plugin_information_dialog_contents() { - if ( - 'plugin-information' !== fs_request_get( 'tab', false ) || - $this->_fs->get_slug() !== fs_request_get( 'plugin', false ) - ) { - return; - } - - add_action( 'admin_footer', array( &$this, 'edit_and_echo_plugin_information_dialog_contents' ), 0, 1 ); - - ob_start(); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.4 - * - * @param string $hook_suffix - */ - function edit_and_echo_plugin_information_dialog_contents( $hook_suffix ) { - if ( - 'plugin-information' !== fs_request_get( 'tab', false ) || - $this->_fs->get_slug() !== fs_request_get( 'plugin', false ) - ) { - return; - } - - $license = $this->_fs->_get_license(); - - $subscription = ( is_object( $license ) && ! $license->is_lifetime() ) ? - $this->_fs->_get_subscription( $license->id ) : - null; - - $contents = ob_get_clean(); - - /** - * Replace the plugin information dialog's "Install Update Now" button's text and URL. If there's a license, - * the text will be "Renew license" and will link to the checkout page with the license's billing cycle - * and quota. If there's no license, the text will be "Buy license" and will link to the pricing page. - */ - $contents = preg_replace( - '/(.+\)(.+)(\<\/a.+)/is', - is_object( $license ) ? - sprintf( - '$1$3%s$5%s$7', - $this->_fs->checkout_url( - is_object( $subscription ) ? - ( 1 == $subscription->billing_cycle ? WP_FS__PERIOD_MONTHLY : WP_FS__PERIOD_ANNUALLY ) : - WP_FS__PERIOD_LIFETIME, - false, - array( 'licenses' => $license->quota ) - ), - fs_text_inline( 'Renew license', 'renew-license', $this->_fs->get_slug() ) - ) : - sprintf( - '$1$3%s$5%s$7', - $this->_fs->pricing_url(), - fs_text_inline( 'Buy license', 'buy-license', $this->_fs->get_slug() ) - ), - $contents - ); - - echo $contents; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private function add_transient_filters() { - add_filter( 'pre_set_site_transient_update_plugins', array( - &$this, - 'pre_set_site_transient_update_plugins_filter' - ) ); - - add_filter( 'pre_set_site_transient_update_themes', array( - &$this, - 'pre_set_site_transient_update_plugins_filter' - ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private function remove_transient_filters() { - remove_filter( 'pre_set_site_transient_update_plugins', array( - &$this, - 'pre_set_site_transient_update_plugins_filter' - ) ); - - remove_filter( 'pre_set_site_transient_update_themes', array( - &$this, - 'pre_set_site_transient_update_plugins_filter' - ) ); - } - - /** - * Capture plugin update row by turning output buffering. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - */ - function catch_plugin_update_row() { - ob_start(); - } - - /** - * Overrides default update message format with "renew your license" message. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $file - * @param array $plugin_data - */ - function edit_and_echo_plugin_update_row( $file, $plugin_data ) { - $plugin_update_row = ob_get_clean(); - - $current = get_site_transient( 'update_plugins' ); - if ( ! isset( $current->response[ $file ] ) ) { - echo $plugin_update_row; - - return; - } - - $r = $current->response[ $file ]; - - if ( ! $this->_fs->has_any_active_valid_license() ) { - /** - * Turn the "new version" text into a link that opens the plugin information dialog when clicked and - * make the "View version x details" text link to the checkout page instead of opening the plugin - * information dialog when clicked. - * - * Sample input: - * There is a new version of Awesome Plugin available. update now. - * Output: - * There is a Buy a license now to access version x.y.z security & feature updates, and support. - * - * @author Leo Fajardo (@leorw) - */ - $plugin_update_row = preg_replace( - '/(\)(.+)(\.+\)/is', - ( - '$1' . - sprintf( - fs_text_inline( 'There is a %s of %s available.', 'new-version-available', $this->_fs->get_slug() ), - sprintf( - '%s', - '$5', - fs_text_inline( 'new version', 'new-version', $this->_fs->get_slug() ) - ), - $this->_fs->get_plugin_title() - ) . - ' ' . - $this->_fs->version_upgrade_checkout_link( $r->new_version ) . - '$6' - ), - $plugin_update_row - ); - } - - if ( - $this->_fs->is_plugin() && - isset( $r->upgrade_notice ) && - strlen( trim( $r->upgrade_notice ) ) > 0 - ) { - $slug = $this->_fs->get_slug(); - - $upgrade_notice_html = sprintf( - '

    %3s %4s

    ', - $slug, - $this->_fs->get_module_type(), - fs_text_inline( 'Important Upgrade Notice:', 'upgrade_notice', $slug ), - esc_html( $r->upgrade_notice ) - ); - - $plugin_update_row = str_replace( '', '' . $upgrade_notice_html, $plugin_update_row ); - } - - echo $plugin_update_row; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - * - * @param array $prepared_themes - * - * @return array - */ - function change_theme_update_info_html( $prepared_themes ) { - $theme_basename = $this->_fs->get_plugin_basename(); - - if ( ! isset( $prepared_themes[ $theme_basename ] ) ) { - return $prepared_themes; - } - - $themes_update = get_site_transient( 'update_themes' ); - if ( ! isset( $themes_update->response[ $theme_basename ] ) || - empty( $themes_update->response[ $theme_basename ]['package'] ) - ) { - return $prepared_themes; - } - - $prepared_themes[ $theme_basename ]['update'] = preg_replace( - '/(\)(.+)(\)/is', - '$1 $2 ' . $this->_fs->version_upgrade_checkout_link( $themes_update->response[ $theme_basename ]['new_version'] ) . - '$4', - $prepared_themes[ $theme_basename ]['update'] - ); - - // Set to false to prevent the "Update now" link for the context theme from being shown on the "Themes" page. - $prepared_themes[ $theme_basename ]['hasPackage'] = false; - - return $prepared_themes; - } - - /** - * Since WP version 3.6, a new security feature was added that denies access to repository with a local ip. - * During development mode we want to be able updating plugin versions via our localhost repository. This - * filter white-list all domains including "api.freemius". - * - * @link http://www.emanueletessore.com/wordpress-download-failed-valid-url-provided/ - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param bool $allow - * @param string $host - * @param string $url - * - * @return bool - */ - function http_request_host_is_external_filter( $allow, $host, $url ) { - return ( false !== strpos( $host, 'freemius' ) ) ? true : $allow; - } - - /** - * Check for Updates at the defined API endpoint and modify the update array. - * - * This function dives into the update api just when WordPress creates its update array, - * then adds a custom API call and injects the custom plugin data retrieved from the API. - * It is reassembled from parts of the native WordPress plugin update code. - * See wp-includes/update.php line 121 for the original wp_update_plugins() function. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @uses FS_Api - * - * @param object $transient_data Update array build by WordPress. - * - * @return object Modified update array with custom plugin data. - */ - function pre_set_site_transient_update_plugins_filter( $transient_data ) { - $this->_logger->entrance(); - - /** - * "plugins" or "themes". - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - $module_type = $this->_fs->get_module_type() . 's'; - - /** - * Ensure that we don't mix plugins update info with themes update info. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( "pre_set_site_transient_update_{$module_type}" !== current_filter() ) { - return $transient_data; - } - - if ( empty( $transient_data ) || - defined( 'WP_FS__UNINSTALL_MODE' ) - ) { - return $transient_data; - } - - if ( ! isset( $this->_update_details ) ) { - // Get plugin's newest update. - $new_version = $this->_fs->get_update( - false, - fs_request_get_bool( 'force-check' ), - WP_FS__TIME_24_HOURS_IN_SEC / 24, - $this->_fs->get_plugin_version() - ); - - $this->_update_details = false; - - if ( is_object( $new_version ) ) { - $this->_logger->log( 'Found newer plugin version ' . $new_version->version ); - - /** - * Cache plugin details locally since set_site_transient( 'update_plugins' ) - * called multiple times and the non wp.org plugins are filtered after the - * call to .org. - * - * @since 1.1.8.1 - */ - $this->_update_details = $this->get_update_details( $new_version ); - } - } - - if ( is_object( $this->_update_details ) ) { - // Add plugin to transient data. - $transient_data->response[ $this->_fs->get_plugin_basename() ] = $this->_fs->is_plugin() ? - $this->_update_details : - (array) $this->_update_details; - } - - $slug = $this->_fs->get_slug(); - - if ( $this->_fs->is_org_repo_compliant() && $this->_fs->is_freemium() ) { - if ( ! isset( $this->_translation_updates ) ) { - $this->_translation_updates = array(); - - if ( current_user_can( 'update_languages' ) ) { - $translation_updates = $this->fetch_wp_org_module_translation_updates( $module_type, $slug ); - if ( ! empty( $translation_updates ) ) { - $this->_translation_updates = $translation_updates; - } - } - } - - if ( ! empty( $this->_translation_updates ) ) { - $all_translation_updates = ( isset( $transient_data->translations ) && is_array( $transient_data->translations ) ) ? - $transient_data->translations : - array(); - - $current_plugin_translation_updates_map = array(); - foreach ( $all_translation_updates as $key => $translation_update ) { - if ( $module_type === ( $translation_update['type'] . 's' ) && $slug === $translation_update['slug'] ) { - $current_plugin_translation_updates_map[ $translation_update['language'] ] = $translation_update; - unset( $all_translation_updates[ $key ] ); - } - } - - foreach ( $this->_translation_updates as $translation_update ) { - $lang = $translation_update['language']; - if ( ! isset( $current_plugin_translation_updates_map[ $lang ] ) || - version_compare( $translation_update['version'], $current_plugin_translation_updates_map[ $lang ]['version'], '>' ) - ) { - $current_plugin_translation_updates_map[ $lang ] = $translation_update; - } - } - - $transient_data->translations = array_merge( $all_translation_updates, array_values( $current_plugin_translation_updates_map ) ); - } - } - - return $transient_data; - } - - /** - * Get module's required data for the updates mechanism. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_Plugin_Tag $new_version - * - * @return object - */ - function get_update_details( FS_Plugin_Tag $new_version ) { - $update = new stdClass(); - $update->slug = $this->_fs->get_slug(); - $update->new_version = $new_version->version; - $update->url = WP_FS__ADDRESS; - $update->package = $new_version->url; - $update->tested = $new_version->tested_up_to_version; - $update->requires = $new_version->requires_platform_version; - - $icon = $this->_fs->get_local_icon_url(); - - if ( ! empty( $icon ) ) { - $update->icons = array( -// '1x' => $icon, -// '2x' => $icon, - 'default' => $icon, - ); - } - - if ( $this->_fs->is_premium() ) { - $latest_tag = $this->_fs->_fetch_latest_version( $this->_fs->get_id(), false ); - - if ( - isset( $latest_tag->readme ) && - isset( $latest_tag->readme->upgrade_notice ) && - ! empty( $latest_tag->readme->upgrade_notice ) - ) { - $update->upgrade_notice = $latest_tag->readme->upgrade_notice; - } - } - - $update->{$this->_fs->get_module_type()} = $this->_fs->get_plugin_basename(); - - return $update; - } - - /** - * Update the updates transient with the module's update information. - * - * This method is required for multisite environment. - * If a module is site activated (not network) and not on the main site, - * the module will NOT be executed on the network level, therefore, the - * custom updates logic will not be executed as well, so unless we force - * the injection of the update into the updates transient, premium updates - * will not work. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param \FS_Plugin_Tag $new_version - */ - function set_update_data( FS_Plugin_Tag $new_version ) { - $this->_logger->entrance(); - - $transient_key = "update_{$this->_fs->get_module_type()}s"; - - $transient_data = get_site_transient( $transient_key ); - - $transient_data = is_object( $transient_data ) ? - $transient_data : - new stdClass(); - - // Alias. - $basename = $this->_fs->get_plugin_basename(); - $is_plugin = $this->_fs->is_plugin(); - - if ( ! isset( $transient_data->response ) || - ! is_array( $transient_data->response ) - ) { - $transient_data->response = array(); - } else if ( ! empty( $transient_data->response[ $basename ] ) ) { - $version = $is_plugin ? - ( ! empty( $transient_data->response[ $basename ]->new_version ) ? - $transient_data->response[ $basename ]->new_version : - null - ) : ( ! empty( $transient_data->response[ $basename ]['new_version'] ) ? - $transient_data->response[ $basename ]['new_version'] : - null - ); - - if ( $version == $new_version->version ) { - // The update data is already set. - return; - } - } - - // Remove the added filters. - $this->remove_transient_filters(); - - $this->_update_details = $this->get_update_details( $new_version ); - - // Set update data in transient. - $transient_data->response[ $basename ] = $is_plugin ? - $this->_update_details : - (array) $this->_update_details; - - if ( ! isset( $transient_data->checked ) || - ! is_array( $transient_data->checked ) - ) { - $transient_data->checked = array(); - } - - // Flag the module as if it was already checked. - $transient_data->checked[ $basename ] = $this->_fs->get_plugin_version(); - $transient_data->last_checked = time(); - - set_site_transient( $transient_key, $transient_data ); - - $this->add_transient_filters(); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.0.2 - */ - function delete_update_data() { - $this->_logger->entrance(); - - $transient_key = "update_{$this->_fs->get_module_type()}s"; - - $transient_data = get_site_transient( $transient_key ); - - // Alias - $basename = $this->_fs->get_plugin_basename(); - - if ( ! is_object( $transient_data ) || - ! isset( $transient_data->response ) || - ! is_array( $transient_data->response ) || - empty( $transient_data->response[ $basename ] ) - ) { - return; - } - - unset( $transient_data->response[ $basename ] ); - - // Remove the added filters. - $this->remove_transient_filters(); - - set_site_transient( $transient_key, $transient_data ); - - $this->add_transient_filters(); - } - - /** - * Try to fetch plugin's info from .org repository. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @param string $action - * @param object $args - * - * @return bool|mixed - */ - static function _fetch_plugin_info_from_repository( $action, $args ) { - $url = $http_url = 'http://api.wordpress.org/plugins/info/1.0/'; - if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) { - $url = set_url_scheme( $url, 'https' ); - } - - $args = array( - 'timeout' => 15, - 'body' => array( - 'action' => $action, - 'request' => serialize( $args ) - ) - ); - - $request = wp_remote_post( $url, $args ); - - if ( is_wp_error( $request ) ) { - return false; - } - - $res = maybe_unserialize( wp_remote_retrieve_body( $request ) ); - - if ( ! is_object( $res ) && ! is_array( $res ) ) { - return false; - } - - return $res; - } - - /** - * Fetches module translation updates from wordpress.org. - * - * @author Leo Fajardo (@leorw) - * @since 2.1.2 - * - * @param string $module_type - * @param string $slug - * - * @return array|null - */ - private function fetch_wp_org_module_translation_updates( $module_type, $slug ) { - $plugin_data = $this->_fs->get_plugin_data(); - - $locales = array_values( get_available_languages() ); - $locales = apply_filters( "{$module_type}_update_check_locales", $locales ); - $locales = array_unique( $locales ); - - $plugin_basename = $this->_fs->get_plugin_basename(); - if ( 'themes' === $module_type ) { - $plugin_basename = $slug; - } - - global $wp_version; - - $request_args = array( - 'timeout' => 15, - 'body' => array( - "{$module_type}" => json_encode( - array( - "{$module_type}" => array( - $plugin_basename => array( - 'Name' => trim( str_replace( $this->_fs->get_plugin()->premium_suffix, '', $plugin_data['Name'] ) ), - 'Author' => $plugin_data['Author'], - ) - ) - ) - ), - 'translations' => json_encode( $this->get_installed_translations( $module_type, $slug ) ), - 'locale' => json_encode( $locales ) - ), - 'user-agent' => ( 'WordPress/' . $wp_version . '; ' . home_url( '/' ) ) - ); - - $url = "http://api.wordpress.org/{$module_type}/update-check/1.1/"; - if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) { - $url = set_url_scheme( $url, 'https' ); - } - - $raw_response = Freemius::safe_remote_post( - $url, - $request_args, - WP_FS__TIME_24_HOURS_IN_SEC, - WP_FS__TIME_12_HOURS_IN_SEC, - false - ); - - if ( is_wp_error( $raw_response ) ) { - return null; - } - - $response = json_decode( wp_remote_retrieve_body( $raw_response ), true ); - - if ( ! is_array( $response ) ) { - return null; - } - - if ( ! isset( $response['translations'] ) || empty( $response['translations'] ) ) { - return null; - } - - return $response['translations']; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.2 - * - * @param string $module_type - * @param string $slug - * - * @return array - */ - private function get_installed_translations( $module_type, $slug ) { - if ( function_exists( 'wp_get_installed_translations' ) ) { - return wp_get_installed_translations( $module_type ); - } - - $dir = "/{$module_type}"; - - if ( ! is_dir( WP_LANG_DIR . $dir ) ) - return array(); - - $files = scandir( WP_LANG_DIR . $dir ); - if ( ! $files ) - return array(); - - $language_data = array(); - - foreach ( $files as $file ) { - if ( 0 !== strpos( $file, $slug ) ) { - continue; - } - - if ( '.' === $file[0] || is_dir( WP_LANG_DIR . "{$dir}/{$file}" ) ) { - continue; - } - - if ( substr( $file, -3 ) !== '.po' ) { - continue; - } - - if ( ! preg_match( '/(?:(.+)-)?([a-z]{2,3}(?:_[A-Z]{2})?(?:_[a-z0-9]+)?).po/', $file, $match ) ) { - continue; - } - - if ( ! in_array( substr( $file, 0, -3 ) . '.mo', $files ) ) { - continue; - } - - list( , $textdomain, $language ) = $match; - - if ( '' === $textdomain ) { - $textdomain = 'default'; - } - - $language_data[ $textdomain ][ $language ] = wp_get_pomo_file_data( WP_LANG_DIR . "{$dir}/{$file}" ); - } - - return $language_data; - } - - /** - * Updates information on the "View version x.x details" page with custom data. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @uses FS_Api - * - * @param object $data - * @param string $action - * @param mixed $args - * - * @return object - */ - function plugins_api_filter( $data, $action = '', $args = null ) { - $this->_logger->entrance(); - - if ( ( 'plugin_information' !== $action ) || - ! isset( $args->slug ) - ) { - return $data; - } - - $addon = false; - $is_addon = false; - - if ( $this->_fs->get_slug() !== $args->slug ) { - $addon = $this->_fs->get_addon_by_slug( $args->slug ); - - if ( ! is_object( $addon ) ) { - return $data; - } - - $is_addon = true; - } - - $plugin_in_repo = false; - if ( ! $is_addon ) { - // Try to fetch info from .org repository. - $data = self::_fetch_plugin_info_from_repository( $action, $args ); - - $plugin_in_repo = ( false !== $data ); - } - - if ( ! $plugin_in_repo ) { - $data = $args; - - // Fetch as much as possible info from local files. - $plugin_local_data = $this->_fs->get_plugin_data(); - $data->name = $plugin_local_data['Name']; - $data->author = $plugin_local_data['Author']; - $data->sections = array( - 'description' => 'Upgrade ' . $plugin_local_data['Name'] . ' to latest.', - ); - - // @todo Store extra plugin info on Freemius or parse readme.txt markup. - /*$info = $this->_fs->get_api_site_scope()->call('/information.json'); - -if ( !isset($info->error) ) { - $data = $info; -}*/ - } - - $plugin_version = $this->_fs->get_plugin_version(); - - // Get plugin's newest update. - $new_version = $this->get_latest_download_details( $is_addon ? $addon->id : false, $plugin_version ); - - if ( ! is_object( $new_version ) || empty( $new_version->version ) ) { - $data->version = $plugin_version; - } else { - if ( $is_addon ) { - $data->name = $addon->title . ' ' . $this->_fs->get_text_inline( 'Add-On', 'addon' ); - $data->slug = $addon->slug; - $data->url = WP_FS__ADDRESS; - $data->package = $new_version->url; - } - - if ( ! $plugin_in_repo ) { - $data->last_updated = ! is_null( $new_version->updated ) ? $new_version->updated : $new_version->created; - $data->requires = $new_version->requires_platform_version; - $data->tested = $new_version->tested_up_to_version; - } - - $data->version = $new_version->version; - $data->download_link = $new_version->url; - - if ( isset( $new_version->readme ) && is_object( $new_version->readme ) ) { - $new_version_readme_data = $new_version->readme; - if ( isset( $new_version_readme_data->sections ) ) { - $new_version_readme_data->sections = (array) $new_version_readme_data->sections; - } else { - $new_version_readme_data->sections = array(); - } - - if ( isset( $data->sections ) ) { - if ( isset( $data->sections['screenshots'] ) ) { - $new_version_readme_data->sections['screenshots'] = $data->sections['screenshots']; - } - - if ( isset( $data->sections['reviews'] ) ) { - $new_version_readme_data->sections['reviews'] = $data->sections['reviews']; - } - } - - if ( isset( $new_version_readme_data->banners ) ) { - $new_version_readme_data->banners = (array) $new_version_readme_data->banners; - } else if ( isset( $data->banners ) ) { - $new_version_readme_data->banners = $data->banners; - } - - $wp_org_sections = array( - 'author', - 'author_profile', - 'rating', - 'ratings', - 'num_ratings', - 'support_threads', - 'support_threads_resolved', - 'active_installs', - 'added', - 'homepage' - ); - - foreach ( $wp_org_sections as $wp_org_section ) { - if ( isset( $data->{$wp_org_section} ) ) { - $new_version_readme_data->{$wp_org_section} = $data->{$wp_org_section}; - } - } - - $data = $new_version_readme_data; - } - } - - return $data; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param number|bool $addon_id - * @param bool|string $newer_than Since 2.2.1 - * @param bool|string $fetch_readme Since 2.2.1 - * - * @return object - */ - private function get_latest_download_details( $addon_id = false, $newer_than = false, $fetch_readme = true ) { - return $this->_fs->_fetch_latest_version( $addon_id, true, WP_FS__TIME_24_HOURS_IN_SEC, $newer_than, $fetch_readme ); - } - - /** - * Checks if a given basename has a matching folder name - * with the current context plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @return bool - */ - private function is_correct_folder_name() { - return ( $this->_fs->get_target_folder_name() == trim( dirname( $this->_fs->get_plugin_basename() ), '/\\' ) ); - } - - /** - * This is a special after upgrade handler for migrating modules - * that didn't use the '-premium' suffix folder structure before - * the migration. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @param bool $response Install response. - * @param array $hook_extra Extra arguments passed to hooked filters. - * @param array $result Installation result data. - * - * @return bool - */ - function _maybe_update_folder_name( $response, $hook_extra, $result ) { - $basename = $this->_fs->get_plugin_basename(); - - if ( true !== $response || - empty( $hook_extra ) || - empty( $hook_extra['plugin'] ) || - $basename !== $hook_extra['plugin'] - ) { - return $response; - } - - $active_plugins_basenames = get_option( 'active_plugins' ); - - for ( $i = 0, $len = count( $active_plugins_basenames ); $i < $len; $i ++ ) { - if ( $basename === $active_plugins_basenames[ $i ] ) { - // Get filename including extension. - $filename = basename( $basename ); - - $new_basename = plugin_basename( - trailingslashit( $this->_fs->is_premium() ? $this->_fs->get_premium_slug() : $this->_fs->get_slug() ) . - $filename - ); - - // Verify that the expected correct path exists. - if ( file_exists( fs_normalize_path( WP_PLUGIN_DIR . '/' . $new_basename ) ) ) { - // Override active plugin name. - $active_plugins_basenames[ $i ] = $new_basename; - update_option( 'active_plugins', $active_plugins_basenames ); - } - - break; - } - } - - return $response; - } - - #---------------------------------------------------------------------------------- - #region Auto Activation - #---------------------------------------------------------------------------------- - - /** - * Installs and active a plugin when explicitly requested that from a 3rd party service. - * - * This logic was inspired by the TGMPA GPL licensed library by Thomas Griffin. - * - * @link http://tgmpluginactivation.com/ - * - * @author Vova Feldman - * @since 1.2.1.7 - * - * @link https://make.wordpress.org/plugins/2017/03/16/clarification-of-guideline-8-executable-code-and-installs/ - * - * @uses WP_Filesystem - * @uses WP_Error - * @uses WP_Upgrader - * @uses Plugin_Upgrader - * @uses Plugin_Installer_Skin - * @uses Plugin_Upgrader_Skin - * - * @param number|bool $plugin_id - * - * @return array - */ - function install_and_activate_plugin( $plugin_id = false ) { - if ( ! empty( $plugin_id ) && ! FS_Plugin::is_valid_id( $plugin_id ) ) { - // Invalid plugin ID. - return array( - 'message' => $this->_fs->get_text_inline( 'Invalid module ID.', 'auto-install-error-invalid-id' ), - 'code' => 'invalid_module_id', - ); - } - - $is_addon = false; - if ( FS_Plugin::is_valid_id( $plugin_id ) && - $plugin_id != $this->_fs->get_id() - ) { - $addon = $this->_fs->get_addon( $plugin_id ); - - if ( ! is_object( $addon ) ) { - // Invalid add-on ID. - return array( - 'message' => $this->_fs->get_text_inline( 'Invalid module ID.', 'auto-install-error-invalid-id' ), - 'code' => 'invalid_module_id', - ); - } - - $slug = $addon->slug; - $premium_slug = $addon->premium_slug; - $title = $addon->title . ' ' . $this->_fs->get_text_inline( 'Add-On', 'addon' ); - - $is_addon = true; - } else { - $slug = $this->_fs->get_slug(); - $premium_slug = $this->_fs->get_premium_slug(); - $title = $this->_fs->get_plugin_title() . - ( $this->_fs->is_addon() ? ' ' . $this->_fs->get_text_inline( 'Add-On', 'addon' ) : '' ); - } - - if ( $this->is_premium_plugin_active( $plugin_id ) ) { - // Premium version already activated. - return array( - 'message' => $is_addon ? - $this->_fs->get_text_inline( 'Premium add-on version already installed.', 'auto-install-error-premium-addon-activated' ) : - $this->_fs->get_text_inline( 'Premium version already active.', 'auto-install-error-premium-activated' ), - 'code' => 'premium_installed', - ); - } - - $latest_version = $this->get_latest_download_details( $plugin_id, false, false ); - $target_folder = $premium_slug; - - // Prep variables for Plugin_Installer_Skin class. - $extra = array(); - $extra['slug'] = $target_folder; - $source = $latest_version->url; - $api = null; - - $install_url = add_query_arg( - array( - 'action' => 'install-plugin', - 'plugin' => urlencode( $slug ), - ), - 'update.php' - ); - - if ( ! class_exists( 'Plugin_Upgrader', false ) ) { - // Include required resources for the installation. - require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; - } - - $skin_args = array( - 'type' => 'web', - 'title' => sprintf( $this->_fs->get_text_inline( 'Installing plugin: %s', 'installing-plugin-x' ), $title ), - 'url' => esc_url_raw( $install_url ), - 'nonce' => 'install-plugin_' . $slug, - 'plugin' => '', - 'api' => $api, - 'extra' => $extra, - ); - -// $skin = new Automatic_Upgrader_Skin( $skin_args ); -// $skin = new Plugin_Installer_Skin( $skin_args ); - $skin = new WP_Ajax_Upgrader_Skin( $skin_args ); - - // Create a new instance of Plugin_Upgrader. - $upgrader = new Plugin_Upgrader( $skin ); - - // Perform the action and install the plugin from the $source urldecode(). - add_filter( 'upgrader_source_selection', array( 'FS_Plugin_Updater', '_maybe_adjust_source_dir' ), 1, 3 ); - - $install_result = $upgrader->install( $source ); - - remove_filter( 'upgrader_source_selection', array( 'FS_Plugin_Updater', '_maybe_adjust_source_dir' ), 1 ); - - if ( is_wp_error( $install_result ) ) { - return array( - 'message' => $install_result->get_error_message(), - 'code' => $install_result->get_error_code(), - ); - } elseif ( is_wp_error( $skin->result ) ) { - return array( - 'message' => $skin->result->get_error_message(), - 'code' => $skin->result->get_error_code(), - ); - } elseif ( $skin->get_errors()->get_error_code() ) { - return array( - 'message' => $skin->get_error_messages(), - 'code' => 'unknown', - ); - } elseif ( is_null( $install_result ) ) { - global $wp_filesystem; - - $error_code = 'unable_to_connect_to_filesystem'; - $error_message = $this->_fs->get_text_inline( 'Unable to connect to the filesystem. Please confirm your credentials.' ); - - // Pass through the error from WP_Filesystem if one was raised. - if ( $wp_filesystem instanceof WP_Filesystem_Base && - is_wp_error( $wp_filesystem->errors ) && - $wp_filesystem->errors->get_error_code() - ) { - $error_message = $wp_filesystem->errors->get_error_message(); - } - - return array( - 'message' => $error_message, - 'code' => $error_code, - ); - } - - // Grab the full path to the main plugin's file. - $plugin_activate = $upgrader->plugin_info(); - - // Try to activate the plugin. - $activation_result = $this->try_activate_plugin( $plugin_activate ); - - if ( is_wp_error( $activation_result ) ) { - return array( - 'message' => $activation_result->get_error_message(), - 'code' => $activation_result->get_error_code(), - ); - } - - return $skin->get_upgrade_messages(); - } - - /** - * Tries to activate a plugin. If fails, returns the error. - * - * @author Vova Feldman - * @since 1.2.1.7 - * - * @param string $file_path Path within wp-plugins/ to main plugin file. - * This determines the styling of the output messages. - * - * @return bool|WP_Error - */ - protected function try_activate_plugin( $file_path ) { - $activate = activate_plugin( $file_path, '', $this->_fs->is_network_active() ); - - return is_wp_error( $activate ) ? - $activate : - true; - } - - /** - * Check if a premium module version is already active. - * - * @author Vova Feldman - * @since 1.2.1.7 - * - * @param number|bool $plugin_id - * - * @return bool - */ - private function is_premium_plugin_active( $plugin_id = false ) { - if ( $plugin_id != $this->_fs->get_id() ) { - return $this->_fs->is_addon_activated( $plugin_id, true ); - } - - return is_plugin_active( $this->_fs->premium_plugin_basename() ); - } - - /** - * Store the basename since it's not always available in the `_maybe_adjust_source_dir` method below. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - * - * @param bool|WP_Error $response Response. - * @param array $hook_extra Extra arguments passed to hooked filters. - * - * @return bool|WP_Error - */ - static function _store_basename_for_source_adjustment( $response, $hook_extra ) { - if ( isset( $hook_extra['plugin'] ) ) { - self::$_upgrade_basename = $hook_extra['plugin']; - } else if ( isset( $hook_extra['theme'] ) ) { - self::$_upgrade_basename = $hook_extra['theme']; - } else { - self::$_upgrade_basename = null; - } - - return $response; - } - - /** - * Adjust the plugin directory name if necessary. - * Assumes plugin has a folder (not a single file plugin). - * - * The final destination directory of a plugin is based on the subdirectory name found in the - * (un)zipped source. In some cases this subdirectory name is not the same as the expected - * slug and the plugin will not be recognized as installed. This is fixed by adjusting - * the temporary unzipped source subdirectory name to the expected plugin slug. - * - * @author Vova Feldman - * @since 1.2.1.7 - * @since 2.2.1 The method was converted to static since when the admin update bulk products via the Updates section, the logic applies the `upgrader_source_selection` filter for every product that is being updated. - * - * @param string $source Path to upgrade/zip-file-name.tmp/subdirectory/. - * @param string $remote_source Path to upgrade/zip-file-name.tmp. - * @param \WP_Upgrader $upgrader Instance of the upgrader which installs the plugin. - * - * @return string|WP_Error - */ - static function _maybe_adjust_source_dir( $source, $remote_source, $upgrader ) { - if ( ! is_object( $GLOBALS['wp_filesystem'] ) ) { - return $source; - } - - $basename = self::$_upgrade_basename; - $is_theme = false; - - // Figure out what the slug is supposed to be. - if ( isset( $upgrader->skin->options['extra'] ) ) { - // Set by the auto-install logic. - $desired_slug = $upgrader->skin->options['extra']['slug']; - } else if ( ! empty( $basename ) ) { - /** - * If it doesn't end with ".php", it's a theme. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - $is_theme = ( ! fs_ends_with( $basename, '.php' ) ); - - $desired_slug = ( ! $is_theme ) ? - dirname( $basename ) : - // Theme slug - $basename; - } else { - // Can't figure out the desired slug, stop the execution. - return $source; - } - - if ( is_multisite() ) { - /** - * If we are running in a multisite environment and the product is not network activated, - * the instance will not exist anyway. Therefore, try to update the source if necessary - * regardless if the Freemius instance of the product exists or not. - * - * @author Vova Feldman - */ - } else if ( ! empty( $basename ) ) { - $fs = Freemius::get_instance_by_file( - $basename, - $is_theme ? - WP_FS__MODULE_TYPE_THEME : - WP_FS__MODULE_TYPE_PLUGIN - ); - - if ( ! is_object( $fs ) ) { - /** - * If the Freemius instance does not exist on a non-multisite network environment, it means that: - * 1. The product is not powered by Freemius; OR - * 2. The product is not activated, therefore, we don't mind if after the update the folder name will change. - * - * @author Leo Fajardo (@leorw) - * @since 2.2.1 - */ - return $source; - } - } - - $subdir_name = untrailingslashit( str_replace( trailingslashit( $remote_source ), '', $source ) ); - - if ( ! empty( $subdir_name ) && $subdir_name !== $desired_slug ) { - $from_path = untrailingslashit( $source ); - $to_path = trailingslashit( $remote_source ) . $desired_slug; - - if ( true === $GLOBALS['wp_filesystem']->move( $from_path, $to_path ) ) { - return trailingslashit( $to_path ); - } - - return new WP_Error( - 'rename_failed', - fs_text_inline( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'module-package-rename-failure' ), - array( - 'found' => $subdir_name, - 'expected' => $desired_slug - ) - ); - } - - return $source; - } - - #endregion - } diff --git a/freemius/includes/class-fs-security.php b/freemius/includes/class-fs-security.php deleted file mode 100644 index 4535aa2..0000000 --- a/freemius/includes/class-fs-security.php +++ /dev/null @@ -1,85 +0,0 @@ -id . - $entity->secret_key . - $entity->public_key . - $action - ); - } - - /** - * @param \FS_Scope_Entity $entity - * @param int|bool $timestamp - * @param string $action - * - * @return array - */ - function get_context_params( FS_Scope_Entity $entity, $timestamp = false, $action = '' ) { - if ( false === $timestamp ) { - $timestamp = time(); - } - - return array( - 's_ctx_type' => $entity->get_type(), - 's_ctx_id' => $entity->id, - 's_ctx_ts' => $timestamp, - 's_ctx_secure' => $this->get_secure_token( $entity, $timestamp, $action ), - ); - } - } diff --git a/freemius/includes/class-fs-storage.php b/freemius/includes/class-fs-storage.php deleted file mode 100644 index 0849212..0000000 --- a/freemius/includes/class-fs-storage.php +++ /dev/null @@ -1,524 +0,0 @@ -_module_type = $module_type; - $this->_module_slug = $slug; - $this->_is_multisite = is_multisite(); - - if ( $this->_is_multisite ) { - $this->_blog_id = get_current_blog_id(); - $this->_network_storage = FS_Key_Value_Storage::instance( $module_type . '_data', $slug, true ); - } - - $this->_storage = FS_Key_Value_Storage::instance( $module_type . '_data', $slug, $this->_blog_id ); - } - - /** - * Tells this storage wrapper class that the context plugin is network active. This flag will affect how values - * are retrieved/stored from/into the storage. - * - * @author Leo Fajardo (@leorw) - * - * @param bool $is_network_active - * @param bool $is_delegated_connection - */ - function set_network_active( $is_network_active = true, $is_delegated_connection = false ) { - $this->_is_network_active = $is_network_active; - $this->_is_delegated_connection = $is_delegated_connection; - } - - /** - * Switch the context of the site level storage manager. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - */ - function set_site_blog_context( $blog_id ) { - $this->_storage = $this->get_site_storage( $blog_id ); - $this->_blog_id = $blog_id; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $key - * @param mixed $value - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_BINARY_MAP). - * @param bool $flush - */ - function store( $key, $value, $network_level_or_blog_id = null, $flush = true ) { - if ( $this->should_use_network_storage( $key, $network_level_or_blog_id ) ) { - $this->_network_storage->store( $key, $value, $flush ); - } else { - $storage = $this->get_site_storage( $network_level_or_blog_id ); - $storage->store( $key, $value, $flush ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param bool $store - * @param string[] $exceptions Set of keys to keep and not clear. - * @param int|null|bool $network_level_or_blog_id - */ - function clear_all( $store = true, $exceptions = array(), $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite || - false === $network_level_or_blog_id || - is_null( $network_level_or_blog_id ) || - is_numeric( $network_level_or_blog_id ) - ) { - $storage = $this->get_site_storage( $network_level_or_blog_id ); - $storage->clear_all( $store, $exceptions ); - } - - if ( $this->_is_multisite && - ( true === $network_level_or_blog_id || is_null( $network_level_or_blog_id ) ) - ) { - $this->_network_storage->clear_all( $store, $exceptions ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $key - * @param bool $store - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_BINARY_MAP). - */ - function remove( $key, $store = true, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_storage( $key, $network_level_or_blog_id ) ) { - $this->_network_storage->remove( $key, $store ); - } else { - $storage = $this->get_site_storage( $network_level_or_blog_id ); - $storage->remove( $key, $store ); - } - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $key - * @param mixed $default - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_BINARY_MAP). - * - * @return mixed - */ - function get( $key, $default = false, $network_level_or_blog_id = null ) { - if ( $this->should_use_network_storage( $key, $network_level_or_blog_id ) ) { - return $this->_network_storage->get( $key, $default ); - } else { - $storage = $this->get_site_storage( $network_level_or_blog_id ); - - return $storage->get( $key, $default ); - } - } - - /** - * Multisite activated: - * true: Save network storage. - * int: Save site specific storage. - * false|0: Save current site storage. - * null: Save network and current site storage. - * Site level activated: - * Save site storage. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param bool|int|null $network_level_or_blog_id - */ - function save( $network_level_or_blog_id = null ) { - if ( $this->_is_network_active && - ( true === $network_level_or_blog_id || is_null( $network_level_or_blog_id ) ) - ) { - $this->_network_storage->save(); - } - - if ( ! $this->_is_network_active || true !== $network_level_or_blog_id ) { - $storage = $this->get_site_storage( $network_level_or_blog_id ); - $storage->save(); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function get_module_slug() { - return $this->_module_slug; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function get_module_type() { - return $this->_module_type; - } - - /** - * Migration script to the new storage data structure that is network compatible. - * - * IMPORTANT: - * This method should be executed only after it is determined if this is a network - * level compatible product activation. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function migrate_to_network() { - if ( ! $this->_is_multisite ) { - return; - } - - $updated = false; - - if ( ! isset( self::$_NETWORK_OPTIONS_MAP ) ) { - self::load_network_options_map(); - } - - foreach ( self::$_NETWORK_OPTIONS_MAP as $option => $storage_level ) { - if ( ! $this->is_multisite_option( $option ) ) { - continue; - } - - if ( isset( $this->_storage->{$option} ) && ! isset( $this->_network_storage->{$option} ) ) { - // Migrate option to the network storage. - $this->_network_storage->store( $option, $this->_storage->{$option}, false ); - - /** - * Remove the option from site level storage. - * - * IMPORTANT: - * The line below is intentionally commented since we want to preserve the option - * on the site storage level for "downgrade compatibility". Basically, if the user - * will downgrade to an older version of the plugin with the prev storage structure, - * it will continue working. - * - * @todo After a few releases we can remove this. - */ -// $this->_storage->remove($option, false); - - $updated = true; - } - } - - if ( ! $updated ) { - return; - } - - // Update network level storage. - $this->_network_storage->save(); -// $this->_storage->save(); - } - - #-------------------------------------------------------------------------------- - #region Helper Methods - #-------------------------------------------------------------------------------- - - /** - * We don't want to load the map right away since it's not even needed in a non-MS environment. - * - * Example: - * array( - * 'option1' => 0, // Means that the option should always be stored on the network level. - * 'option2' => 1, // Means that the option should be stored on the network level only when the module was network level activated. - * 'option2' => 2, // Means that the option should be stored on the network level only when the module was network level activated AND the connection was NOT delegated. - * 'option3' => 3, // Means that the option should always be stored on the site level. - * ) - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - private static function load_network_options_map() { - self::$_NETWORK_OPTIONS_MAP = array( - // Network level options. - 'affiliate_application_data' => 0, - 'connectivity_test' => 0, - 'handle_gdpr_admin_notice' => 0, - 'has_trial_plan' => 0, - 'install_sync_timestamp' => 0, - 'install_sync_cron' => 0, - 'is_anonymous_ms' => 0, - 'is_on' => 0, - 'is_plugin_new_install' => 0, - 'network_install_blog_id' => 0, - 'pending_sites_info' => 0, - 'plugin_last_version' => 0, - 'plugin_main_file' => 0, - 'plugin_version' => 0, - 'sdk_downgrade_mode' => 0, - 'sdk_last_version' => 0, - 'sdk_upgrade_mode' => 0, - 'sdk_version' => 0, - 'sticky_optin_added_ms' => 0, - 'subscriptions' => 0, - 'sync_timestamp' => 0, - 'sync_cron' => 0, - 'was_plugin_loaded' => 0, - 'network_user_id' => 0, - 'plugin_upgrade_mode' => 0, - 'plugin_downgrade_mode' => 0, - 'is_network_connected' => 0, - /** - * Special flag that is used when a super-admin upgrades to the new version of the SDK that - * supports network level integration, when the connection decision wasn't made for all of the - * sites in the network. - */ - 'is_network_activation' => 0, - - // When network activated, then network level. - 'install_timestamp' => 1, - 'prev_is_premium' => 1, - 'require_license_activation' => 1, - - // If not network activated OR delegated, then site level. - 'activation_timestamp' => 2, - 'prev_user_id' => 2, - 'sticky_optin_added' => 2, - 'uninstall_reason' => 2, - 'is_pending_activation' => 2, - 'pending_license_key' => 2, - - // Site level options. - 'is_anonymous' => 3, - ); - } - - /** - * This method will and should only be executed when is_multisite() is true. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $key - * - * @return bool|mixed - */ - private function is_multisite_option( $key ) { - if ( ! isset( self::$_NETWORK_OPTIONS_MAP ) ) { - self::load_network_options_map(); - } - - if ( ! isset( self::$_NETWORK_OPTIONS_MAP[ $key ] ) ) { - // Option not found -> use site level storage. - return false; - } - - if ( 0 === self::$_NETWORK_OPTIONS_MAP[ $key ] ) { - // Option found and set to always use the network level storage on a multisite. - return true; - } - - if ( 3 === self::$_NETWORK_OPTIONS_MAP[ $key ] ) { - // Option found and set to always use the site level storage on a multisite. - return false; - } - - if ( ! $this->_is_network_active ) { - return false; - } - - if ( 1 === self::$_NETWORK_OPTIONS_MAP[ $key ] ) { - // Network activated. - return true; - } - - if ( 2 === self::$_NETWORK_OPTIONS_MAP[ $key ] && ! $this->_is_delegated_connection ) { - // Network activated and not delegated. - return true; - } - - return false; - } - - /** - * @author Leo Fajardo - * - * @param string $key - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_BINARY_MAP). - * - * @return bool - */ - private function should_use_network_storage( $key, $network_level_or_blog_id = null ) { - if ( ! $this->_is_multisite ) { - // Not a multisite environment. - return false; - } - - if ( is_numeric( $network_level_or_blog_id ) ) { - // Explicitly asked to use a specified blog storage. - return false; - } - - if ( is_bool( $network_level_or_blog_id ) ) { - // Explicitly specified whether should use the network or blog level storage. - return $network_level_or_blog_id; - } - - // Determine which storage to use based on the option. - return $this->is_multisite_option( $key ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $blog_id - * - * @return \FS_Key_Value_Storage - */ - private function get_site_storage( $blog_id = 0 ) { - if ( ! is_numeric( $blog_id ) || - $blog_id == $this->_blog_id || - 0 == $blog_id - ) { - return $this->_storage; - } - - return FS_Key_Value_Storage::instance( - $this->_module_type . '_data', - $this->_storage->get_secondary_id(), - $blog_id - ); - } - - #endregion - - #-------------------------------------------------------------------------------- - #region Magic methods - #-------------------------------------------------------------------------------- - - function __set( $k, $v ) { - if ( $this->should_use_network_storage( $k ) ) { - $this->_network_storage->{$k} = $v; - } else { - $this->_storage->{$k} = $v; - } - } - - function __isset( $k ) { - return $this->should_use_network_storage( $k ) ? - isset( $this->_network_storage->{$k} ) : - isset( $this->_storage->{$k} ); - } - - function __unset( $k ) { - if ( $this->should_use_network_storage( $k ) ) { - unset( $this->_network_storage->{$k} ); - } else { - unset( $this->_storage->{$k} ); - } - } - - function __get( $k ) { - return $this->should_use_network_storage( $k ) ? - $this->_network_storage->{$k} : - $this->_storage->{$k}; - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/class-fs-user-lock.php b/freemius/includes/class-fs-user-lock.php deleted file mode 100644 index 842cbba..0000000 --- a/freemius/includes/class-fs-user-lock.php +++ /dev/null @@ -1,126 +0,0 @@ -_wp_user_id = Freemius::get_current_wp_user_id(); - $this->_thread_id = mt_rand( 0, 32000 ); - } - - - /** - * Try to acquire lock. If the lock is already set or is being acquired by another locker, don't do anything. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @param int $expiration - * - * @return bool TRUE if successfully acquired lock. - */ - function try_lock( $expiration = 0 ) { - if ( $this->is_locked() ) { - // Already locked. - return false; - } - - set_site_transient( "locked_{$this->_wp_user_id}", $this->_thread_id, $expiration ); - - if ( $this->has_lock() ) { - set_site_transient( "locked_{$this->_wp_user_id}", true, $expiration ); - - return true; - } - - return false; - } - - /** - * Acquire lock regardless if it's already acquired by another locker or not. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @param int $expiration - */ - function lock( $expiration = 0 ) { - set_site_transient( "locked_{$this->_wp_user_id}", true, $expiration ); - } - - /** - * Checks if lock is currently acquired. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return bool - */ - function is_locked() { - return ( false !== get_site_transient( "locked_{$this->_wp_user_id}" ) ); - } - - /** - * Unlock the lock. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - */ - function unlock() { - delete_site_transient( "locked_{$this->_wp_user_id}" ); - } - - /** - * Checks if lock is currently acquired by the current locker. - * - * @return bool - */ - private function has_lock() { - return ( $this->_thread_id == get_site_transient( "locked_{$this->_wp_user_id}" ) ); - } - } \ No newline at end of file diff --git a/freemius/includes/customizer/class-fs-customizer-support-section.php b/freemius/includes/customizer/class-fs-customizer-support-section.php deleted file mode 100644 index e84b535..0000000 --- a/freemius/includes/customizer/class-fs-customizer-support-section.php +++ /dev/null @@ -1,102 +0,0 @@ -register_section_type( 'FS_Customizer_Support_Section' ); - - parent::__construct( $manager, $id, $args ); - } - - /** - * The type of customize section being rendered. - * - * @since 1.0.0 - * @access public - * @var string - */ - public $type = 'freemius-support-section'; - - /** - * @var Freemius - */ - public $fs = null; - - /** - * Add custom parameters to pass to the JS via JSON. - * - * @since 1.0.0 - */ - public function json() { - $json = parent::json(); - - $is_contact_visible = $this->fs->is_page_visible( 'contact' ); - $is_support_visible = $this->fs->is_page_visible( 'support' ); - - $json['theme_title'] = $this->fs->get_plugin_name(); - - if ( $is_contact_visible && $is_support_visible ) { - $json['theme_title'] .= ' ' . $this->fs->get_text_inline( 'Support', 'support' ); - } - - if ( $is_contact_visible ) { - $json['contact'] = array( - 'label' => $this->fs->get_text_inline( 'Contact Us', 'contact-us' ), - 'url' => $this->fs->contact_url(), - ); - } - - if ( $is_support_visible ) { - $json['support'] = array( - 'label' => $this->fs->get_text_inline( 'Support Forum', 'support-forum' ), - 'url' => $this->fs->get_support_forum_url() - ); - } - - return $json; - } - - /** - * Outputs the Underscore.js template. - * - * @since 1.0.0 - */ - protected function render_template() { - ?> -
  • -

    - {{ data.theme_title }} - <# if ( data.contact && data.support ) { #> -
    - <# } #> - <# if ( data.contact ) { #> - {{ data.contact.label }} - <# } #> - <# if ( data.support ) { #> - {{ data.support.label }} - <# } #> - <# if ( data.contact && data.support ) { #> -
    - <# } #> -

    -
  • - register_control_type( 'FS_Customizer_Upsell_Control' ); - - parent::__construct( $manager, $id, $args ); - } - - /** - * Enqueue resources for the control. - */ - public function enqueue() { - fs_enqueue_local_style( 'fs_customizer', 'customizer.css' ); - } - - /** - * Json conversion - */ - public function to_json() { - $pricing_cta = esc_html( $this->fs->get_pricing_cta_label() ) . '  ' . ( is_rtl() ? '←' : '➤' ); - - parent::to_json(); - - $this->json['button_text'] = $pricing_cta; - $this->json['button_url'] = $this->fs->is_in_trial_promotion() ? - $this->fs->get_trial_url() : - $this->fs->get_upgrade_url(); - - // Load features. - $pricing = $this->fs->get_api_plugin_scope()->get( $this->fs->add_show_pending( "pricing.json" ) ); - - if ( $this->fs->is_api_result_object( $pricing, 'plans' ) ) { - // Add support features. - if ( is_array( $pricing->plans ) && 0 < count( $pricing->plans ) ) { - $support_features = array( - 'kb' => 'Help Center', - 'forum' => 'Support Forum', - 'email' => 'Priority Email Support', - 'phone' => 'Phone Support', - 'skype' => 'Skype Support', - 'is_success_manager' => 'Personal Success Manager', - ); - - for ( $i = 0, $len = count( $pricing->plans ); $i < $len; $i ++ ) { - if ( 'free' == $pricing->plans[$i]->name ) { - continue; - } - - if ( ! isset( $pricing->plans[ $i ]->features ) || - ! is_array( $pricing->plans[ $i ]->features ) ) { - $pricing->plans[$i]->features = array(); - } - - foreach ( $support_features as $key => $label ) { - $key = ( 'is_success_manager' !== $key ) ? - "support_{$key}" : - $key; - - if ( ! empty( $pricing->plans[ $i ]->{$key} ) ) { - - $support_feature = new stdClass(); - $support_feature->title = $label; - - $pricing->plans[ $i ]->features[] = $support_feature; - } - } - } - } - } - - $this->json['plans'] = $pricing->plans; - - $this->json['strings'] = array( - 'plan' => $this->fs->get_text_x_inline( 'Plan', 'as product pricing plan', 'plan' ), - ); - } - - /** - * Control content - */ - public function content_template() { - ?> -
    - <# if ( data.plans ) { #> -
      - <# for (i in data.plans) { #> - <# if ( 'free' != data.plans[i].name && (null != data.plans[i].features && 0 < data.plans[i].features.length) ) { #> -
    • -
      - -
      - <# if ( data.plans[i].description ) { #> -

      {{ data.plans[i].description }}

      - <# } #> - <# if ( data.plans[i].features ) { #> -
        - <# for ( j in data.plans[i].features ) { #> -
      • - <# if ( data.plans[i].features[j].value ) { #>{{ data.plans[i].features[j].value }} <# } #>{{ data.plans[i].features[j].title }} - <# if ( data.plans[i].features[j].description ) { #> - {{ data.plans[i].features[j].description }} - <# } #> -
      • - <# } #> -
      - <# } #> - <# if ( 'free' != data.plans[i].name ) { #> - {{{ data.button_text }}} - <# } #> -
      -
      -
    • - <# } #> - <# } #> -
    - <# } #> -
    - title( 'Freemius' ); - } - - static function requests_count() { - if ( class_exists( 'Freemius_Api_WordPress' ) ) { - $logger = Freemius_Api_WordPress::GetLogger(); - } else { - $logger = array(); - } - - return number_format( count( $logger ) ); - } - - static function total_time() { - if ( class_exists( 'Freemius_Api_WordPress' ) ) { - $logger = Freemius_Api_WordPress::GetLogger(); - } else { - $logger = array(); - } - - $total_time = .0; - foreach ( $logger as $l ) { - $total_time += $l['total']; - } - - return number_format( 100 * $total_time, 2 ) . ' ' . fs_text_x_inline( 'ms', 'milliseconds' ); - } - - function render() { - ?> -
    - -
    - -
    - -
    - -
    - commission_type ) ? - ( '$' . $this->commission ) : - ( $this->commission . '%' ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @return bool - */ - function has_lifetime_commission() { - return ( 0 !== $this->future_payments_days ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @return bool - */ - function is_session_cookie() { - return ( 0 == $this->cookie_days ); - } - - /** - * @author Leo Fajardo (@leorw) - * - * @return bool - */ - function has_renewals_commission() { - return ( is_null( $this->commission_renewals_days ) || $this->commission_renewals_days > 0 ); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-affiliate.php b/freemius/includes/entities/class-fs-affiliate.php deleted file mode 100644 index cdae366..0000000 --- a/freemius/includes/entities/class-fs-affiliate.php +++ /dev/null @@ -1,84 +0,0 @@ -status ); - } - - /** - * @author Leo Fajardo - * - * @return bool - */ - function is_pending() { - return ( 'pending' === $this->status ); - } - - /** - * @author Leo Fajardo - * - * @return bool - */ - function is_suspended() { - return ( 'suspended' === $this->status ); - } - - /** - * @author Leo Fajardo - * - * @return bool - */ - function is_rejected() { - return ( 'rejected' === $this->status ); - } - - /** - * @author Leo Fajardo - * - * @return bool - */ - function is_blocked() { - return ( 'blocked' === $this->status ); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-billing.php b/freemius/includes/entities/class-fs-billing.php deleted file mode 100644 index bf68401..0000000 --- a/freemius/includes/entities/class-fs-billing.php +++ /dev/null @@ -1,95 +0,0 @@ - $def_value ) { - $this->{$key} = isset( $entity->{$key} ) ? - $entity->{$key} : - $def_value; - } - } - - static function get_type() { - return 'type'; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param FS_Entity $entity1 - * @param FS_Entity $entity2 - * - * @return bool - */ - static function equals( $entity1, $entity2 ) { - if ( is_null( $entity1 ) && is_null( $entity2 ) ) { - return true; - } else if ( is_object( $entity1 ) && is_object( $entity2 ) ) { - return ( $entity1->id == $entity2->id ); - } else if ( is_object( $entity1 ) ) { - return is_null( $entity1->id ); - } else { - return is_null( $entity2->id ); - } - } - - private $_is_updated = false; - - /** - * Update object property. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string|array[string]mixed $key - * @param string|bool $val - * - * @return bool - */ - function update( $key, $val = false ) { - if ( ! is_array( $key ) ) { - $key = array( $key => $val ); - } - - $is_updated = false; - - foreach ( $key as $k => $v ) { - if ( $this->{$k} === $v ) { - continue; - } - - if ( ( is_string( $this->{$k} ) && is_numeric( $v ) || - ( is_numeric( $this->{$k} ) && is_string( $v ) ) ) && - $this->{$k} == $v - ) { - continue; - } - - // Update value. - $this->{$k} = $v; - - $is_updated = true; - } - - $this->_is_updated = $is_updated; - - return $is_updated; - } - - /** - * Checks if entity was updated. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_updated() { - return $this->_is_updated; - } - - /** - * @param $id - * - * @author Vova Feldman (@svovaf) - * @since 1.1.2 - * - * @return bool - */ - static function is_valid_id($id){ - return is_numeric($id); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-payment.php b/freemius/includes/entities/class-fs-payment.php deleted file mode 100644 index dd05c2f..0000000 --- a/freemius/includes/entities/class-fs-payment.php +++ /dev/null @@ -1,110 +0,0 @@ -bound_payment_id ) && 0 > $this->gross ); - } - - /** - * Checks if the payment was migrated from another platform. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.2 - * - * @return bool - */ - function is_migrated() { - return ( 0 != $this->source ); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-plugin-info.php b/freemius/includes/entities/class-fs-plugin-info.php deleted file mode 100644 index f546534..0000000 --- a/freemius/includes/entities/class-fs-plugin-info.php +++ /dev/null @@ -1,34 +0,0 @@ -is_active() || $this->is_expired() ) { - return 0; - } - - if ( $this->is_unlimited() ) { - return 999; - } - - return ( $this->quota - $this->activated - ( $this->is_free_localhost ? 0 : $this->activated_local ) ); - } - - /** - * Check if single site license. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8.1 - * - * @return bool - */ - function is_single_site() { - return ( is_numeric( $this->quota ) && 1 == $this->quota ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.5 - * - * @return bool - */ - function is_expired() { - return ! $this->is_lifetime() && ( strtotime( $this->expiration ) < WP_FS__SCRIPT_START_TIME ); - } - - /** - * Check if license is not expired. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @return bool - */ - function is_valid() { - return ! $this->is_expired(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function is_lifetime() { - return is_null( $this->expiration ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.0 - * - * @return bool - */ - function is_unlimited() { - return is_null( $this->quota ); - } - - /** - * Check if license is fully utilized. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool|null $is_localhost - * - * @return bool - */ - function is_utilized( $is_localhost = null ) { - if ( is_null( $is_localhost ) ) { - $is_localhost = WP_FS__IS_LOCALHOST_FOR_SERVER; - } - - if ( $this->is_unlimited() ) { - return false; - } - - return ! ( $this->is_free_localhost && $is_localhost ) && - ( $this->quota <= $this->activated + ( $this->is_free_localhost ? 0 : $this->activated_local ) ); - } - - /** - * Check if license can be activated. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param bool|null $is_localhost - * - * @return bool - */ - function can_activate( $is_localhost = null ) { - return ! $this->is_utilized( $is_localhost ) && $this->is_features_enabled(); - } - - /** - * Check if license can be activated on a given number of production and localhost sites. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param int $production_count - * @param int $localhost_count - * - * @return bool - */ - function can_activate_bulk( $production_count, $localhost_count ) { - if ( $this->is_unlimited() ) { - return true; - } - - /** - * For simplicity, the logic will work as following: when given X sites to activate the license on, if it's - * possible to activate on ALL of them, do the activation. If it's not possible to activate on ALL of them, - * do NOT activate on any of them. - */ - return ( $this->quota >= $this->activated + $production_count + ( $this->is_free_localhost ? 0 : $this->activated_local + $localhost_count ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.1 - * - * @return bool - */ - function is_active() { - return ( ! $this->is_cancelled ); - } - - /** - * Check if license's plan features are enabled. - * - * - Either if plan not expired - * - If expired, based on the configuration to block features or not. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function is_features_enabled() { - return $this->is_active() && ( ! $this->is_block_features || ! $this->is_expired() ); - } - - /** - * Subscription considered to be new without any payments - * if the license expires in less than 24 hours - * from the license creation. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_first_payment_pending() { - return ( WP_FS__TIME_24_HOURS_IN_SEC >= strtotime( $this->expiration ) - strtotime( $this->created ) ); - } - - /** - * @return int - */ - function total_activations() { - return ( $this->activated + $this->activated_local ); - } - } diff --git a/freemius/includes/entities/class-fs-plugin-plan.php b/freemius/includes/entities/class-fs-plugin-plan.php deleted file mode 100644 index 00a0d74..0000000 --- a/freemius/includes/entities/class-fs-plugin-plan.php +++ /dev/null @@ -1,145 +0,0 @@ -name = strtolower( $plan->name ); - } - } - - static function get_type() { - return 'plan'; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_free() { - return ( 'free' === $this->name ); - } - - /** - * Checks if this plan supports "Technical Support". - * - * @author Leo Fajardo (leorw) - * @since 1.2.0 - * - * @return bool - */ - function has_technical_support() { - return ( ! empty( $this->support_email ) || - ! empty( $this->support_skype ) || - ! empty( $this->support_phone ) || - ! empty( $this->is_success_manager ) - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function has_trial() { - return ! $this->is_free() && - is_numeric( $this->trial_period ) && ( $this->trial_period > 0 ); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-plugin-tag.php b/freemius/includes/entities/class-fs-plugin-tag.php deleted file mode 100644 index 172da23..0000000 --- a/freemius/includes/entities/class-fs-plugin-tag.php +++ /dev/null @@ -1,50 +0,0 @@ -is_premium = false; - $this->is_live = true; - - if ( empty( $this->premium_slug ) && ! empty( $plugin->slug ) ) { - $this->premium_slug = "{$this->slug}-premium"; - } - - if ( empty( $this->premium_suffix ) ) { - $this->premium_suffix = '(Premium)'; - } - - if ( isset( $plugin->info ) && is_object( $plugin->info ) ) { - $this->info = new FS_Plugin_Info( $plugin->info ); - } - } - - /** - * Check if plugin is an add-on (has parent). - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool - */ - function is_addon() { - return isset( $this->parent_plugin_id ) && is_numeric( $this->parent_plugin_id ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.3 - * - * @return bool - */ - function has_affiliate_program() { - return ( ! empty( $this->affiliate_moderation ) ); - } - - static function get_type() { - return 'plugin'; - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-pricing.php b/freemius/includes/entities/class-fs-pricing.php deleted file mode 100644 index f08b85d..0000000 --- a/freemius/includes/entities/class-fs-pricing.php +++ /dev/null @@ -1,141 +0,0 @@ -monthly_price ) && $this->monthly_price > 0 ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return bool - */ - function has_annual() { - return ( is_numeric( $this->annual_price ) && $this->annual_price > 0 ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return bool - */ - function has_lifetime() { - return ( is_numeric( $this->lifetime_price ) && $this->lifetime_price > 0 ); - } - - /** - * Check if unlimited licenses pricing. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return bool - */ - function is_unlimited() { - return is_null( $this->licenses ); - } - - - /** - * Check if pricing has more than one billing cycle. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return bool - */ - function is_multi_cycle() { - $cycles = 0; - if ( $this->has_monthly() ) { - $cycles ++; - } - if ( $this->has_annual() ) { - $cycles ++; - } - if ( $this->has_lifetime() ) { - $cycles ++; - } - - return $cycles > 1; - } - - /** - * Get annual over monthly discount. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return int - */ - function annual_discount_percentage() { - return floor( $this->annual_savings() / ( $this->monthly_price * 12 * ( $this->is_unlimited() ? 1 : $this->licenses ) ) * 100 ); - } - - /** - * Get annual over monthly savings. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.8 - * - * @return float - */ - function annual_savings() { - return ( $this->monthly_price * 12 - $this->annual_price ) * ( $this->is_unlimited() ? 1 : $this->licenses ); - } - - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-scope-entity.php b/freemius/includes/entities/class-fs-scope-entity.php deleted file mode 100644 index 6b83107..0000000 --- a/freemius/includes/entities/class-fs-scope-entity.php +++ /dev/null @@ -1,29 +0,0 @@ -plan_id = $site->plan_id; - } - - if ( ! is_bool( $this->is_disconnected ) ) { - $this->is_disconnected = false; - } - } - - static function get_type() { - return 'install'; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $url - * - * @return bool - */ - static function is_localhost_by_address( $url ) { - if ( false !== strpos( $url, '127.0.0.1' ) || - false !== strpos( $url, 'localhost' ) - ) { - return true; - } - - if ( ! fs_starts_with( $url, 'http' ) ) { - $url = 'http://' . $url; - } - - $url_parts = parse_url( $url ); - - $subdomain = $url_parts['host']; - - return ( - // Starts with. - fs_starts_with( $subdomain, 'local.' ) || - fs_starts_with( $subdomain, 'dev.' ) || - fs_starts_with( $subdomain, 'test.' ) || - fs_starts_with( $subdomain, 'stage.' ) || - fs_starts_with( $subdomain, 'staging.' ) || - - // Ends with. - fs_ends_with( $subdomain, '.dev' ) || - fs_ends_with( $subdomain, '.test' ) || - fs_ends_with( $subdomain, '.staging' ) || - fs_ends_with( $subdomain, '.local' ) || - fs_ends_with( $subdomain, '.example' ) || - fs_ends_with( $subdomain, '.invalid' ) || - // GoDaddy test/dev. - fs_ends_with( $subdomain, '.myftpupload.com' ) || - // ngrok tunneling. - fs_ends_with( $subdomain, '.ngrok.io' ) || - // wpsandbox. - fs_ends_with( $subdomain, '.wpsandbox.pro' ) || - // SiteGround staging. - fs_starts_with( $subdomain, 'staging' ) || - // WPEngine staging. - fs_ends_with( $subdomain, '.staging.wpengine.com' ) || - // Pantheon - ( fs_ends_with($subdomain, 'pantheonsite.io') && - (fs_starts_with($subdomain, 'test-') || fs_starts_with($subdomain, 'dev-'))) || - // Cloudways - fs_ends_with( $subdomain, '.cloudwaysapps.com' ) || - // Kinsta - (fs_ends_with($subdomain, '.kinsta.com') && fs_starts_with($subdomain, 'staging-')) - ); - } - - function is_localhost() { - return ( WP_FS__IS_LOCALHOST_FOR_SERVER || self::is_localhost_by_address( $this->url ) ); - } - - /** - * Check if site in trial. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_trial() { - return is_numeric( $this->trial_plan_id ) && ( strtotime( $this->trial_ends ) > WP_FS__SCRIPT_START_TIME ); - } - - /** - * Check if user already utilized the trial with the current install. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_trial_utilized() { - return is_numeric( $this->trial_plan_id ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function is_tracking_allowed() { - return ( true !== $this->is_disconnected ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function is_tracking_prohibited() { - return ! $this->is_tracking_allowed(); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-subscription.php b/freemius/includes/entities/class-fs-subscription.php deleted file mode 100644 index 8a01402..0000000 --- a/freemius/includes/entities/class-fs-subscription.php +++ /dev/null @@ -1,125 +0,0 @@ -next_payment ) && - ( strtotime( $this->next_payment ) > WP_FS__SCRIPT_START_TIME ); - } - - /** - * Subscription considered to be new without any payments - * if the next payment should be made within less than 24 hours - * from the subscription creation. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @return bool - */ - function is_first_payment_pending() { - return ( WP_FS__TIME_24_HOURS_IN_SEC >= strtotime( $this->next_payment ) - strtotime( $this->created ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - */ - function has_trial() { - return ! is_null( $this->trial_ends ); - } - } \ No newline at end of file diff --git a/freemius/includes/entities/class-fs-user.php b/freemius/includes/entities/class-fs-user.php deleted file mode 100644 index a329e87..0000000 --- a/freemius/includes/entities/class-fs-user.php +++ /dev/null @@ -1,62 +0,0 @@ -first ) ? $this->first : '' ) ) . ' ' . ucfirst( trim( is_string( $this->last ) ? $this->last : '' ) ) ); - } - - function is_verified() { - return ( isset( $this->is_verified ) && true === $this->is_verified ); - } - - static function get_type() { - return 'user'; - } - } \ No newline at end of file diff --git a/freemius/includes/entities/index.php b/freemius/includes/entities/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/includes/entities/index.php +++ /dev/null @@ -1,3 +0,0 @@ - ' : '' ) . $title; - - if ( is_string( $confirmation ) ) { - return sprintf( '
    %s%s
    ', - freemius( $module_id )->_get_admin_page_url( $page, $params ), - $method, - $action, - wp_nonce_field( $action, '_wpnonce', true, false ), - 'button' . ( ! empty( $button_class ) ? ' ' . $button_class : '' ) . ( $is_primary ? ' button-primary' : '' ) . ( $is_small ? ' button-small' : '' ), - $confirmation, - $title - ); - } else if ( 'GET' !== strtoupper( $method ) ) { - return sprintf( '
    %s%s
    ', - freemius( $module_id )->_get_admin_page_url( $page, $params ), - $method, - $action, - wp_nonce_field( $action, '_wpnonce', true, false ), - 'button' . ( ! empty( $button_class ) ? ' ' . $button_class : '' ) . ( $is_primary ? ' button-primary' : '' ) . ( $is_small ? ' button-small' : '' ), - $title - ); - } else { - return sprintf( '%s', - wp_nonce_url( freemius( $module_id )->_get_admin_page_url( $page, array_merge( $params, array( 'fs_action' => $action ) ) ), $action ), - 'button' . ( ! empty( $button_class ) ? ' ' . $button_class : '' ) . ( $is_primary ? ' button-primary' : '' ) . ( $is_small ? ' button-small' : '' ), - $title - ); - } - } - - function fs_ui_action_link( $module_id, $page, $action, $title, $params = array() ) { - ?> 5 ) { - return $url; - } - - return substr( $url, $protocol_pos + 3 ); - } - } - - #region Url Canonization ------------------------------------------------------------------ - - if ( ! function_exists( 'fs_canonize_url' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param string $url - * @param bool $omit_host - * @param array $ignore_params - * - * @return string - */ - function fs_canonize_url( $url, $omit_host = false, $ignore_params = array() ) { - $parsed_url = parse_url( strtolower( $url ) ); - -// if ( ! isset( $parsed_url['host'] ) ) { -// return $url; -// } - - $canonical = ( ( $omit_host || ! isset( $parsed_url['host'] ) ) ? '' : $parsed_url['host'] ) . $parsed_url['path']; - - if ( isset( $parsed_url['query'] ) ) { - parse_str( $parsed_url['query'], $queryString ); - $canonical .= '?' . fs_canonize_query_string( $queryString, $ignore_params ); - } - - return $canonical; - } - } - - if ( ! function_exists( 'fs_canonize_query_string' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param array $params - * @param array $ignore_params - * @param bool $params_prefix - * - * @return string - */ - function fs_canonize_query_string( array $params, array &$ignore_params, $params_prefix = false ) { - if ( ! is_array( $params ) || 0 === count( $params ) ) { - return ''; - } - - // Url encode both keys and values - $keys = fs_urlencode_rfc3986( array_keys( $params ) ); - $values = fs_urlencode_rfc3986( array_values( $params ) ); - $params = array_combine( $keys, $values ); - - // Parameters are sorted by name, using lexicographical byte value ordering. - // Ref: Spec: 9.1.1 (1) - uksort( $params, 'strcmp' ); - - $pairs = array(); - foreach ( $params as $parameter => $value ) { - $lower_param = strtolower( $parameter ); - - // Skip ignore params. - if ( in_array( $lower_param, $ignore_params ) || - ( false !== $params_prefix && fs_starts_with( $lower_param, $params_prefix ) ) - ) { - continue; - } - - if ( is_array( $value ) ) { - // If two or more parameters share the same name, they are sorted by their value - // Ref: Spec: 9.1.1 (1) - natsort( $value ); - foreach ( $value as $duplicate_value ) { - $pairs[] = $lower_param . '=' . $duplicate_value; - } - } else { - $pairs[] = $lower_param . '=' . $value; - } - } - - if ( 0 === count( $pairs ) ) { - return ''; - } - - return implode( "&", $pairs ); - } - } - - if ( ! function_exists( 'fs_urlencode_rfc3986' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param string|string[] $input - * - * @return array|mixed|string - */ - function fs_urlencode_rfc3986( $input ) { - if ( is_array( $input ) ) { - return array_map( 'fs_urlencode_rfc3986', $input ); - } else if ( is_scalar( $input ) ) { - return str_replace( '+', ' ', str_replace( '%7E', '~', rawurlencode( $input ) ) ); - } - - return ''; - } - } - - #endregion Url Canonization ------------------------------------------------------------------ - - /** - * @author Vova Feldman (@svovaf) - * - * @since 1.2.2 Changed to usage of WP_Filesystem_Direct. - * - * @param string $from URL - * @param string $to File path. - * - * @return bool Is successfully downloaded. - */ - function fs_download_image( $from, $to ) { - $dir = dirname( $to ); - - if ( 'direct' !== get_filesystem_method( array(), $dir ) ) { - return false; - } - - if ( ! class_exists( 'WP_Filesystem_Direct' ) ) { - require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php'; - require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-direct.php'; - } - - $fs = new WP_Filesystem_Direct( '' ); - $tmpfile = download_url( $from ); - - if ( $tmpfile instanceof WP_Error ) { - // Issue downloading the file. - return false; - } - - $fs->copy( $tmpfile, $to ); - $fs->delete( $tmpfile ); - - return true; - } - - /* General Utilities - --------------------------------------------------------------------------------------------*/ - - /** - * Sorts an array by the value of the priority key. - * - * @author Daniel Iser (@danieliser) - * @since 1.1.7 - * - * @param $a - * @param $b - * - * @return int - */ - function fs_sort_by_priority( $a, $b ) { - - // If b has a priority and a does not, b wins. - if ( ! isset( $a['priority'] ) && isset( $b['priority'] ) ) { - return 1; - } // If b has a priority and a does not, b wins. - elseif ( isset( $a['priority'] ) && ! isset( $b['priority'] ) ) { - return - 1; - } // If neither has a priority or both priorities are equal its a tie. - elseif ( ( ! isset( $a['priority'] ) && ! isset( $b['priority'] ) ) || $a['priority'] === $b['priority'] ) { - return 0; - } - - // If both have priority return the winner. - return ( $a['priority'] < $b['priority'] ) ? - 1 : 1; - } - - #-------------------------------------------------------------------------------- - #region Localization - #-------------------------------------------------------------------------------- - - if ( ! function_exists( 'fs_text' ) ) { - /** - * Retrieve a translated text by key. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $key - * @param string $slug - * - * @return string - * - * @global $fs_text , $fs_text_overrides - */ - function fs_text( $key, $slug = 'freemius' ) { - global $fs_text, - $fs_module_info_text, - $fs_text_overrides; - - if ( isset( $fs_text_overrides[ $slug ] ) ) { - if ( isset( $fs_text_overrides[ $slug ][ $key ] ) ) { - return $fs_text_overrides[ $slug ][ $key ]; - } - - $lower_key = strtolower( $key ); - if ( isset( $fs_text_overrides[ $slug ][ $lower_key ] ) ) { - return $fs_text_overrides[ $slug ][ $lower_key ]; - } - } - - if ( ! isset( $fs_text ) ) { - $dir = defined( 'WP_FS__DIR_INCLUDES' ) ? - WP_FS__DIR_INCLUDES : - dirname( __FILE__ ); - - require_once $dir . '/i18n.php'; - } - - if ( isset( $fs_text[ $key ] ) ) { - return $fs_text[ $key ]; - } - - if ( isset( $fs_module_info_text[ $key ] ) ) { - return $fs_module_info_text[ $key ]; - } - - return $key; - } - - #region Private - - /** - * Retrieve an inline translated text by key with a context. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - * - * @global $fs_text_overrides - */ - function _fs_text_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - list( $text, $text_domain ) = fs_text_and_domain( $text, $key, $slug ); - - // Avoid misleading Theme Check warning. - $fn = 'translate_with_gettext_context'; - - return $fn( $text, $context, $text_domain ); - } - - #endregion - - /** - * Retrieve an inline translated text by key with a context. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - * - * @global $fs_text_overrides - */ - function fs_text_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - return _fs_text_x_inline( $text, $context, $key, $slug ); - } - - /** - * Output a translated text by key. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $key - * @param string $slug - */ - function fs_echo( $key, $slug = 'freemius' ) { - echo fs_text( $key, $slug ); - } - - /** - * Output an inline translated text. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_echo_inline( $text, $key = '', $slug = 'freemius' ) { - echo _fs_text_inline( $text, $key, $slug ); - } - - /** - * Output an inline translated text with a context. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_echo_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - echo _fs_text_x_inline( $text, $context, $key, $slug ); - } - } - - if ( ! function_exists( 'fs_text_override' ) ) { - /** - * Get a translatable text override if exists, or `false`. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string|false - */ - function fs_text_override( $text, $key, $slug ) { - global $fs_text_overrides; - - /** - * Check if string is overridden. - */ - if ( ! isset( $fs_text_overrides[ $slug ] ) ) { - return false; - } - - if ( empty( $key ) ) { - $key = strtolower( str_replace( ' ', '-', $text ) ); - } - - if ( isset( $fs_text_overrides[ $slug ][ $key ] ) ) { - return $fs_text_overrides[ $slug ][ $key ]; - } - - $lower_key = strtolower( $key ); - if ( isset( $fs_text_overrides[ $slug ][ $lower_key ] ) ) { - return $fs_text_overrides[ $slug ][ $lower_key ]; - } - - return false; - } - } - - if ( ! function_exists( 'fs_text_and_domain' ) ) { - /** - * Get a translatable text and its text domain. - * - * When the text is overridden by the module, returns the overridden text and the text domain of the module. Otherwise, returns the original text and 'freemius' as the text domain. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string[] - */ - function fs_text_and_domain( $text, $key, $slug ) { - $override = fs_text_override( $text, $key, $slug ); - - if ( false === $override ) { - // No override, use FS text domain. - $text_domain = 'freemius'; - } else { - // Found an override. - $text = $override; - // Use the module's text domain. - $text_domain = $slug; - } - - return array( $text, $text_domain ); - } - } - - if ( ! function_exists( '_fs_text_inline' ) ) { - /** - * Retrieve an inline translated text by key. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - * - * @global $fs_text_overrides - */ - function _fs_text_inline( $text, $key = '', $slug = 'freemius' ) { - list( $text, $text_domain ) = fs_text_and_domain( $text, $key, $slug ); - - // Avoid misleading Theme Check warning. - $fn = 'translate'; - - return $fn( $text, $text_domain ); - } - } - - if ( ! function_exists( 'fs_text_inline' ) ) { - /** - * Retrieve an inline translated text by key. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - * - * @global $fs_text_overrides - */ - function fs_text_inline( $text, $key = '', $slug = 'freemius' ) { - return _fs_text_inline( $text, $key, $slug ); - } - } - - if ( ! function_exists( 'fs_esc_attr' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - * - * @return string - */ - function fs_esc_attr( $key, $slug ) { - return esc_attr( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_attr_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_attr_inline( $text, $key = '', $slug = 'freemius' ) { - return esc_attr( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_attr_x_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_attr_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - return esc_attr( _fs_text_x_inline( $text, $context, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_attr_echo' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - */ - function fs_esc_attr_echo( $key, $slug ) { - echo esc_attr( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_attr_echo_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_esc_attr_echo_inline( $text, $key = '', $slug = 'freemius' ) { - echo esc_attr( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - * - * @return string - */ - function fs_esc_js( $key, $slug ) { - return esc_js( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_js_inline( $text, $key = '', $slug = 'freemius' ) { - return esc_js( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js_x_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_js_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - return esc_js( _fs_text_x_inline( $text, $context, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js_echo_x_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_js_echo_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - echo esc_js( _fs_text_x_inline( $text, $context, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js_echo' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - */ - function fs_esc_js_echo( $key, $slug ) { - echo esc_js( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_js_echo_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_esc_js_echo_inline( $text, $key = '', $slug = 'freemius' ) { - echo esc_js( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_json_encode_echo' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - */ - function fs_json_encode_echo( $key, $slug ) { - echo json_encode( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_json_encode_echo_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_json_encode_echo_inline( $text, $key = '', $slug = 'freemius' ) { - echo json_encode( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - * - * @return string - */ - function fs_esc_html( $key, $slug ) { - return esc_html( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_html_inline( $text, $key = '', $slug = 'freemius' ) { - return esc_html( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html_x_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - * - * @return string - */ - function fs_esc_html_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - return esc_html( _fs_text_x_inline( $text, $context, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html_echo_x_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $context Context information for the translators. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_esc_html_echo_x_inline( $text, $context, $key = '', $slug = 'freemius' ) { - echo esc_html( _fs_text_x_inline( $text, $context, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html_echo' ) ) { - /** - * @author Vova Feldman - * @since 1.2.1.6 - * - * @param string $key - * @param string $slug - */ - function fs_esc_html_echo( $key, $slug ) { - echo esc_html( fs_text( $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_esc_html_echo_inline' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 1.2.3 - * - * @param string $text Translatable string. - * @param string $key String key for overrides. - * @param string $slug Module slug for overrides. - */ - function fs_esc_html_echo_inline( $text, $key = '', $slug = 'freemius' ) { - echo esc_html( _fs_text_inline( $text, $key, $slug ) ); - } - } - - if ( ! function_exists( 'fs_override_i18n' ) ) { - /** - * Override default i18n text phrases. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param array[string]string $key_value - * @param string $slug - * - * @global $fs_text_overrides - */ - function fs_override_i18n( array $key_value, $slug = 'freemius' ) { - global $fs_text_overrides; - - if ( ! isset( $fs_text_overrides[ $slug ] ) ) { - $fs_text_overrides[ $slug ] = array(); - } - - foreach ( $key_value as $key => $value ) { - $fs_text_overrides[ $slug ][ $key ] = $value; - } - } - } - - #endregion - - #-------------------------------------------------------------------------------- - #region Multisite Network - #-------------------------------------------------------------------------------- - - if ( ! function_exists( 'fs_is_plugin_uninstall' ) ) { - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function fs_is_plugin_uninstall() { - return ( - defined( 'WP_UNINSTALL_PLUGIN' ) || - ( 0 < did_action( 'update_option_uninstall_plugins' ) ) - ); - } - } - - if ( ! function_exists( 'fs_is_network_admin' ) ) { - /** - * Unlike is_network_admin(), this one will also work properly when - * the context execution is WP AJAX handler, and during plugin - * uninstall. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function fs_is_network_admin() { - return ( - WP_FS__IS_NETWORK_ADMIN || - ( is_multisite() && fs_is_plugin_uninstall() ) - ); - } - } - - if ( ! function_exists( 'fs_is_blog_admin' ) ) { - /** - * Unlike is_blog_admin(), this one will also work properly when - * the context execution is WP AJAX handler, and during plugin - * uninstall. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function fs_is_blog_admin() { - return ( - WP_FS__IS_BLOG_ADMIN || - ( ! is_multisite() && fs_is_plugin_uninstall() ) - ); - } - } - - #endregion - - if ( ! function_exists( 'fs_apply_filter' ) ) { - /** - * Apply filter for specific plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param string $module_unique_affix Module's unique affix. - * @param string $tag The name of the filter hook. - * @param mixed $value The value on which the filters hooked to `$tag` are applied on. - * - * @return mixed The filtered value after all hooked functions are applied to it. - * - * @uses apply_filters() - */ - function fs_apply_filter( $module_unique_affix, $tag, $value ) { - $args = func_get_args(); - - return call_user_func_array( 'apply_filters', array_merge( - array( "fs_{$tag}_{$module_unique_affix}" ), - array_slice( $args, 2 ) ) - ); - } - } \ No newline at end of file diff --git a/freemius/includes/fs-essential-functions.php b/freemius/includes/fs-essential-functions.php deleted file mode 100644 index 7a16526..0000000 --- a/freemius/includes/fs-essential-functions.php +++ /dev/null @@ -1,479 +0,0 @@ -add( "Freemius failed to redirect the page because the headers have been already sent from line {$line} in file {$file}. If it's unexpected, it usually happens due to invalid space and/or EOL character(s).", 'Oops...', 'error' ); - } - - return false; - } - - if ( defined( 'DOING_AJAX' ) ) { - // Don't redirect on AJAX calls. - return false; - } - - if ( ! $location ) // allows the wp_redirect filter to cancel a redirect - { - return false; - } - - $location = fs_sanitize_redirect( $location ); - - if ( $is_IIS ) { - header( "Refresh: 0;url=$location" ); - } else { - if ( php_sapi_name() != 'cgi-fcgi' ) { - status_header( $status ); - } // This causes problems on IIS and some FastCGI setups - header( "Location: $location" ); - } - - if ( $exit ) { - exit(); - } - - return true; - } - - if ( ! function_exists( 'fs_sanitize_redirect' ) ) { - /** - * Sanitizes a URL for use in a redirect. - * - * @since 2.3 - * - * @param string $location - * - * @return string redirect-sanitized URL - */ - function fs_sanitize_redirect( $location ) { - $location = preg_replace( '|[^a-z0-9-~+_.?#=&;,/:%!]|i', '', $location ); - $location = fs_kses_no_null( $location ); - - // remove %0d and %0a from location - $strip = array( '%0d', '%0a' ); - $found = true; - while ( $found ) { - $found = false; - foreach ( (array) $strip as $val ) { - while ( strpos( $location, $val ) !== false ) { - $found = true; - $location = str_replace( $val, '', $location ); - } - } - } - - return $location; - } - } - - if ( ! function_exists( 'fs_kses_no_null' ) ) { - /** - * Removes any NULL characters in $string. - * - * @since 1.0.0 - * - * @param string $string - * - * @return string - */ - function fs_kses_no_null( $string ) { - $string = preg_replace( '/\0+/', '', $string ); - $string = preg_replace( '/(\\\\0)+/', '', $string ); - - return $string; - } - } - } - - #endregion Core Redirect (copied from BuddyPress) ----------------------------------------- - - if ( ! function_exists( '__fs' ) ) { - global $fs_text_overrides; - - if ( ! isset( $fs_text_overrides ) ) { - $fs_text_overrides = array(); - } - - /** - * Retrieve a translated text by key. - * - * @deprecated Use `fs_text()` instead since methods starting with `__` trigger warnings in Php 7. - * @todo Remove this method in the future. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - * - * @param string $key - * @param string $slug - * - * @return string - * - * @global $fs_text, $fs_text_overrides - */ - function __fs( $key, $slug = 'freemius' ) { - _deprecated_function( __FUNCTION__, '2.0.0', 'fs_text()' ); - - global $fs_text, - $fs_module_info_text, - $fs_text_overrides; - - if ( isset( $fs_text_overrides[ $slug ] ) ) { - if ( isset( $fs_text_overrides[ $slug ][ $key ] ) ) { - return $fs_text_overrides[ $slug ][ $key ]; - } - - $lower_key = strtolower( $key ); - if ( isset( $fs_text_overrides[ $slug ][ $lower_key ] ) ) { - return $fs_text_overrides[ $slug ][ $lower_key ]; - } - } - - if ( ! isset( $fs_text ) ) { - $dir = defined( 'WP_FS__DIR_INCLUDES' ) ? - WP_FS__DIR_INCLUDES : - dirname( __FILE__ ); - - require_once $dir . '/i18n.php'; - } - - if ( isset( $fs_text[ $key ] ) ) { - return $fs_text[ $key ]; - } - - if ( isset( $fs_module_info_text[ $key ] ) ) { - return $fs_module_info_text[ $key ]; - } - - return $key; - } - - /** - * Output a translated text by key. - * - * @deprecated Use `fs_echo()` instead for consistency with `fs_text()`. - * - * @todo Remove this method in the future. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - * - * @param string $key - * @param string $slug - */ - function _efs( $key, $slug = 'freemius' ) { - fs_echo( $key, $slug ); - } - } - - if ( ! function_exists( 'fs_get_ip' ) ) { - /** - * Get client IP. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.2 - * - * @return string|null - */ - function fs_get_ip() { - $fields = array( - 'HTTP_CF_CONNECTING_IP', - 'HTTP_CLIENT_IP', - 'HTTP_X_FORWARDED_FOR', - 'HTTP_X_FORWARDED', - 'HTTP_FORWARDED_FOR', - 'HTTP_FORWARDED', - 'REMOTE_ADDR', - ); - - foreach ( $fields as $ip_field ) { - if ( ! empty( $_SERVER[ $ip_field ] ) ) { - return $_SERVER[ $ip_field ]; - } - } - - return null; - } - } - - /** - * Leverage backtrace to find caller plugin main file path. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return string - */ - function fs_find_caller_plugin_file() { - /** - * All the code below will be executed once on activation. - * If the user changes the main plugin's file name, the file_exists() - * will catch it. - */ - if ( ! function_exists( 'get_plugins' ) ) { - require_once ABSPATH . 'wp-admin/includes/plugin.php'; - } - - $all_plugins = fs_get_plugins( true ); - $all_plugins_paths = array(); - - // Get active plugin's main files real full names (might be symlinks). - foreach ( $all_plugins as $relative_path => $data ) { - $all_plugins_paths[] = fs_normalize_path( realpath( WP_PLUGIN_DIR . '/' . $relative_path ) ); - } - - $plugin_file = null; - for ( $i = 1, $bt = debug_backtrace(), $len = count( $bt ); $i < $len; $i ++ ) { - if ( empty( $bt[ $i ]['file'] ) ) { - continue; - } - - if ( in_array( fs_normalize_path( $bt[ $i ]['file'] ), $all_plugins_paths ) ) { - $plugin_file = $bt[ $i ]['file']; - break; - } - } - - if ( is_null( $plugin_file ) ) { - // Throw an error to the developer in case of some edge case dev environment. - wp_die( - 'Freemius SDK couldn\'t find the plugin\'s main file. Please contact sdk@freemius.com with the current error.', - 'Error', - array( 'back_link' => true ) - ); - } - - return $plugin_file; - } - - require_once dirname( __FILE__ ) . '/supplements/fs-essential-functions-1.1.7.1.php'; - - /** - * Update SDK newest version reference. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $sdk_relative_path - * @param string|bool $plugin_file - * - * @global $fs_active_plugins - */ - function fs_update_sdk_newest_version( $sdk_relative_path, $plugin_file = false ) { - /** - * If there is a plugin running an older version of FS (1.2.1 or below), the `fs_update_sdk_newest_version()` - * function in the older version will be used instead of this one. But since the older version is using - * the `is_plugin_active` function to check if a plugin is active, passing the theme's `plugin_path` to the - * `is_plugin_active` function will return false since the path is not a plugin path, so `in_activation` will be - * `true` for theme modules and the upgrading of the SDK version to 1.2.2 or newer version will work fine. - * - * Future versions that will call this function will use the proper logic here instead of just relying on the - * `is_plugin_active` function to fail for themes. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - - global $fs_active_plugins; - - $newest_sdk = $fs_active_plugins->plugins[ $sdk_relative_path ]; - - if ( ! is_string( $plugin_file ) ) { - $plugin_file = plugin_basename( fs_find_caller_plugin_file() ); - } - - if ( ! isset( $newest_sdk->type ) || 'theme' !== $newest_sdk->type ) { - $in_activation = ( ! is_plugin_active( $plugin_file ) ); - } else { - $theme = wp_get_theme(); - $in_activation = ( $newest_sdk->plugin_path == $theme->stylesheet ); - } - - $fs_active_plugins->newest = (object) array( - 'plugin_path' => $plugin_file, - 'sdk_path' => $sdk_relative_path, - 'version' => $newest_sdk->version, - 'in_activation' => $in_activation, - 'timestamp' => time(), - ); - - // Update DB with latest SDK version and path. - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - - /** - * Reorder the plugins load order so the plugin with the newest Freemius SDK is loaded first. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @return bool Was plugin order changed. Return false if plugin was loaded first anyways. - * - * @global $fs_active_plugins - */ - function fs_newest_sdk_plugin_first() { - global $fs_active_plugins; - - /** - * @todo Multi-site network activated plugin are always loaded prior to site plugins so if there's a a plugin activated in the network mode that has an older version of the SDK of another plugin which is site activated that has new SDK version, the fs-essential-functions.php will be loaded from the older SDK. Same thing about MU plugins (loaded even before network activated plugins). - * - * @link https://github.com/Freemius/wordpress-sdk/issues/26 - */ - - $newest_sdk_plugin_path = $fs_active_plugins->newest->plugin_path; - - $active_plugins = get_option( 'active_plugins', array() ); - $newest_sdk_plugin_key = array_search( $newest_sdk_plugin_path, $active_plugins ); - if ( 0 === $newest_sdk_plugin_key ) { - // if it's 0 it's the first plugin already, no need to continue - return false; - } else if ( is_numeric( $newest_sdk_plugin_key ) ) { - // Remove plugin from its current position. - array_splice( $active_plugins, $newest_sdk_plugin_key, 1 ); - - // Set it to be included first. - array_unshift( $active_plugins, $newest_sdk_plugin_path ); - - update_option( 'active_plugins', $active_plugins ); - - return true; - } else if ( is_multisite() && false === $newest_sdk_plugin_key ) { - // Plugin is network active. - $network_active_plugins = get_site_option( 'active_sitewide_plugins', array() ); - - if (isset($network_active_plugins[$newest_sdk_plugin_path])) { - reset($network_active_plugins); - if ( $newest_sdk_plugin_path === key($network_active_plugins) ) { - // Plugin is already activated first on the network level. - return false; - } else if ( is_numeric( $newest_sdk_plugin_key ) ) { - $time = $network_active_plugins[$newest_sdk_plugin_path]; - - // Remove plugin from its current position. - unset($network_active_plugins[$newest_sdk_plugin_path]); - - // Set it to be included first. - $network_active_plugins = array($newest_sdk_plugin_path => $time) + $network_active_plugins; - - update_site_option( 'active_sitewide_plugins', $network_active_plugins ); - - return true; - } - } - } - - return false; - } - - /** - * Go over all Freemius SDKs in the system and find and "remember" - * the newest SDK which is associated with an active plugin. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @global $fs_active_plugins - */ - function fs_fallback_to_newest_active_sdk() { - global $fs_active_plugins; - - /** - * @var object $newest_sdk_data - */ - $newest_sdk_data = null; - $newest_sdk_path = null; - - foreach ( $fs_active_plugins->plugins as $sdk_relative_path => $data ) { - if ( is_null( $newest_sdk_data ) || version_compare( $data->version, $newest_sdk_data->version, '>' ) - ) { - // If plugin inactive or SDK starter file doesn't exist, remove SDK reference. - if ( 'plugin' === $data->type ) { - $is_module_active = is_plugin_active( $data->plugin_path ); - } else { - $active_theme = wp_get_theme(); - $is_module_active = ( $data->plugin_path === $active_theme->get_template() ); - } - - $is_sdk_exists = file_exists( fs_normalize_path( WP_PLUGIN_DIR . '/' . $sdk_relative_path . '/start.php' ) ); - - if ( ! $is_module_active || ! $is_sdk_exists ) { - unset( $fs_active_plugins->plugins[ $sdk_relative_path ] ); - - // No need to store the data since it will be stored in fs_update_sdk_newest_version() - // or explicitly with update_option(). - } else { - $newest_sdk_data = $data; - $newest_sdk_path = $sdk_relative_path; - } - } - } - - if ( is_null( $newest_sdk_data ) ) { - // Couldn't find any SDK reference. - $fs_active_plugins = new stdClass(); - update_option( 'fs_active_plugins', $fs_active_plugins ); - } else { - fs_update_sdk_newest_version( $newest_sdk_path, $newest_sdk_data->plugin_path ); - } - } \ No newline at end of file diff --git a/freemius/includes/fs-plugin-info-dialog.php b/freemius/includes/fs-plugin-info-dialog.php deleted file mode 100644 index 022f8e7..0000000 --- a/freemius/includes/fs-plugin-info-dialog.php +++ /dev/null @@ -1,1143 +0,0 @@ -_fs = $fs; - - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $fs->get_slug() . '_info', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - // Remove default plugin information action. - remove_all_actions( 'install_plugins_pre_plugin-information' ); - - // Override action with custom plugins function for add-ons. - add_action( 'install_plugins_pre_plugin-information', array( &$this, 'install_plugin_information' ) ); - - // Override request for plugin information for Add-ons. - add_filter( - 'fs_plugins_api', - array( &$this, '_get_addon_info_filter' ), - WP_FS__DEFAULT_PRIORITY, 3 ); - } - - /** - * Generate add-on plugin information. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param array $data - * @param string $action - * @param object|null $args - * - * @return array|null - */ - function _get_addon_info_filter( $data, $action = '', $args = null ) { - $this->_logger->entrance(); - - $parent_plugin_id = fs_request_get( 'parent_plugin_id', $this->_fs->get_id() ); - - if ( $this->_fs->get_id() != $parent_plugin_id || - ( 'plugin_information' !== $action ) || - ! isset( $args->slug ) - ) { - return $data; - } - - // Find add-on by slug. - $selected_addon = $this->_fs->get_addon_by_slug( $args->slug, WP_FS__DEV_MODE ); - - if ( false === $selected_addon ) { - return $data; - } - - if ( ! isset( $selected_addon->info ) ) { - // Setup some default info. - $selected_addon->info = new stdClass(); - $selected_addon->info->selling_point_0 = 'Selling Point 1'; - $selected_addon->info->selling_point_1 = 'Selling Point 2'; - $selected_addon->info->selling_point_2 = 'Selling Point 3'; - $selected_addon->info->description = '

    Tell your users all about your add-on

    '; - } - - fs_enqueue_local_style( 'fs_addons', '/admin/add-ons.css' ); - - $data = $args; - - $has_free_plan = false; - $has_paid_plan = false; - - // Load add-on pricing. - $has_pricing = false; - $has_features = false; - $plans = false; - - $result = $this->_fs->get_api_plugin_scope()->get( $this->_fs->add_show_pending( "/addons/{$selected_addon->id}/pricing.json?type=visible" ) ); - - if ( ! isset( $result->error ) ) { - $plans = $result->plans; - - if ( is_array( $plans ) ) { - for ( $i = 0, $len = count( $plans ); $i < $len; $i ++ ) { - $pricing = isset( $plans[ $i ]->pricing ) ? $plans[ $i ]->pricing : null; - $features = isset( $plans[ $i ]->features ) ? $plans[ $i ]->features : null; - - $plans[ $i ] = new FS_Plugin_Plan( $plans[ $i ] ); - $plan = $plans[ $i ]; - - if ( 'free' == $plans[ $i ]->name || - ! is_array( $pricing ) || - 0 == count( $pricing ) - ) { - $has_free_plan = true; - } - - if ( is_array( $pricing ) && 0 < count( $pricing ) ) { - $has_paid_plan = true; - - foreach ( $pricing as &$prices ) { - $prices = new FS_Pricing( $prices ); - } - - $plan->pricing = $pricing; - - $has_pricing = true; - } - - if ( is_array( $features ) && 0 < count( $features ) ) { - $plan->features = $features; - - $has_features = true; - } - } - } - } - - $latest = null; - - if ( ! $has_paid_plan && $selected_addon->is_wp_org_compliant ) { - $repo_data = FS_Plugin_Updater::_fetch_plugin_info_from_repository( - 'plugin_information', (object) array( - 'slug' => $selected_addon->slug, - 'is_ssl' => is_ssl(), - 'fields' => array( - 'banners' => true, - 'reviews' => true, - 'downloaded' => false, - 'active_installs' => true - ) - ) ); - - if ( ! empty( $repo_data ) ) { - $data = $repo_data; - $data->wp_org_missing = false; - } else { - // Couldn't find plugin on .org. - $selected_addon->is_wp_org_compliant = false; - - // Plugin is missing, not on Freemius nor WP.org. - $data->wp_org_missing = true; - } - - $data->fs_missing = ( ! $has_free_plan || $data->wp_org_missing ); - } else { - $data->wp_org_missing = false; - - $current_addon_version = false; - if ( $this->_fs->is_addon_activated( $selected_addon->id ) ) { - $current_addon_version = $this->_fs->get_addon_instance( $selected_addon->id )->get_plugin_version(); - } else if ( $this->_fs->is_addon_installed( $selected_addon->id ) ) { - $addon_plugin_data = get_plugin_data( - ( WP_PLUGIN_DIR . '/' . $this->_fs->get_addon_basename( $selected_addon->id ) ), - false, - false - ); - - if ( ! empty( $addon_plugin_data ) ) { - $current_addon_version = $addon_plugin_data['Version']; - } - } - - // Fetch latest version from Freemius. - $latest = $this->_fs->_fetch_latest_version( - $selected_addon->id, - true, - WP_FS__TIME_24_HOURS_IN_SEC, - $current_addon_version - ); - - if ( $has_paid_plan ) { - $data->checkout_link = $this->_fs->checkout_url(); - } - if ( $has_free_plan ) { - $data->download_link = $this->_fs->_get_latest_download_local_url( $selected_addon->id ); - } - - $data->fs_missing = ( false === $latest ); - - - // Fetch as much as possible info from local files. - $plugin_local_data = $this->_fs->get_plugin_data(); - $data->author = $plugin_local_data['Author']; - - if ( ! empty( $selected_addon->info->banner_url ) ) { - $data->banners = array( - 'low' => $selected_addon->info->banner_url, - ); - } - - if ( ! empty( $selected_addon->info->screenshots ) ) { - $view_vars = array( - 'screenshots' => $selected_addon->info->screenshots, - 'plugin' => $selected_addon, - ); - $data->sections['screenshots'] = fs_get_template( '/plugin-info/screenshots.php', $view_vars ); - } - - if ( is_object( $latest ) ) { - $data->version = $latest->version; - $data->last_updated = $latest->created; - $data->requires = $latest->requires_platform_version; - $data->tested = $latest->tested_up_to_version; - } else { - // Add dummy version. - $data->version = '1.0.0'; - - // Add message to developer to deploy the plugin through Freemius. - } - } - - $data->name = $selected_addon->title; - $view_vars = array( 'plugin' => $selected_addon ); - - if ( is_object( $latest ) && isset( $latest->readme ) && is_object( $latest->readme ) ) { - $latest_version_readme_data = $latest->readme; - if ( isset( $latest_version_readme_data->sections ) ) { - $data->sections = (array) $latest_version_readme_data->sections; - } else { - $data->sections = array(); - } - } - - $data->sections['description'] = fs_get_template( '/plugin-info/description.php', $view_vars ); - - if ( $has_pricing ) { - // Add plans to data. - $data->plans = $plans; - - if ( $has_features ) { - $view_vars = array( - 'plans' => $plans, - 'plugin' => $selected_addon, - ); - $data->sections['features'] = fs_get_template( '/plugin-info/features.php', $view_vars ); - } - } - - $data->has_free_plan = $has_free_plan; - $data->has_paid_plan = $has_paid_plan; - $data->is_paid = $has_paid_plan; - $data->is_wp_org_compliant = $selected_addon->is_wp_org_compliant; - - return $data; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param FS_Plugin_Plan $plan - * - * @return string - */ - private function get_billing_cycle( FS_Plugin_Plan $plan ) { - $billing_cycle = null; - - if ( 1 === count( $plan->pricing ) && 1 == $plan->pricing[0]->licenses ) { - $pricing = $plan->pricing[0]; - if ( isset( $pricing->annual_price ) ) { - $billing_cycle = 'annual'; - } else if ( isset( $pricing->monthly_price ) ) { - $billing_cycle = 'monthly'; - } else if ( isset( $pricing->lifetime_price ) ) { - $billing_cycle = 'lifetime'; - } - } else { - foreach ( $plan->pricing as $pricing ) { - if ( isset( $pricing->annual_price ) ) { - $billing_cycle = 'annual'; - } else if ( isset( $pricing->monthly_price ) ) { - $billing_cycle = 'monthly'; - } else if ( isset( $pricing->lifetime_price ) ) { - $billing_cycle = 'lifetime'; - } - - if ( ! is_null( $billing_cycle ) ) { - break; - } - } - } - - return $billing_cycle; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param FS_Plugin_Plan $plan - * @param FS_Pricing $pricing - * - * @return float|null|string - */ - private function get_price_tag( FS_Plugin_Plan $plan, FS_Pricing $pricing ) { - $price_tag = ''; - if ( isset( $pricing->annual_price ) ) { - $price_tag = $pricing->annual_price . ( $plan->is_block_features ? ' / year' : '' ); - } else if ( isset( $pricing->monthly_price ) ) { - $price_tag = $pricing->monthly_price . ' / mo'; - } else if ( isset( $pricing->lifetime_price ) ) { - $price_tag = $pricing->lifetime_price; - } - - return '$' . $price_tag; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param object $api - * @param FS_Plugin_Plan $plan - * - * @return string - */ - private function get_checkout_cta( $api, $plan = null ) { - if ( empty( $api->checkout_link ) || - ! isset( $api->plans ) || - ! is_array( $api->plans ) || - 0 == count( $api->plans ) - ) { - return ''; - } - - if ( is_null( $plan ) ) { - foreach ( $api->plans as $p ) { - if ( ! empty( $p->pricing ) ) { - $plan = $p; - break; - } - } - } - - return '' . - ( ! $plan->has_trial() ? - fs_text_x_inline( 'Purchase', 'verb', 'purchase', $api->slug ) : - sprintf( - /* translators: %s: N-days trial */ - fs_text_inline( 'Start my free %s', 'start-free-x', $api->slug ), - $this->get_trial_period( $plan ) - ) - ) . - ''; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param object $api - * @param bool $is_primary - * - * @return string - */ - private function get_download_cta( $api, $is_primary = true ) { - if ( empty( $api->download_link ) ) { - return ''; - } - - $status = install_plugin_install_status( $api ); - - $has_paid_version = $api->has_paid_plan; - - // Hosted on WordPress.org. - switch ( $status['status'] ) { - case 'install': - if ( $api->is_wp_org_compliant || - ! $this->_fs->is_org_repo_compliant() || - $this->_fs->is_premium() - ) { - /** - * Allow immediate installation if one of the following: - * 1. WordPress.org add-on. - * 2. The core module is NOT wp.org compliant. - * 3. The core module is running the premium version which is not wp.org compliant. - */ - if ( $status['url'] ) { - return $this->get_cta( - ( $has_paid_version ? - fs_esc_html_inline( 'Install Free Version Now', 'install-free-version-now', $api->slug ) : - fs_esc_html_inline( 'Install Now', 'install-now', $api->slug ) ), - $is_primary, - false, - $status['url'], - '_parent' - ); - } - } - - return $this->get_cta( - ( $has_paid_version ? - fs_esc_html_x_inline( 'Download Latest Free Version', 'as download latest version', 'download-latest-free-version', $api->slug ) : - fs_esc_html_x_inline( 'Download Latest', 'as download latest version', 'download-latest', $api->slug ) ), - $is_primary, - false, - esc_url( $api->download_link ) - ); - break; - case 'update_available': - if ( $status['url'] ) { - return $this->get_cta( - ( $has_paid_version ? - fs_esc_html_inline( 'Install Free Version Update Now', 'install-free-version-update-now', $api->slug ) : - fs_esc_html_inline( 'Install Update Now', 'install-update-now', $api->slug ) ), - $is_primary, - false, - $status['url'], - '_parent' - ); - } - break; - case 'newer_installed': - return $this->get_cta( - ( $has_paid_version ? - esc_html( sprintf( fs_text_inline( 'Newer Free Version (%s) Installed', 'newer-free-installed', $api->slug ), $status['version'] ) ) : - esc_html( sprintf( fs_text_inline( 'Newer Version (%s) Installed', 'newer-installed', $api->slug ), $status['version'] ) ) ), - $is_primary, - true - ); - break; - case 'latest_installed': - return $this->get_cta( - ( $has_paid_version ? - fs_esc_html_inline( 'Latest Free Version Installed', 'latest-free-installed', $api->slug ) : - fs_esc_html_inline( 'Latest Version Installed', 'latest-installed', $api->slug ) ), - $is_primary, - true - ); - break; - } - - return ''; - } - - /** - * Helper method to get a CTA button HTML. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $label - * @param bool $is_primary - * @param bool $is_disabled - * @param string $href - * @param string $target - * - * @return string - */ - private function get_cta( - $label, - $is_primary = true, - $is_disabled = false, - $href = '', - $target = '_blank' - ) { - $classes = array(); - - if ( ! $is_primary ) { - $classes[] = 'left'; - } else { - $classes[] = 'button-primary'; - $classes[] = 'right'; - } - - if ( $is_disabled ) { - $classes[] = 'disabled'; - } - - return sprintf( - '%s', - empty( $href ) ? '' : 'href="' . $href . '" target="' . $target . '"', - implode( ' ', $classes ), - $label - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.7 - * - * @param FS_Plugin_Plan $plan - * - * @return string - */ - private function get_trial_period( $plan ) { - $trial_period = (int) $plan->trial_period; - - switch ( $trial_period ) { - case 30: - return 'month'; - case 60: - return '2 months'; - default: - return "{$plan->trial_period} days"; - } - } - - /** - * Display plugin information in dialog box form. - * - * Based on core install_plugin_information() function. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - */ - function install_plugin_information() { - global $tab; - - if ( empty( $_REQUEST['plugin'] ) ) { - return; - } - - $args = array( - 'slug' => wp_unslash( $_REQUEST['plugin'] ), - 'is_ssl' => is_ssl(), - 'fields' => array( - 'banners' => true, - 'reviews' => true, - 'downloaded' => false, - 'active_installs' => true - ) - ); - - if ( is_array( $args ) ) { - $args = (object) $args; - } - - if ( ! isset( $args->per_page ) ) { - $args->per_page = 24; - } - - if ( ! isset( $args->locale ) ) { - $args->locale = get_locale(); - } - - $api = apply_filters( 'fs_plugins_api', false, 'plugin_information', $args ); - - if ( is_wp_error( $api ) ) { - wp_die( $api ); - } - - $plugins_allowedtags = array( - 'a' => array( - 'href' => array(), - 'title' => array(), - 'target' => array(), - // Add image style for screenshots. - 'class' => array() - ), - 'style' => array(), - 'abbr' => array( 'title' => array() ), - 'acronym' => array( 'title' => array() ), - 'code' => array(), - 'pre' => array(), - 'em' => array(), - 'strong' => array(), - 'div' => array( 'class' => array() ), - 'span' => array( 'class' => array() ), - 'p' => array(), - 'ul' => array(), - 'ol' => array(), - 'li' => array( 'class' => array() ), - 'i' => array( 'class' => array() ), - 'h1' => array(), - 'h2' => array(), - 'h3' => array(), - 'h4' => array(), - 'h5' => array(), - 'h6' => array(), - 'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() ), -// 'table' => array(), -// 'td' => array(), -// 'tr' => array(), -// 'th' => array(), -// 'thead' => array(), -// 'tbody' => array(), - ); - - $plugins_section_titles = array( - 'description' => fs_text_x_inline( 'Description', 'Plugin installer section title', 'description', $api->slug ), - 'installation' => fs_text_x_inline( 'Installation', 'Plugin installer section title', 'installation', $api->slug ), - 'faq' => fs_text_x_inline( 'FAQ', 'Plugin installer section title', 'faq', $api->slug ), - 'screenshots' => fs_text_inline( 'Screenshots', 'screenshots', $api->slug ), - 'changelog' => fs_text_x_inline( 'Changelog', 'Plugin installer section title', 'changelog', $api->slug ), - 'reviews' => fs_text_x_inline( 'Reviews', 'Plugin installer section title', 'reviews', $api->slug ), - 'other_notes' => fs_text_x_inline( 'Other Notes', 'Plugin installer section title', 'other-notes', $api->slug ), - ); - - // Sanitize HTML -// foreach ( (array) $api->sections as $section_name => $content ) { -// $api->sections[$section_name] = wp_kses( $content, $plugins_allowedtags ); -// } - - foreach ( array( 'version', 'author', 'requires', 'tested', 'homepage', 'downloaded', 'slug' ) as $key ) { - if ( isset( $api->$key ) ) { - $api->$key = wp_kses( $api->$key, $plugins_allowedtags ); - } - } - - // Add after $api->slug is ready. - $plugins_section_titles['features'] = fs_text_x_inline( 'Features & Pricing', 'Plugin installer section title', 'features-and-pricing', $api->slug ); - - $_tab = esc_attr( $tab ); - - $section = isset( $_REQUEST['section'] ) ? wp_unslash( $_REQUEST['section'] ) : 'description'; // Default to the Description tab, Do not translate, API returns English. - if ( empty( $section ) || ! isset( $api->sections[ $section ] ) ) { - $section_titles = array_keys( (array) $api->sections ); - $section = array_shift( $section_titles ); - } - - iframe_header( fs_text_inline( 'Plugin Install', 'plugin-install', $api->slug ) ); - - $_with_banner = ''; - -// var_dump($api->banners); - if ( ! empty( $api->banners ) && ( ! empty( $api->banners['low'] ) || ! empty( $api->banners['high'] ) ) ) { - $_with_banner = 'with-banner'; - $low = empty( $api->banners['low'] ) ? $api->banners['high'] : $api->banners['low']; - $high = empty( $api->banners['high'] ) ? $api->banners['low'] : $api->banners['high']; - ?> - - '; - echo "

    {$api->name}

    "; - echo "
    \n"; - - foreach ( (array) $api->sections as $section_name => $content ) { - if ( 'reviews' === $section_name && ( empty( $api->ratings ) || 0 === array_sum( (array) $api->ratings ) ) ) { - continue; - } - - if ( isset( $plugins_section_titles[ $section_name ] ) ) { - $title = $plugins_section_titles[ $section_name ]; - } else { - $title = ucwords( str_replace( '_', ' ', $section_name ) ); - } - - $class = ( $section_name === $section ) ? ' class="current"' : ''; - $href = add_query_arg( array( 'tab' => $tab, 'section' => $section_name ) ); - $href = esc_url( $href ); - $san_section = esc_attr( $section_name ); - echo "\t$title\n"; - } - - echo "
    \n"; - - ?> -
    -
    - is_paid ) : ?> - plans ) ) : ?> -
    - plans as $plan ) : ?> - pricing ) ) { - continue; - } - - /** - * @var FS_Plugin_Plan $plan - */ - ?> - pricing[0] ?> - is_multi_cycle() ?> -
    -

    slug ), $plan->title ) ) ?>

    - has_annual() ?> - has_monthly() ?> - -
    - - pricing[0]->annual_discount_percentage() : 0 ?> - 0 ) : ?> - slug ), $annual_discount . '%' ) ?> - -
      -
    - get_checkout_cta( $api, $plan, false ) ?> -
    - has_trial() ) : ?> - get_trial_period( $plan ) ?> -
      -
    • - slug ), $trial_period ) ) ?> -
    • -
    • - slug ) ), $trial_period, '' . $this->get_price_tag( $plan, $plan->pricing[0] ) . '' ) ?> -
    • -
    - -
    -
    -
    - - - -
    -

    slug ) ?>

    -
      - version ) ) { ?> -
    • - slug ); ?> - : version; ?>
    • - author ) ) { - ?> -
    • - slug ); ?> - : author, '_blank' ); ?> -
    • - last_updated ) ) { - ?> -
    • slug ); ?> - : - slug ), - human_time_diff( strtotime( $api->last_updated ) ) - ) ) ?> -
    • - requires ) ) { - ?> -
    • - slug ) ?> - : slug ), $api->requires ) ) ?> -
    • - tested ) ) { - ?> -
    • - slug ); ?> - : tested; ?> -
    • - downloaded ) ) { - ?> -
    • - slug ) ?> - : downloaded ) ? - /* translators: %s: 1 or One (Number of times downloaded) */ - fs_text_inline( '%s time', 'x-time', $api->slug ) : - /* translators: %s: Number of times downloaded */ - fs_text_inline( '%s times', 'x-times', $api->slug ) - ), - number_format_i18n( $api->downloaded ) - ) ); ?> -
    • - slug ) && true == $api->is_wp_org_compliant ) { - ?> -
    • slug ) ?> - » -
    • - homepage ) ) { - ?> -
    • slug ) ?> - » -
    • - donate_link ) && empty( $api->contributors ) ) { - ?> -
    • slug ) ?> - » -
    • - -
    -
    - rating ) ) { ?> -

    slug ); ?>

    - $api->rating, - 'type' => 'percent', - 'number' => $api->num_ratings - ) ); ?> - (slug ), - sprintf( - ( ( 1 == $api->num_ratings ) ? - /* translators: %s: 1 or One */ - fs_text_inline( '%s rating', 'x-rating', $api->slug ) : - /* translators: %s: Number larger than 1 */ - fs_text_inline( '%s ratings', 'x-ratings', $api->slug ) - ), - number_format_i18n( $api->num_ratings ) - ) ) ) ?>) - - ratings ) && array_sum( (array) $api->ratings ) > 0 ) { - foreach ( $api->ratings as $key => $ratecount ) { - // Avoid div-by-zero. - $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0; - $stars_label = sprintf( - ( ( 1 == $key ) ? - /* translators: %s: 1 or One */ - fs_text_inline( '%s star', 'x-star', $api->slug ) : - /* translators: %s: Number larger than 1 */ - fs_text_inline( '%s stars', 'x-stars', $api->slug ) - ), - number_format_i18n( $key ) - ); - ?> -
    - - - - - -
    - contributors ) ) { - ?> -

    slug ); ?>

    -
      - contributors as $contrib_username => $contrib_profile ) { - if ( empty( $contrib_username ) && empty( $contrib_profile ) ) { - continue; - } - if ( empty( $contrib_username ) ) { - $contrib_username = preg_replace( '/^.+\/(.+)\/?$/', '\1', $contrib_profile ); - } - $contrib_username = sanitize_user( $contrib_username ); - if ( empty( $contrib_profile ) ) { - echo "
    • {$contrib_username}
    • "; - } else { - echo "
    • {$contrib_username}
    • "; - } - } - ?> -
    - donate_link ) ) { ?> - slug ) ?> - » - - -
    -
    - tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { - echo '

    ' . '' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ': ' . fs_text_inline( 'This plugin has not been tested with your current version of WordPress.', 'not-tested-warning', $api->slug ) . '

    '; - } else if ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { - echo '

    ' . '' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ': ' . fs_text_inline( 'This plugin has not been marked as compatible with your version of WordPress.', 'not-compatible-warning', $api->slug ) . '

    '; - } - - foreach ( (array) $api->sections as $section_name => $content ) { - $content = links_add_base_url( $content, 'https://wordpress.org/plugins/' . $api->slug . '/' ); - $content = links_add_target( $content, '_blank' ); - - $san_section = esc_attr( $section_name ); - - $display = ( $section_name === $section ) ? 'block' : 'none'; - - if ( 'description' === $section_name && - ( ( $api->is_wp_org_compliant && $api->wp_org_missing ) || - ( ! $api->is_wp_org_compliant && $api->fs_missing ) ) - ) { - $missing_notice = array( - 'type' => 'error', - 'id' => md5( microtime() ), - 'message' => $api->is_paid ? - fs_text_inline( 'Paid add-on must be deployed to Freemius.', 'paid-addon-not-deployed', $api->slug ) : - fs_text_inline( 'Add-on must be deployed to WordPress.org or Freemius.', 'free-addon-not-deployed', $api->slug ), - ); - fs_require_template( 'admin-notice.php', $missing_notice ); - } - echo "\t
    \n"; - echo $content; - echo "\t
    \n"; - } - echo "
    \n"; - echo "
    \n"; - echo "\n"; // #plugin-information-scrollable - echo "\n"; - - iframe_footer(); - exit; - } - } \ No newline at end of file diff --git a/freemius/includes/i18n.php b/freemius/includes/i18n.php deleted file mode 100644 index 2f6b25b..0000000 --- a/freemius/includes/i18n.php +++ /dev/null @@ -1,603 +0,0 @@ - 'You are just one step away - %s', - * - * We can use the filter: - * fs_override_i18n( array( - * 'opt-in-connect' => __( "Yes - I'm in!", '{your-text_domain}' ), - * 'skip' => __( 'Not today', '{your-text_domain}' ), - * ), '{plugin_slug}' ); - * - * Or with the Freemius instance: - * - * my_freemius->override_i18n( array( - * 'opt-in-connect' => __( "Yes - I'm in!", '{your-text_domain}' ), - * 'skip' => __( 'Not today', '{your-text_domain}' ), - * ) ); - */ - global $fs_text; - - $fs_text = array( - 'account' => _fs_text( 'Account' ), - 'addon' => _fs_text( 'Add-On' ), - 'contact-us' => _fs_text( 'Contact Us' ), - 'contact-support' => _fs_text( 'Contact Support' ), - 'change-ownership' => _fs_text( 'Change Ownership' ), - 'support' => _fs_text( 'Support' ), - 'support-forum' => _fs_text( 'Support Forum' ), - 'add-ons' => _fs_text( 'Add-Ons' ), - 'upgrade' => _fs_x( 'Upgrade', 'verb' ), - 'awesome' => _fs_text( 'Awesome' ), - 'pricing' => _fs_x( 'Pricing', 'noun' ), - 'price' => _fs_x( 'Price', 'noun' ), - 'unlimited-updates' => _fs_text( 'Unlimited Updates' ), - 'downgrade' => _fs_x( 'Downgrade', 'verb' ), - 'cancel-subscription' => _fs_x( 'Cancel Subscription', 'verb' ), - 'cancel-trial' => _fs_text( 'Cancel Trial' ), - 'free-trial' => _fs_text( 'Free Trial' ), - 'start-free-x' => _fs_text( 'Start my free %s' ), - 'no-commitment-x' => _fs_text( 'No commitment for %s - cancel anytime' ), - 'after-x-pay-as-little-y' => _fs_text( 'After your free %s, pay as little as %s' ), - 'details' => _fs_text( 'Details' ), - 'account-details' => _fs_text( 'Account Details' ), - 'delete' => _fs_x( 'Delete', 'verb' ), - 'show' => _fs_x( 'Show', 'verb' ), - 'hide' => _fs_x( 'Hide', 'verb' ), - 'edit' => _fs_x( 'Edit', 'verb' ), - 'update' => _fs_x( 'Update', 'verb' ), - 'date' => _fs_text( 'Date' ), - 'amount' => _fs_text( 'Amount' ), - 'invoice' => _fs_text( 'Invoice' ), - 'billing' => _fs_text( 'Billing' ), - 'payments' => _fs_text( 'Payments' ), - 'delete-account' => _fs_text( 'Delete Account' ), - 'dismiss' => _fs_x( 'Dismiss', 'as close a window' ), - 'plan' => _fs_x( 'Plan', 'as product pricing plan' ), - 'change-plan' => _fs_text( 'Change Plan' ), - 'download-x-version' => _fs_x( 'Download %s Version', 'as download professional version' ), - 'download-x-version-now' => _fs_x( 'Download %s version now', 'as download professional version now' ), - 'download-latest' => _fs_x( 'Download Latest', 'as download latest version' ), - 'you-have-x-license' => _fs_x( 'You have a %s license.', 'E.g. you have a professional license.' ), - 'new' => _fs_text( 'New' ), - 'free' => _fs_text( 'Free' ), - 'trial' => _fs_x( 'Trial', 'as trial plan' ), - 'start-trial' => _fs_x( 'Start Trial', 'as starting a trial plan' ), - 'purchase' => _fs_x( 'Purchase', 'verb' ), - 'purchase-license' => _fs_text( 'Purchase License' ), - 'buy' => _fs_x( 'Buy', 'verb' ), - 'buy-license' => _fs_text( 'Buy License' ), - 'license-single-site' => _fs_text( 'Single Site License' ), - 'license-unlimited' => _fs_text( 'Unlimited Licenses' ), - 'license-x-sites' => _fs_text( 'Up to %s Sites' ), - 'renew-license-now' => _fs_text( '%sRenew your license now%s to access version %s security & feature updates, and support.' ), - 'ask-for-upgrade-email-address' => _fs_text( "Enter the email address you've used for the upgrade below and we will resend you the license key." ), - 'x-plan' => _fs_x( '%s Plan', 'e.g. Professional Plan' ), - 'you-are-step-away' => _fs_text( 'You are just one step away - %s' ), - 'activate-x-now' => _fs_x( 'Complete "%s" Activation Now', - '%s - plugin name. As complete "Jetpack" activation now' ), - 'few-plugin-tweaks' => _fs_text( 'We made a few tweaks to the %s, %s' ), - 'optin-x-now' => _fs_text( 'Opt in to make "%s" better!' ), - 'error' => _fs_text( 'Error' ), - 'failed-finding-main-path' => _fs_text( 'Freemius SDK couldn\'t find the plugin\'s main file. Please contact sdk@freemius.com with the current error.' ), - 'learn-more' => _fs_text( 'Learn more' ), - - #region Affiliation - 'affiliation' => _fs_text( 'Affiliation' ), - 'affiliate' => _fs_text( 'Affiliate' ), - 'affiliate-tracking' => _fs_text( '%s tracking cookie after the first visit to maximize earnings potential.' ), - 'renewals-commission' => _fs_text( 'Get commission for automated subscription renewals.' ), - 'affiliate-application-accepted' => _fs_text( "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." ), - 'affiliate-application-thank-you' => _fs_text( "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." ), - 'affiliate-application-rejected' => _fs_text( "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." ), - 'affiliate-account-suspended' => _fs_text( 'Your affiliation account was temporarily suspended.' ), - 'affiliate-account-blocked' => _fs_text( 'Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support.' ), - 'become-an-ambassador' => _fs_text( 'Like the %s? Become our ambassador and earn cash ;-)' ), - 'become-an-ambassador-admin-notice' => _fs_text( 'Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!' ), - 'refer-new-customers' => _fs_text( 'Refer new customers to our %s and earn %s commission on each successful sale you refer!' ), - 'program-summary' => _fs_text( 'Program Summary' ), - 'commission-on-new-license-purchase' => _fs_text( '%s commission when a customer purchases a new license.' ), - 'unlimited-commissions' => _fs_text( 'Unlimited commissions.' ), - 'minimum-payout-amount' => _fs_text( '%s minimum payout amount.' ), - 'payouts-unit-and-processing' => _fs_text( 'Payouts are in USD and processed monthly via PayPal.' ), - 'commission-payment' => _fs_text( 'As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days.' ), - 'become-an-affiliate' => _fs_text( 'Become an affiliate' ), - 'apply-to-become-an-affiliate' => _fs_text( 'Apply to become an affiliate' ), - 'full-name' => _fs_text( 'Full name' ), - 'paypal-account-email-address' => _fs_text( 'PayPal account email address' ), - 'promotion-methods' => _fs_text( 'Promotion methods' ), - 'social-media' => _fs_text( 'Social media (Facebook, Twitter, etc.)' ), - 'mobile-apps' => _fs_text( 'Mobile apps' ), - 'statistics-information-field-label' => _fs_text( 'Website, email, and social media statistics (optional)' ), - 'statistics-information-field-desc' => _fs_text( 'Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential).' ), - 'promotion-method-desc-field-label' => _fs_text( 'How will you promote us?' ), - 'promotion-method-desc-field-desc' => _fs_text( 'Please provide details on how you intend to promote %s (please be as specific as possible).' ), - 'domain-field-label' => _fs_text( 'Where are you going to promote the %s?' ), - 'domain-field-desc' => _fs_text( 'Enter the domain of your website or other websites from where you plan to promote the %s.' ), - 'extra-domain-fields-label' => _fs_text( 'Extra Domains' ), - 'extra-domain-fields-desc' => _fs_text( 'Extra domains where you will be marketing the product from.' ), - 'add-another-domain' => _fs_text( 'Add another domain' ), - 'remove' => _fs_x( 'Remove', 'Remove domain' ), - 'email-address-is-required' => _fs_text( 'Email address is required.' ), - 'domain-is-required' => _fs_text( 'Domain is required.' ), - 'invalid-domain' => _fs_text( 'Invalid domain' ), - 'paypal-email-address-is-required' => _fs_text( 'PayPal email address is required.' ), - 'processing' => _fs_text( 'Processing...' ), - 'non-expiring' => _fs_text( 'Non-expiring' ), - 'account-is-pending-activation' => _fs_text( 'Account is pending activation.' ), - #endregion Affiliation - - #region Account - 'expiration' => _fs_x( 'Expiration', 'as expiration date' ), - 'license' => _fs_x( 'License', 'as software license' ), - 'not-verified' => _fs_text( 'not verified' ), - 'verify-email' => _fs_text( 'Verify Email' ), - 'expires-in' => _fs_x( 'Expires in %s', 'e.g. expires in 2 months' ), - 'renews-in' => _fs_x( 'Auto renews in %s', 'e.g. auto renews in 2 months' ), - 'no-expiration' => _fs_text( 'No expiration' ), - 'expired' => _fs_text( 'Expired' ), - 'cancelled' => _fs_text( 'Cancelled' ), - 'in-x' => _fs_x( 'In %s', 'e.g. In 2 hours' ), - 'x-ago' => _fs_x( '%s ago', 'e.g. 2 min ago' ), - /* translators: %s: Version number (e.g. 4.6 or higher) */ - 'x-or-higher' => _fs_text( '%s or higher' ), - 'version' => _fs_x( 'Version', 'as plugin version' ), - 'name' => _fs_text( 'Name' ), - 'email' => _fs_text( 'Email' ), - 'email-address' => _fs_text( 'Email address' ), - 'verified' => _fs_text( 'Verified' ), - 'module' => _fs_text( 'Module' ), - 'module-type' => _fs_text( 'Module Type' ), - 'plugin' => _fs_text( 'Plugin' ), - 'plugins' => _fs_text( 'Plugins' ), - 'theme' => _fs_text( 'Theme' ), - 'themes' => _fs_text( 'Themes' ), - 'path' => _fs_x( 'Path', 'as file/folder path' ), - 'title' => _fs_text( 'Title' ), - 'free-version' => _fs_text( 'Free version' ), - 'premium-version' => _fs_text( 'Premium version' ), - 'slug' => _fs_x( 'Slug', 'as WP plugin slug' ), - 'id' => _fs_text( 'ID' ), - 'users' => _fs_text( 'Users' ), - 'module-installs' => _fs_text( '%s Installs' ), - 'sites' => _fs_x( 'Sites', 'like websites' ), - 'user-id' => _fs_text( 'User ID' ), - 'site-id' => _fs_text( 'Site ID' ), - 'public-key' => _fs_text( 'Public Key' ), - 'secret-key' => _fs_text( 'Secret Key' ), - 'no-secret' => _fs_x( 'No Secret', 'as secret encryption key missing' ), - 'no-id' => _fs_text( 'No ID' ), - 'sync-license' => _fs_x( 'Sync License', 'as synchronize license' ), - 'sync' => _fs_x( 'Sync', 'as synchronize' ), - 'activate-license' => _fs_text( 'Activate License' ), - 'activate-free-version' => _fs_text( 'Activate Free Version' ), - 'activate-license-message' => _fs_text( 'Please enter the license key that you received in the email right after the purchase:' ), - 'activating-license' => _fs_text( 'Activating license...' ), - 'change-license' => _fs_text( 'Change License' ), - 'update-license' => _fs_text( 'Update License' ), - 'deactivate-license' => _fs_text( 'Deactivate License' ), - 'activate' => _fs_text( 'Activate' ), - 'deactivate' => _fs_text( 'Deactivate' ), - 'skip-deactivate' => _fs_text( 'Skip & Deactivate' ), - 'skip-and-x' => _fs_text( 'Skip & %s' ), - 'no-deactivate' => _fs_text( 'No - just deactivate' ), - 'yes-do-your-thing' => _fs_text( 'Yes - do your thing' ), - 'active' => _fs_x( 'Active', 'active mode' ), - 'is-active' => _fs_x( 'Is Active', 'is active mode?' ), - 'install-now' => _fs_text( 'Install Now' ), - 'install-update-now' => _fs_text( 'Install Update Now' ), - 'more-information-about-x' => _fs_text( 'More information about %s' ), - 'localhost' => _fs_text( 'Localhost' ), - 'activate-x-plan' => _fs_x( 'Activate %s Plan', 'as activate Professional plan' ), - 'x-left' => _fs_x( '%s left', 'as 5 licenses left' ), - 'last-license' => _fs_text( 'Last license' ), - 'what-is-your-x' => _fs_text( 'What is your %s?' ), - 'activate-this-addon' => _fs_text( 'Activate this add-on' ), - 'deactivate-license-confirm' => _fs_text( 'Deactivating your license will block all premium features, but will enable you to activate the license on another site. Are you sure you want to proceed?' ), - 'delete-account-x-confirm' => _fs_text( 'Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the "Cancel" button, and first "Downgrade" your account. Are you sure you would like to continue with the deletion?' ), - 'delete-account-confirm' => _fs_text( 'Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?' ), - 'downgrade-x-confirm' => _fs_text( 'Downgrading your plan will immediately stop all future recurring payments and your %s plan license will expire in %s.' ), - 'cancel-trial-confirm' => _fs_text( 'Cancelling the trial will immediately block access to all premium features. Are you sure?' ), - 'after-downgrade-non-blocking' => _fs_text( 'You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support.' ), - 'after-downgrade-blocking' => _fs_text( 'Once your license expires you can still use the Free version but you will NOT have access to the %s features.' ), - 'proceed-confirmation' => _fs_text( 'Are you sure you want to proceed?' ), - #endregion Account - - 'add-ons-for-x' => _fs_text( 'Add Ons for %s' ), - 'add-ons-missing' => _fs_text( 'We could\'nt load the add-ons list. It\'s probably an issue on our side, please try to come back in few minutes.' ), - #region Plugin Deactivation - 'anonymous-feedback' => _fs_text( 'Anonymous feedback' ), - 'quick-feedback' => _fs_text( 'Quick feedback' ), - 'deactivation-share-reason' => _fs_text( 'If you have a moment, please let us know why you are %s' ), - 'deactivating' => _fs_text( 'deactivating' ), - 'deactivation' => _fs_text( 'Deactivation' ), - 'theme-switch' => _fs_text( 'Theme Switch' ), - 'switching' => _fs_text( 'switching' ), - 'switch' => _fs_text( 'Switch' ), - 'activate-x' => _fs_text( 'Activate %s' ), - 'deactivation-modal-button-confirm' => _fs_text( 'Yes - %s' ), - 'deactivation-modal-button-submit' => _fs_text( 'Submit & %s' ), - 'cancel' => _fs_text( 'Cancel' ), - 'reason-no-longer-needed' => _fs_text( 'I no longer need the %s' ), - 'reason-found-a-better-plugin' => _fs_text( 'I found a better %s' ), - 'reason-needed-for-a-short-period' => _fs_text( 'I only needed the %s for a short period' ), - 'reason-broke-my-site' => _fs_text( 'The %s broke my site' ), - 'reason-suddenly-stopped-working' => _fs_text( 'The %s suddenly stopped working' ), - 'reason-cant-pay-anymore' => _fs_text( "I can't pay for it anymore" ), - 'reason-temporary-deactivation' => _fs_text( "It's a temporary deactivation. I'm just debugging an issue." ), - 'reason-temporary-x' => _fs_text( "It's a temporary %s. I'm just debugging an issue." ), - 'reason-other' => _fs_x( 'Other', - 'the text of the "other" reason for deactivating the module that is shown in the modal box.' ), - 'ask-for-reason-message' => _fs_text( 'Kindly tell us the reason so we can improve.' ), - 'placeholder-plugin-name' => _fs_text( "What's the %s's name?" ), - 'placeholder-comfortable-price' => _fs_text( 'What price would you feel comfortable paying?' ), - 'reason-couldnt-make-it-work' => _fs_text( "I couldn't understand how to make it work" ), - 'reason-great-but-need-specific-feature' => _fs_text( "The %s is great, but I need specific feature that you don't support" ), - 'reason-not-working' => _fs_text( 'The %s is not working' ), - 'reason-not-what-i-was-looking-for' => _fs_text( "It's not what I was looking for" ), - 'reason-didnt-work-as-expected' => _fs_text( "The %s didn't work as expected" ), - 'placeholder-feature' => _fs_text( 'What feature?' ), - 'placeholder-share-what-didnt-work' => _fs_text( "Kindly share what didn't work so we can fix it for future users..." ), - 'placeholder-what-youve-been-looking-for' => _fs_text( "What you've been looking for?" ), - 'placeholder-what-did-you-expect' => _fs_text( "What did you expect?" ), - 'reason-didnt-work' => _fs_text( "The %s didn't work" ), - 'reason-dont-like-to-share-my-information' => _fs_text( "I don't like to share my information with you" ), - 'dont-have-to-share-any-data' => _fs_text( "You might have missed it, but you don't have to share any data and can just %s the opt-in." ), - #endregion Plugin Deactivation - - #region Connect - 'hey-x' => _fs_x( 'Hey %s,', 'greeting' ), - 'thanks-x' => _fs_x( 'Thanks %s!', 'a greeting. E.g. Thanks John!' ), - 'connect-message' => _fs_text( 'Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s.' ), - 'connect-message_on-update' => _fs_text( 'Please help us improve %1$s! If you opt in, some data about your usage of %1$s will be sent to %4$s. If you skip this, that\'s okay! %1$s will still work just fine.' ), - 'pending-activation-message' => _fs_text( 'You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s.' ), - 'complete-the-install' => _fs_text( 'complete the install' ), - 'start-the-trial' => _fs_text( 'start the trial' ), - 'thanks-for-purchasing' => _fs_text( 'Thanks for purchasing %s! To get started, please enter your license key:' ), - 'license-sync-disclaimer' => _fs_text( 'The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license.' ), - 'what-permissions' => _fs_text( 'What permissions are being granted?' ), - 'permissions-profile' => _fs_text( 'Your Profile Overview' ), - 'permissions-profile_desc' => _fs_text( 'Name and email address' ), - 'permissions-site' => _fs_text( 'Your Site Overview' ), - 'permissions-site_desc' => _fs_text( 'Site URL, WP version, PHP info, plugins & themes' ), - 'permissions-events' => _fs_text( 'Current %s Events' ), - 'permissions-events_desc' => _fs_text( 'Activation, deactivation and uninstall' ), - 'permissions-plugins_themes' => _fs_text( 'Plugins & Themes' ), - 'permissions-plugins_themes_desc' => _fs_text( 'Titles, versions and state.' ), - 'permissions-admin-notices' => _fs_text( 'Admin Notices' ), - 'permissions-newsletter' => _fs_text( 'Newsletter' ), - 'permissions-newsletter_desc' => _fs_text( 'Updates, announcements, marketing, no spam' ), - 'privacy-policy' => _fs_text( 'Privacy Policy' ), - 'tos' => _fs_text( 'Terms of Service' ), - 'activating' => _fs_x( 'Activating', 'as activating plugin' ), - 'sending-email' => _fs_x( 'Sending email', 'as in the process of sending an email' ), - 'opt-in-connect' => _fs_x( 'Allow & Continue', 'button label' ), - 'agree-activate-license' => _fs_x( 'Agree & Activate License', 'button label' ), - 'skip' => _fs_x( 'Skip', 'verb' ), - 'click-here-to-use-plugin-anonymously' => _fs_text( 'Click here to use the plugin anonymously' ), - 'resend-activation-email' => _fs_text( 'Re-send activation email' ), - 'license-key' => _fs_text( 'License key' ), - 'send-license-key' => _fs_text( 'Send License Key' ), - 'sending-license-key' => _fs_text( 'Sending license key' ), - 'have-license-key' => _fs_text( 'Have a license key?' ), - 'dont-have-license-key' => _fs_text( 'Don\'t have a license key?' ), - 'cant-find-license-key' => _fs_text( "Can't find your license key?" ), - 'email-not-found' => _fs_text( "We couldn't find your email address in the system, are you sure it's the right address?" ), - 'no-active-licenses' => _fs_text( "We can't see any active licenses associated with that email address, are you sure it's the right address?" ), - 'opt-in' => _fs_text( 'Opt In' ), - 'opt-out' => _fs_text( 'Opt Out' ), - 'opt-out-cancel' => _fs_text( 'On second thought - I want to continue helping' ), - 'opting-out' => _fs_text( 'Opting out...' ), - 'opting-in' => _fs_text( 'Opting in...' ), - 'opt-out-message-appreciation' => _fs_text( 'We appreciate your help in making the %s better by letting us track some usage data.' ), - 'opt-out-message-usage-tracking' => _fs_text( "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." ), - 'opt-out-message-clicking-opt-out' => _fs_text( 'By clicking "Opt Out", we will no longer be sending any data from %s to %s.' ), - 'apply-on-all-sites-in-the-network' => _fs_text( 'Apply on all sites in the network.' ), - 'delegate-to-site-admins' => _fs_text( 'Delegate to Site Admins' ), - 'delegate-to-site-admins-and-continue' => _fs_text( 'Delegate to Site Admins & Continue' ), - 'continue' => _fs_text( 'Continue' ), - 'allow' => _fs_text( 'allow' ), - 'delegate' => _fs_text( 'delegate' ), - #endregion Connect - - #region Screenshots - 'screenshots' => _fs_text( 'Screenshots' ), - 'view-full-size-x' => _fs_text( 'Click to view full-size screenshot %d' ), - #endregion Screenshots - - #region Debug - 'freemius-debug' => _fs_text( 'Freemius Debug' ), - 'on' => _fs_x( 'On', 'as turned on' ), - 'off' => _fs_x( 'Off', 'as turned off' ), - 'debugging' => _fs_x( 'Debugging', 'as code debugging' ), - 'freemius-state' => _fs_text( 'Freemius State' ), - 'connected' => _fs_x( 'Connected', 'as connection was successful' ), - 'blocked' => _fs_x( 'Blocked', 'as connection blocked' ), - 'api' => _fs_x( 'API', 'as application program interface' ), - 'sdk' => _fs_x( 'SDK', 'as software development kit versions' ), - 'sdk-versions' => _fs_x( 'SDK Versions', 'as software development kit versions' ), - 'plugin-path' => _fs_x( 'Plugin Path', 'as plugin folder path' ), - 'sdk-path' => _fs_x( 'SDK Path', 'as sdk path' ), - 'addons-of-x' => _fs_text( 'Add Ons of Plugin %s' ), - 'delete-all-confirm' => _fs_text( 'Are you sure you want to delete all Freemius data?' ), - 'actions' => _fs_text( 'Actions' ), - 'delete-all-accounts' => _fs_text( 'Delete All Accounts' ), - 'start-fresh' => _fs_text( 'Start Fresh' ), - 'clear-api-cache' => _fs_text( 'Clear API Cache' ), - 'sync-data-from-server' => _fs_text( 'Sync Data From Server' ), - 'scheduled-crons' => _fs_text( 'Scheduled Crons' ), - 'cron-type' => _fs_text( 'Cron Type' ), - 'plugins-themes-sync' => _fs_text( 'Plugins & Themes Sync' ), - 'module-licenses' => _fs_text( '%s Licenses' ), - 'debug-log' => _fs_text( 'Debug Log' ), - 'all' => _fs_text( 'All' ), - 'file' => _fs_text( 'File' ), - 'function' => _fs_text( 'Function' ), - 'process-id' => _fs_text( 'Process ID' ), - 'logger' => _fs_text( 'Logger' ), - 'message' => _fs_text( 'Message' ), - 'download' => _fs_text( 'Download' ), - 'filter' => _fs_text( 'Filter' ), - 'type' => _fs_text( 'Type' ), - 'all-types' => _fs_text( 'All Types' ), - 'all-requests' => _fs_text( 'All Requests' ), - #endregion Debug - - #region Expressions - 'congrats' => _fs_x( 'Congrats', 'as congratulations' ), - 'oops' => _fs_x( 'Oops', 'exclamation' ), - 'yee-haw' => _fs_x( 'Yee-haw', 'interjection expressing joy or exuberance' ), - 'woot' => _fs_x( 'W00t', - '(especially in electronic communication) used to express elation, enthusiasm, or triumph.' ), - 'right-on' => _fs_x( 'Right on', 'a positive response' ), - 'hmm' => _fs_x( 'Hmm', - 'something somebody says when they are thinking about what you have just said. ' ), - 'ok' => _fs_text( 'O.K' ), - 'hey' => _fs_x( 'Hey', 'exclamation' ), - 'heads-up' => _fs_x( 'Heads up', - 'advance notice of something that will need attention.' ), - #endregion Expressions - - #region Admin Notices - 'you-have-latest' => _fs_text( 'Seems like you got the latest release.' ), - 'you-are-good' => _fs_text( 'You are all good!' ), - 'user-exist-message' => _fs_text( 'Sorry, we could not complete the email update. Another user with the same email is already registered.' ), - 'user-exist-message_ownership' => _fs_text( 'If you would like to give up the ownership of the %s\'s account to %s click the Change Ownership button.' ), - 'email-updated-message' => _fs_text( 'Your email was successfully updated. You should receive an email with confirmation instructions in few moments.' ), - 'name-updated-message' => _fs_text( 'Your name was successfully updated.' ), - 'x-updated' => _fs_text( 'You have successfully updated your %s.' ), - 'name-update-failed-message' => _fs_text( 'Please provide your full name.' ), - 'verification-email-sent-message' => _fs_text( 'Verification mail was just sent to %s. If you can\'t find it after 5 min, please check your spam box.' ), - 'addons-info-external-message' => _fs_text( 'Just letting you know that the add-ons information of %s is being pulled from an external server.' ), - 'no-cc-required' => _fs_text( 'No credit card required' ), - 'premium-activated-message' => _fs_text( 'Premium %s version was successfully activated.' ), - 'successful-version-upgrade-message' => _fs_text( 'The upgrade of %s was successfully completed.' ), - 'activation-with-plan-x-message' => _fs_text( 'Your account was successfully activated with the %s plan.' ), - 'download-latest-x-version-now' => _fs_text( 'Download the latest %s version now' ), - 'follow-steps-to-complete-upgrade' => _fs_text( 'Please follow these steps to complete the upgrade' ), - 'download-latest-x-version' => _fs_text( 'Download the latest %s version' ), - 'download-latest-version' => _fs_text( 'Download the latest version' ), - 'deactivate-free-version' => _fs_text( 'Deactivate the free version' ), - 'upload-and-activate' => _fs_text( 'Upload and activate the downloaded version' ), - 'howto-upload-activate' => _fs_text( 'How to upload and activate?' ), - 'addon-successfully-purchased-message' => _fs_x( '%s Add-on was successfully purchased.', - '%s - product name, e.g. Facebook add-on was successfully...' ), - 'addon-successfully-upgraded-message' => _fs_text( 'Your %s Add-on plan was successfully upgraded.' ), - 'email-verified-message' => _fs_text( 'Your email has been successfully verified - you are AWESOME!' ), - 'plan-upgraded-message' => _fs_text( 'Your plan was successfully upgraded.' ), - 'plan-changed-to-x-message' => _fs_text( 'Your plan was successfully changed to %s.' ), - 'license-expired-blocking-message' => _fs_text( 'Your license has expired. You can still continue using the free %s forever.' ), - 'license-cancelled' => _fs_text( 'Your license has been cancelled. If you think it\'s a mistake, please contact support.' ), - 'trial-started-message' => _fs_text( 'Your trial has been successfully started.' ), - 'license-activated-message' => _fs_text( 'Your license was successfully activated.' ), - 'no-active-license-message' => _fs_text( 'It looks like your site currently doesn\'t have an active license.' ), - 'license-deactivation-message' => _fs_text( 'Your license was successfully deactivated, you are back to the %s plan.' ), - 'license-deactivation-failed-message' => _fs_text( 'It looks like the license deactivation failed.' ), - 'license-activation-failed-message' => _fs_text( 'It looks like the license could not be activated.' ), - 'server-error-message' => _fs_text( 'Error received from the server:' ), - 'trial-expired-message' => _fs_text( 'Your trial has expired. You can still continue using all our free features.' ), - 'plan-x-downgraded-message' => _fs_text( 'Your plan was successfully downgraded. Your %s plan license will expire in %s.' ), - 'plan-downgraded-failure-message' => _fs_text( 'Seems like we are having some temporary issue with your plan downgrade. Please try again in few minutes.' ), - 'trial-cancel-no-trial-message' => _fs_text( 'It looks like you are not in trial mode anymore so there\'s nothing to cancel :)' ), - 'trial-cancel-message' => _fs_text( 'Your %s free trial was successfully cancelled.' ), - 'version-x-released' => _fs_x( 'Version %s was released.', '%s - numeric version number' ), - 'please-download-x' => _fs_text( 'Please download %s.' ), - 'latest-x-version' => _fs_x( 'the latest %s version here', - '%s - plan name, as the latest professional version here' ), - 'trial-x-promotion-message' => _fs_text( 'How do you like %s so far? Test all our %s premium features with a %d-day free trial.' ), - 'start-free-trial' => _fs_x( 'Start free trial', 'call to action' ), - 'starting-trial' => _fs_text( 'Starting trial' ), - 'please-wait' => _fs_text( 'Please wait' ), - 'trial-cancel-failure-message' => _fs_text( 'Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes.' ), - 'trial-utilized' => _fs_text( 'You already utilized a trial before.' ), - 'in-trial-mode' => _fs_text( 'You are already running the %s in a trial mode.' ), - 'trial-plan-x-not-exist' => _fs_text( 'Plan %s do not exist, therefore, can\'t start a trial.' ), - 'plan-x-no-trial' => _fs_text( 'Plan %s does not support a trial period.' ), - 'no-trials' => _fs_text( 'None of the %s\'s plans supports a trial period.' ), - 'unexpected-api-error' => _fs_text( 'Unexpected API error. Please contact the %s\'s author with the following error.' ), - 'no-commitment-for-x-days' => _fs_text( 'No commitment for %s days - cancel anytime!' ), - 'license-expired-non-blocking-message' => _fs_text( 'Your license has expired. You can still continue using all the %s features, but you\'ll need to renew your license to continue getting updates and support.' ), - 'could-not-activate-x' => _fs_text( 'Couldn\'t activate %s.' ), - 'contact-us-with-error-message' => _fs_text( 'Please contact us with the following message:' ), - 'plan-did-not-change-message' => _fs_text( 'It looks like you are still on the %s plan. If you did upgrade or change your plan, it\'s probably an issue on our side - sorry.' ), - 'contact-us-here' => _fs_text( 'Please contact us here' ), - 'plan-did-not-change-email-message' => _fs_text( 'I have upgraded my account but when I try to Sync the License, the plan remains %s.' ), - #endregion Admin Notices - #region Connectivity Issues - 'connectivity-test-fails-message' => _fs_text( 'From unknown reason, the API connectivity test failed.' ), - 'connectivity-test-maybe-temporary' => _fs_text( 'It\'s probably a temporary issue on our end. Just to be sure, with your permission, would it be o.k to run another connectivity test?' ), - 'curl-missing-message' => _fs_text( 'We use PHP cURL library for the API calls, which is a very common library and usually installed and activated out of the box. Unfortunately, cURL is not activated (or disabled) on your server.' ), - 'curl-disabled-methods' => _fs_text( 'Disabled method(s):' ), - 'cloudflare-blocks-connection-message' => _fs_text( 'From unknown reason, CloudFlare, the firewall we use, blocks the connection.' ), - 'x-requires-access-to-api' => _fs_x( '%s requires an access to our API.', - 'as pluginX requires an access to our API' ), - 'squid-blocks-connection-message' => _fs_text( 'It looks like your server is using Squid ACL (access control lists), which blocks the connection.' ), - 'squid-no-clue-title' => _fs_text( 'I don\'t know what is Squid or ACL, help me!' ), - 'squid-no-clue-desc' => _fs_text( 'We\'ll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update.' ), - 'sysadmin-title' => _fs_text( 'I\'m a system administrator' ), - 'squid-sysadmin-desc' => _fs_text( 'Great, please whitelist the following domains: %s. Once you are done, deactivate the %s and activate it again.' ), - 'curl-missing-no-clue-title' => _fs_text( 'I don\'t know what is cURL or how to install it, help me!' ), - 'curl-missing-no-clue-desc' => _fs_text( 'We\'ll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update.' ), - 'curl-missing-sysadmin-desc' => _fs_text( 'Great, please install cURL and enable it in your php.ini file. In addition, search for the \'disable_functions\' directive in your php.ini file and remove any disabled methods starting with \'curl_\'. To make sure it was successfully activated, use \'phpinfo()\'. Once activated, deactivate the %s and reactivate it back again.' ), - 'happy-to-resolve-issue-asap' => _fs_text( 'We are sure it\'s an issue on our side and more than happy to resolve it for you ASAP if you give us a chance.' ), - 'contact-support-before-deactivation' => _fs_text( 'Sorry for the inconvenience and we are here to help if you give us a chance.' ), - 'fix-issue-title' => _fs_text( 'Yes - I\'m giving you a chance to fix it' ), - 'fix-issue-desc' => _fs_text( 'We will do our best to whitelist your server and resolve this issue ASAP. You will get a follow-up email to %s once we have an update.' ), - 'install-previous-title' => _fs_text( 'Let\'s try your previous version' ), - 'install-previous-desc' => _fs_text( 'Uninstall this version and install the previous one.' ), - 'deactivate-plugin-title' => _fs_text( 'That\'s exhausting, please deactivate' ), - 'deactivate-plugin-desc' => _fs_text( 'We feel your frustration and sincerely apologize for the inconvenience. Hope to see you again in the future.' ), - 'fix-request-sent-message' => _fs_text( 'Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience.' ), - 'server-blocking-access' => _fs_x( 'Your server is blocking the access to Freemius\' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s', - '%1s - plugin title, %2s - API domain' ), - 'wrong-authentication-param-message' => _fs_text( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.' ), - #endregion Connectivity Issues - #region Change Owner - 'change-owner-request-sent-x' => _fs_text( 'Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder.' ), - 'change-owner-request_owner-confirmed' => _fs_text( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.' ), - 'change-owner-request_candidate-confirmed' => _fs_text( '%s is the new owner of the account.' ), - #endregion Change Owner - 'addon-x-cannot-run-without-y' => _fs_x( '%s cannot run without %s.', - 'addonX cannot run without pluginY' ), - 'addon-x-cannot-run-without-parent' => _fs_x( '%s cannot run without the plugin.', 'addonX cannot run...' ), - 'plugin-x-activation-message' => _fs_x( '%s activation was successfully completed.', - 'pluginX activation was successfully...' ), - 'features-and-pricing' => _fs_x( 'Features & Pricing', 'Plugin installer section title' ), - 'free-addon-not-deployed' => _fs_text( 'Add-on must be deployed to WordPress.org or Freemius.' ), - 'paid-addon-not-deployed' => _fs_text( 'Paid add-on must be deployed to Freemius.' ), - #-------------------------------------------------------------------------------- - #region Add-On Licensing - #-------------------------------------------------------------------------------- - 'addon-no-license-message' => _fs_text( '%s is a premium only add-on. You have to purchase a license first before activating the plugin.' ), - 'addon-trial-cancelled-message' => _fs_text( '%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you\'ll have to purchase a license.' ), - #endregion - #-------------------------------------------------------------------------------- - #region Billing Cycles - #-------------------------------------------------------------------------------- - 'monthly' => _fs_x( 'Monthly', 'as every month' ), - 'mo' => _fs_x( 'mo', 'as monthly period' ), - 'annual' => _fs_x( 'Annual', 'as once a year' ), - 'annually' => _fs_x( 'Annually', 'as once a year' ), - 'once' => _fs_x( 'Once', 'as once a year' ), - 'year' => _fs_x( 'year', 'as annual period' ), - 'lifetime' => _fs_text( 'Lifetime' ), - 'best' => _fs_x( 'Best', 'e.g. the best product' ), - 'billed-x' => _fs_x( 'Billed %s', 'e.g. billed monthly' ), - 'save-x' => _fs_x( 'Save %s', 'as a discount of $5 or 10%' ), - #endregion Billing Cycles - 'view-details' => _fs_text( 'View details' ), - #-------------------------------------------------------------------------------- - #region Trial - #-------------------------------------------------------------------------------- - 'approve-start-trial' => _fs_x( 'Approve & Start Trial', 'button label' ), - /* translators: %1$s: Number of trial days; %2$s: Plan name; */ - 'start-trial-prompt-header' => _fs_text( 'You are 1-click away from starting your %1$s-day free trial of the %2$s plan.' ), - /* translators: %s: Link to freemius.com */ - 'start-trial-prompt-message' => _fs_text( 'For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial.' ), - - #endregion - #-------------------------------------------------------------------------------- - #region Billing Details - #-------------------------------------------------------------------------------- - 'business-name' => _fs_text( 'Business name' ), - 'tax-vat-id' => _fs_text( 'Tax / VAT ID' ), - 'address-line-n' => _fs_text( 'Address Line %d' ), - 'country' => _fs_text( 'Country' ), - 'select-country' => _fs_text( 'Select Country' ), - 'city' => _fs_text( 'City' ), - 'town' => _fs_text( 'Town' ), - 'state' => _fs_text( 'State' ), - 'province' => _fs_text( 'Province' ), - 'zip-postal-code' => _fs_text( 'ZIP / Postal Code' ), - #endregion - #-------------------------------------------------------------------------------- - #region Module Installation - #-------------------------------------------------------------------------------- - 'installing-plugin-x' => _fs_text( 'Installing plugin: %s' ), - 'auto-installation' => _fs_text( 'Automatic Installation' ), - /* translators: %s: Number of seconds */ - 'x-sec' => _fs_text( '%s sec' ), - 'installing-in-n' => _fs_text( 'An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now.' ), - 'installing-module-x' => _fs_text( 'The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page.' ), - 'cancel-installation' => _fs_text( 'Cancel Installation' ), - 'module-package-rename-failure' => _fs_text( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.' ), - 'auto-install-error-invalid-id' => _fs_text( 'Invalid module ID.' ), - 'auto-install-error-not-opted-in' => _fs_text( 'Auto installation only works for opted-in users.' ), - 'auto-install-error-premium-activated' => _fs_text( 'Premium version already active.' ), - 'auto-install-error-premium-addon-activated' => _fs_text( 'Premium add-on version already installed.' ), - 'auto-install-error-invalid-license' => _fs_text( 'You do not have a valid license to access the premium version.' ), - 'auto-install-error-serviceware' => _fs_text( 'Plugin is a "Serviceware" which means it does not have a premium code version.' ), - #endregion - - /* translators: %s: Page name */ - 'secure-x-page-header' => _fs_text( 'Secure HTTPS %s page, running from an external domain' ), - 'pci-compliant' => _fs_text( 'PCI compliant' ), - 'view-paid-features' => _fs_text( 'View paid features' ), - ); - - /** - * Localization of the strings in the plugin/theme info dialog box. - * - * $fs_module_info_text should ONLY include strings that are not located in $fs_text. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2 - */ - global $fs_module_info_text; - - $fs_module_info_text = array( - 'description' => _fs_x( 'Description', 'Plugin installer section title' ), - 'installation' => _fs_x( 'Installation', 'Plugin installer section title' ), - 'faq' => _fs_x( 'FAQ', 'Plugin installer section title' ), - 'changelog' => _fs_x( 'Changelog', 'Plugin installer section title' ), - 'reviews' => _fs_x( 'Reviews', 'Plugin installer section title' ), - 'other_notes' => _fs_x( 'Other Notes', 'Plugin installer section title' ), - /* translators: %s: 1 or One */ - 'x-star' => _fs_text( '%s star' ), - /* translators: %s: Number larger than 1 */ - 'x-stars' => _fs_text( '%s stars' ), - /* translators: %s: 1 or One */ - 'x-rating' => _fs_text( '%s rating' ), - /* translators: %s: Number larger than 1 */ - 'x-ratings' => _fs_text( '%s ratings' ), - /* translators: %s: 1 or One (Number of times downloaded) */ - 'x-time' => _fs_text( '%s time' ), - /* translators: %s: Number of times downloaded */ - 'x-times' => _fs_text( '%s times' ), - /* translators: %s: # of stars (e.g. 5 stars) */ - 'click-to-reviews' => _fs_text( 'Click to see reviews that provided a rating of %s' ), - 'last-updated:' => _fs_text( 'Last Updated' ), - 'requires-wordpress-version:' => _fs_text( 'Requires WordPress Version:' ), - 'author:' => _fs_x( 'Author:', 'as the plugin author' ), - 'compatible-up-to:' => _fs_text( 'Compatible up to:' ), - 'downloaded:' => _fs_text( 'Downloaded:' ), - 'wp-org-plugin-page' => _fs_text( 'WordPress.org Plugin Page' ), - 'plugin-homepage' => _fs_text( 'Plugin Homepage' ), - 'donate-to-plugin' => _fs_text( 'Donate to this plugin' ), - 'average-rating' => _fs_text( 'Average Rating' ), - 'based-on-x' => _fs_text( 'based on %s' ), - 'warning:' => _fs_text( 'Warning:' ), - 'contributors' => _fs_text( 'Contributors' ), - 'plugin-install' => _fs_text( 'Plugin Install' ), - 'not-tested-warning' => _fs_text( 'This plugin has not been tested with your current version of WordPress.' ), - 'not-compatible-warning' => _fs_text( 'This plugin has not been marked as compatible with your version of WordPress.' ), - 'newer-installed' => _fs_text( 'Newer Version (%s) Installed' ), - 'latest-installed' => _fs_text( 'Latest Version Installed' ), - ); diff --git a/freemius/includes/index.php b/freemius/includes/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/includes/index.php +++ /dev/null @@ -1,3 +0,0 @@ - - */ - private $_default_submenu_items; - /** - * @since 1.1.3 - * - * @var string - */ - private $_first_time_path; - /** - * @since 1.2.2 - * - * @var bool - */ - private $_menu_exists; - /** - * @since 2.0.0 - * - * @var bool - */ - private $_network_menu_exists; - - #endregion Properties - - /** - * @var FS_Logger - */ - protected $_logger; - - #region Singleton - - /** - * @var FS_Admin_Menu_Manager[] - */ - private static $_instances = array(); - - /** - * @param number $module_id - * @param string $module_type - * @param string $module_unique_affix - * - * @return FS_Admin_Menu_Manager - */ - static function instance( $module_id, $module_type, $module_unique_affix ) { - $key = 'm_' . $module_id; - - if ( ! isset( self::$_instances[ $key ] ) ) { - self::$_instances[ $key ] = new FS_Admin_Menu_Manager( $module_id, $module_type, $module_unique_affix ); - } - - return self::$_instances[ $key ]; - } - - protected function __construct( $module_id, $module_type, $module_unique_affix ) { - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $module_id . '_admin_menu', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->_module_id = $module_id; - $this->_module_type = $module_type; - $this->_module_unique_affix = $module_unique_affix; - } - - #endregion Singleton - - #region Helpers - - private function get_option( &$options, $key, $default = false ) { - return ! empty( $options[ $key ] ) ? $options[ $key ] : $default; - } - - private function get_bool_option( &$options, $key, $default = false ) { - return isset( $options[ $key ] ) && is_bool( $options[ $key ] ) ? $options[ $key ] : $default; - } - - #endregion Helpers - - /** - * @param array $menu - * @param bool $is_addon - */ - function init( $menu, $is_addon = false ) { - $this->_menu_exists = ( isset( $menu['slug'] ) && ! empty( $menu['slug'] ) ); - $this->_network_menu_exists = ( ! empty( $menu['network'] ) && true === $menu['network'] ); - - $this->_menu_slug = ( $this->_menu_exists ? $menu['slug'] : $this->_module_unique_affix ); - - $this->_default_submenu_items = array(); - // @deprecated - $this->_type = 'page'; - $this->_is_top_level = true; - $this->_is_override_exact = false; - $this->_parent_slug = false; - // @deprecated - $this->_parent_type = 'page'; - - if ( isset( $menu ) ) { - if ( ! $is_addon ) { - $this->_default_submenu_items = array( - 'contact' => $this->get_bool_option( $menu, 'contact', true ), - 'support' => $this->get_bool_option( $menu, 'support', true ), - 'affiliation' => $this->get_bool_option( $menu, 'affiliation', true ), - 'account' => $this->get_bool_option( $menu, 'account', true ), - 'pricing' => $this->get_bool_option( $menu, 'pricing', true ), - 'addons' => $this->get_bool_option( $menu, 'addons', true ), - ); - - // @deprecated - $this->_type = $this->get_option( $menu, 'type', 'page' ); - } - - $this->_is_override_exact = $this->get_bool_option( $menu, 'override_exact' ); - - if ( isset( $menu['parent'] ) ) { - $this->_parent_slug = $this->get_option( $menu['parent'], 'slug' ); - // @deprecated - $this->_parent_type = $this->get_option( $menu['parent'], 'type', 'page' ); - - // If parent's slug is different, then it's NOT a top level menu item. - $this->_is_top_level = ( $this->_parent_slug === $this->_menu_slug ); - } else { - /** - * If no parent then top level if: - * - Has custom admin menu ('page') - * - CPT menu type ('cpt') - */ -// $this->_is_top_level = in_array( $this->_type, array( -// 'cpt', -// 'page' -// ) ); - } - - $this->_first_time_path = $this->get_option( $menu, 'first-path', false ); - if ( ! empty( $this->_first_time_path ) && is_string( $this->_first_time_path ) ) { - $this->_first_time_path = admin_url( $this->_first_time_path, 'admin' ); - } - } - } - - /** - * Check if top level menu. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return bool False if submenu item. - */ - function is_top_level() { - return $this->_is_top_level; - } - - /** - * Check if the page should be override on exact URL match. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return bool False if submenu item. - */ - function is_override_exact() { - return $this->_is_override_exact; - } - - - /** - * Get the path of the page the user should be forwarded to after first activation. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_first_time_path() { - return $this->_first_time_path; - } - - /** - * Check if plugin's menu item is part of a custom top level menu. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return bool - */ - function has_custom_parent() { - return ! $this->_is_top_level && is_string( $this->_parent_slug ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @return bool - */ - function has_menu() { - return $this->_menu_exists; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return bool - */ - function has_network_menu() { - return $this->_network_menu_exists; - } - - /** - * @author Leo Fajardo (@leorw) - * - * @param string $menu_slug - * - * @since 2.1.3 - */ - function set_slug_and_network_menu_exists_flag($menu_slug ) { - $this->_menu_slug = $menu_slug; - $this->_network_menu_exists = false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param string $id - * @param bool $default - * @param bool $ignore_menu_existence Since 1.2.2.7 If true, check if the submenu item visible even if there's no parent menu. - * - * @return bool - */ - function is_submenu_item_visible( $id, $default = true, $ignore_menu_existence = false ) { - if ( ! $ignore_menu_existence && ! $this->has_menu() ) { - return false; - } - - return fs_apply_filter( - $this->_module_unique_affix, - 'is_submenu_visible', - $this->get_bool_option( $this->_default_submenu_items, $id, $default ), - $id - ); - } - - /** - * Calculates admin settings menu slug. - * If plugin's menu slug is a file (e.g. CPT), uses plugin's slug as the menu slug. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @param string $page - * - * @return string - */ - function get_slug( $page = '' ) { - return ( ( false === strpos( $this->_menu_slug, '.php?' ) ) ? - $this->_menu_slug : - $this->_module_unique_affix ) . ( empty( $page ) ? '' : ( '-' . $page ) ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_parent_slug() { - return $this->_parent_slug; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_type() { - return $this->_type; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return bool - */ - function is_cpt() { - return ( 0 === strpos( $this->_menu_slug, 'edit.php?post_type=' ) || - // Back compatibility. - 'cpt' === $this->_type - ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_parent_type() { - return $this->_parent_type; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_raw_slug() { - return $this->_menu_slug; - } - - /** - * Get plugin's original menu slug. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_original_menu_slug() { - if ( 'cpt' === $this->_type ) { - return add_query_arg( array( - 'post_type' => $this->_menu_slug - ), 'edit.php' ); - } - - if ( false === strpos( $this->_menu_slug, '.php?' ) ) { - return $this->_menu_slug; - } else { - return $this->_module_unique_affix; - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.3 - * - * @return string - */ - function get_top_level_menu_slug() { - return $this->has_custom_parent() ? - $this->get_parent_slug() : - $this->get_raw_slug(); - } - - /** - * Is user on plugin's admin activation page. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - * - * @return bool - */ - function is_main_settings_page() { - if ( $this->_menu_exists && - ( fs_is_plugin_page( $this->_menu_slug ) || fs_is_plugin_page( $this->_module_unique_affix ) ) - ) { - /** - * Module has a settings menu and the context page is the main settings page, so assume it's in - * activation (doesn't really check if already opted-in/skipped or not). - * - * @since 1.2.2 - */ - return true; - } - - global $pagenow; - if ( ( WP_FS__MODULE_TYPE_THEME === $this->_module_type ) && Freemius::is_themes_page() ) { - /** - * In activation only when show_optin query string param is given. - * - * @since 1.2.2 - */ - return fs_request_get_bool( $this->_module_unique_affix . '_show_optin' ); - } - - return false; - } - - #region Submenu Override - - /** - * Override submenu's action. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.0 - * - * @param string $parent_slug - * @param string $menu_slug - * @param callable $function - * - * @return false|string If submenu exist, will return the hook name. - */ - function override_submenu_action( $parent_slug, $menu_slug, $function ) { - global $submenu; - - $menu_slug = plugin_basename( $menu_slug ); - $parent_slug = plugin_basename( $parent_slug ); - - if ( ! isset( $submenu[ $parent_slug ] ) ) { - // Parent menu not exist. - return false; - } - - $found_submenu_item = false; - foreach ( $submenu[ $parent_slug ] as $submenu_item ) { - if ( $menu_slug === $submenu_item[2] ) { - $found_submenu_item = $submenu_item; - break; - } - } - - if ( false === $found_submenu_item ) { - // Submenu item not found. - return false; - } - - // Remove current function. - $hookname = get_plugin_page_hookname( $menu_slug, $parent_slug ); - remove_all_actions( $hookname ); - - // Attach new action. - add_action( $hookname, $function ); - - return $hookname; - } - - #endregion Submenu Override - - #region Top level menu Override - - /** - * Find plugin's admin dashboard main menu item. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.2 - * - * @return string[]|false - */ - private function find_top_level_menu() { - global $menu; - - $position = - 1; - $found_menu = false; - - $menu_slug = $this->get_raw_slug(); - - $hook_name = get_plugin_page_hookname( $menu_slug, '' ); - foreach ( $menu as $pos => $m ) { - if ( $menu_slug === $m[2] ) { - $position = $pos; - $found_menu = $m; - break; - } - } - - if ( false === $found_menu ) { - return false; - } - - return array( - 'menu' => $found_menu, - 'position' => $position, - 'hook_name' => $hook_name - ); - } - - /** - * Find plugin's admin dashboard main submenu item. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.6 - * - * @return array|false - */ - private function find_main_submenu() { - global $submenu; - - $top_level_menu_slug = $this->get_top_level_menu_slug(); - - if ( ! isset( $submenu[ $top_level_menu_slug ] ) ) { - return false; - } - - $submenu_slug = $this->get_raw_slug(); - - $position = - 1; - $found_submenu = false; - - $hook_name = get_plugin_page_hookname( $submenu_slug, '' ); - - foreach ( $submenu[ $top_level_menu_slug ] as $pos => $sub ) { - if ( $submenu_slug === $sub[2] ) { - $position = $pos; - $found_submenu = $sub; - } - } - - if ( false === $found_submenu ) { - return false; - } - - return array( - 'menu' => $found_submenu, - 'parent_slug' => $top_level_menu_slug, - 'position' => $position, - 'hook_name' => $hook_name - ); - } - - /** - * Remove all sub-menu items. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @return bool If submenu with plugin's menu slug was found. - */ - private function remove_all_submenu_items() { - global $submenu; - - $menu_slug = $this->get_raw_slug(); - - if ( ! isset( $submenu[ $menu_slug ] ) ) { - return false; - } - - /** - * This method is NOT executed for WordPress.org themes. - * Since we maintain only one version of the SDK we added this small - * hack to avoid the error from Theme Check since it's a false-positive. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - $submenu_ref = &$submenu; - $submenu_ref[ $menu_slug ] = array(); - - return true; - } - - /** - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param bool $remove_top_level_menu - * - * @return false|array[string]mixed - */ - function remove_menu_item( $remove_top_level_menu = false ) { - $this->_logger->entrance(); - - // Find main menu item. - $top_level_menu = $this->find_top_level_menu(); - - if ( false === $top_level_menu ) { - return false; - } - - // Remove it with its actions. - remove_all_actions( $top_level_menu['hook_name'] ); - - // Remove all submenu items. - $this->remove_all_submenu_items(); - - if ( $remove_top_level_menu ) { - global $menu; - unset( $menu[ $top_level_menu['position'] ] ); - } - - return $top_level_menu; - } - - /** - * Get module's main admin setting page URL. - * - * @todo This method was only tested for wp.org compliant themes with a submenu item. Need to test for plugins with top level, submenu, and CPT top level, menu items. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @return string - */ - function main_menu_url() { - $this->_logger->entrance(); - - if ( $this->_is_top_level ) { - $menu = $this->find_top_level_menu(); - } else { - $menu = $this->find_main_submenu(); - } - - $parent_slug = isset( $menu['parent_slug'] ) ? - $menu['parent_slug'] : - 'admin.php'; - - return admin_url( $parent_slug . '?page=' . $menu['menu'][2] ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.4 - * - * @param callable $function - * - * @return false|array[string]mixed - */ - function override_menu_item( $function ) { - $found_menu = $this->remove_menu_item(); - - if ( false === $found_menu ) { - return false; - } - - if ( ! $this->is_top_level() || ! $this->is_cpt() ) { - $menu_slug = plugin_basename( $this->get_slug() ); - - $hookname = get_plugin_page_hookname( $menu_slug, '' ); - - // Override menu action. - add_action( $hookname, $function ); - } else { - global $menu; - - // Remove original CPT menu. - unset( $menu[ $found_menu['position'] ] ); - - // Create new top-level menu action. - $hookname = self::add_page( - $found_menu['menu'][3], - $found_menu['menu'][0], - 'manage_options', - $this->get_slug(), - $function, - $found_menu['menu'][6], - $found_menu['position'] - ); - } - - return $hookname; - } - - /** - * Adds a counter to the module's top level menu item. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.5 - * - * @param int $counter - * @param string $class - */ - function add_counter_to_menu_item( $counter = 1, $class = '' ) { - global $menu, $submenu; - - $mask = '%s '; - - /** - * This method is NOT executed for WordPress.org themes. - * Since we maintain only one version of the SDK we added this small - * hack to avoid the error from Theme Check since it's a false-positive. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - $menu_ref = &$menu; - $submenu_ref = &$submenu; - - if ( $this->_is_top_level ) { - // Find main menu item. - $found_menu = $this->find_top_level_menu(); - - if ( false !== $found_menu ) { - // Override menu label. - $menu_ref[ $found_menu['position'] ][0] = sprintf( - $mask, - $found_menu['menu'][0], - $class, - $counter - ); - } - } else { - $found_submenu = $this->find_main_submenu(); - - if ( false !== $found_submenu ) { - // Override menu label. - $submenu_ref[ $found_submenu['parent_slug'] ][ $found_submenu['position'] ][0] = sprintf( - $mask, - $found_submenu['menu'][0], - $class, - $counter - ); - } - } - } - - #endregion Top level menu Override - - /** - * Add a top-level menu page. - * - * Note for WordPress.org Theme/Plugin reviewer: - * - * This is a replication of `add_menu_page()` to avoid Theme Check warning. - * - * Why? - * ==== - * Freemius is an SDK for plugin and theme developers. Since the core - * of the SDK is relevant both for plugins and themes, for obvious reasons, - * we only develop and maintain one code base. - * - * This method will not run for wp.org themes (only plugins) since theme - * admin settings/options are now only allowed in the customizer. - * - * If you have any questions or need clarifications, please don't hesitate - * pinging me on slack, my username is @svovaf. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2 - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is - * selected. - * @param string $menu_title The text to be used for the menu. - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). - * @param callable|string $function The function to be called to output the content for this page. - * @param string $icon_url The URL to the icon to be used for this menu. - * * Pass a base64-encoded SVG using a data URI, which will be colored to - * match the color scheme. This should begin with - * 'data:image/svg+xml;base64,'. - * * Pass the name of a Dashicons helper class to use a font icon, - * e.g. 'dashicons-chart-pie'. - * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added - * via CSS. - * @param int $position The position in the menu order this one should appear. - * - * @return string The resulting page's hook_suffix. - */ - static function add_page( - $page_title, - $menu_title, - $capability, - $menu_slug, - $function = '', - $icon_url = '', - $position = null - ) { - $fn = 'add_menu' . '_page'; - - return $fn( - $page_title, - $menu_title, - $capability, - $menu_slug, - $function, - $icon_url, - $position - ); - } - - /** - * Add page and update menu instance settings. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $page_title - * @param string $menu_title - * @param string $capability - * @param string $menu_slug - * @param callable|string $function - * @param string $icon_url - * @param int|null $position - * - * @return string - */ - function add_page_and_update( - $page_title, - $menu_title, - $capability, - $menu_slug, - $function = '', - $icon_url = '', - $position = null - ) { - $this->_menu_slug = $menu_slug; - $this->_is_top_level = true; - $this->_menu_exists = true; - $this->_network_menu_exists = true; - - return self::add_page( - $page_title, - $menu_title, - $capability, - $menu_slug, - $function, - $icon_url, - $position - ); - } - - /** - * Add a submenu page. - * - * Note for WordPress.org Theme/Plugin reviewer: - * - * This is a replication of `add_submenu_page()` to avoid Theme Check warning. - * - * Why? - * ==== - * Freemius is an SDK for plugin and theme developers. Since the core - * of the SDK is relevant both for plugins and themes, for obvious reasons, - * we only develop and maintain one code base. - * - * This method will not run for wp.org themes (only plugins) since theme - * admin settings/options are now only allowed in the customizer. - * - * If you have any questions or need clarifications, please don't hesitate - * pinging me on slack, my username is @svovaf. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2 - * - * @param string $parent_slug The slug name for the parent menu (or the file name of a standard - * WordPress admin page). - * @param string $page_title The text to be displayed in the title tags of the page when the menu is - * selected. - * @param string $menu_title The text to be used for the menu. - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). - * @param callable|string $function The function to be called to output the content for this page. - * - * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability - * required. - */ - static function add_subpage( - $parent_slug, - $page_title, - $menu_title, - $capability, - $menu_slug, - $function = '' - ) { - $fn = 'add_submenu' . '_page'; - - return $fn( $parent_slug, - $page_title, - $menu_title, - $capability, - $menu_slug, - $function - ); - } - - /** - * Add sub page and update menu instance settings. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $parent_slug - * @param string $page_title - * @param string $menu_title - * @param string $capability - * @param string $menu_slug - * @param callable|string $function - * - * @return string - */ - function add_subpage_and_update( - $parent_slug, - $page_title, - $menu_title, - $capability, - $menu_slug, - $function = '' - ) { - $this->_menu_slug = $menu_slug; - $this->_parent_slug = $parent_slug; - $this->_is_top_level = false; - $this->_menu_exists = true; - $this->_network_menu_exists = true; - - return self::add_subpage( - $parent_slug, - $page_title, - $menu_title, - $capability, - $menu_slug, - $function - ); - } - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-admin-notice-manager.php b/freemius/includes/managers/class-fs-admin-notice-manager.php deleted file mode 100644 index 1e911e0..0000000 --- a/freemius/includes/managers/class-fs-admin-notice-manager.php +++ /dev/null @@ -1,472 +0,0 @@ - 0 ) { - $key .= ":{$network_level_or_blog_id}"; - } else { - $network_level_or_blog_id = get_current_blog_id(); - - $key .= ":{$network_level_or_blog_id}"; - } - } - - if ( ! isset( self::$_instances[ $key ] ) ) { - self::$_instances[ $key ] = new FS_Admin_Notice_Manager( - $id, - $title, - $module_unique_affix, - $is_network_and_blog_admins, - $network_level_or_blog_id - ); - } - - return self::$_instances[ $key ]; - } - - /** - * @param string $id - * @param string $title - * @param string $module_unique_affix - * @param bool $is_network_and_blog_admins Whether or not the message should be shown both on network and - * blog admin pages. - * @param bool|int $network_level_or_blog_id - */ - protected function __construct( - $id, - $title = '', - $module_unique_affix = '', - $is_network_and_blog_admins = false, - $network_level_or_blog_id = false - ) { - $this->_id = $id; - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $this->_id . '_data', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - $this->_title = ! empty( $title ) ? $title : ''; - $this->_module_unique_affix = $module_unique_affix; - $this->_sticky_storage = FS_Key_Value_Storage::instance( 'admin_notices', $this->_id, $network_level_or_blog_id ); - - if ( is_multisite() ) { - $this->_is_network_notices = ( true === $network_level_or_blog_id ); - - if ( is_numeric( $network_level_or_blog_id ) ) { - $this->_blog_id = $network_level_or_blog_id; - } - } else { - $this->_is_network_notices = false; - } - - $is_network_admin = fs_is_network_admin(); - $is_blog_admin = fs_is_blog_admin(); - - if ( ( $this->_is_network_notices && $is_network_admin ) || - ( ! $this->_is_network_notices && $is_blog_admin ) || - ( $is_network_and_blog_admins && ( $is_network_admin || $is_blog_admin ) ) - ) { - if ( 0 < count( $this->_sticky_storage ) ) { - $ajax_action_suffix = str_replace( ':', '-', $this->_id ); - - // If there are sticky notices for the current slug, add a callback - // to the AJAX action that handles message dismiss. - add_action( "wp_ajax_fs_dismiss_notice_action_{$ajax_action_suffix}", array( - &$this, - 'dismiss_notice_ajax_callback' - ) ); - - foreach ( $this->_sticky_storage as $msg ) { - // Add admin notice. - $this->add( - $msg['message'], - $msg['title'], - $msg['type'], - true, - $msg['id'], - false, - isset( $msg['wp_user_id'] ) ? $msg['wp_user_id'] : null, - ! empty( $msg['plugin'] ) ? $msg['plugin'] : null, - $is_network_and_blog_admins - ); - } - } - } - } - - /** - * Remove sticky message by ID. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - */ - function dismiss_notice_ajax_callback() { - $this->_sticky_storage->remove( $_POST['message_id'] ); - wp_die(); - } - - /** - * Rendered sticky message dismiss JavaScript. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - static function _add_sticky_dismiss_javascript() { - $params = array(); - fs_require_once_template( 'sticky-admin-notice-js.php', $params ); - } - - private static $_added_sticky_javascript = false; - - /** - * Hook to the admin_footer to add sticky message dismiss JavaScript handler. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - private static function has_sticky_messages() { - if ( ! self::$_added_sticky_javascript ) { - add_action( 'admin_footer', array( 'FS_Admin_Notice_Manager', '_add_sticky_dismiss_javascript' ) ); - } - } - - /** - * Handle admin_notices by printing the admin messages stacked in the queue. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - */ - function _admin_notices_hook() { - if ( function_exists( 'current_user_can' ) && - ! current_user_can( 'manage_options' ) - ) { - // Only show messages to admins. - return; - } - - - $show_admin_notices = ( ! $this->is_gutenberg_page() ); - - foreach ( $this->_notices as $id => $msg ) { - if ( isset( $msg['wp_user_id'] ) && is_numeric( $msg['wp_user_id'] ) ) { - if ( get_current_user_id() != $msg['wp_user_id'] ) { - continue; - } - } - - /** - * Added a filter to control the visibility of admin notices. - * - * Usage example: - * - * /** - * * @param bool $show - * * @param array $msg { - * * @var string $message The actual message. - * * @var string $title An optional message title. - * * @var string $type The type of the message ('success', 'update', 'warning', 'promotion'). - * * @var string $id The unique identifier of the message. - * * @var string $manager_id The unique identifier of the notices manager. For plugins it would be the plugin's slug, for themes - `-theme`. - * * @var string $plugin The product's title. - * * @var string $wp_user_id An optional WP user ID that this admin notice is for. - * * } - * * - * * @return bool - * *\/ - * function my_custom_show_admin_notice( $show, $msg ) { - * if ('trial_promotion' != $msg['id']) { - * return false; - * } - * - * return $show; - * } - * - * my_fs()->add_filter( 'show_admin_notice', 'my_custom_show_admin_notice', 10, 2 ); - * - * @author Vova Feldman - * @since 2.2.0 - */ - $show_notice = call_user_func_array( 'fs_apply_filter', array( - $this->_module_unique_affix, - 'show_admin_notice', - $show_admin_notices, - $msg - ) ); - - if ( true !== $show_notice ) { - continue; - } - - fs_require_template( 'admin-notice.php', $msg ); - - if ( $msg['sticky'] ) { - self::has_sticky_messages(); - } - } - } - - /** - * Enqueue common stylesheet to style admin notice. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function _enqueue_styles() { - fs_enqueue_local_style( 'fs_common', '/admin/common.css' ); - } - - /** - * Check if the current page is the Gutenberg block editor. - * - * @author Vova Feldman (@svovaf) - * @since 2.2.3 - * - * @return bool - */ - function is_gutenberg_page() { - if ( function_exists( 'is_gutenberg_page' ) && - is_gutenberg_page() - ) { - // The Gutenberg plugin is on. - return true; - } - - $current_screen = get_current_screen(); - - if ( method_exists( $current_screen, 'is_block_editor' ) && - $current_screen->is_block_editor() - ) { - // Gutenberg page on 5+. - return true; - } - - return false; - } - - /** - * Add admin message to admin messages queue, and hook to admin_notices / all_admin_notices if not yet hooked. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.4 - * - * @param string $message - * @param string $title - * @param string $type - * @param bool $is_sticky - * @param string $id Message ID - * @param bool $store_if_sticky - * @param number|null $wp_user_id - * @param string|null $plugin_title - * @param bool $is_network_and_blog_admins Whether or not the message should be shown both on network - * and blog admin pages. - * - * @uses add_action() - */ - function add( - $message, - $title = '', - $type = 'success', - $is_sticky = false, - $id = '', - $store_if_sticky = true, - $wp_user_id = null, - $plugin_title = null, - $is_network_and_blog_admins = false - ) { - $notices_type = $this->get_notices_type(); - - if ( empty( $this->_notices ) ) { - if ( ! $is_network_and_blog_admins ) { - add_action( $notices_type, array( &$this, "_admin_notices_hook" ) ); - } else { - add_action( 'network_admin_notices', array( &$this, "_admin_notices_hook" ) ); - add_action( 'admin_notices', array( &$this, "_admin_notices_hook" ) ); - } - - add_action( 'admin_enqueue_scripts', array( &$this, '_enqueue_styles' ) ); - } - - if ( '' === $id ) { - $id = md5( $title . ' ' . $message . ' ' . $type ); - } - - $message_object = array( - 'message' => $message, - 'title' => $title, - 'type' => $type, - 'sticky' => $is_sticky, - 'id' => $id, - 'manager_id' => $this->_id, - 'plugin' => ( ! is_null( $plugin_title ) ? $plugin_title : $this->_title ), - 'wp_user_id' => $wp_user_id, - ); - - if ( $is_sticky && $store_if_sticky ) { - $this->_sticky_storage->{$id} = $message_object; - } - - $this->_notices[ $id ] = $message_object; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string|string[] $ids - */ - function remove_sticky( $ids ) { - if ( ! is_array( $ids ) ) { - $ids = array( $ids ); - } - - foreach ( $ids as $id ) { - // Remove from sticky storage. - $this->_sticky_storage->remove( $id ); - - if ( isset( $this->_notices[ $id ] ) ) { - unset( $this->_notices[ $id ] ); - } - } - } - - /** - * Check if sticky message exists by id. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param $id - * - * @return bool - */ - function has_sticky( $id ) { - return isset( $this->_sticky_storage[ $id ] ); - } - - /** - * Adds sticky admin notification. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $message - * @param string $id Message ID - * @param string $title - * @param string $type - * @param number|null $wp_user_id - * @param string|null $plugin_title - * @param bool $is_network_and_blog_admins Whether or not the message should be shown both on network - * and blog admin pages. - */ - function add_sticky( $message, $id, $title = '', $type = 'success', $wp_user_id = null, $plugin_title = null, $is_network_and_blog_admins = false ) { - if ( ! empty( $this->_module_unique_affix ) ) { - $message = fs_apply_filter( $this->_module_unique_affix, "sticky_message_{$id}", $message ); - $title = fs_apply_filter( $this->_module_unique_affix, "sticky_title_{$id}", $title ); - } - - $this->add( $message, $title, $type, true, $id, true, $wp_user_id, $plugin_title, $is_network_and_blog_admins ); - } - - /** - * Clear all sticky messages. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.8 - */ - function clear_all_sticky() { - $this->_sticky_storage->clear_all(); - } - - #-------------------------------------------------------------------------------- - #region Helper Method - #-------------------------------------------------------------------------------- - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - private function get_notices_type() { - return $this->_is_network_notices ? - 'network_admin_notices' : - 'admin_notices'; - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-cache-manager.php b/freemius/includes/managers/class-fs-cache-manager.php deleted file mode 100644 index c6cb282..0000000 --- a/freemius/includes/managers/class-fs-cache-manager.php +++ /dev/null @@ -1,326 +0,0 @@ -_logger = FS_Logger::get_logger( WP_FS__SLUG . '_cach_mngr_' . $id, WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->_logger->entrance(); - $this->_logger->log( 'id = ' . $id ); - - $this->_options = FS_Option_Manager::get_manager( $id, true, true ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param $id - * - * @return FS_Cache_Manager - */ - static function get_manager( $id ) { - $id = strtolower( $id ); - - if ( ! isset( self::$_MANAGERS[ $id ] ) ) { - self::$_MANAGERS[ $id ] = new FS_Cache_Manager( $id ); - } - - return self::$_MANAGERS[ $id ]; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @return bool - */ - function is_empty() { - $this->_logger->entrance(); - - return $this->_options->is_empty(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - */ - function clear() { - $this->_logger->entrance(); - - $this->_options->clear( true ); - } - - /** - * Delete cache manager from DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function delete() { - $this->_options->delete(); - } - - /** - * Check if there's a cached item. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - * - * @return bool - */ - function has( $key ) { - $cache_entry = $this->_options->get_option( $key, false ); - - return ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) - ); - } - - /** - * Check if there's a valid cached item. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - * @param null|int $expiration Since 1.2.2.7 - * - * @return bool - */ - function has_valid( $key, $expiration = null ) { - $cache_entry = $this->_options->get_option( $key, false ); - - $is_valid = ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) && - $cache_entry->timestamp > WP_FS__SCRIPT_START_TIME - ); - - if ( $is_valid && - is_numeric( $expiration ) && - isset( $cache_entry->created ) && - is_numeric( $cache_entry->created ) && - $cache_entry->created + $expiration < WP_FS__SCRIPT_START_TIME - ) { - /** - * Even if the cache is still valid, since we are checking for validity - * with an explicit expiration period, if the period has past, return - * `false` as if the cache is invalid. - * - * @since 1.2.2.7 - */ - $is_valid = false; - } - - return $is_valid; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - * @param mixed $default - * - * @return mixed - */ - function get( $key, $default = null ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = $this->_options->get_option( $key, false ); - - if ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) - ) { - return $cache_entry->result; - } - - return is_object( $default ) ? clone $default : $default; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - * @param mixed $default - * - * @return mixed - */ - function get_valid( $key, $default = null ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = $this->_options->get_option( $key, false ); - - if ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) && - $cache_entry->timestamp > WP_FS__SCRIPT_START_TIME - ) { - return $cache_entry->result; - } - - return is_object( $default ) ? clone $default : $default; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - * @param mixed $value - * @param int $expiration - * @param int $created Since 2.0.0 Cache creation date. - */ - function set( $key, $value, $expiration = WP_FS__TIME_24_HOURS_IN_SEC, $created = WP_FS__SCRIPT_START_TIME ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = new stdClass(); - - $cache_entry->result = $value; - $cache_entry->created = $created; - $cache_entry->timestamp = $created + $expiration; - $this->_options->set_option( $key, $cache_entry, true ); - } - - /** - * Get cached record expiration, or false if not cached or expired. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.7.3 - * - * @param string $key - * - * @return bool|int - */ - function get_record_expiration( $key ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = $this->_options->get_option( $key, false ); - - if ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) && - $cache_entry->timestamp > WP_FS__SCRIPT_START_TIME - ) { - return $cache_entry->timestamp; - } - - return false; - } - - /** - * Purge cached item. - * - * @author Vova Feldman (@svovaf) - * @since 1.1.6 - * - * @param string $key - */ - function purge( $key ) { - $this->_logger->entrance( 'key = ' . $key ); - - $this->_options->unset_option( $key, true ); - } - - /** - * Extend cached item caching period. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @param string $key - * @param int $expiration - * - * @return bool - */ - function update_expiration( $key, $expiration = WP_FS__TIME_24_HOURS_IN_SEC ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = $this->_options->get_option( $key, false ); - - if ( ! is_object( $cache_entry ) || - ! isset( $cache_entry->timestamp ) || - ! is_numeric( $cache_entry->timestamp ) - ) { - return false; - } - - $this->set( $key, $cache_entry->result, $expiration, $cache_entry->created ); - - return true; - } - - /** - * Set cached item as expired. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - * - * @param string $key - */ - function expire( $key ) { - $this->_logger->entrance( 'key = ' . $key ); - - $cache_entry = $this->_options->get_option( $key, false ); - - if ( is_object( $cache_entry ) && - isset( $cache_entry->timestamp ) && - is_numeric( $cache_entry->timestamp ) - ) { - // Set to expired. - $cache_entry->timestamp = WP_FS__SCRIPT_START_TIME; - $this->_options->set_option( $key, $cache_entry, true ); - } - } - - #-------------------------------------------------------------------------------- - #region Migration - #-------------------------------------------------------------------------------- - - /** - * Migrate options from site level. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function migrate_to_network() { - $this->_options->migrate_to_network(); - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-gdpr-manager.php b/freemius/includes/managers/class-fs-gdpr-manager.php deleted file mode 100644 index a64abb0..0000000 --- a/freemius/includes/managers/class-fs-gdpr-manager.php +++ /dev/null @@ -1,202 +0,0 @@ -_storage = FS_Option_Manager::get_manager( WP_FS__GDPR_OPTION_NAME, true, true ); - $this->_wp_user_id = Freemius::get_current_wp_user_id(); - $this->_option_name = "u{$this->_wp_user_id}"; - $this->_data = $this->_storage->get_option( $this->_option_name, array() ); - $this->_notices = FS_Admin_Notices::instance( 'all_admins', '', '', true ); - - if ( ! is_array( $this->_data ) ) { - $this->_data = array(); - } - } - - /** - * Update a GDPR option for the current admin and store it. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @param string $name - * @param mixed $value - */ - private function update_option( $name, $value ) { - $this->_data[ $name ] = $value; - - $this->_storage->set_option( $this->_option_name, $this->_data, true ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @return bool|null - */ - public function is_required() { - return isset( $this->_data['required'] ) ? - $this->_data['required'] : - null; - } - - /** - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - * - * @param bool $is_required - */ - public function store_is_required( $is_required ) { - $this->update_option( 'required', $is_required ); - } - - /** - * Checks if the GDPR opt-in sticky notice is currently shown. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return bool - */ - public function is_opt_in_notice_shown() { - return $this->_notices->has_sticky( "gdpr_optin_actions_{$this->_wp_user_id}", true ); - } - - /** - * Remove the GDPR opt-in sticky notice. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - */ - public function remove_opt_in_notice() { - $this->_notices->remove_sticky( "gdpr_optin_actions_{$this->_wp_user_id}", true ); - - $this->disable_opt_in_notice(); - } - - /** - * Prevents the opt-in message from being added/shown. - * - * @author Leo Fajardo (@leorw) - * @since 2.1.0 - */ - public function disable_opt_in_notice() { - $this->update_option( 'show_opt_in_notice', false ); - } - - /** - * Checks if a GDPR opt-in message needs to be shown to the current admin. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return bool - */ - public function should_show_opt_in_notice() { - return ( - ! isset( $this->_data['show_opt_in_notice'] ) || - true === $this->_data['show_opt_in_notice'] - ); - } - - /** - * Get the last time the GDPR opt-in notice was shown. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - * - * @return false|int - */ - public function last_time_notice_was_shown() { - return isset( $this->_data['notice_shown_at'] ) ? - $this->_data['notice_shown_at'] : - false; - } - - /** - * Update the timestamp of the last time the GDPR opt-in message was shown to now. - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - */ - public function notice_was_just_shown() { - $this->update_option( 'notice_shown_at', WP_FS__SCRIPT_START_TIME ); - } - - /** - * @param string $message - * @param string|null $plugin_title - * - * @author Vova Feldman (@svovaf) - * @since 2.1.0 - */ - public function add_opt_in_sticky_notice( $message, $plugin_title = null ) { - $this->_notices->add_sticky( - $message, - "gdpr_optin_actions_{$this->_wp_user_id}", - '', - 'promotion', - true, - $this->_wp_user_id, - $plugin_title, - true - ); - } - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-key-value-storage.php b/freemius/includes/managers/class-fs-key-value-storage.php deleted file mode 100644 index 713df6f..0000000 --- a/freemius/includes/managers/class-fs-key-value-storage.php +++ /dev/null @@ -1,392 +0,0 @@ - 0 ) { - $key .= ":{$network_level_or_blog_id}"; - } else { - $network_level_or_blog_id = get_current_blog_id(); - - $key .= ":{$network_level_or_blog_id}"; - } - } - - if ( ! isset( self::$_instances[ $key ] ) ) { - self::$_instances[ $key ] = new FS_Key_Value_Storage( $id, $secondary_id, $network_level_or_blog_id ); - } - - return self::$_instances[ $key ]; - } - - protected function __construct( $id, $secondary_id, $network_level_or_blog_id = false ) { - $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $secondary_id . '_' . $id, WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->_id = $id; - $this->_secondary_id = $secondary_id; - - if ( is_multisite() ) { - $this->_is_multisite_storage = ( true === $network_level_or_blog_id ); - - if ( is_numeric( $network_level_or_blog_id ) ) { - $this->_blog_id = $network_level_or_blog_id; - } - } else { - $this->_is_multisite_storage = false; - } - - $this->load(); - } - - protected function get_option_manager() { - return FS_Option_Manager::get_manager( - WP_FS__ACCOUNTS_OPTION_NAME, - true, - $this->_is_multisite_storage ? - true : - ( $this->_blog_id > 0 ? $this->_blog_id : false ) - ); - } - - protected function get_all_data() { - return $this->get_option_manager()->get_option( $this->_id, array() ); - } - - /** - * Load plugin data from local DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - */ - function load() { - $all_plugins_data = $this->get_all_data(); - $this->_data = isset( $all_plugins_data[ $this->_secondary_id ] ) ? - $all_plugins_data[ $this->_secondary_id ] : - array(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $key - * @param mixed $value - * @param bool $flush - */ - function store( $key, $value, $flush = true ) { - if ( $this->_logger->is_on() ) { - $this->_logger->entrance( $key . ' = ' . var_export( $value, true ) ); - } - - if ( array_key_exists( $key, $this->_data ) && $value === $this->_data[ $key ] ) { - // No need to store data if the value wasn't changed. - return; - } - - $all_data = $this->get_all_data(); - - $this->_data[ $key ] = $value; - - $all_data[ $this->_secondary_id ] = $this->_data; - - $options_manager = $this->get_option_manager(); - $options_manager->set_option( $this->_id, $all_data, $flush ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function save() { - $this->get_option_manager()->store(); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param bool $store - * @param string[] $exceptions Set of keys to keep and not clear. - */ - function clear_all( $store = true, $exceptions = array() ) { - $new_data = array(); - foreach ( $exceptions as $key ) { - if ( isset( $this->_data[ $key ] ) ) { - $new_data[ $key ] = $this->_data[ $key ]; - } - } - - $this->_data = $new_data; - - if ( $store ) { - $all_data = $this->get_all_data(); - $all_data[ $this->_secondary_id ] = $this->_data; - $options_manager = $this->get_option_manager(); - $options_manager->set_option( $this->_id, $all_data, true ); - } - } - - /** - * Delete key-value storage. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function delete() { - $this->_data = array(); - - $all_data = $this->get_all_data(); - unset( $all_data[ $this->_secondary_id ] ); - $options_manager = $this->get_option_manager(); - $options_manager->set_option( $this->_id, $all_data, true ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $key - * @param bool $store - */ - function remove( $key, $store = true ) { - if ( ! array_key_exists( $key, $this->_data ) ) { - return; - } - - unset( $this->_data[ $key ] ); - - if ( $store ) { - $all_data = $this->get_all_data(); - $all_data[ $this->_secondary_id ] = $this->_data; - $options_manager = $this->get_option_manager(); - $options_manager->set_option( $this->_id, $all_data, true ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param string $key - * @param mixed $default - * - * @return bool|\FS_Plugin - */ - function get( $key, $default = false ) { - return array_key_exists( $key, $this->_data ) ? - $this->_data[ $key ] : - $default; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - function get_secondary_id() { - return $this->_secondary_id; - } - - - /* ArrayAccess + Magic Access (better for refactoring) - -----------------------------------------------------------------------------------*/ - function __set( $k, $v ) { - $this->store( $k, $v ); - } - - function __isset( $k ) { - return array_key_exists( $k, $this->_data ); - } - - function __unset( $k ) { - $this->remove( $k ); - } - - function __get( $k ) { - return $this->get( $k, null ); - } - - function offsetSet( $k, $v ) { - if ( is_null( $k ) ) { - throw new Exception( 'Can\'t append value to request params.' ); - } else { - $this->{$k} = $v; - } - } - - function offsetExists( $k ) { - return array_key_exists( $k, $this->_data ); - } - - function offsetUnset( $k ) { - unset( $this->$k ); - } - - function offsetGet( $k ) { - return $this->get( $k, null ); - } - - /** - * (PHP 5 >= 5.0.0)
    - * Return the current element - * - * @link http://php.net/manual/en/iterator.current.php - * @return mixed Can return any type. - */ - public function current() { - return current( $this->_data ); - } - - /** - * (PHP 5 >= 5.0.0)
    - * Move forward to next element - * - * @link http://php.net/manual/en/iterator.next.php - * @return void Any returned value is ignored. - */ - public function next() { - next( $this->_data ); - } - - /** - * (PHP 5 >= 5.0.0)
    - * Return the key of the current element - * - * @link http://php.net/manual/en/iterator.key.php - * @return mixed scalar on success, or null on failure. - */ - public function key() { - return key( $this->_data ); - } - - /** - * (PHP 5 >= 5.0.0)
    - * Checks if current position is valid - * - * @link http://php.net/manual/en/iterator.valid.php - * @return boolean The return value will be casted to boolean and then evaluated. - * Returns true on success or false on failure. - */ - public function valid() { - $key = key( $this->_data ); - - return ( $key !== null && $key !== false ); - } - - /** - * (PHP 5 >= 5.0.0)
    - * Rewind the Iterator to the first element - * - * @link http://php.net/manual/en/iterator.rewind.php - * @return void Any returned value is ignored. - */ - public function rewind() { - reset( $this->_data ); - } - - /** - * (PHP 5 >= 5.1.0)
    - * Count elements of an object - * - * @link http://php.net/manual/en/countable.count.php - * @return int The custom count as an integer. - *

    - *

    - * The return value is cast to an integer. - */ - public function count() { - return count( $this->_data ); - } - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-license-manager.php b/freemius/includes/managers/class-fs-license-manager.php deleted file mode 100644 index 891ecd8..0000000 --- a/freemius/includes/managers/class-fs-license-manager.php +++ /dev/null @@ -1,104 +0,0 @@ -get_slug() ); -// -// if ( ! isset( self::$_instances[ $slug ] ) ) { -// self::$_instances[ $slug ] = new FS_License_Manager( $slug, $fs ); -// } -// -// return self::$_instances[ $slug ]; -// } -// -//// private function __construct($slug) { -//// parent::__construct($slug); -//// } -// -// function entry_id() { -// return 'licenses'; -// } -// -// function sync( $id ) { -// -// } -// -// /** -// * @author Vova Feldman (@svovaf) -// * @since 1.0.5 -// * @uses FS_Api -// * -// * @param number|bool $plugin_id -// * -// * @return FS_Plugin_License[]|stdClass Licenses or API error. -// */ -// function api_get_user_plugin_licenses( $plugin_id = false ) { -// $api = $this->_fs->get_api_user_scope(); -// -// if ( ! is_numeric( $plugin_id ) ) { -// $plugin_id = $this->_fs->get_id(); -// } -// -// $result = $api->call( "/plugins/{$plugin_id}/licenses.json" ); -// -// if ( ! isset( $result->error ) ) { -// for ( $i = 0, $len = count( $result->licenses ); $i < $len; $i ++ ) { -// $result->licenses[ $i ] = new FS_Plugin_License( $result->licenses[ $i ] ); -// } -// -// $result = $result->licenses; -// } -// -// return $result; -// } -// -// function api_get_many() { -// -// } -// -// function api_activate( $id ) { -// -// } -// -// function api_deactivate( $id ) { -// -// } - - /** - * @param FS_Plugin_License[] $licenses - * - * @return bool - */ - static function has_premium_license( $licenses ) { - if ( is_array( $licenses ) ) { - foreach ( $licenses as $license ) { - /** - * @var FS_Plugin_License $license - */ - if ( ! $license->is_utilized() && $license->is_features_enabled() ) { - return true; - } - } - } - - return false; - } - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-option-manager.php b/freemius/includes/managers/class-fs-option-manager.php deleted file mode 100644 index abc7c4b..0000000 --- a/freemius/includes/managers/class-fs-option-manager.php +++ /dev/null @@ -1,490 +0,0 @@ -_logger = FS_Logger::get_logger( WP_FS__SLUG . '_opt_mngr_' . $id, WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - - $this->_logger->entrance(); - $this->_logger->log( 'id = ' . $id ); - - $this->_id = $id; - - if ( is_multisite() ) { - $this->_is_network_storage = ( true === $network_level_or_blog_id ); - - if ( is_numeric( $network_level_or_blog_id ) ) { - $this->_blog_id = $network_level_or_blog_id; - } - } else { - $this->_is_network_storage = false; - } - - if ( $load ) { - $this->load(); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param string $id - * @param bool $load - * @param bool|int $network_level_or_blog_id Since 2.0.0 - * - * @return FS_Option_Manager - */ - static function get_manager( $id, $load = false, $network_level_or_blog_id = false ) { - $key = strtolower( $id ); - - if ( is_multisite() ) { - if ( true === $network_level_or_blog_id ) { - $key .= ':ms'; - } else if ( is_numeric( $network_level_or_blog_id ) && $network_level_or_blog_id > 0 ) { - $key .= ":{$network_level_or_blog_id}"; - } else { - $network_level_or_blog_id = get_current_blog_id(); - - $key .= ":{$network_level_or_blog_id}"; - } - } - - if ( ! isset( self::$_MANAGERS[ $key ] ) ) { - self::$_MANAGERS[ $key ] = new FS_Option_Manager( $id, $load, $network_level_or_blog_id ); - } // If load required but not yet loaded, load. - else if ( $load && ! self::$_MANAGERS[ $key ]->is_loaded() ) { - self::$_MANAGERS[ $key ]->load(); - } - - return self::$_MANAGERS[ $key ]; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param bool $flush - */ - function load( $flush = false ) { - $this->_logger->entrance(); - - $option_name = $this->get_option_manager_name(); - - if ( $flush || ! isset( $this->_options ) ) { - if ( isset( $this->_options ) ) { - // Clear prev options. - $this->clear(); - } - - $cache_group = $this->get_cache_group(); - - if ( ! WP_FS__DEBUG_SDK ) { - - $this->_options = wp_cache_get( - $option_name, - $cache_group - ); - } - - $cached = true; - - if ( empty( $this->_options ) ) { - if ( $this->_is_network_storage ) { - $this->_options = get_site_option( $option_name ); - } else if ( $this->_blog_id > 0 ) { - $this->_options = get_blog_option( $this->_blog_id, $option_name ); - } else { - $this->_options = get_option( $option_name ); - } - - if ( is_string( $this->_options ) ) { - $this->_options = json_decode( $this->_options ); - } - -// $this->_logger->info('get_option = ' . var_export($this->_options, true)); - - if ( false === $this->_options ) { - $this->clear(); - } - - $cached = false; - } - - if ( ! WP_FS__DEBUG_SDK && ! $cached ) { - // Set non encoded cache. - wp_cache_set( $option_name, $this->_options, $cache_group ); - } - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return bool - */ - function is_loaded() { - return isset( $this->_options ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return bool - */ - function is_empty() { - return ( $this->is_loaded() && false === $this->_options ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool $flush - */ - function clear( $flush = false ) { - $this->_logger->entrance(); - - $this->_options = array(); - - if ( $flush ) { - $this->store(); - } - } - - /** - * Delete options manager from DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - */ - function delete() { - $option_name = $this->get_option_manager_name(); - - if ( $this->_is_network_storage ) { - delete_site_option( $option_name ); - } else if ( $this->_blog_id > 0 ) { - delete_blog_option( $this->_blog_id, $option_name ); - } else { - delete_option( $option_name ); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param string $option - * - * @return bool - */ - function has_option( $option ) { - return array_key_exists( $option, $this->_options ); - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param string $option - * @param mixed $default - * - * @return mixed - */ - function get_option( $option, $default = null ) { - $this->_logger->entrance( 'option = ' . $option ); - - if ( ! $this->is_loaded() ) { - $this->load(); - } - - if ( is_array( $this->_options ) ) { - $value = isset( $this->_options[ $option ] ) ? - $this->_options[ $option ] : - $default; - } else if ( is_object( $this->_options ) ) { - $value = isset( $this->_options->{$option} ) ? - $this->_options->{$option} : - $default; - } else { - $value = $default; - } - - /** - * If it's an object, return a clone of the object, otherwise, - * external changes of the object will actually change the value - * of the object in the options manager which may lead to an unexpected - * behaviour and data integrity when a store() call is triggered. - * - * Example: - * $object1 = $options->get_option( 'object1' ); - * $object1->x = 123; - * - * $object2 = $options->get_option( 'object2' ); - * $object2->y = 'dummy'; - * - * $options->set_option( 'object2', $object2, true ); - * - * If we don't return a clone of option 'object1', setting 'object2' - * will also store the updated value of 'object1' which is quite not - * an expected behaviour. - * - * @author Vova Feldman - */ - return is_object( $value ) ? clone $value : $value; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param string $option - * @param mixed $value - * @param bool $flush - */ - function set_option( $option, $value, $flush = false ) { - $this->_logger->entrance( 'option = ' . $option ); - - if ( ! $this->is_loaded() ) { - $this->clear(); - } - - /** - * If it's an object, store a clone of the object, otherwise, - * external changes of the object will actually change the value - * of the object in the options manager which may lead to an unexpected - * behaviour and data integrity when a store() call is triggered. - * - * Example: - * $object1 = new stdClass(); - * $object1->x = 123; - * - * $options->set_option( 'object1', $object1 ); - * - * $object1->x = 456; - * - * $options->set_option( 'object2', $object2, true ); - * - * If we don't set the option as a clone of option 'object1', setting 'object2' - * will also store the updated value of 'object1' ($object1->x = 456 instead of - * $object1->x = 123) which is quite not an expected behaviour. - * - * @author Vova Feldman - */ - $copy = is_object( $value ) ? clone $value : $value; - - if ( is_array( $this->_options ) ) { - $this->_options[ $option ] = $copy; - } else if ( is_object( $this->_options ) ) { - $this->_options->{$option} = $copy; - } - - if ( $flush ) { - $this->store(); - } - } - - /** - * Unset option. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @param string $option - * @param bool $flush - */ - function unset_option( $option, $flush = false ) { - $this->_logger->entrance( 'option = ' . $option ); - - if ( is_array( $this->_options ) ) { - if ( ! isset( $this->_options[ $option ] ) ) { - return; - } - - unset( $this->_options[ $option ] ); - - } else if ( is_object( $this->_options ) ) { - if ( ! isset( $this->_options->{$option} ) ) { - return; - } - - unset( $this->_options->{$option} ); - } - - if ( $flush ) { - $this->store(); - } - } - - /** - * Dump options to database. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - */ - function store() { - $this->_logger->entrance(); - - $option_name = $this->get_option_manager_name(); - - if ( $this->_logger->is_on() ) { - $this->_logger->info( $option_name . ' = ' . var_export( $this->_options, true ) ); - } - - // Update DB. - if ( $this->_is_network_storage ) { - update_site_option( $option_name, $this->_options ); - } else if ( $this->_blog_id > 0 ) { - update_blog_option( $this->_blog_id, $option_name, $this->_options ); - } else { - update_option( $option_name, $this->_options ); - } - - if ( ! WP_FS__DEBUG_SDK ) { - wp_cache_set( $option_name, $this->_options, $this->get_cache_group() ); - } - } - - /** - * Get options keys. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.3 - * - * @return string[] - */ - function get_options_keys() { - if ( is_array( $this->_options ) ) { - return array_keys( $this->_options ); - } else if ( is_object( $this->_options ) ) { - return array_keys( get_object_vars( $this->_options ) ); - } - - return array(); - } - - #-------------------------------------------------------------------------------- - #region Migration - #-------------------------------------------------------------------------------- - - /** - * Migrate options from site level. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - function migrate_to_network() { - $site_options = FS_Option_Manager::get_manager($this->_id, true, false); - - $options = is_object( $site_options->_options ) ? - get_object_vars( $site_options->_options ) : - $site_options->_options; - - if ( ! empty( $options ) ) { - foreach ( $options as $key => $val ) { - $this->set_option( $key, $val, false ); - } - - $this->store(); - } - } - - #endregion - - #-------------------------------------------------------------------------------- - #region Helper Methods - #-------------------------------------------------------------------------------- - - /** - * @return string - */ - private function get_option_manager_name() { - return $this->_id; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - * - * @return string - */ - private function get_cache_group() { - $group = WP_FS__SLUG; - - if ( $this->_is_network_storage ) { - $group .= '_ms'; - } else if ( $this->_blog_id > 0 ) { - $group .= "_s{$this->_blog_id}"; - } - - return $group; - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-plan-manager.php b/freemius/includes/managers/class-fs-plan-manager.php deleted file mode 100644 index 639de43..0000000 --- a/freemius/includes/managers/class-fs-plan-manager.php +++ /dev/null @@ -1,162 +0,0 @@ -is_utilized() && $license->is_features_enabled() ) { - return true; - } - } - } - - return false; - } - - /** - * Check if plugin has any paid plans. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param FS_Plugin_Plan[] $plans - * - * @return bool - */ - function has_paid_plan( $plans ) { - if ( ! is_array( $plans ) || 0 === count( $plans ) ) { - return false; - } - - /** - * @var FS_Plugin_Plan[] $plans - */ - for ( $i = 0, $len = count( $plans ); $i < $len; $i ++ ) { - if ( ! $plans[ $i ]->is_free() ) { - return true; - } - } - - return false; - } - - /** - * Check if plugin has any free plan, or is it premium only. - * - * Note: If no plans configured, assume plugin is free. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.7 - * - * @param FS_Plugin_Plan[] $plans - * - * @return bool - */ - function has_free_plan( $plans ) { - if ( ! is_array( $plans ) || 0 === count( $plans ) ) { - return true; - } - - /** - * @var FS_Plugin_Plan[] $plans - */ - for ( $i = 0, $len = count( $plans ); $i < $len; $i ++ ) { - if ( $plans[ $i ]->is_free() ) { - return true; - } - } - - return false; - } - - /** - * Find all plans that have trial. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param FS_Plugin_Plan[] $plans - * - * @return FS_Plugin_Plan[] - */ - function get_trial_plans( $plans ) { - $trial_plans = array(); - - if ( is_array( $plans ) && 0 < count( $plans ) ) { - /** - * @var FS_Plugin_Plan[] $plans - */ - for ( $i = 0, $len = count( $plans ); $i < $len; $i ++ ) { - if ( $plans[ $i ]->has_trial() ) { - $trial_plans[] = $plans[ $i ]; - } - } - } - - return $trial_plans; - } - - /** - * Check if plugin has any trial plan. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.9 - * - * @param FS_Plugin_Plan[] $plans - * - * @return bool - */ - function has_trial_plan( $plans ) { - if ( ! is_array( $plans ) || 0 === count( $plans ) ) { - return true; - } - - /** - * @var FS_Plugin_Plan[] $plans - */ - for ( $i = 0, $len = count( $plans ); $i < $len; $i ++ ) { - if ( $plans[ $i ]->has_trial() ) { - return true; - } - } - - return false; - } - } \ No newline at end of file diff --git a/freemius/includes/managers/class-fs-plugin-manager.php b/freemius/includes/managers/class-fs-plugin-manager.php deleted file mode 100644 index cf88a88..0000000 --- a/freemius/includes/managers/class-fs-plugin-manager.php +++ /dev/null @@ -1,220 +0,0 @@ -_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $module_id . '_' . 'plugins', WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); - $this->_module_id = $module_id; - - $this->load(); - } - - protected function get_option_manager() { - return FS_Option_Manager::get_manager( WP_FS__ACCOUNTS_OPTION_NAME, true, true ); - } - - /** - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - * - * @param string|bool $module_type "plugin", "theme", or "false" for all modules. - * - * @return array - */ - protected function get_all_modules( $module_type = false ) { - $option_manager = $this->get_option_manager(); - - if ( false !== $module_type ) { - return $option_manager->get_option( $module_type . 's', array() ); - } - - return array( - self::OPTION_NAME_PLUGINS => $option_manager->get_option( self::OPTION_NAME_PLUGINS, array() ), - self::OPTION_NAME_THEMES => $option_manager->get_option( self::OPTION_NAME_THEMES, array() ), - ); - } - - /** - * Load plugin data from local DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - */ - function load() { - $all_modules = $this->get_all_modules(); - - if ( ! is_numeric( $this->_module_id ) ) { - unset( $all_modules[ self::OPTION_NAME_THEMES ] ); - } - - foreach ( $all_modules as $modules ) { - /** - * @since 1.2.2 - * - * @var $modules FS_Plugin[] - */ - foreach ( $modules as $module ) { - $found_module = false; - - /** - * If module ID is not numeric, it must be a plugin's slug. - * - * @author Leo Fajardo (@leorw) - * @since 1.2.2 - */ - if ( ! is_numeric( $this->_module_id ) ) { - if ( $this->_module_id === $module->slug ) { - $this->_module_id = $module->id; - $found_module = true; - } - } else if ( $this->_module_id == $module->id ) { - $found_module = true; - } - - if ( $found_module ) { - $this->_module = $module; - break; - } - } - } - } - - /** - * Store plugin on local DB. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param bool|FS_Plugin $module - * @param bool $flush - * - * @return bool|\FS_Plugin - */ - function store( $module = false, $flush = true ) { - if ( false !== $module ) { - $this->_module = $module; - } - - $all_modules = $this->get_all_modules( $this->_module->type ); - $all_modules[ $this->_module->slug ] = $this->_module; - - $options_manager = $this->get_option_manager(); - $options_manager->set_option( $this->_module->type . 's', $all_modules, $flush ); - - return $this->_module; - } - - /** - * Update local plugin data if different. - * - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param \FS_Plugin $plugin - * @param bool $store - * - * @return bool True if plugin was updated. - */ - function update( FS_Plugin $plugin, $store = true ) { - if ( ! ($this->_module instanceof FS_Plugin ) || - $this->_module->slug != $plugin->slug || - $this->_module->public_key != $plugin->public_key || - $this->_module->secret_key != $plugin->secret_key || - $this->_module->parent_plugin_id != $plugin->parent_plugin_id || - $this->_module->title != $plugin->title - ) { - $this->store( $plugin, $store ); - - return true; - } - - return false; - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @param FS_Plugin $plugin - * @param bool $store - */ - function set( FS_Plugin $plugin, $store = false ) { - $this->_module = $plugin; - - if ( $store ) { - $this->store(); - } - } - - /** - * @author Vova Feldman (@svovaf) - * @since 1.0.6 - * - * @return bool|\FS_Plugin - */ - function get() { - return isset( $this->_module ) ? - $this->_module : - false; - } - - - } \ No newline at end of file diff --git a/freemius/includes/managers/index.php b/freemius/includes/managers/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/includes/managers/index.php +++ /dev/null @@ -1,3 +0,0 @@ -_result = $result; - - $code = 0; - $message = 'Unknown error, please check GetResult().'; - $type = ''; - - if ( isset( $result['error'] ) && is_array( $result['error'] ) ) { - if ( isset( $result['error']['code'] ) ) { - $code = $result['error']['code']; - } - if ( isset( $result['error']['message'] ) ) { - $message = $result['error']['message']; - } - if ( isset( $result['error']['type'] ) ) { - $type = $result['error']['type']; - } - } - - $this->_type = $type; - $this->_code = $code; - - parent::__construct( $message, is_numeric( $code ) ? $code : 0 ); - } - - /** - * Return the associated result object returned by the API server. - * - * @return array The result from the API server - */ - public function getResult() { - return $this->_result; - } - - public function getStringCode() { - return $this->_code; - } - - public function getType() { - return $this->_type; - } - - /** - * To make debugging easier. - * - * @return string The string representation of the error - */ - public function __toString() { - $str = $this->getType() . ': '; - - if ( $this->code != 0 ) { - $str .= $this->getStringCode() . ': '; - } - - return $str . $this->getMessage(); - } - } - } \ No newline at end of file diff --git a/freemius/includes/sdk/Exceptions/InvalidArgumentException.php b/freemius/includes/sdk/Exceptions/InvalidArgumentException.php deleted file mode 100644 index eb15570..0000000 --- a/freemius/includes/sdk/Exceptions/InvalidArgumentException.php +++ /dev/null @@ -1,8 +0,0 @@ -_id = $pID; - $this->_public = $pPublic; - $this->_secret = $pSecret; - $this->_scope = $pScope; - $this->_isSandbox = $pIsSandbox; - } - - public function IsSandbox() { - return $this->_isSandbox; - } - - function CanonizePath( $pPath ) { - $pPath = trim( $pPath, '/' ); - $query_pos = strpos( $pPath, '?' ); - $query = ''; - - if ( false !== $query_pos ) { - $query = substr( $pPath, $query_pos ); - $pPath = substr( $pPath, 0, $query_pos ); - } - - // Trim '.json' suffix. - $format_length = strlen( '.' . self::FORMAT ); - $start = $format_length * ( - 1 ); //negative - if ( substr( strtolower( $pPath ), $start ) === ( '.' . self::FORMAT ) ) { - $pPath = substr( $pPath, 0, strlen( $pPath ) - $format_length ); - } - - switch ( $this->_scope ) { - case 'app': - $base = '/apps/' . $this->_id; - break; - case 'developer': - $base = '/developers/' . $this->_id; - break; - case 'user': - $base = '/users/' . $this->_id; - break; - case 'plugin': - $base = '/plugins/' . $this->_id; - break; - case 'install': - $base = '/installs/' . $this->_id; - break; - default: - throw new Freemius_Exception( 'Scope not implemented.' ); - } - - return '/v' . FS_API__VERSION . $base . - ( ! empty( $pPath ) ? '/' : '' ) . $pPath . - ( ( false === strpos( $pPath, '.' ) ) ? '.' . self::FORMAT : '' ) . $query; - } - - abstract function MakeRequest( $pCanonizedPath, $pMethod = 'GET', $pParams = array() ); - - /** - * @param string $pPath - * @param string $pMethod - * @param array $pParams - * - * @return object[]|object|null - */ - private function _Api( $pPath, $pMethod = 'GET', $pParams = array() ) { - $pMethod = strtoupper( $pMethod ); - - try { - $result = $this->MakeRequest( $pPath, $pMethod, $pParams ); - } catch ( Freemius_Exception $e ) { - // Map to error object. - $result = (object) $e->getResult(); - } catch ( Exception $e ) { - // Map to error object. - $result = (object) array( - 'error' => array( - 'type' => 'Unknown', - 'message' => $e->getMessage() . ' (' . $e->getFile() . ': ' . $e->getLine() . ')', - 'code' => 'unknown', - 'http' => 402 - ) - ); - } - - return $result; - } - - public function Api( $pPath, $pMethod = 'GET', $pParams = array() ) { - return $this->_Api( $this->CanonizePath( $pPath ), $pMethod, $pParams ); - } - - /** - * Base64 decoding that does not need to be urldecode()-ed. - * - * Exactly the same as PHP base64 encode except it uses - * `-` instead of `+` - * `_` instead of `/` - * No padded = - * - * @param string $input Base64UrlEncoded() string - * - * @return string - */ - protected static function Base64UrlDecode( $input ) { - /** - * IMPORTANT NOTE: - * This is a hack suggested by @otto42 and @greenshady from - * the theme's review team. The usage of base64 for API - * signature encoding was approved in a Slack meeting - * held on Tue (10/25 2016). - * - * @todo Remove this hack once the base64 error is removed from the Theme Check. - * - * @since 1.2.2 - * @author Vova Feldman (@svovaf) - */ - $fn = 'base64' . '_decode'; - return $fn( strtr( $input, '-_', '+/' ) ); - } - - /** - * Base64 encoding that does not need to be urlencode()ed. - * - * Exactly the same as base64 encode except it uses - * `-` instead of `+ - * `_` instead of `/` - * - * @param string $input string - * - * @return string Base64 encoded string - */ - protected static function Base64UrlEncode( $input ) { - /** - * IMPORTANT NOTE: - * This is a hack suggested by @otto42 and @greenshady from - * the theme's review team. The usage of base64 for API - * signature encoding was approved in a Slack meeting - * held on Tue (10/25 2016). - * - * @todo Remove this hack once the base64 error is removed from the Theme Check. - * - * @since 1.2.2 - * @author Vova Feldman (@svovaf) - */ - $fn = 'base64' . '_encode'; - $str = strtr( $fn( $input ), '+/', '-_' ); - $str = str_replace( '=', '', $str ); - - return $str; - } - } diff --git a/freemius/includes/sdk/FreemiusWordPress.php b/freemius/includes/sdk/FreemiusWordPress.php deleted file mode 100644 index 99fbdb0..0000000 --- a/freemius/includes/sdk/FreemiusWordPress.php +++ /dev/null @@ -1,704 +0,0 @@ - '7.37' ); - - if ( ! defined( 'FS_API__PROTOCOL' ) ) { - define( 'FS_API__PROTOCOL', version_compare( $curl_version['version'], '7.37', '>=' ) ? 'https' : 'http' ); - } - - if ( ! defined( 'FS_API__LOGGER_ON' ) ) { - define( 'FS_API__LOGGER_ON', false ); - } - - if ( ! defined( 'FS_API__ADDRESS' ) ) { - define( 'FS_API__ADDRESS', '://api.freemius.com' ); - } - if ( ! defined( 'FS_API__SANDBOX_ADDRESS' ) ) { - define( 'FS_API__SANDBOX_ADDRESS', '://sandbox-api.freemius.com' ); - } - - if ( class_exists( 'Freemius_Api_WordPress' ) ) { - return; - } - - class Freemius_Api_WordPress extends Freemius_Api_Base { - private static $_logger = array(); - - /** - * @param string $pScope 'app', 'developer', 'user' or 'install'. - * @param number $pID Element's id. - * @param string $pPublic Public key. - * @param string|bool $pSecret Element's secret key. - * @param bool $pSandbox Whether or not to run API in sandbox mode. - */ - public function __construct( $pScope, $pID, $pPublic, $pSecret = false, $pSandbox = false ) { - // If secret key not provided, use public key encryption. - if ( is_bool( $pSecret ) ) { - $pSecret = $pPublic; - } - - parent::Init( $pScope, $pID, $pPublic, $pSecret, $pSandbox ); - } - - public static function GetUrl( $pCanonizedPath = '', $pIsSandbox = false ) { - $address = ( $pIsSandbox ? FS_API__SANDBOX_ADDRESS : FS_API__ADDRESS ); - - if ( ':' === $address[0] ) { - $address = self::$_protocol . $address; - } - - return $address . $pCanonizedPath; - } - - #---------------------------------------------------------------------------------- - #region Servers Clock Diff - #---------------------------------------------------------------------------------- - - /** - * @var int Clock diff in seconds between current server to API server. - */ - private static $_clock_diff = 0; - - /** - * Set clock diff for all API calls. - * - * @since 1.0.3 - * - * @param $pSeconds - */ - public static function SetClockDiff( $pSeconds ) { - self::$_clock_diff = $pSeconds; - } - - /** - * Find clock diff between current server to API server. - * - * @since 1.0.2 - * @return int Clock diff in seconds. - */ - public static function FindClockDiff() { - $time = time(); - $pong = self::Ping(); - - return ( $time - strtotime( $pong->timestamp ) ); - } - - #endregion - - /** - * @var string http or https - */ - private static $_protocol = FS_API__PROTOCOL; - - /** - * Set API connection protocol. - * - * @since 1.0.4 - */ - public static function SetHttp() { - self::$_protocol = 'http'; - } - - /** - * @since 1.0.4 - * - * @return bool - */ - public static function IsHttps() { - return ( 'https' === self::$_protocol ); - } - - /** - * Sign request with the following HTTP headers: - * Content-MD5: MD5(HTTP Request body) - * Date: Current date (i.e Sat, 14 Feb 2016 20:24:46 +0000) - * Authorization: FS {scope_entity_id}:{scope_entity_public_key}:base64encode(sha256(string_to_sign, - * {scope_entity_secret_key})) - * - * @param string $pResourceUrl - * @param array $pWPRemoteArgs - * - * @return array - */ - function SignRequest( $pResourceUrl, $pWPRemoteArgs ) { - $auth = $this->GenerateAuthorizationParams( - $pResourceUrl, - $pWPRemoteArgs['method'], - ! empty( $pWPRemoteArgs['body'] ) ? $pWPRemoteArgs['body'] : '' - ); - - $pWPRemoteArgs['headers']['Date'] = $auth['date']; - $pWPRemoteArgs['headers']['Authorization'] = $auth['authorization']; - - if ( ! empty( $auth['content_md5'] ) ) { - $pWPRemoteArgs['headers']['Content-MD5'] = $auth['content_md5']; - } - - return $pWPRemoteArgs; - } - - /** - * Generate Authorization request headers: - * - * Content-MD5: MD5(HTTP Request body) - * Date: Current date (i.e Sat, 14 Feb 2016 20:24:46 +0000) - * Authorization: FS {scope_entity_id}:{scope_entity_public_key}:base64encode(sha256(string_to_sign, - * {scope_entity_secret_key})) - * - * @author Vova Feldman - * - * @param string $pResourceUrl - * @param string $pMethod - * @param string $pPostParams - * - * @return array - * @throws Freemius_Exception - */ - function GenerateAuthorizationParams( - $pResourceUrl, - $pMethod = 'GET', - $pPostParams = '' - ) { - $pMethod = strtoupper( $pMethod ); - - $eol = "\n"; - $content_md5 = ''; - $content_type = ''; - $now = ( time() - self::$_clock_diff ); - $date = date( 'r', $now ); - - if ( in_array( $pMethod, array( 'POST', 'PUT' ) ) && ! empty( $pPostParams ) ) { - $content_md5 = md5( $pPostParams ); - $content_type = 'application/json'; - } - - $string_to_sign = implode( $eol, array( - $pMethod, - $content_md5, - $content_type, - $date, - $pResourceUrl - ) ); - - // If secret and public keys are identical, it means that - // the signature uses public key hash encoding. - $auth_type = ( $this->_secret !== $this->_public ) ? 'FS' : 'FSP'; - - $auth = array( - 'date' => $date, - 'authorization' => $auth_type . ' ' . $this->_id . ':' . - $this->_public . ':' . - self::Base64UrlEncode( hash_hmac( - 'sha256', $string_to_sign, $this->_secret - ) ) - ); - - if ( ! empty( $content_md5 ) ) { - $auth['content_md5'] = $content_md5; - } - - return $auth; - } - - /** - * Get API request URL signed via query string. - * - * @since 1.2.3 Stopped using http_build_query(). Instead, use urlencode(). In some environments the encoding of http_build_query() can generate a URL that once used with a redirect, the `&` querystring separator is escaped to `&` which breaks the URL (Added by @svovaf). - * - * @param string $pPath - * - * @throws Freemius_Exception - * - * @return string - */ - function GetSignedUrl( $pPath ) { - $resource = explode( '?', $this->CanonizePath( $pPath ) ); - $pResourceUrl = $resource[0]; - - $auth = $this->GenerateAuthorizationParams( $pResourceUrl ); - - return Freemius_Api_WordPress::GetUrl( - $pResourceUrl . '?' . - ( 1 < count( $resource ) && ! empty( $resource[1] ) ? $resource[1] . '&' : '' ) . - 'authorization=' . urlencode( $auth['authorization'] ) . - '&auth_date=' . urlencode( $auth['date'] ) - , $this->_isSandbox ); - } - - /** - * @author Vova Feldman - * - * @param string $pUrl - * @param array $pWPRemoteArgs - * - * @return mixed - */ - private static function ExecuteRequest( $pUrl, &$pWPRemoteArgs ) { - $start = microtime( true ); - - $response = wp_remote_request( $pUrl, $pWPRemoteArgs ); - - if ( FS_API__LOGGER_ON ) { - $end = microtime( true ); - - $has_body = ( isset( $pWPRemoteArgs['body'] ) && ! empty( $pWPRemoteArgs['body'] ) ); - $is_http_error = is_wp_error( $response ); - - self::$_logger[] = array( - 'id' => count( self::$_logger ), - 'start' => $start, - 'end' => $end, - 'total' => ( $end - $start ), - 'method' => $pWPRemoteArgs['method'], - 'path' => $pUrl, - 'body' => $has_body ? $pWPRemoteArgs['body'] : null, - 'result' => ! $is_http_error ? - $response['body'] : - json_encode( $response->get_error_messages() ), - 'code' => ! $is_http_error ? $response['response']['code'] : null, - 'backtrace' => debug_backtrace(), - ); - } - - return $response; - } - - /** - * @return array - */ - static function GetLogger() { - return self::$_logger; - } - - /** - * @param string $pCanonizedPath - * @param string $pMethod - * @param array $pParams - * @param null|array $pWPRemoteArgs - * @param bool $pIsSandbox - * @param null|callable $pBeforeExecutionFunction - * - * @return object[]|object|null - * - * @throws \Freemius_Exception - */ - private static function MakeStaticRequest( - $pCanonizedPath, - $pMethod = 'GET', - $pParams = array(), - $pWPRemoteArgs = null, - $pIsSandbox = false, - $pBeforeExecutionFunction = null - ) { - // Connectivity errors simulation. - if ( FS_SDK__SIMULATE_NO_API_CONNECTIVITY_CLOUDFLARE ) { - self::ThrowCloudFlareDDoSException(); - } else if ( FS_SDK__SIMULATE_NO_API_CONNECTIVITY_SQUID_ACL ) { - self::ThrowSquidAclException(); - } - - if ( empty( $pWPRemoteArgs ) ) { - $user_agent = 'Freemius/WordPress-SDK/' . Freemius_Api_Base::VERSION . '; ' . - home_url(); - - $pWPRemoteArgs = array( - 'method' => strtoupper( $pMethod ), - 'connect_timeout' => 10, - 'timeout' => 60, - 'follow_redirects' => true, - 'redirection' => 5, - 'user-agent' => $user_agent, - 'blocking' => true, - ); - } - - if ( ! isset( $pWPRemoteArgs['headers'] ) || - ! is_array( $pWPRemoteArgs['headers'] ) - ) { - $pWPRemoteArgs['headers'] = array(); - } - - if ( in_array( $pMethod, array( 'POST', 'PUT' ) ) ) { - if ( is_array( $pParams ) && 0 < count( $pParams ) ) { - $pWPRemoteArgs['headers']['Content-type'] = 'application/json'; - $pWPRemoteArgs['body'] = json_encode( $pParams ); - } - } - - $request_url = self::GetUrl( $pCanonizedPath, $pIsSandbox ); - - $resource = explode( '?', $pCanonizedPath ); - - if ( FS_SDK__HAS_CURL ) { - // Disable the 'Expect: 100-continue' behaviour. This causes cURL to wait - // for 2 seconds if the server does not support this header. - $pWPRemoteArgs['headers']['Expect'] = ''; - } - - if ( 'https' === substr( strtolower( $request_url ), 0, 5 ) ) { - $pWPRemoteArgs['sslverify'] = false; - } - - if ( false !== $pBeforeExecutionFunction && - is_callable( $pBeforeExecutionFunction ) - ) { - $pWPRemoteArgs = call_user_func( $pBeforeExecutionFunction, $resource[0], $pWPRemoteArgs ); - } - - $result = self::ExecuteRequest( $request_url, $pWPRemoteArgs ); - - if ( is_wp_error( $result ) ) { - /** - * @var WP_Error $result - */ - if ( self::IsCurlError( $result ) ) { - /** - * With dual stacked DNS responses, it's possible for a server to - * have IPv6 enabled but not have IPv6 connectivity. If this is - * the case, cURL will try IPv4 first and if that fails, then it will - * fall back to IPv6 and the error EHOSTUNREACH is returned by the - * operating system. - */ - $matches = array(); - $regex = '/Failed to connect to ([^:].*): Network is unreachable/'; - if ( preg_match( $regex, $result->get_error_message( 'http_request_failed' ), $matches ) ) { - /** - * Validate IP before calling `inet_pton()` to avoid PHP un-catchable warning. - * @author Vova Feldman (@svovaf) - */ - if ( filter_var( $matches[1], FILTER_VALIDATE_IP ) ) { - if ( strlen( inet_pton( $matches[1] ) ) === 16 ) { -// error_log('Invalid IPv6 configuration on server, Please disable or get native IPv6 on your server.'); - // Hook to an action triggered just before cURL is executed to resolve the IP version to v4. - add_action( 'http_api_curl', 'Freemius_Api_WordPress::CurlResolveToIPv4', 10, 1 ); - - // Re-run request. - $result = self::ExecuteRequest( $request_url, $pWPRemoteArgs ); - } - } - } - } - - if ( is_wp_error( $result ) ) { - self::ThrowWPRemoteException( $result ); - } - } - - $response_body = $result['body']; - - if ( empty( $response_body ) ) { - return null; - } - - $decoded = json_decode( $response_body ); - - if ( is_null( $decoded ) ) { - if ( preg_match( '/Please turn JavaScript on/i', $response_body ) && - preg_match( '/text\/javascript/', $response_body ) - ) { - self::ThrowCloudFlareDDoSException( $response_body ); - } else if ( preg_match( '/Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect./', $response_body ) && - preg_match( '/squid/', $response_body ) - ) { - self::ThrowSquidAclException( $response_body ); - } else { - $decoded = (object) array( - 'error' => (object) array( - 'type' => 'Unknown', - 'message' => $response_body, - 'code' => 'unknown', - 'http' => 402 - ) - ); - } - } - - return $decoded; - } - - - /** - * Makes an HTTP request. This method can be overridden by subclasses if - * developers want to do fancier things or use something other than wp_remote_request() - * to make the request. - * - * @param string $pCanonizedPath The URL to make the request to - * @param string $pMethod HTTP method - * @param array $pParams The parameters to use for the POST body - * @param null|array $pWPRemoteArgs wp_remote_request options. - * - * @return object[]|object|null - * - * @throws Freemius_Exception - */ - public function MakeRequest( - $pCanonizedPath, - $pMethod = 'GET', - $pParams = array(), - $pWPRemoteArgs = null - ) { - $resource = explode( '?', $pCanonizedPath ); - - // Only sign request if not ping.json connectivity test. - $sign_request = ( '/v1/ping.json' !== strtolower( substr( $resource[0], - strlen( '/v1/ping.json' ) ) ) ); - - return self::MakeStaticRequest( - $pCanonizedPath, - $pMethod, - $pParams, - $pWPRemoteArgs, - $this->_isSandbox, - $sign_request ? array( &$this, 'SignRequest' ) : null - ); - } - - /** - * Sets CURLOPT_IPRESOLVE to CURL_IPRESOLVE_V4 for cURL-Handle provided as parameter - * - * @param resource $handle A cURL handle returned by curl_init() - * - * @return resource $handle A cURL handle returned by curl_init() with CURLOPT_IPRESOLVE set to - * CURL_IPRESOLVE_V4 - * - * @link https://gist.github.com/golderweb/3a2aaec2d56125cc004e - */ - static function CurlResolveToIPv4( $handle ) { - curl_setopt( $handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); - - return $handle; - } - - #---------------------------------------------------------------------------------- - #region Connectivity Test - #---------------------------------------------------------------------------------- - - /** - * If successful connectivity to the API endpoint using ping.json endpoint. - * - * - OR - - * - * Validate if ping result object is valid. - * - * @param mixed $pPong - * - * @return bool - */ - public static function Test( $pPong = null ) { - $pong = is_null( $pPong ) ? - self::Ping() : - $pPong; - - return ( - is_object( $pong ) && - isset( $pong->api ) && - 'pong' === $pong->api - ); - } - - /** - * Ping API to test connectivity. - * - * @return object - */ - public static function Ping() { - try { - $result = self::MakeStaticRequest( '/v' . FS_API__VERSION . '/ping.json' ); - } catch ( Freemius_Exception $e ) { - // Map to error object. - $result = (object) $e->getResult(); - } catch ( Exception $e ) { - // Map to error object. - $result = (object) array( - 'error' => array( - 'type' => 'Unknown', - 'message' => $e->getMessage() . ' (' . $e->getFile() . ': ' . $e->getLine() . ')', - 'code' => 'unknown', - 'http' => 402 - ) - ); - } - - return $result; - } - - #endregion - - #---------------------------------------------------------------------------------- - #region Connectivity Exceptions - #---------------------------------------------------------------------------------- - - /** - * @param \WP_Error $pError - * - * @return bool - */ - private static function IsCurlError( WP_Error $pError ) { - $message = $pError->get_error_message( 'http_request_failed' ); - - return ( 0 === strpos( $message, 'cURL' ) ); - } - - /** - * @param WP_Error $pError - * - * @throws Freemius_Exception - */ - private static function ThrowWPRemoteException( WP_Error $pError ) { - if ( self::IsCurlError( $pError ) ) { - $message = $pError->get_error_message( 'http_request_failed' ); - - #region Check if there are any missing cURL methods. - - $curl_required_methods = array( - 'curl_version', - 'curl_exec', - 'curl_init', - 'curl_close', - 'curl_setopt', - 'curl_setopt_array', - 'curl_error', - ); - - // Find all missing methods. - $missing_methods = array(); - foreach ( $curl_required_methods as $m ) { - if ( ! function_exists( $m ) ) { - $missing_methods[] = $m; - } - } - - if ( ! empty( $missing_methods ) ) { - throw new Freemius_Exception( array( - 'error' => (object) array( - 'type' => 'cUrlMissing', - 'message' => $message, - 'code' => 'curl_missing', - 'http' => 402 - ), - 'missing_methods' => $missing_methods, - ) ); - } - - #endregion - - // cURL error - "cURL error {{errno}}: {{error}}". - $parts = explode( ':', substr( $message, strlen( 'cURL error ' ) ), 2 ); - - $code = ( 0 < count( $parts ) ) ? $parts[0] : 'http_request_failed'; - $message = ( 1 < count( $parts ) ) ? $parts[1] : $message; - - $e = new Freemius_Exception( array( - 'error' => array( - 'code' => $code, - 'message' => $message, - 'type' => 'CurlException', - ), - ) ); - } else { - $e = new Freemius_Exception( array( - 'error' => array( - 'code' => $pError->get_error_code(), - 'message' => $pError->get_error_message(), - 'type' => 'WPRemoteException', - ), - ) ); - } - - throw $e; - } - - /** - * @param string $pResult - * - * @throws Freemius_Exception - */ - private static function ThrowCloudFlareDDoSException( $pResult = '' ) { - throw new Freemius_Exception( array( - 'error' => (object) array( - 'type' => 'CloudFlareDDoSProtection', - 'message' => $pResult, - 'code' => 'cloudflare_ddos_protection', - 'http' => 402 - ) - ) ); - } - - /** - * @param string $pResult - * - * @throws Freemius_Exception - */ - private static function ThrowSquidAclException( $pResult = '' ) { - throw new Freemius_Exception( array( - 'error' => (object) array( - 'type' => 'SquidCacheBlock', - 'message' => $pResult, - 'code' => 'squid_cache_block', - 'http' => 402 - ) - ) ); - } - - #endregion - } \ No newline at end of file diff --git a/freemius/includes/sdk/LICENSE.txt b/freemius/includes/sdk/LICENSE.txt deleted file mode 100644 index d6a9326..0000000 --- a/freemius/includes/sdk/LICENSE.txt +++ /dev/null @@ -1,340 +0,0 @@ -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - {description} - Copyright (C) {year} {fullname} - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - {signature of Ty Coon}, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. - diff --git a/freemius/includes/sdk/index.php b/freemius/includes/sdk/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/includes/sdk/index.php +++ /dev/null @@ -1,3 +0,0 @@ - $data ) { - if ( 0 === strpos( $file_real_path, fs_normalize_path( dirname( realpath( WP_PLUGIN_DIR . '/' . $relative_path ) ) ) ) ) { - if ( '.' !== dirname( trailingslashit( $relative_path ) ) ) { - return $relative_path; - } - } - } - - return null; - } diff --git a/freemius/includes/supplements/fs-essential-functions-2.2.1.php b/freemius/includes/supplements/fs-essential-functions-2.2.1.php deleted file mode 100644 index 946a34d..0000000 --- a/freemius/includes/supplements/fs-essential-functions-2.2.1.php +++ /dev/null @@ -1,45 +0,0 @@ -\n" -"Language: da_DK\n" -"Language-Team: Danish (Denmark) (http://www.transifex.com/freemius/wordpress-sdk/language/da_DK/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Fejl" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "Jeg fandt et bedre %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Hvad er navnet på %s?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "Det er en midlertidig %s. Jeg er i gang med fejlrettelser." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Deaktivering" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Temaskift" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Andet" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "Jeg har ikke længere brug for %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "Jeg behøvede kun %s i en kort periode" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "%s ødelagde min webside" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "%s stoppede pludseligt med at virke" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Jeg kan ikke længere betale for det" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Hvilken pris ville du foretrække at betale?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Jeg har ikke lyst til at dele mine informationer med jer" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "%s virkede ikke" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Jeg forstod ikke, hvordan jeg skulle få det til at fungere." - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "%s er godt, men jeg har brug for en specifik feature, som ikke understøttes" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Hvilken feature?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "%s virker ikke" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Kindly share what didn't work so we can fix it for future users..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Det er ikke, hvad jeg søgte" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Hvad har du ledt efter?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "%s virkede ikke som forventet" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "Hvad forventede du?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Freemius Debug" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "Jeg ved ikke hvad cURL er, eller hvordan jeg installerer det. Hjælp mig!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "Vi vil kontakte din udbyder og løse problemet. Når vi har opdatinger i sagen, vil vi følge op med en email til dig på %s." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Ja - fortsæt bare" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "Nej - bare deaktiver" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Ups" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Tak fordi du giver os en chance for at fixe det! En besked er lige blevet sendt til vores tekniske personale. Vi vil vende tilbage, så snart der er nyt om %s. Vi sætter pris på din tålmodighed." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s virker ikke uden %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s virker ikke uden pluginnet." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Unexpected API error. Please contact the %s's author with the following error." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Premium-versionen af %s blev aktiveret." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "W00t" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "Du har en %s licens." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Yee-haw" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s is a premium only add-on. You have to purchase a license first before activating the plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Mere information om %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Køb licens" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "start prøveperioden" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "færdiggør installeringen" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Du mangler kun ét skridt - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Færdiggør aktivering af \"%s\" nu" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "Vi har foretaget nogle rettelser til %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "Opgraderingen af %s blev fuldendt." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Tilføjelse" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Plugin" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Tema" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "Vi kunne ikke finde din e-mailadresse i systemet, er du sikker på, det er den rigtige adresse?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "Vi kan ikke finde nogen aktive licenser knyttet til den e-mailadresse, er du sikker på, det er den rigtige adresse?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Konto afventer aktivering." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Buy a license now" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renew your license now" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "Aktivering af %s blev gennemført." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Din konto blev aktiveret med planen %s." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "Din prøveperiode er begyndt." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Kunne ikke aktivere %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Kontakt os venligst med følgende besked:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Opgrader" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Start prøveperiode" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Priser" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliation" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Konto" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Kontakt os" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Tilføjelser" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Priser" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Supportforum" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Din e-mailadresse er blevet verificeret - du er FOR SEJ!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Sådan" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Your %s Add-on plan was successfully upgraded." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "Betalingen for tilføjelsen %s blev gennemført." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Download den seneste version" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Fejl modtager fra serveren:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Prøveperiode" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "Jeg har opgraderet min konto, men når jeg forsøger at synkronisere licensen, forbliver planen %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Kontakt os her" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Din plan er blevet opgraderet." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Din plan er blevet ændret til %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Din licens er udløbet. Du kan stadig fortsætte med at benytte den gratis udgave af %s." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Din licens er udløbet. %1$sOpgrader nu%2$s for at fortsætte med at benytte %3$s uden forstyrrelser." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Din licens er blevet annulleret. Hvis du mener, dette er en fejl, så kontakt venligst support." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Din licens er udløbet. Du kan stadig benytte alle funktionerne i %s, men du bliver nødt til at fornye din licens for at få opdateringer og support." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Din gratis prøveperiode er udløbet. Du kan stadig benytte alle de gratis features." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Det ser ud til, at licensen ikke kunne aktiveres." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Din licens er blevet aktiveret." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Det ser ud til, at dit websted endnu ikke har en aktiv licens." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Det ser ud til, at licens-deaktiveringen mislykkedes." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Din licens blev deaktiveret, du er tilbage på planen %s." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Du benytter allerede %s under en prøveperiode." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "Du har allerede brugt din prøveperiode." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Plan %s eksisterer ikke og kan derfor ikke starte prøveperiode." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Plan %s understøtter ikke en prøveperiode." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "None of the %s's plans supports a trial period." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Det lader ikke til du er i en prøveperiode længere, så der er ikke noget at annullere :-)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Din gratis prøveperiode for %s er blevet annulleret." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "Version %s er blevet udgivet." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Download venligst %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "den seneste version af %s her" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Ny" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Det ser ud til, at du har den seneste udgivelse." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Det var det!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Websted er tilmeldt." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Sejt" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "Vi sætter pris på din hjælp med at forbedre %s ved at lade os indsamle brugsdata." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Mange tak!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "Vi vil ikke længere indsende brugsdata af %s på %s til %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Thanks for confirming the ownership change. An email was just sent to %s for final approval." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s er den nye ejer af kontoen." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Tillykke" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Sorry, we could not complete the email update. Another user with the same email is already registered." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Skift ejerskab" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Indtast venligst dit fulde navn." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Dit navn er blevet opdateret." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Opdatering af %s blev gennemført." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Just letting you know that the add-ons information of %s is being pulled from an external server." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Se her" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hey" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "Hvad syntes du om %s indtil videre? Test alle %s premium funktioner med en %d-dags gratis prøveperiode." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Ingen bindinger i %s dage - annuller når som helst!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Betalingskort ikke påkrævet" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Start gratis prøveperiode" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Læs mere" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Aktiver licens" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Skift licens" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Frameld" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Tilmeld" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Følg venligst disse trin for at færdiggøre opgraderingen" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Download den seneste version af %s" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Upload og aktiver den downloadede version" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "Upload og aktivering, hvordan?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick here%s to choose the sites where you'd like to activate the license on." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Auto-installation fungerer kun for tilmeldte brugere." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Ugyldigt modul-ID." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Premium version allerede aktiv." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "Du har ikke en gyldig licens til at benytte premium-versionen." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Plugin is a \"Serviceware\" which means it does not have a premium code version." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Premium tilføjelse er allerede installeret." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Vis betalte features" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Thank you so much for using %s and its add-ons!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Tak fordi du benytter %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "Du er allerede tilmeldt vores brugssporing, hvilket hjælper os med at forbedre %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Mange tak for at benytte vores produkter!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "Du er allerede tilmeldt vores brugssporing, hvilket hjælper os med at forbedre dem." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s og tilføjelser" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Produkter" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Ja" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "send mig sikkerheds- og feature-opdateringer, informativt indhold og tilbud." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "Nej" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "send %sIKKE%s sikkerheds- og feature-opdateringer, informativt indhold og tilbud." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Grundet krav i den nye %sEU General Data Protection Regulation (GDPR)%s, er det nødvendigt at du igen giver dit udtrykkelige samtykke og bekræfter, at du er ombord 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Lad os vide, om vi har lov til at kontakte dig med sikkerheds- og feature-opdateringer, informativt indhold og lejlighedsvise tilbud:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "Licensnøglen er tom." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Forny licens" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installerer plugin: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Unable to connect to the filesystem. Please confirm your credentials." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "The remote plugin package does not contain a folder with the desired slug and renaming did not work." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Køb" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Start min gratis %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Installer gratis version nu" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Installer nu" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download seneste gratis version" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Download seneste" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Installer opdatering til gratis version nu" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Installer opdatering nu" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Nyere gratis version (%s) installeret" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Nyere version (%s) installeret" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Seneste gratis version installeret" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Seneste version installeret" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Beskrivelse" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installering" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Skærmbilleder" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Ændringslog" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Anmeldelser" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Andre noter" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Funktioner og priser" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Plugin-installering" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s Plan" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Bedste" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Månedligt" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Årligt" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Livstid" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "Faktureret %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Årligt" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Engangsbeløb" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Single Site License" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Ubegrænsede licenser" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Op til %s websteder" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "md" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "år" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Pris" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Spar %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Ingen bindinger ved %s - annuller når som helst" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "Efter din gratis %s er prisen kun %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Detaljer" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Version" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Forfatter" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Senest opdateret" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s siden" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Kræver WordPress-version" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s eller højere" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Kompatibel op til" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Downloadet" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s gang" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s gange" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org Plugin-side" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Plugin-websted" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Donér til dette plugin" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Gennemsnitlig vurdering" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "baseret på %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s vurdering" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s vurderinger" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s stjerne" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s stjerner" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Click to see reviews that provided a rating of %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Bidragsydere" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Advarsel" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Dette plugin er ikke blevet testet med din nuværende version af WordPress." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "This plugin has not been marked as compatible with your version of WordPress." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Paid add-on must be deployed to Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Add-on must be deployed to WordPress.org or Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Cancelling the trial will immediately block access to all premium features. Are you sure?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Once your license expires you can still use the Free version but you will NOT have access to the %s features." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Aktiver %s plan" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Auto-fornyer om %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Udløber om %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Synkroniser licens" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Annuller prøveperiode" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Skift plan" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Opgrader" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Nedgrader" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Gratis" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Aktiver" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Gratis prøveperiode" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Kontodetaljer" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Slet konto" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Deaktiver licens" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Er du sikker på, du vil fortsætte?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Annuller abonnement" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Synkroniser" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Navn" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "E-mail" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "Bruger-ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Websteds-ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "Intet ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Offentlig nøgle" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Privat nøgle" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Ingen privat nøgle" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Prøveperiode" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Licensnøgle" - -#: templates/account.php:367 -msgid "not verified" -msgstr "ikke verificeret" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Udløbet" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Premium version" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Gratis version" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Verificer e-mail" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Download 1%s version" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Vis" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Angiv venligst %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Rediger" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Websteder" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Søg efter adresse" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Adresse" - -#: templates/account.php:524 -msgid "License" -msgstr "Licens" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licens" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Skjul" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Tilføjelser til %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Vis detaljer" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Fjern" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "1%s sek" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Automatisk installering" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Annuller installering" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Udtjekning" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI compliant" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hey %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Tillad & Fortsæt" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Gensend e-mail om aktivering" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Tak %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Accepter & aktiver licens" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Tak for at købe %s! For at komme i gang, venligst indtast din licensnøgle:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We're excited to introduce the Freemius network-level integration." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "During the update process we detected %d site(s) that are still pending license activation." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s's paid features" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "During the update process we detected %s site(s) in the network that are still pending your attention." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Licensnøgle" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Kan du ikke finde din licensnøgle?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Spring over" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegate to Site Admins" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "If you click it, this decision will be delegated to the sites administrators." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Overblik af din profil" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Navn og e-mailadresse" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Overblik af dit websted" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "Websteds-URL, WP version, PHP info, plugins og temaer" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Admin-meddelelser" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Updates, announcements, marketing, no spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Current %s Events" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Aktivering, deaktivering og afinstallering" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Nyhedsbrev" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Hvilke tilladelser bliver givet?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Har du ikke en licensnøgle?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Aktiver gratis version" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Har du en licensnøgle?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Privatlivspolitik" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Servicevilkår" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Sender e-mail" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Aktiverer" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Kontakt" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Fra" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "Til" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Fejlfinding" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Handlinger" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Er du sikker på, du vil slette al Freemius data?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Slet alle konti" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Ryd API-cache" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Clear Updates Transients" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Synkroniser data fra server" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Hent DB-indstilling" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Sæt DB-indstilling" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Nøgle" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Værdi" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "SDK-versioner" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "SDK-sti" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Modul-sti" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Er aktiv" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plugins" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Temaer" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Kortnavn" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Titel" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Freemius tilstand" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Netværksblog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Netværksbruger" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Forbundet" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Blokeret" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simuler netværksopgradering" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s installeringer" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Websteder" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog-ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Slet" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Tilføjelser til modul %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Brugere" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Verificeret" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "1%s licenser" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Plugin-ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "Plan-ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Kvote" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Aktiveret" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Blokerer" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Udløber" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Fejlfindingslog" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Alle typer" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Alle forespørgsler" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "Fil" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Funktion" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "Proces-ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Besked" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filter" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Download" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Type" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Tidsstempel" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Secure HTTPS %s page, running from an external domain" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Support" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Requests" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Opdater" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Betaling" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Firmanavn" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Moms / VAT ID" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Adresselinje %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "By" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "By" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "ZIP / Postnummer" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Land" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Vælg land" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Stat" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Provins" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Betalinger" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Dato" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Beløb" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Faktura" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Metode" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Kode" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Længde" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Sti" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Resultat" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Start" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Slut" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "Om %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s siden" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sek" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Synkronisering af plugins og temaer" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Total" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Sidste" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Planlagte cron jobs" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Modul" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Modultype" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron Type" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Næste" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Udløber ikke" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Apply to become an affiliate" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Your affiliation account was temporarily suspended." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Like the %s? Become our ambassador and earn cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Refer new customers to our %s and earn %s commission on each successful sale you refer!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Programoversigt" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s commission when a customer purchases a new license." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Get commission for automated subscription renewals." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie after the first visit to maximize earnings potential." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Unlimited commissions." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s minimum payout amount." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Payouts are in USD and processed monthly via PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliate" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "E-mailadresse" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Fulde navn" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "E-mailadresse til PayPal-konto" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Hvor vil du promovere %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Enter the domain of your website or other websites from where you plan to promote the %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Tilføj andet domæne" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Ekstra domæner" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Andre domæner du vil markedsføre produktet fra." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Promoveringsmetoder" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Sociale medier (Facebook, Twitter osv.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Mobil-apps" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Websted, e-mail, og statistikker for sociale medier (valgfrit)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "Hvordan vil du promovere os?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Please provide details on how you intend to promote %s (please be as specific as possible)." - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Annuller" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Bliv en affiliate" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Indtast licensnøglen, du modtog i e-mailen lige efter købet:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Opdater licens" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Frameld" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Tilmeld" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "Ved at klikke \"Frameld\" vil vi ikke længere sende data fra %s til %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "En ny version af %s er tilgængelig." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Ny version tilgængelig" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Fjern" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Send licensnøgle" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Indtast e-mailadressen, som du benyttede ved opgraderingen, nedenfor og vi vil gensende licensnøglen til dig." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "Du er 1 klik fra at begynde din %1$s dages gratis prøveperiode af planen %2$s." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Aktiver licens på alle websteder i netværket." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Anvend på alle websteder i netværket." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Akiver licens på alle afventende websteder." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Anvend på alle afventende websteder." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "tillad" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delegér" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "spring over" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Klik for at vise skærmbillede %d i fuld skærm" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Ubegrænsede opdateringer" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s tilbage" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Seneste license" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Annulleret" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Udløber ikke" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Aktiver denne tilføjelse" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Ejer-navn" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "E-mailadresse for ejer" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "Ejer-ID" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Abonnement" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Vi beklager ulejligheden, og vi er her for at hjælpe, hvis du giver os chancen." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Kontakt support" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Anonym feedback" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Deaktiver" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Aktiver %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Hvis du har tid, så lad os venligst vide hvorfor du %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "deaktiverer" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "skifter" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Send & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Fortæl os venligst årsagen, så vi kan forbedre det." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Ja - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Spring over & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Klik her for at benytte pluginnet anonymt" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Du har måske overset det, men du behøver ikke at dele data og kan blot %s tilmeldingen." diff --git a/freemius/languages/freemius-en.mo b/freemius/languages/freemius-en.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-en.po b/freemius/languages/freemius-en.po deleted file mode 100644 index 7d3a40b..0000000 --- a/freemius/languages/freemius-en.po +++ /dev/null @@ -1,2320 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -msgid "" -msgstr "" -"Project-Id-Version: freemius\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: \n" -"Last-Translator: Vova Feldman \n" -"Language: \n" -"Language-Team: Freemius Team \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Error" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "I found a better %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "What's the %s's name?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "It's a temporary %s. I'm just debugging an issue." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Deactivation" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Theme Switch" - -#: includes/class-freemius.php:2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Other" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "I no longer need the %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "I only needed the %s for a short period" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "The %s broke my site" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "The %s suddenly stopped working" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "I can't pay for it anymore" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "What price would you feel comfortable paying?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "I don't like to share my information with you" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "The %s didn't work" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "I couldn't understand how to make it work" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "The %s is great, but I need specific feature that you don't support" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "What feature?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "The %s is not working" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Kindly share what didn't work so we can fix it for future users..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "It's not what I was looking for" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "What you've been looking for?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "The %s didn't work as expected" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "What did you expect?" - -#: includes/class-freemius.php:2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Freemius Debug" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "I don't know what is cURL or how to install it, help me!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Yes - do your thing" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "No - just deactivate" - -#: includes/class-freemius.php:3834, includes/class-freemius.php:4343, includes/class-freemius.php:5442, includes/class-freemius.php:11545, includes/class-freemius.php:14916, includes/class-freemius.php:14968, includes/class-freemius.php:15030, includes/class-freemius.php:17263, includes/class-freemius.php:17273, includes/class-freemius.php:17882, includes/class-freemius.php:18742, includes/class-freemius.php:18857, includes/class-freemius.php:19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Oops" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s cannot run without %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s cannot run without the plugin." - -#: includes/class-freemius.php:4487, includes/class-freemius.php:4512, includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Unexpected API error. Please contact the %s's author with the following error." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Premium %s version was successfully activated." - -#: includes/class-freemius.php:5142, includes/class-freemius.php:7004 -msgctxt "Used to express elation, enthusiasm, or triumph (especially in electronic communication)." -msgid "W00t" -msgstr "W00t" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "You have a %s license." - -#: includes/class-freemius.php:5161, includes/class-freemius.php:14337, includes/class-freemius.php:14348, includes/class-freemius.php:17177, includes/class-freemius.php:17491, includes/class-freemius.php:17557, includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Yee-haw" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s is a premium only add-on. You have to purchase a license first before activating the plugin." - -#: includes/class-freemius.php:5438, templates/add-ons.php:103, templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "More information about %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Purchase License" - -#: includes/class-freemius.php:6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "start the trial" - -#: includes/class-freemius.php:6377, templates/connect.php:167 -msgid "complete the install" -msgstr "complete the install" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "You are just one step away - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Complete \"%s\" Activation Now" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "We made a few tweaks to the %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "The upgrade of %s was successfully completed." - -#: includes/class-freemius.php:8925, includes/class-fs-plugin-updater.php:886, includes/class-fs-plugin-updater.php:1081, includes/class-fs-plugin-updater.php:1088, templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Add-On" - -#: includes/class-freemius.php:8927, templates/debug.php:359, templates/debug.php:520 -msgid "Plugin" -msgstr "Plugin" - -#: includes/class-freemius.php:8928, templates/debug.php:359, templates/debug.php:520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Theme" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "We couldn't find your email address in the system, are you sure it's the right address?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "We can't see any active licenses associated with that email address, are you sure it's the right address?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Account is pending activation." - -#: includes/class-freemius.php:11920, templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Buy a license now" - -#: includes/class-freemius.php:11932, templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renew your license now" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s activation was successfully completed." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Your account was successfully activated with the %s plan." - -#: includes/class-freemius.php:14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "Your trial has been successfully started." - -#: includes/class-freemius.php:14914, includes/class-freemius.php:14966, includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Couldn't activate %s." - -#: includes/class-freemius.php:14915, includes/class-freemius.php:14967, includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Please contact us with the following message:" - -#: includes/class-freemius.php:15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Upgrade" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Start Trial" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Pricing" - -#: includes/class-freemius.php:15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliation" - -#: includes/class-freemius.php:15478, includes/class-freemius.php:15480, templates/account.php:150, templates/debug.php:324 -msgid "Account" -msgstr "Account" - -#: includes/class-freemius.php:15493, includes/class-freemius.php:15495, includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Contact Us" - -#: includes/class-freemius.php:15505, includes/class-freemius.php:15507, includes/class-freemius.php:19849, templates/account.php:100, templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Add-Ons" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php:15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Pricing" - -#: includes/class-freemius.php:15756, includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Support Forum" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Your email has been successfully verified - you are AWESOME!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Right on" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Your %s Add-on plan was successfully upgraded." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "%s Add-on was successfully purchased." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Download the latest version" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" - -#: includes/class-freemius.php:17262, includes/class-freemius.php:17678, includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Error received from the server:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." - -#: includes/class-freemius.php:17454, includes/class-freemius.php:17683, includes/class-freemius.php:17726, includes/class-freemius.php:17829 -msgctxt "something somebody says when they are thinking about what you have just said." -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." - -#: includes/class-freemius.php:17468, templates/account.php:102, templates/add-ons.php:134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Trial" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "I have upgraded my account but when I try to Sync the License, the plan remains %s." - -#: includes/class-freemius.php:17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Please contact us here" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Your plan was successfully upgraded." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Your plan was successfully changed to %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Your license has expired. You can still continue using the free %s forever." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Your license has been cancelled. If you think it's a mistake, please contact support." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Your free trial has expired. You can still continue using all our free features." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "It looks like the license could not be activated." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Your license was successfully activated." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "It looks like your site currently doesn't have an active license." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "It looks like the license deactivation failed." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Your license was successfully deactivated, you are back to the %s plan." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "You are already running the %s in a trial mode." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "You already utilized a trial before." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Plan %s do not exist, therefore, can't start a trial." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Plan %s does not support a trial period." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "None of the %s's plans supports a trial period." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "It looks like you are not in trial mode anymore so there's nothing to cancel :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Your %s free trial was successfully cancelled." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "Version %s was released." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Please download %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "the latest %s version here" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "New" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Seems like you got the latest release." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "You are all good!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site successfully opted in." - -#: includes/class-freemius.php:18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Awesome" - -#: includes/class-freemius.php:18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "We appreciate your help in making the %s better by letting us track some usage data." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Thank you!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "We will no longer be sending any usage data of %s on %s to %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Thanks for confirming the ownership change. An email was just sent to %s for final approval." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s is the new owner of the account." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Congrats" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Sorry, we could not complete the email update. Another user with the same email is already registered." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Change Ownership" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Please provide your full name." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Your name was successfully updated." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "You have successfully updated your %s." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Just letting you know that the add-ons information of %s is being pulled from an external server." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Heads up" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hey" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "How do you like %s so far? Test all our %s premium features with a %d-day free trial." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "No commitment for %s days - cancel anytime!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "No credit card required" - -#: includes/class-freemius.php:19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Start free trial" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Learn more" - -#: includes/class-freemius.php:19873, templates/account.php:406, templates/account.php:509, templates/connect.php:171, templates/connect.php:421, templates/forms/license-activation.php:24, templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Activate License" - -#: includes/class-freemius.php:19874, templates/account.php:469, templates/account.php:508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Change License" - -#: includes/class-freemius.php:19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Opt Out" - -#: includes/class-freemius.php:19958, includes/class-freemius.php:19963, templates/account/partials/site.php:43, templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Opt In" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Please follow these steps to complete the upgrade" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Download the latest %s version" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Upload and activate the downloaded version" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "How to upload and activate?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick here%s to choose the sites where you'd like to activate the license on." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Auto installation only works for opted-in users." - -#: includes/class-freemius.php:20523, includes/class-freemius.php:20556, includes/class-fs-plugin-updater.php:1060, includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Invalid module ID." - -#: includes/class-freemius.php:20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Premium version already active." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "You do not have a valid license to access the premium version." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Plugin is a \"Serviceware\" which means it does not have a premium code version." - -#: includes/class-freemius.php:20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Premium add-on version already installed." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "View paid features" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Thank you so much for using %s and its add-ons!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Thank you so much for using %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving the %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Thank you so much for using our products!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving them." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s and its add-ons" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Products" - -#: includes/class-freemius.php:21276, templates/connect.php:272 -msgid "Yes" -msgstr "Yes" - -#: includes/class-freemius.php:21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "send me security & feature updates, educational content and offers." - -#: includes/class-freemius.php:21278, templates/connect.php:278 -msgid "No" -msgstr "No" - -#: includes/class-freemius.php:21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "do %sNOT%s send me security & feature updates, educational content and offers." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" - -#: includes/class-freemius.php:21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "License key is empty." - -#: includes/class-fs-plugin-updater.php:184, templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Renew license" - -#: includes/class-fs-plugin-updater.php:189, templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installing plugin: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Unable to connect to the filesystem. Please confirm your credentials." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "The remote plugin package does not contain a folder with the desired slug and renaming did not work." - -#: includes/fs-plugin-info-dialog.php:369, templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Purchase" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Start my free %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Install Free Version Now" - -#: includes/fs-plugin-info-dialog.php:414, templates/auto-installation.php:111, templates/account/partials/addon.php:272, templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Install Now" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download Latest Free Version" - -#: includes/fs-plugin-info-dialog.php:426, templates/account.php:80, templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Download Latest" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Install Free Version Update Now" - -#: includes/fs-plugin-info-dialog.php:437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Install Update Now" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Newer Free Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Newer Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Latest Free Version Installed" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Latest Version Installed" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Description" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installation" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php:616, templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Screenshots" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Changelog" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Reviews" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Other Notes" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Features & Pricing" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Plugin Install" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s Plan" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Best" - -#: includes/fs-plugin-info-dialog.php:748, includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Monthly" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Annual" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Lifetime" - -#: includes/fs-plugin-info-dialog.php:768, includes/fs-plugin-info-dialog.php:770, includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "Billed %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Annually" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Once" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Single Site License" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Unlimited Licenses" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Up to %s Sites" - -#: includes/fs-plugin-info-dialog.php:792, templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "mo" - -#: includes/fs-plugin-info-dialog.php:799, templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "year" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Price" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Save %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "No commitment for %s - cancel anytime" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "After your free %s, pay as little as %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Details" - -#: includes/fs-plugin-info-dialog.php:929, templates/account.php:91, templates/debug.php:201, templates/debug.php:238, templates/debug.php:452, templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Version" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Author" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Last Updated" - -#: includes/fs-plugin-info-dialog.php:948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s ago" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Requires WordPress Version" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s or higher" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible up to" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Downloaded" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s time" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s times" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org Plugin Page" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Plugin Homepage" - -#: includes/fs-plugin-info-dialog.php:1005, includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Donate to this plugin" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Average Rating" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "based on %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s rating" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s ratings" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s star" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s stars" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Click to see reviews that provided a rating of %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Contributors" - -#: includes/fs-plugin-info-dialog.php:1095, includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Warning" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "This plugin has not been tested with your current version of WordPress." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "This plugin has not been marked as compatible with your version of WordPress." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Paid add-on must be deployed to Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Add-on must be deployed to WordPress.org or Freemius." - -#: templates/account.php:81, templates/forms/subscription-cancellation.php:96, templates/account/partials/addon.php:22, templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php:82, templates/forms/subscription-cancellation.php:97, templates/account/partials/addon.php:23, templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the subscription' -#: templates/account.php:84, templates/forms/subscription-cancellation.php:99, templates/account/partials/addon.php:25, templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php:85, templates/forms/subscription-cancellation.php:100, templates/account/partials/addon.php:26, templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php:86, templates/forms/subscription-cancellation.php:106, templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Cancelling the trial will immediately block access to all premium features. Are you sure?" - -#: templates/account.php:87, templates/forms/subscription-cancellation.php:101, templates/account/partials/addon.php:28, templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php:88, templates/forms/subscription-cancellation.php:102, templates/account/partials/addon.php:29, templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Once your license expires you can still use the Free version but you will NOT have access to the %s features." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php:90, templates/account/partials/activate-license-button.php:31, templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Activate %s Plan" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php:93, templates/account/partials/addon.php:34, templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Auto renews in %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php:95, templates/account/partials/addon.php:36, templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Expires in %s" - -#: templates/account.php:96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Sync License" - -#: templates/account.php:97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Cancel Trial" - -#: templates/account.php:98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Change Plan" - -#: templates/account.php:99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Upgrade" - -#: templates/account.php:101, templates/account/partials/addon.php:42, templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Downgrade" - -#: templates/account.php:103, templates/add-ons.php:130, templates/plugin-info/features.php:72, templates/account/partials/addon.php:44, templates/account/partials/site.php:31 -msgid "Free" -msgstr "Free" - -#: templates/account.php:104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Activate" - -#: templates/account.php:105, templates/debug.php:371, includes/customizer/class-fs-customizer-upsell-control.php:106, templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Free Trial" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Account Details" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Delete Account" - -#: templates/account.php:196, templates/account/partials/addon.php:159, templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Deactivate License" - -#: templates/account.php:219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Are you sure you want to proceed?" - -#: templates/account.php:219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Cancel Subscription" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Sync" - -#: templates/account.php:261, templates/debug.php:487 -msgid "Name" -msgstr "Name" - -#: templates/account.php:267, templates/debug.php:488 -msgid "Email" -msgstr "Email" - -#: templates/account.php:274, templates/debug.php:370, templates/debug.php:526 -msgid "User ID" -msgstr "User ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Site ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "No ID" - -#: templates/account.php:290, templates/debug.php:243, templates/debug.php:372, templates/debug.php:453, templates/debug.php:490, templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Public Key" - -#: templates/account.php:296, templates/debug.php:373, templates/debug.php:454, templates/debug.php:491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Secret Key" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "No Secret" - -#: templates/account.php:318, templates/account/partials/site.php:112, templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Trial" - -#: templates/account.php:337, templates/debug.php:531, templates/account/partials/site.php:248 -msgid "License Key" -msgstr "License Key" - -#: templates/account.php:367 -msgid "not verified" -msgstr "not verified" - -#: templates/account.php:376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Expired" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Premium version" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Free version" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Verify Email" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Download %s Version" - -#: templates/account.php:467, templates/account.php:649, templates/account/partials/site.php:237, templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Show" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "What is your %s?" - -#: templates/account.php:489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Edit" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Sites" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Search by address" - -#: templates/account.php:522, templates/account.php:570, templates/debug.php:236, templates/debug.php:364, templates/debug.php:449, templates/debug.php:486, templates/debug.php:524, templates/debug.php:597, templates/account/payments.php:35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php:523, templates/debug.php:367 -msgid "Address" -msgstr "Address" - -#: templates/account.php:524 -msgid "License" -msgstr "License" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "License" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Hide" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php:686, templates/account.php:703, templates/forms/subscription-cancellation.php:27, templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php:701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php:704, templates/forms/subscription-cancellation.php:28, templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Add Ons for %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "View details" - -#: templates/admin-notice.php:13, templates/forms/license-activation.php:208, templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Dismiss" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s sec" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Automatic Installation" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Cancel Installation" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Checkout" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI compliant" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hey %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Allow & Continue" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Re-send activation email" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Thanks %s!" - -#: templates/connect.php:172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Agree & Activate License" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Thanks for purchasing %s! To get started, please enter your license key:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We're excited to introduce the Freemius network-level integration." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "During the update process we detected %d site(s) that are still pending license activation." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s's paid features" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "During the update process we detected %s site(s) in the network that are still pending your attention." - -#: templates/connect.php:253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "License key" - -#: templates/connect.php:256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Can't find your license key?" - -#: templates/connect.php:315, templates/connect.php:630, templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Skip" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegate to Site Admins" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "If you click it, this decision will be delegated to the sites administrators." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Your Profile Overview" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Name and email address" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Your Site Overview" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "Site URL, WP version, PHP info, plugins & themes" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Admin Notices" - -#: templates/connect.php:359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Updates, announcements, marketing, no spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Current %s Events" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Activation, deactivation and uninstall" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Newsletter" - -#: templates/connect.php:391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "What permissions are being granted?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Don't have a license key?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Activate Free Version" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Have a license key?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Privacy Policy" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Terms of Service" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Sending email" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Activating" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contact" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Off" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "On" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Debugging" - -#: templates/debug.php:54, templates/debug.php:248, templates/debug.php:374, templates/debug.php:492 -msgid "Actions" -msgstr "Actions" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Are you sure you want to delete all Freemius data?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Delete All Accounts" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Clear API Cache" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Clear Updates Transients" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Sync Data From Server" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Load DB Option" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Set DB Option" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Key" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Value" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "SDK Versions" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "SDK Path" - -#: templates/debug.php:203, templates/debug.php:242 -msgid "Module Path" -msgstr "Module Path" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Is Active" - -#: templates/debug.php:232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plugins" - -#: templates/debug.php:232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Themes" - -#: templates/debug.php:237, templates/debug.php:369, templates/debug.php:451, templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Slug" - -#: templates/debug.php:239, templates/debug.php:450 -msgid "Title" -msgstr "Title" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Freemius State" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Network Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Network User" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Connected" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Blocked" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simulate Network Upgrade" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Installs" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Sites" - -#: templates/debug.php:366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php:431, templates/debug.php:509, templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Delete" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Add Ons of module %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Users" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Verified" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licenses" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Plugin ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "Plan ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Activated" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Blocking" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Expiration" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "All Types" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "All Requests" - -#: templates/debug.php:571, templates/debug.php:600, templates/debug/logger.php:25 -msgid "File" -msgstr "File" - -#: templates/debug.php:572, templates/debug.php:598, templates/debug/logger.php:23 -msgid "Function" -msgstr "Function" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "Process ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php:575, templates/debug.php:599, templates/debug/logger.php:24 -msgid "Message" -msgstr "Message" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filter" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Download" - -#: templates/debug.php:596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Type" - -#: templates/debug.php:601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Secure HTTPS %s page, running from an external domain" - -#: includes/customizer/class-fs-customizer-support-section.php:55, templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Support" - -#: includes/debug/class-fs-debug-bar-panel.php:48, templates/debug/api-calls.php:54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Requests" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Update" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Billing" - -#: templates/account/billing.php:44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Business name" - -#: templates/account/billing.php:45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Tax / VAT ID" - -#: templates/account/billing.php:48, templates/account/billing.php:48, templates/account/billing.php:49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Address Line %d" - -#: templates/account/billing.php:52, templates/account/billing.php:52 -msgid "City" -msgstr "City" - -#: templates/account/billing.php:52, templates/account/billing.php:52 -msgid "Town" -msgstr "Town" - -#: templates/account/billing.php:53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "ZIP / Postal Code" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Country" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Select Country" - -#: templates/account/billing.php:317, templates/account/billing.php:318 -msgid "State" -msgstr "State" - -#: templates/account/billing.php:317, templates/account/billing.php:318 -msgid "Province" -msgstr "Province" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Payments" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Date" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Amount" - -#: templates/account/payments.php:38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Invoice" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Method" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Code" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Length" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Path" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Result" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Start" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "End" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php:18, templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "In %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php:20, templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s ago" - -#: templates/debug/plugins-themes-sync.php:21, templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Plugins & Themes Sync" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Total" - -#: templates/debug/plugins-themes-sync.php:29, templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Last" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Scheduled Crons" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Module" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Module Type" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron Type" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Next" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Non-expiring" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Apply to become an affiliate" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Your affiliation account was temporarily suspended." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Like the %s? Become our ambassador and earn cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Refer new customers to our %s and earn %s commission on each successful sale you refer!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Program Summary" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s commission when a customer purchases a new license." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Get commission for automated subscription renewals." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie after the first visit to maximize earnings potential." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Unlimited commissions." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s minimum payout amount." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Payouts are in USD and processed monthly via PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliate" - -#: templates/forms/affiliation.php:165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Email address" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Full name" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "PayPal account email address" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Where are you going to promote the %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Enter the domain of your website or other websites from where you plan to promote the %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Add another domain" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Extra Domains" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Extra domains where you will be marketing the product from." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Promotion methods" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social media (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Mobile apps" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Website, email, and social media statistics (optional)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "How will you promote us?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Please provide details on how you intend to promote %s (please be as specific as possible)." - -#: templates/forms/affiliation.php:223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Cancel" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Become an affiliate" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Please enter the license key that you received in the email right after the purchase:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Update License" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Opt Out" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Opt In" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "There is a new version of %s available." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "New Version Available" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Dismiss" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Send License Key" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Enter the email address you've used for the upgrade below and we will resend you the license key." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php:191, templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activate license on all sites in the network." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Apply on all sites in the network." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Activate license on all pending sites." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Apply on all pending sites." - -#: templates/partials/network-activation.php:36, templates/partials/network-activation.php:68 -msgid "allow" -msgstr "allow" - -#: templates/partials/network-activation.php:38, templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delegate" - -#: templates/partials/network-activation.php:41, templates/partials/network-activation.php:73 -msgid "skip" -msgstr "skip" - -#: templates/plugin-info/description.php:72, templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Click to view full-size screenshot %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Unlimited Updates" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s left" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Last license" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Cancelled" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "No expiration" - -#: templates/account/partials/addon.php:264, templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Activate this add-on" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Owner Name" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Owner Email" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "Owner ID" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Subscription" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Sorry for the inconvenience and we are here to help if you give us a chance." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Contact Support" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Anonymous feedback" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Deactivate" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Activate %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "If you have a moment, please let us know why you are %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "deactivating" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "switching" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Submit & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Kindly tell us the reason so we can improve." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Yes - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Skip & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Click here to use the plugin anonymously" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "You might have missed it, but you don't have to share any data and can just %s the opt-in." diff --git a/freemius/languages/freemius-es_ES.mo b/freemius/languages/freemius-es_ES.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-es_ES.po b/freemius/languages/freemius-es_ES.po deleted file mode 100644 index dcaba71..0000000 --- a/freemius/languages/freemius-es_ES.po +++ /dev/null @@ -1,2433 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Carlos Longarela , 2017-2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-25 12:57+0000\n" -"Last-Translator: Carlos Longarela \n" -"Language: es_ES\n" -"Language-Team: Spanish (Spain) (http://www.transifex.com/freemius/wordpress-sdk/language/es_ES/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK no pudo encontrar el archivo principal del plugin. Por favor contacta a sdk@freemius.com con el error actual." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Error" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "He encontrado un %s mejor" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "¿Cuál es el nombre de %s?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "Es una %stemporal . Sólo estoy depurando un problema" - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Desactivación" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Cambiar tema" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Otra" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "Ya no necesito el %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "Sólo necesitaba la %s por un corto período" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "%s ha roto mi sitio" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "%s de repente ha dejado de funcionar" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "No puedo pagarlo durante más tiempo" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "¿Con qué precio te sentirías cómodo pagando?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "No me gusta compartir mi información contigo" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "El %s no funcionaba" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "No entiendo cómo hacerlo funcionar" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "%s es genial, pero necesito una característica que no soportáis" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "¿Qué característica?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr " El %s no funciona" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Por favor, comparte lo que no funcionó para que podamos arreglarlo para los futuros usuarios..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "No es lo que estaba buscando" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "¿Que has estado buscando?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr " El %s no funciona como esperaba" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "¿Qué esperas?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Debug Freemius" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "No sé qué es cURL o cómo instalarlo, ¡ayúdame!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "Nos aseguraremos de ponernos en contacto con tu empresa de alojamiento web y resolver el problema. Recibirás un correo electrónico de seguimiento a %s tan pronto tengamos una actualización." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Genial, por favor instala cURL y habilítalo en el archivo php.ini. Además, busca la directiva 'disable_functions' en el archivo php.ini y quita cualquier método que comienza con 'curl_'. Para asegurarte de que se activó con éxito, utiliza 'phpinfo()'. Una vez activado, desactiva el %s y reactívalo de nuevo." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Vamos, adelante" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "No - sólo desactivar" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Oops" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "¡Gracias por darnos la oportunidad de arreglarlo! Acabamos de enviar un mensaje a nuestro personal técnico. Nos pondremos en contacto contigo tan pronto como tengamos una actualización de %s. Apreciamos tu paciencia." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s no se puede ejecutar sin %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s no se puede ejecutar sin el plugin." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Error inesperado del API. Pónte en contacto con el autor de %s indicándole el siguiente error." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "La versión Premium %s ha sido activada con éxito." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "W00t" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "Tienes una licencia %s." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Vaya" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "la prueba gratuita de %s fue cancelada con éxito. Puesto que el complemento es sólo premium se desactivó automáticamente. Si quieres utilizarlo en el futuro, deberás comprar una licencia." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s es un complemento único de premium. Tienes que comprar una licencia primero antes de activar el plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Más información sobre %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Comprar licencia" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Recibirás un correo de activación para %s en tu buzón en %s. Por favor, asegúrate de hacer clic en el botón de activación en ese correo electrónico para %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "comenzar el período de prueba" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "completar la instalación" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Estás a sólo un paso - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Completar la activación de \"%s\" ahora" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "Hemos realizado algunas optimizaciones al %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "¡Inscríbite para hacer \"%s\" Mejor!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "La actualización de %s se completó con éxito." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Complemento" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Plugin" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Tema" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Colección de detalles del sitio no válida." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "No podemos encontrar tu dirección de correo electrónico en el sistema, ¿estás seguro de que es la dirección de correo electrónico correcta?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "No vemos ninguna licencia activa asociada a esa dirección de correo electrónico, ¿estás seguro de que es la dirección de correo electrónico correcta?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "La cuenta está pendiente de activación" - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Compra una licencia ahora" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renueva tu licencia ahora" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s para acceder a la versión %s de actualizaciones de funciones, seguridad y soporte." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s activación se completó con éxito." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Tu cuenta se ha activado correctamente con el plan %s." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "Tu versión de prueba se ha iniciado con éxito." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "No se puede activar %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Por favor contáctanos con el siguiente mensaje:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Actualizar" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Comenzar el período de prueba" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Precio" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Afiliación" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Cuenta" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Contáctanos" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Complementos" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Precio" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Foro de soporte" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Tu email ha sido verificado correctamente - ¡Eres IMPRESIONANTE!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Bien hecho" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Tu complemento %s del plan se actualizó con éxito." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "El complemento %s ha sido comprado correctamente." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Descargar la última versión" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Tu servidor está bloqueando el acceso a la API de Freemius, que es crucial para la sincronización de licencia %1s. Por favor, ponte en contacto con tu host para que lo añadan a su lista blanca %2s" - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Error recibido del servidor:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "Parece que uno de los parámetros de autenticación es incorrecto. Actualiza tu clave pública, clave secreta e ID de usuario e inténtelo de nuevo." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "Parece que todavía estás en el plan %s. Si actualizaste o cambiaste tu plan, probablemente sea un problema de nuestra parte - lo sentimos." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Período de Prueba Gratuito" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "He actualizado mi cuenta, pero cuando intento sincronizar la licencia, el plan sigue siendo %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Contacta aquí con nosotros" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Tu plan se actualizó con éxito." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Tu plan se cambió correctamente a %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Tu licencia ha caducado. Puedes seguir usando el plan gratuito %s para siempre." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Tu licencia ha caducado. %1$sActualiza ahora %2$s para continuar usando el %3$s sin interrupciones." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Tu licencia ha sido cancelada. Si crees que es un error, ponte en contacto con el servicio de asistencia." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Tu licencia ha caducado. Todavía puedes seguir usando todas las funciones de %s, pero tendrás que renovar tu licencia para seguir recibiendo actualizaciones y soporte." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Tu período de prueba ha caducado. Todavía puedes seguir usando todas nuestras funciones gratuitas." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Tu período de prueba ha caducado. %1$sActualiza ahora %2$s para continuar usando el %3$s sin interrupciones." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Parece que la licencia no se pudo activar." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Tu licencia fue activada correctamente." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Parece que tu sitio actualmente no tiene una licencia activa." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Parece que la desactivación de licencia ha fallado." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Tu licencia fue desactivada correctamente, has vuelto al plan %s." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Parece que estamos teniendo algún problema temporal con tu cancelación de la suscripción. Vuelve a intentarlo en unos minutos." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Tu suscripción ha sido cancelada correctamente. Tu %s licencia del plan caducará en %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Estás ejecutando %s en modo de prueba." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "Ya utilizaste un período de prueba antes." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "El plan %s no existe, por lo tanto, no puedes comenzar un período de prueba." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "El plan %s no admite un período de prueba." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "Ninguno de los planes de %s soportan un período de prueba." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Parece que ya no estás en modo de prueba, así que no hay nada que cancelar :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Parece que estamos teniendo algún problema temporal con tu cancelación de prueba. Vuelve a intentarlo en unos minutos." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Tu prueba gratuita de %s fue cancelada con éxito." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "La versión %s se ha lanzado." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Por favor descarga %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "la última versión %s aquí" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Nuevo" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Parece que tienes la última versión." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "¡Está todo listo!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "El correo de verificación se acaba de enviar a %s. Si no puedes encontrarlo después de 5 min, comprueba tu carpeta de spam." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Sitio dado de alta correctamente." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Increíble" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "Agradecemos tu ayuda para mejorar %s y por permitirnos rastrear algunos datos de uso." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "¡Gracias!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "No continuaremos enviando datos de uso de %s en %s a %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Comprueba tu buzón de correo, debes recibir un correo electrónico a través de %s para confirmar el cambio de propiedad. Por razones de seguridad, debes confirmar el cambio dentro de los próximos 15 min. Si no puedes encontrar el correo electrónico, comprueba tu carpeta de correo no deseado." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Gracias por confirmar el cambio de propiedad. Se envió un correo electrónico a %s para su aprobación final." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s es el nuevo dueño de la cuenta." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Felicidades" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Lo sentimos, no podemos completar la actualización de correo electrónico. Ya hay registrado otro usuario con esa dirección de correo electrónico." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "Si deseas renunciar a la titularidad de la cuenta de %s a %s haz clic en el botón de cambio de titularidad." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Cambiar propietario" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Se actualizó correctamente tu correo electrónico. Recibirás un correo electrónico con las instrucciones de confirmación en unos momentos." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Por favor, dinos tu nombre completo." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Tu nombre fue actualizado correctamente." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Has actualizado correctamente tu %s." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Sólo déjanos informarte que la información de complementos de %s se está extrayendo de un servidor externo." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Atención" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hey" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "¿Qué te pareció %s hasta ahora? Prueba todas nuestras funciones premium de %s con una prueba gratuita de % d-días." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Sin compromiso por %s días - ¡cancelar en cualquier momento!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "No se necesita tarjeta de crédito" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Comenzar el período de prueba gratuito" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey, ¿sabías que %s tiene un programa de afiliados? ¡Si te gusta %s puedes convertirte en nuestro embajador y ganar dinero!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Saber más" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Activar licencia" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Cambiar licencia" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Darse de baja" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Inscribirse" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr "La versión de pago de %1s ya está instalada. Actívala para comenzar a beneficiarte de las funciones de %2s. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activar características %s" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Por favor, sigue estos pasos para completar la actualización" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Descargar la última versión %s" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Cargar y activar la versión descargada" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "¿Cómo subirlo y activarlo?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick aquí %s para elegir los sitios sobre los que te gustaría activar la licencia." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "La instalación automática sólo funciona para usuarios que aceptaron." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Id de módulo no válido." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Versión premium ya activa." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "No tienes una licencia válida para acceder a la versión premium." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "El plugin es un \"Serviceware\" lo que significa que no tiene una versión de código premium." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Versión del complemento premium ya instalada." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Ver las funciones de pago" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "¡Muchas gracias por utilizar %s y sus complementos!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "¡Muchas gracias por utilizar %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "Ya has optado por nuestro seguimiento de uso, lo que nos ayuda a seguir mejorando %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "¡Muchas gracias por utilizar nuestros productos!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "Ya has optado por nuestro seguimiento de uso, lo que nos ayuda a seguir mejorando." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s y sus complementos" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Productos" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Si" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "envíame actualizaciones de seguridad y nuevas funcionalidades, contenido educativo y ofertas." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "No" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "%sNO%s me envíes actualizaciones de seguridad y nuevas funcionalidades, contenido educativo y ofertas." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Debido a la nueva %s Regulación General de Protección de Datos de la UE (GDPR)%s los requisitos de conformidad nos requieren que nos debes dar tu consentimiento explícito, de nuevo, confirmando que estás de acuerdo 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Indica si deseas que te contactemos para actualizaciones de seguridad y nuevas funciones, contenido educativo y ofertas ocasionales:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "La clave de licencia está vacía." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Renovar la licencia" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Comprar licencia" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "Hay una %s de %s disponible." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "nueva versión" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Aviso importante de actualización:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Instalando plugin: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "No es posible conectarse al sistema de archivos. Por favor, confirma tus credenciales." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "El paquete de plugin remoto no contiene una carpeta con el Slug deseado y el cambio de nombre no funcionó." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Comprar" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Comenzar mi período gratuito de %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Instalar la versión gratuita ahora" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Instalar ahora" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Descargar la última versión gratuita" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Descargar la última" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Instalar la actualización gratuita ahora" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Instalar actualización ahora" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Versión gratuita más reciente (%s) instalada" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Versión más reciente (%s) instalada" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Última versión gratuita instalada" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Última versión instalada" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Descripción" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Instalación" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Capturas de pantalla" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Registro de cambios" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Valoraciones" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Otras notas" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Características y precios" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Instalar plugin" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "Plan %s" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "El mejor" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Mensual" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Anual" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Permanente" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "Facturado %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Anualmente" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Una vez" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Licencia para un único sitio" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Licencias ilimitadas" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Hasta %s sitios" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "me" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "año" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Precio" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Guardar %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Sin compromiso para %s - cancelar en cualquier momento" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "Después de su período gratuito %s, pague sólo %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Detalles" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Versión" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Autor" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Última actualización" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "hace %s" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Necesita la versión de WordPress" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s o mayor" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible hasta" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Descargado" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "% vez" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s veces" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "Página del plugin en WordPress.org" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Página web del plugin" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Donar a este plugin" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Calificación media" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "basado en %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s calificación" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s calificaciones" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s estrella" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s estrellas" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Haz clic para ver los comentarios con una valoración de %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Colaboradores" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Atencion" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Este plugin no ha sido probado con tu versión actual de WordPress." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "Este puglin no ha sido marcado como compatible con tu versión de WordPress." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "El complemento de pago se debe implementar en Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "El complemento debe implementarse en WordPress.org o en Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Bajando tu plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelando la suscripción" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s detendrá inmediatamente todos los pagos recurrentes futuros y tu %s licencia del plan caducará en %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Ten en cuenta que no podremos abaratar los precios desactualizados para renovaciones/nuevas suscripciones después de una cancelación. Si eliges renovar la suscripción manualmente en el futuro, después de un aumento de precio, que generalmente ocurre una vez al año, se te cobrará el precio actualizado." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "La cancelación del período de prueba bloqueará inmediatamente el acceso a todas las funciones premium. ¿Estás seguro?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "Todavía puedes disfrutar de todas las funciones de %s pero no tendrás acceso a soporte y actualizaciones de %s." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Una vez que caduque tu licencia todavía puedes utilizar la versión gratuita pero NO tendrás acceso a las funciones de %s." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Activar plan %s" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Auto renovaciones en %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Caduca en %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Sincronizar licencia" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Cancelar período de prueba" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Cambiar Plan" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Actualizar" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Degradar" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Gratis" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Activar" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Período de prueba gratuito" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Detalles de la cuenta" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "La eliminación de la cuenta desactivará automáticamente su licencia de plan %s para que pueda utilizarla en otros sitios. Si también desea cancelar los pagos periódicos, haga clic en el botón \"Cancelar\" y, en primer lugar, \"Degradar\" su cuenta. ¿Seguro que deseas continuar con la eliminación?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "La eliminación no es temporal. Sólo elimínalo si ya no deseas utilizar este %s más. ¿Estás seguro que desea continuar con la eliminación?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Borrar cuenta" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Desactivar licencia" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "¿Estás seguro que quieres proceder?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Cancelar suscripción" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Sincronizar" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Nombre" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Correo electrónico" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "ID de usuario" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "ID del sitio" - -#: templates/account.php:285 -msgid "No ID" -msgstr "Sin ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Clave pública" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Clave secreta" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Sin clave secreta" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Período de prueba gratuito" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Clave de licencia" - -#: templates/account.php:367 -msgid "not verified" -msgstr "no verificado" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Caducado" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Versión premium" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Versión gratuita" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Verificar correo electrónico" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Descargar versión %s" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Mostrar" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "¿Cual es tú %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Editar" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Sitios" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Buscar por dirección" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Dirección" - -#: templates/account.php:524 -msgid "License" -msgstr "Licencia" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licencia" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Ocultar" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelando %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "período de prueba" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelando %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "suscripción" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Al desactivar tu licencia todas las características premium se bloquearán, pero posibilitará poder activar tu licencia en otro sitio. ¿Estás seguro que quieres continuar?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Complementos para %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "No podemos cargar la lista de complementos. Probablemente es un problema por nuestro parte, por favor inténtalo de nuevo en unos minutos." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Ver detalles" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Descartar" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s seg" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Instalación automática" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "Una descarga automatizada y la instalación de %s (versión de pago) de %s comenzará en %s. Si quieres hacerlo manualmente - haz clic en el botón de cancelación." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "El proceso de instalación ha comenzado y puede tardar unos minutos en completarse. Por favor, espera hasta que se finalice - no actualices esta página." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Cancelar instalación" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Pagar" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "Compatible con PCI" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hey %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Permitir y continuar" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Reenviar correo electrónico de activación" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "¡Gracias %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "De acuerdo y activar licencia" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "¡Gracias por comprar %s! Para empezar, escribe tu clave de licencia:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "No te pierdas ninguna actualización importante - acepta para notificaciones de seguridad y de actualizaciones, ofertas y seguimiento de diagnóstico con datos no sensibles con %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "No te pierdas ninguna actualización importante - acepta para notificaciones de seguridad y de actualizaciones y seguimiento de diagnóstico con datos no sensibles con %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "No te pierdas ninguna actualización importante - acepta las notificaciones de seguridad y de actualizaciones, contenido educacional, ofertas y seguimiento de diagnóstico con datos no sensibles con %4$s. ¡Si te saltas esto, no pasa nada! %1$s seguirá funcionando bien." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "No te pierdas ninguna actualización importante - acepta las notificaciones de seguridad y de actualizaciones y seguimiento de diagnóstico con datos no sensibles con %4$s. ¡Si te saltas esto, no pasa nada! %1$s seguirá funcionando bien." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "Estamos emocionados de introducir la integración de Freemius a nivel de red." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "Durante el proceso de actualización hemos detectado%d sitio(s) que aún están pendientes de la activación de licencia." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "Si quieres utilizar %s en estos sitios, introduce por favor tu clave de licencia abajo y haz click en el botón de activación." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s características de pago" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternativamente, puedes saltarlo ahora y activar la licencia después, en tu %s página de cuenta a nivel de red." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "Durante el proceso de actualización detectamos %s sitio(s) en la red que todavía están pendientes de tu atención." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Clave de licencia" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "¿No puedes encontrar tu clave de licencia?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Saltar" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegar a administradores del sitio" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "Si haces click, esta decisión será delegada a los administradores de los sitios." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Resumen del perfil" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Nombre y dirección de correo electrónico" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Resumen del sitio" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "URL del sitio web, versión de WP, PHP info, plugins y temas" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Avisos de administración" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Actualizaciones, anuncios, marketing, sin spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Eventos de %s actuales" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Activación, desactivación y desinstalación" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Boletín" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "%1$s periódicamente enviará datos a %2$s para comprobar las actualizaciones de seguridad, nuevas funcionalidades y verificar la validez de tu licencia." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "¿Qué permisos se otorgan?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "¿No tienes una clave de licencia?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Activar versión gratuita" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "¿Tienes una clave de licencia?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Política de privacidad" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "Acuerdo de licencia" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Términos de servicio" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Enviando correo electrónico" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Activando" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contacto" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Apagado" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "Encendido" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Depurando" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Acciones" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "¿Está seguro que desea eliminar todos los datos de Freemius?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Borrar todas las cuentas" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Borrar caché de la API" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Borrar transients de actualizaciones" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Sincronizar datos desde el servidor" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrar opciones a la red" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Cargar opción de BD" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Guardar opción en BD" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Clave" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Valor" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "Versiones SDK" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "Ruta del SDK" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Ruta del módulo" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Está activo" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plugins" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Temas" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Ruta" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Título" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Estado Freemius" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Blog de red" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Usuario de red" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Conectado" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Bloqueado" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simular período de prueba" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simular actualización de red" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Instalaciones" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Sitios" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "ID del blog" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Borrar" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Complementos del módulo %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Usuarios" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Verificado" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licencias" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "ID del plugin" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "ID del plan" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Cuota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Activado" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Bloqueando" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Caducidad" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Log de Debug" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Todos los Tipos" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Todas las peticiones" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "Archivo" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Función" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "ID del proceso" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Mensaje" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filtro" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Descarga" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Tipo" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Página segura HTTPS %s, desde un dominio externo" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Soporte" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "API Freemius" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Peticiones" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Actualizar" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Facturación" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Nombre de la empresa" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Tax / Núm IVA" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Línea de la dirección %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Ciudad" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Municipio" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "Código postal" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "País" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Seleccionar país" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Estado" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Provincia" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Pagos" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Fecha" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Cantidad" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Factura" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Método" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Código" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Longitud" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Ruta" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Cuerpo" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Resultado" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Inicio" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Fin" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "En %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "hace %s" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "seg" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Sincronizar plugins y temas" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Total" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Último" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Crons programados" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Módulo" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Tipo de módulo" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Tipo de cron" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Siguiente" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Sin caducidad" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Aceptar para hacerse afiliado" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "¡Tu aplicación al programa de afiliación para %s ha sido aceptada! Entra en tu área de afiliado desde: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Gracias por aplicar a nuestro programa de afiliados, revisaremos tu petición durante los próximos 14 días y te volveremos a contactar con información adicional." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Tu cuenta de afiliado ha sido suspendida temporalmente." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Gracias por aplicar a nuestro programa de asociados, infortunadamente, de momento hemos decidido rechazar tu petición. Por favor, prueba de nuevo en 30 días." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Debido a la violación de nuestros términos de afiliados, hemos decidido bloquear temporalmente tu cuenta de afiliación. Si tienes alguna pregunta, por favor contacta nuestro soporte." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "¿Te gusta %s? Conviértete en nuestro embajador y gana dinero ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "¡Envíanos nuevos usuarios a nuestro %s y gana %s de comisión en cada venta satisfactoria que nos hayas referido!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Sumario del programa" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s comisión cuando un cliente compra una nueva licencia." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Obtén comisiones por renovaciones automatizadas de las suscripciones." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie después de la primera visita para maximizar las ganancias potenciales." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Comisiones Ilimitadas" - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s cantidad mínima a pagar." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Los pagos son en USD y se procesan mensualmente por medio de PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "Como aplazamos 30 días para posible devoluciones, sólo pagamos comisiones que son de más de 30 días." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Afiliado" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Dirección de correo electrónico" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Nombre completo" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "Dirección de correo electrónico de PayPal" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "¿Dónde vas a promocionar %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Introduce el dominio de tu sitio web o de otros sitios web donde planeas promocionar %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Añadir otro dominio" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Dominios extra" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Dominios extra desde donde promocionarás el producto." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Métodos de promoción" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social media (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Apps móviles " - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Sitio web, correo electrónico y estadísticas de social media (opcional)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Siéntete libre de proporcionarnos estadísticas de tu sitio web o social media, p.ej. visitas únicas mensuales, número de suscriptores de correo electrónico, seguidores, etc. (mantendremos esta información confidencial)" - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "¿Como nos promocionarás?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Por favor, danos detalles de como pretendes promocionar %s (por favor, se lo más específico que puedas)" - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Cancelar" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Hacerse afiliado" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Por favor, introduce la clave de licencia que recibiste en el correo electrónico al realizar la compra:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Activar licencia" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Darse de baja" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Inscribirse" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "El uso del seguimiento se hace con la intención de mejorar %s. Crear una mejor experiencia de usuario, priorizando nuevas características y cosas mejores. Realmente apreciaríamos que considerases permitirnos continuar con el seguimiento." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "Haciendo clic en \"Desistir\", ya no enviaremos los datos de %s a %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "Hay una nueva versión de %s disponible." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr "%s para acceder a la versión %s de actualizaciones de funciones, seguridad y soporte." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Nueva versión disponible" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Descartar" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Enviar clave de licencia" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Escribe abajo la dirección de correo electrónico que has usado para la actualización y te reenviaremos la clave de licencia." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Desactivar o desinstalar %s deshabilitará automáticamente la licencia, que podrás usar en otro sitio." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "En caso de que NO estés planeando utilizar este %s en este sitio (o en cualquier otro sitio), ¿te gustaría cancelar también %s?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "licencia" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancelar %s - No necesito más actualizaciones de características y seguridad, ni soporte para %s porque no pretendo utilizar%s en este, u otro sitio." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "No cancelar %s - Todavía estoy interesado en obtener actualizaciones de características y seguridad, así como poder contactar con soporte." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Una vez que tu licencia caduque no podrás seguir utilizando %s, a no ser que lo actives de nuevo con una licencia premium válida." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "¿Cancelar %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceder" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancelar %s y proceder" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "Estás a sólo 1-click de comenzar tu %1$s días de prueba gratuita del plan %2$s." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "Para el cumplimiento de las directrices de WordPress.org, antes de empezar el período de prueba te pedimos que aceptes con tu usuario e información no sensible del sitio web, permitiendo a %s enviar datos periódicamente a %s para comprobar si hay actualizaciones de versión y para validar la versión de prueba." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activar licencia en todos los sitios de la red" - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Aplicar en todos los sitios de la red" - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Aplicar licencia en todos los sitios pendientes" - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Aplicar en todos los sitios pendientes" - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "permitir" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delegar" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "saltar" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Click para ver la captura de pantalla a tamaño completo %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Actualizaciones Ilimitadas" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "quedan %s" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Última licencia" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Cancelado" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Sin caducidad" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Activar este complemento" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Nombre del propietario" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Correo electrónico del propietario" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "ID del propietario" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Suscripción" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Disculpa las molestias y estamos aquí para ayudarte si nos das una oportunidad." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Contactar soporte" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Comentarios anónimos" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Desactivar" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Activar %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Comentarios rápidos" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Si tienes un momento, por favor, dinos por qué estás %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "desactivando" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "cambiando" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Enviar y %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Por favor, dínos la razón para que podamos mejorar." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Si - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Saltar y %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Haz click aquí para utilizar el plugin de forma anónima" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Es posible que te lo hayas perdido, pero no tienes que compartir ningún dato y puedes solo aceptar %s." diff --git a/freemius/languages/freemius-fr_FR.mo b/freemius/languages/freemius-fr_FR.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-fr_FR.po b/freemius/languages/freemius-fr_FR.po deleted file mode 100644 index 4bd4b7c..0000000 --- a/freemius/languages/freemius-fr_FR.po +++ /dev/null @@ -1,2433 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Boris Colombier , 2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-29 17:40+0000\n" -"Last-Translator: Boris Colombier \n" -"Language: fr_FR\n" -"Language-Team: French (France) (http://www.transifex.com/freemius/wordpress-sdk/language/fr_FR/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Le SDK Freemius ne trouve pas le fichier principal du plugin. Merci de contacter sdk@freemius.com en indiquant l'erreur." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Erreur" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "J'ai trouvé un meilleur %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Quel est le nom du %s ?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "C'est une %s temporaire. Je corrige un problème." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Désactivation" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Changement de Thème" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Autre" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "Je n'ai plus besoin du %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "Je n'ai besoin de %s que pour une courte période" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "Le %s a cassé mon site" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "Le %s a soudainement arrêté de fonctionner" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Je ne peux plus payer pour ça" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Quel prix seriez-vous prêt à payer ?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Je ne veux pas partager mes informations avec vous" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "Le %s n'a pas fonctionné" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Je ne comprends pas comment le faire fonctionner" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "Le %s est bien mais j'ai besoin de fonctionnalités spécifiques que vous ne proposez pas" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Quelle fonctionnalité ?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "Le %s ne fonctionne pas" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Merci de nous indiquer ce qui ne fonctionne pas afin que nous puissions le corriger pour les futurs utilisateurs..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Ce n'est pas ce que je recherche" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Que recherchez-vous ?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "Le %s n'a pas fonctionné comme prévu" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "À quoi vous attendiez-vous ?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Débuggage Freemius" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "Je ne sais pas ce qu'est cURL ou comment l'installer, aidez moi !" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "Nous allons contacter votre hébergeur afin de résoudre le problème. Vous recevrez un email à propos de %s dès que nous aurons des nouvelles." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Parfait, merci d'installer cURL et de l'activer dans votre fichier php.ini. De plus, recherchez l'instruction 'disable_functions' de votre fichier php.ini et désactivez les commandes commençant par 'curl_'. Pour vérifier la bonne activation, utilisez la fonction 'phpinfo()'. Une fois activé, désactivez le %s et réactivez le à nouveau." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Oui - allez-y" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "Non - désactivation seulement" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Oups" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Merci de nous permettre de corriger ça. Un message vient d'être envoyé à notre service technique. Nous reviendrons vers vous dès que nous aurons des nouvelles à propos de %s." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s ne peut pas fonctionner sans %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s ne peut pas fonctionner sans le plugin." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Une erreur est survenue dans l'API. Merci de contacter l'auteur du %s en lui indiquant l'erreur." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "La version premium de %s a été activée avec succès." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "Génial" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "Vous avez une license pour %s." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Youpi" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "La période d'essai du %s a bien été annulé. L'add-on a été désactivé car il ne fonctionne qu'avec la version premium. Si vous souhaitez l'utiliser ultérieurement, vous devrez acheter une licence." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%sest un add-on pour la version premium. Vous devez acheter une licence avant d'activer le plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Plus d'informations à propos de %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Acheter une licence" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Vous devriez recevoir un email d'activation pour %s sur votre boîte %s. Merci de cliquer sur le bouton d'activation dans l'email pour %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "commencer la période d'essai" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "compléter l'installation" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Il ne reste qu'une étape - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Compléter \"%s\" Activer Maintenant" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "Nous avons fait quelques modifications au %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Inscrivez-vous pour améliorer \"%s\" !" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "La mise à jour du %s s'est terminée avec succès " - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Add-On" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Plugin" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Thème" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Récupération des détails du site non valide." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "Nous ne trouvons pas votre adresse mail dans notre système, êtes-vous qu'il s'agit de la bonne adresse ?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "Nous ne trouvons aucune licence active associée avec cette adresse email, êtes-vous qu'il s'agit de la bonne adresse ?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Compte en cours d'activation." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Acheter une licence maintenant" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renouvelez votre licence maintenant" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s pour permettre les mises à jour de sécurité et de fonctionnalités de la version %s, et le support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "L'activation de %s s'est terminée avec succès." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Votre compte a été activé avec succès avec la formule %s." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "Votre période d'essai a bien démarré." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Impossible d'activer %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Merci de nous contacter avec le message suivant :" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Mise à jour" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Essai gratuit" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Tarifs" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliation" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Compte" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Contactez Nous" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Add-Ons" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Tarifs" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Forum de Support" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Votre email a été vérifié avec succès - vous êtes FORMIDABLE !" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Directement" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Votre Add-on %s a bien été mis à jour." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "L'Add-on %s a bien été acheté." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Télécharger la dernière version" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Votre serveur bloque l'accès à l4API Freemius qui est indispensable pour la synchronisation %1s. Merci de contacter votre hébergeur pour mettre %2s dans la liste blanche " - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Une erreur a été reçu depuis le serveur :" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "Il semble que l'un des paramètres d'authentification soit faux. Veuillez mettre à jour votre Public Key, votre Secret Key ainsi que vote User ID et essayez à nouveau." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "Il semble que vous soyez encore sur la formule %s. Si vous avez mis à jour ou changer votre formule, le problème est probablement de votre côté - désolé." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Période d'essai" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "J'ai mis à jour mon compte mais quand j'essaie de synchroniser la licence, la formule est toujours %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Merci de nous contacter ici" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Votre formule a bien été mise à jour." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Votre formule a bien été modifié vers %s. " - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Votre licence a expiré. Vous pouvez toujours utiliser la version gratuite indéfiniment." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Votre licence a expiré.%1$sFaites la mise à jour maintenant%2$s pour continuer à utiliser le %3$s sans interruption." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Votre licence a été annulé. Si vous pensez qu'il s'agit d'une erreur, merci de contacter le support." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Votre licence a expiré. Vous pouvez toujours utiliser les fonctionnalités %s mais vous devrez renouveler votre licence pour recevoir les mises à jour et une assistance." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Votre période d'essai gratuite est terminée. Vous pouvez continuer à utiliser toutes nos fonctionnalités gratuites." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Votre période d'essai gratuite est terminée. %1$sFaites la mise à jour maintenant%2$s pour continuer à utiliser le %3$s sans interruption." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Il semble que la licence ne puisse être activée." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Votre licence a bien été activée." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Il semble que votre site n'ait pas de licence active." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Il semble que la désactivation de la licence a échoué." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Votre licence a bien été désactivé, vous utilisez à présent la formule %s." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Il semble que nous ayons un problème temporaire avec l'annulation de votre abonnement. Merci de réessayer dans quelques minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Votre abonnement a bien été annulé. Votre licence de la formule %s expirera dans %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Vous utilisez déjà le %s en période d'essai. " - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "Vous avez déjà utilisé la période d'essai." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "La formule %s n'existe pas, il n'est pas possible de commencer une période d'essai." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "La formule %s ne propose pas de période d'essai." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "Aucune formule du %s ne propose de période d'essai." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Il semble que vous ne soyez plus en période d'essai donc il n'y a rien à annuler :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Il semble que nous ayons un problème temporaire pour annuler votre période d'essai. Merci de réessayer dans quelques minutes." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Votre période d'essai %s a bien été annulé." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "La version %s vient d'être publiée." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Merci de télécharger %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "la dernière version de %s ici" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Nouveau" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Il semble que vous ayez la dernière version." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Vous êtes tout bon !" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Un email de vérification vient d'être envoyé sur %s. Si vous ne le recevez pas d'ici 5 minutes, merci de vérifier dans vos spams." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site ajouté avec succès." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Formidable" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "Nous vous remercions de votre aide pour améliorer le %s en nous permettant de recevoir des informations concernant son usage." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Merci !" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "Nous n'enverrons plus d'information d'utilisation de %s sur %s à %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Merci de vérifier votre messagerie, vous devriez recevoir un email via %s pour confirmer le changement de propriétaire. Pour des raisons de sécurité, vous devez confirmer le changement dans les prochaines 15 minutes. Vérifiez vos spams si vous ne recevez pas le message." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Merci pour la confirmation du changement de propriétaire. Un email vient d'être envoyé à %s pour la validation finale." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s est le nouveau propriétaire du compte." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Félicitations" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Désolé, nous ne pouvons pas mettre à jour l'email. Il existe déjà un autre utilisateur avec cette adresse." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "Si vous voulez transférer la propriété du compte de %s à %s cliquez sur le bouton Changement De Propriétaire" - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Changement De Propriétaire" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Votre email a été mis à jour. Vous allez recevoir un message avec les instructions de confirmation." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Merci d'indiquer vos prénom et nom." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Votre nom a été mis à jour." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Votre %s a bien été mis à jour." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Sachez que les informations de l'add-ons de %s sont issus d'un serveur externe." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Avertissement" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hey" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "Que pensez-vous de %s ? Testez nos %s fonctionnalités premium avec %d jours d'essai gratuit." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Pas d'engagement durant %s jours - annuler quand vous voulez !" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Pas besoin de carte bancaire" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Commencer l'essai gratuit" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Dites, savez-vous que %s propose un système de affiliation ? Si vous aimez le %s vous pouvez devenir notre ambassadeur et gagner de l'argent !" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "En savoir plus" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Activer la licence" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Changer la licence" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Désinscription" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Inscription" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr "La version payante de %1s est déjà installée. Merci de l'activer pour bénéficier des fonctionnalités %2s. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activer les fonctionnalités %s" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Merci de suivre ces étapes pour finaliser la mise à jour" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Télécharger la dernière version %s" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Téléverser et activer la version téléchargée" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "Comment téléverser et activer ?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sCliquez ici %s pour choisir les sites sur lesquels vous souhaitez activer la licence." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "L'installation automatique ne fonctionne que pour les utilisateurs qui se sont inscrits." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "ID du module non valide." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Version premium déjà active." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "Vous n'avez pas de licence valide pour accéder à la version premium." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Le plugin est un \"Serviceware\" ce qui veut dire qu'il n'a pas de version premium de code." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "La version premium de l'add-on est déjà installée." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Voir les fonctionnalités payantes" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Merci beaucoup d'utiliser %s et ses add-ons !" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Merci beaucoup d'utiliser %s !" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "Vous avez déjà validé notre suivi d'utilisation qui nous permet de continuer à améliorer le %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Merci beaucoup d'utiliser nos produits !" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "Vous avez déjà validé notre suivi d'utilisation qui nous permet de continuer à les améliorer." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s et ses add-ons" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Produits" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Oui" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "envoyez moi des mises à jour de sécurité et des fonctionnalités, du contenu instructif et des offres." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "Non" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "ne %sPAS%s m'envoyer de mises à jour de sécurité ou de fonctionnalités, ni de contenu instructif, ni d'offre." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Suite au exigences de conformité du %sRèglement européen Général sur la Protection des Données (GDPR)%s il est nécessaire que vous donniez, à nouveau, votre consentement explicite pour confirmer que vous êtes avec nous 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Merci de nous indiquer si vous souhaitez que nous vous contactions pour les mises à jour de sécurité et de fonctionnalités, du contenu instructif et des offres spéciales :" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "La clé de licence est vide." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Renouvelez votre licence" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Acheter une licence" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "Il y a une %s de %s disponible." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "Nouvelle version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Information importante de mise à jour :" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installation du plugin : %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Impossible de se connecter au système de fichiers. Merci de confirmer vos autorisations." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "Le package du plugin à télécharger ne contient pas de dossier avec le bon slug et iln'a pas été possible de le renommer." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Acheter" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Commencer ma %s gratuite" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Installer la version gratuite maintenant" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Installer maintenant" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Télécharger la dernière version gratuite" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Télécharger la dernière version" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Installer la dernière mise à jour gratuite maintenant" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Installer la mise à jour maintenant" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "La nouvelle version gratuite ( %s ) a été installé" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Nouvelle Version (%s) Installée" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "La dernière version gratuite a été installé" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Dernière Version Installée" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Description" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installation" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Captures d'écran" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Changelog" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Commentaires" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Autres Informations" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Fonctionnalités & Tarifs" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Installation du Plugin" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "Formule %s" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Best" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Mensuel" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Annuel" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "À vie" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "%s Facturé" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Annuel" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Une fois" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Licence 1 site" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Licences sites illimités" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Jusqu'à %s Sites" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "mois" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "année" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Tarif" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Économisez %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Pas d'engagement durant %s - annuler quand vous voulez" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "Après vos %s gratuits, payez seulement %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Détails" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Version" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Auteur" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Dernière mise à jour" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "Il y a %s" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Version de WordPress requise" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s ou plus" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible jusqu'à" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Téléchargé" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s fois" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s fois" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "Page WordPress.org du plugin" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Site Web du plugin" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Faire une donation pour ce plugin" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Note moyenne" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "Basé sur %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s notation" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%snotations " - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s étoile" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s étoiles" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Cliquez pour voir les avis avec une notation de %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Contributeurs" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Attention" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Ce plugin n'a pas été testé avec votre actuelle version de WordPress" - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "Ce plugin n'a pas été indiqué comme étant compatible avec votre version actuelle de WordPress" - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Les add-ons payant doivent être déposés sur Freemius" - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Les add-ons doivent être déposés sur WordPress.org ou Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Rétrograder votre formule" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Annuler votre abonnement" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s va immédiatement arrêter tous les futurs paiements récurrents et la licence de votre formule %s expirera dans %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Veuillez noter que nous ne serons pas en mesure de garantir le maintien des prix actuels pour les renouvellements/nouveaux abonnements après une annulation. Si vous choisissez de renouveler l'abonnement manuellement à l'avenir, après une augmentation de prix, qui se produit généralement une fois par an, le prix mis à jour vous sera facturé." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Annuler la période d'essai va immédiatement bloquer les fonctionnalités premium. Souhaitez-vous continuer ?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "Vous pouvez toujours profiter de toutes les fonctionnalités de %s mais vous n'aurez plus accès aux mises à jour de sécurité ou de fonctionnalités de %s, ni au support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Une fois la licence expirée vous pourrez toujours utiliser la version gratuite mais vous n'aurez PAS accès aux fonctionnalités de %s." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Activer la formule %s" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Renouvellements automatique dans %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Expire dans %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Synchroniser la licence" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Annuler la période d'essai" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Changer de formule" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Mise à jour" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Rétrograder" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Gratuit" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Activer" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Formule" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Essai gratuit" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Détails du compte" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Supprimer le compte désactivera automatiquement la licence de votre formule %s afin que vous puissiez l'utiliser sur d'autres sites. Si vous voulez aussi annuler le paiement récurrent, cliquez sur le bouton \"Annuler\" et commencez par \"Rétrograder\" votre compte. Êtes-vous sûr de vouloir poursuivre la suppression ? " - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "La suppression est permanente. Ne faites cette suppression que si vous ne souhaitez plus utiliser le %s. Êtes-vous sûr de vouloir poursuivre la suppression ?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Supprimer le compte" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Désactiver la licence" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Êtes-vous de vouloir continuer ?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Annuler l'abonnement" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Synchroniser" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Nom" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Email" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "User ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Site ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "ID manquant" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Clef publique" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Clef secrête" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Clef secrète manquante" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Période d'essai" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Clef de licence" - -#: templates/account.php:367 -msgid "not verified" -msgstr "Non vérifié" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Expiré" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Version premium" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Version gratuite" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Vérifier l'email" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Télécharger la version %s" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Afficher" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Quel est votre %s ?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Éditer" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Sites" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Recherche par adresse" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Adresse" - -#: templates/account.php:524 -msgid "License" -msgstr "Licence" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Formule" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licence" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Cacher" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Annulation de %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "essai" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Annulation de %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "abonnement" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Désactiver la licence bloquera toutes les fonctionnalités premium mais vous permettra d'activer la licence sur un autre site. Êtes-vous sûr de vouloir continuer ?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Add Ons pour %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "Nous n'avons pas pu charger la liste des add-ons. C'est probablement une difficulté de notre côté, merci de d'essayer à nouveau dans quelques minutes." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Voir les détails" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Fermer" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s sec" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Installation automatique" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "Un téléchargement et une installation automatique de %s (version premium) de %s va commencer dans %s. Si vous voulez le faire manuellement, cliquez sur le bouton d'annulation maintenant." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "L'installation a commencé et peut prendre quelques minutes pour se finir. Merci de patienter jusqu'à ce qu'elle soit terminée - veuillez ne pas rafraichir cette page." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Annuler l'installation" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Paiement" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "Compatible PCI" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hey %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Autoriser & Continuer" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Renvoyer l'email d'activation" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Merci %s !" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Valider & Activer la licence" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Merci d'avoir acheté %s ! Pour commencer, veuillez indiquer votre clef de licence :" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Ne ratez jamais une mise à jour importante - acceptez nos notifications de mises à jour de sécurité et de fonctionnalités, de contenu instructif, d'offres ainsi que le suivi d'activité non sensible avec %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Ne manquez jamais une mise à jour importante - optez pour nos notifications de mises à jour de sécurité et de fonctionnalités, et un suivi diagnostique non sensible avec %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Ne ratez jamais une mise à jour importante - acceptez nos notifications de mises à jour de sécurité et de fonctionnalités, de contenu instructif, d'offres ainsi que le suivi d'activité non sensible avec %4$s. Dans le cas contraire, pas de problème ! %1$s fonctionnera parfaitement aussi." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Ne ratez jamais une mise à jour importante - acceptez nos notifications de mises à jour de sécurité et de fonctionnalités ainsi que le suivi d'activité non sensible avec %4$s. Dans le cas contraire, pas de problème ! %1$s fonctionnera parfaitement aussi." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "Nous sommes impatient de vous présenter l'intégration Freemius au niveau réseau." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "Durant le processus de mise à jour nous avons détecté %d site(s) toujours en attente d'activation de la licence." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "Si vous voulez utiliser le %s sur ces sites, merci d'indiquer votre clé de licence ci-dessous et de cliquer sur le bouton d'activation." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "Fonctionnalités payantes de %s" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Éventuellement, vous pouvez l'ignorer pour l'instant et activer la licence plus tard, sur votre page de compte du réseau %s." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "Durant le processus de mise à jour nous avons détecté %s site(s) dans le réseau que vous devez vérifier." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Clef de licence" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Vous ne trouvez pas votre clef de licence ?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Passer" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Déléguer aux administrateurs du site" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "Si vous cliquez, cette décision sera déléguée aux administrateurs des sites." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Résumé de votre profil" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Nom et adresse email" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Résumé de votre site" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "Site URL, WP version, PHP info, plugins & themes" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Notifications Administrateur" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Mises à jour, annonces, marketing, pas de spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Évènements du %s actuel" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Activation, désactivation et désintallation" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Newsletter" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "Le %1$s va régulièrement envoyer des données à %2$s pour vérifier les mises à jour de sécurité et de fonctionnalités ainsi que pour vérifier la validité de votre licence." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Quelles autorisations sont accordées ?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Vous n'avez pas de clef de licence ?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Activez la version gratuite" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Vous avez une clef de licence ?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Politique de confidentialité" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "Contrat de licence" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Conditions générales de service" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Email en cours d'envoi" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Activation en cours" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contact" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Off" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "On" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Debuggage" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Actions" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Êtes-vous sûr de vouloir supprimer toutes les données de Freemius ?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Supprimer tous les comptes" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Vider le cache API" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Vider les transients de mise à jour" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Synchronisation des données depuis le serveur" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrer les options vers le réseau" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Chargement des options de la base de données" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Mise en place des options de la base de données" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Clef" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Valeur" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "Versions du SDK" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "Chemin d'accès du SDK" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Chemin d'accès du module" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Est actif" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plugins" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Thèmes" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Slug" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Titre" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "État de Freemius" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Réseau de Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Réseau d'Utilisateur" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Connecté" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Bloqué" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simuler la promotion d'essai" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simuler la mise à jour du réseau" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Installations" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Sites" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Supprimer" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Add Ons du module %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Utilisateurs" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Vérifié" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licences" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "ID du plugin" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "ID de la formule" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Activé" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Bloquant" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Expiration" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Tous les types" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Toutes les demandes" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "Fichier" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Fonction" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "ID du processus" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Message" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filter" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Téléchargement" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Type" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Page %s sécurisée HTTPS, s'exécutant sur un domaine externe" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Support" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "API Freemius" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Demandes" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Mise à jour" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Facturation" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Raison sociale" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Code TVA" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Adresse ligne %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Ville" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Ville" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "Code postal" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Pays" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Choisir le pays" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "État" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Région" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Paiements" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Date" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Montant" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Facture" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Méthode" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Code" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Longueur" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Chemin" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Résultat" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Début" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Fin" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "Dans %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "Il y a %s" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Synchronisation des plugin et des thèmes" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Total" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Dernier" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Crons programmés" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Module" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Type de module" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Type de Cron" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Suivant" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Sans expiration" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Postuler pour devenir un affilié" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Votre dossier d'affiliation pour %s a été accepté ! Identifiez-vous dans votre espace affilié sur : %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Merci d'avoir postulé à notre programme d'affiliation, nous regarderons votre dossier durant les 14 prochains jours et nous reviendrons vers vous avec d'autres informations." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Votre compte affilié a été suspendu temporairement." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Merci d'avoir postulé à notre programme d'affiliation, malheureusement, nous avons décidé pour le moment de décliner votre dossier. Merci d'essayer à nouveau d'ici 30 jours." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Suite à une violation de nos conditions d'affiliation, nous avons décidé de bloquer temporairement votre compte d'affilié. Si vous avez la moindre question, merci de contacter le support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Vous aimez %s ? Devenez notre ambassadeur et gagnez du cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Parrainez des nouveaux clients pour notre %s et gagnez une commission de %s sur chaque vente réussie que vous affiliez." - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Sommaire du programme" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "Commission de %s quand un client achète une nouvelle licence." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Obtenez des commissions pour les renouvellements automatiques d'abonnement." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "Cookie de tracking de %s après la première visite pour maximiser les potentiels de gain." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Commissions illimitées." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "Montant de paiement minimum %s." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Les paiements se font en Dollars US et sont effectués mensuellement via PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "Comme nous bloquons sur 30 jours pour les remboursements éventuels, seules sont payées les commissions de plus de 30 jours." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliation" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Adresse email" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Nom complet" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "Adresse email du compte PayPal" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Où allez-vous faire la promotion du %s ? " - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Indiquez l'adresse de votre site ou d'autres sites sur lesquels vous pensez faire la promotion du %s" - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Ajouter une autre adresse" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Adresses supplémentaires" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Adresses supplémentaires depuis lesquelles vous ferez la promotion du produit." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Méthodes de promotion" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Réseaux sociaux (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Applications mobiles" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Statistiques du site web, de l'adresse email et des réseaux sociaux (optionnel)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "N'hésitez pas à indiquer des statistiques pertinentes concernant votre site ou vos réseaux sociaux telles que le nombre de visiteurs mensuel, le nombre d'abonnés, de followers, etc... (C'est informations resteront confidentielles)" - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "Comment allez-vous faire de la promotion ?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Merci d'indiquer en détail comment vous allez faire la promotion du %s (en étant aussi précis que possible)" - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Annuler" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Devenir un affilié" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Merci d'indiquer le code de licence que vous avez reçu par email juste après l'achat :" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Mettre à jour la licence" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Désinscription" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Inscription" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Le suivi d'utilisation de %s nous permet de l'améliorer. Apporter une meilleure expérience pour l'utilisateur, définir quelles seront les nouvelles fonctionnalités, ce genre de choses. Aussi nous vous serions reconnaissant si vous acceptiez de nous permettre de continuer à récupérer des informations." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "En cliquant \"Désincription\", nous n'enverrons plus d'informations de %s à %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "Il y a une nouvelle version disponible de %s. " - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr "%s pour accéder aux mises à jour de sécurité et de fonctionnalités de la version %s, et au support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Une nouvelle version est disponible" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Fermer" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Envoyer le code de la licence" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Indiquez ci-dessous l'adresse email que vous avez utilisez pour la mise à jour et nous allons vous renvoyer le code de la licence." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Désactiver ou désinstaller le %s désactivera automatiquement la licence, que vous pourrez utiliser sur un autre site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "Dans le cas où vous n'avez PAS l'intention d'utiliser ce %s sur ce site (ou tout autre site) - voulez-vous aussi annuler le %s ?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "licence" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Annuler %s - Je n'ai plus besoin de mises à jour de sécurité et de fonctionnalités, ni de support pour %s parce que je n'ai pas l'intention d'utiliser le %s sur ce site, ou tout autre site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Ne pas annuler %s - Je veux toujours recevoir les mises à jour de sécurité et de fonctionnalités, ainsi que d'être en mesure de contacter le support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Une fois votre licence expirée, vous ne pourrez plus utiliser le %s, sauf si vous l'activez à nouveau avec une licence premium valide." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Annuler %s ?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Poursuivre" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Annuler %s et poursuivre" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "Vous êtes à 1 clic de commencer votre période d'essai gratuite de %1$s jours de la formule %2$s." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "Pour être en accord avec les directives de WordPress.org, avant que nous commencions la période d'essai, nous vous demandons de nous permettre de récupérer votre nom d'utilisateur et des informations non sensibles du site afin de permettre au %s de communiquer avec %s pour vérifier les mises à jour et valider votre période d'essai." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activer la licence sur tous les sites du réseau." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Effectuer sur tous les sites dans le réseau." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Activer la licence sur tous les sites en attente." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Activer sur tous les sites en attente." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "autoriser" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "déléguer" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "passer" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Cliquez pour voir la capture d'écran %d en pleine taille" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Mises à jour illimitées" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s restante(s)" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Dernière licence" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Annulé" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Pas d'expiration" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Activer cet add-on" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Nom du propriétaire" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Email du propriétaire" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "ID du propriétaire" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Inscription" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Désolé pour le dérangement et nous sommes là pour vous aider si vous nous le permettez." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Contacter l'Assistance" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Commentaire anonyme" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Désactiver" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Activer %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Commentaires rapides" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Si vous avez un instant, merci de nous indiquer pourquoi %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "Désactivation" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "Changement" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Envoyer & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "S'il vous plait, dites nous pourquoi afin que nous puissions nous améliorer." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Oui - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Passer & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Cliquer ici pour utiliser le plugin anonymement" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Peut-être que cela vous a échappé mais vous n'êtes pas obligé de partager la moindre information et vous pouvez juste %s l'enregistrement." diff --git a/freemius/languages/freemius-he_IL.mo b/freemius/languages/freemius-he_IL.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-he_IL.po b/freemius/languages/freemius-he_IL.po deleted file mode 100644 index 2764ad8..0000000 --- a/freemius/languages/freemius-he_IL.po +++ /dev/null @@ -1,2434 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Rami Yushuvaev , 2017 -# Vova Feldman , 2017-2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-25 07:22+0000\n" -"Last-Translator: Vova Feldman \n" -"Language: he_IL\n" -"Language-Team: Hebrew (Israel) (http://www.transifex.com/freemius/wordpress-sdk/language/he_IL/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "שגיאה" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "מצאתי %s יותר טוב" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "What's the %s's name?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "It's a temporary %s. I'm just debugging an issue." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "דיאקטיבציה" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "החלפת תֵמָה" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "אחר" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "I no longer need the %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "I only needed the %s for a short period" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "ה%s הרס לי את האתר" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "ה%s הפסיק פתאום לעבוד" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "אני לא יכול/ה להמשיך לשלם על זה" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "מה המחיר שכן תרגיש\\י בנוח לשלם?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "אני לא אוהב את הרעיון של שיתוף מידע איתכם" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "ה%s לא עבד" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "לא הצלחתי להבין איך לגרום לזה לעבוד" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "The %s is great, but I need specific feature that you don't support" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "איזה פיטצ'ר?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "ה%s לא עובד" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "אנא שתפ\\י מה לא עבד כדי שנוכל לתקן זאת עבור משתמשים עתידיים..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "חיפשתי משהו אחר" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "מה חיפשת?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "ה%s לא עבד כמצופה" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "למה ציפית?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "ניפוי תקלות פרימיוס" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "אין לי מושג מה זה cURL או איך להתקין אותו - אשמח לעזרה!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "כן - בצעו את מה שצריך" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "לא - פשוט כבה" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "אופס" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s לא יכול לעבוד ללא %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "ההרחבה %s אינה יכולה לפעול ללא התוסף." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Unexpected API error. Please contact the %s's author with the following error." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Premium %s version was successfully activated." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "יש" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "יש לך רישיון %s." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "יששש" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s is a premium only add-on. You have to purchase a license first before activating the plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "מידע נוסף אודות %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "קניית רישיון" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "התחל תקופת ניסיון" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "השלם התקנה" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "You are just one step away - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "השלם הפעלת \"%s\" עכשיו" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "We made a few tweaks to the %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "The upgrade of %s was successfully completed." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Add-On" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "תוסף" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "תבנית" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "We couldn't find your email address in the system, are you sure it's the right address?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "We can't see any active licenses associated with that email address, are you sure it's the right address?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Account is pending activation." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Buy a license now" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renew your license now" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "הפעלת %s הושלמה בהצלחה." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "חשבונך הופעל בהצלחה עם חבילת %s." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "הניסיון שלך הופעל בהצלחה." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "לא ניתן להפעיל את %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "אנא צור איתנו קשר יחד עם ההודעה הבאה:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "שדרג" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "התחל תקופת ניסיון" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "מחירון" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "אפיליאציה" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "חשבון" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "יצירת קשר" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Add-Ons" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "מחירון" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "פורום תמיכה" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Your email has been successfully verified - you are AWESOME!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "מעולה" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "חבילת ההרחבה %s שודרגה בהצלחה." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "ההרחבה %s נרכשה בהצלחה." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "הורד את הגרסה האחרונה" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "הוחזרה שגיאה מהשרת:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "אממ" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "ניסיון" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "שידרגתי את החשבון שלי אבל כשאני מנסה לבצע סנכרון לרישיון החבילה נשארת %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "אנא צור איתנו קשר כאן" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "החבילה שודרגה בהצלחה." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "החבילה עודכנה בהצלחה אל %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Your license has expired. You can still continue using the free %s forever." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "רשיונך בוטל. אם לדעתך זו טעות, נא ליצור קשר עם התמיכה." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "תקופת הניסיון שלך הסתיימה. הפיטצ'רים החינאמיים עדיין ניתנים לשימוש." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "נראה שלא ניתן להפעיל את הרישיון." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "הרישיון הופעל בהצלחה." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "נראה לאתר עדיין אין רישיון פעיל." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "נראה שניתוק הרישיון נכשל." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "רישיונך נותק בהצלחה, חזרת לחבילת %s" - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "אוקיי" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "You are already running the %s in a trial mode." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "הניסיון כבר נוצל בעבר." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "החבילה %s אינה קיימת, לכן, לא ניתן להתחיל תקופת ניסיון." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "תוכנית %s אינה תומכת בתקופת ניסיון." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "None of the %s's plans supports a trial period." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "It looks like you are not in trial mode anymore so there's nothing to cancel :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "נראה שיש תקלה זמנית המונעת את ביטול הניסיון. אנא נסו שוב בעוד כמה דקות." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "תקופת הניסיון החינמית של %s בוטלה בהצלחה." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "גרסה %s הושקה." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "נא להוריד את %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "גרסת ה-%s האחרונה כאן" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "חדש" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "נראה שיש לך את הגרסה האחרונה." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "את\\ה מסודר!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site successfully opted in." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "אדיר" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "We appreciate your help in making the %s better by letting us track some usage data." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "תודה רבה!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "We will no longer be sending any usage data of %s on %s to %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "תודה על אישור ביצוע החלפת הבעלות. הרגע נשלח מייל ל-%s כדי לקבל אישור סופי." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s הינו הבעלים החד של חשבון זה." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "מזל טוב" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Sorry, we could not complete the email update. Another user with the same email is already registered." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "עדכון בעלות" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "כתובת הדואל שלך עודכנה בהצלחה. הודעת אישור אמורה להתקבל בדואל שלך ברגעים הקרובים." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "נא למלא את שמך המלא." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "שמך עודכן בהצלחה." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "עידכנת בהצלחה את ה%s." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Just letting you know that the add-ons information of %s is being pulled from an external server." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "לתשמות לבך" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "היי" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "How do you like %s so far? Test all our %s premium features with a %d-day free trial." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "ללא התחייבות ל-%s ימין - בטלו בכל רגע!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "לא נדרש כרטיס אשראי" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "התחלת ניסיון חינם" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Learn more" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "הפעלת רישיון" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "שינוי רישיון" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Opt Out" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Opt In" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "נא לבצע את הצעדים הבאים להשלמת השידרוג" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "הורד\\י את גרסת ה-%s העדכנית" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "העלה\\י והפעיל\\י את הגרסה שהורדת" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "איך להעלות ולהפעיל?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick here%s to choose the sites where you'd like to activate the license on." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Auto installation only works for opted-in users." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "מזהה המודול לא תקני." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "הגרסה בתשלום כבר פעילה." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "אין ברשותך רישיון בר תוקף לשימוש בגרסת הפרימיום." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Plugin is a \"Serviceware\" which means it does not have a premium code version." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Premium add-on version already installed." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "צפה בפיטצ'רים שבתשלום" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Thank you so much for using %s and its add-ons!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "אנו מודים לך על היותך כמשתמש של %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving the %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "אנו מודים לך על השימוש במוצרים שלנו!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving them." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s and its add-ons" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "מוצרים" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "כן" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "תשלחו לי עדכוני אבטחה ופיטצ'רים, תוכן חינוכי, ומידע אודות מבצעים." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "לא" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "%sאל%2$s תשלחו לי עדכוני אבטחה, פיטצ'רים, תוכן חינוכי, ומידע על מבצעים." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "מפתח הרישיון ריק." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "חידוש רישיון" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installing plugin: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Unable to connect to the filesystem. Please confirm your credentials." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "The remote plugin package does not contain a folder with the desired slug and renaming did not work." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "רכישה" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "התחל את %s הניסיון שלי" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "התקן גרסה חינאמית עכשיו" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "התקן עכשיו" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download Latest Free Version" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "הורד גרסה אחרונה" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "התקן עדכון גרסה חינאמית עכשיו" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "התקן עדכון במיידי" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Newer Free Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "גרסה חדשה (%s) הותקנה" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "גרסה חינאמית עדכנית הותקנה" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "הגרסה האחרונה הותקנה" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "תיאור" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "התקנה" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "שאלות נפוצות" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "צילומי מסך" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "לוג שינויים" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "ביקורות" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "היערות נוספות" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "פיטצ'רים ומחירים" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "התקנת תוסף" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "חבילה %s" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "הכי טוב" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "חודשי" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "שנתי" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "לכל החיים" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "מחוייב על בסיס %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "שנתי" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "פעם אחת" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "רשיון לאתר אחד" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "רשיונות ללא הגבלה" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "עד %s אתרים" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "חודשים" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "שנה" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "מחיר" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "שמירת %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "No commitment for %s - cancel anytime" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "After your free %s, pay as little as %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "פרטים" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "גרסה" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Author" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "עודכן לאחרונה" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "לפני %s" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Requires WordPress Version" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s ומעלה" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible up to" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Downloaded" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "פעם %s" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s פעמים" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org Plugin Page" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "עמוד התוסף" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "תרום לתוסף" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "דירוג ממוצע" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "מבוסס על %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "דרוג %s" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s דרוגים" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "כוכב %s" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s כוכבים" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Click to see reviews that provided a rating of %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "תורמים" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Warning" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "תוסף זה לא נבדק עם גרסת הוורדפרס שלך." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "התוסף לא סומן כתואם לגרסת הוורדפרס שלך." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Paid add-on must be deployed to Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Add-on must be deployed to WordPress.org or Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "ביטול הניסיון יחסום מייד את הפיטצ'רים שהינם בתשלום. האם ברצונך בכל זאת להמשיך?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Once your license expires you can still use the Free version but you will NOT have access to the %s features." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "הפעל חבילה %s" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "עדכן אוטומטית בעוד %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "פג תוקף בעוד %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "סינכרן רישיון" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "ביט" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "שינוי חבילה" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "שדרג" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "שנמך" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "חינם" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "הפעלה" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "חבילה" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "ניסיון חינם" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "פרטי חשבון" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "מחיקת חשבון" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "שיחרור רישיון" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "האם את/ה בטוח רוצה להמשיך?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "בטל מנוי" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "סינכרון" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "שם" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "דוא\"ל" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "מזהה משתמש" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "מזהה אתר" - -#: templates/account.php:285 -msgid "No ID" -msgstr "אין מזהה" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "מפתח פומבי" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "מפתח סודי" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "אין מפתח סודי" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "ניסיון" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "License Key" - -#: templates/account.php:367 -msgid "not verified" -msgstr "לא מאומת" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "פג תוקף" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "גירסת פרימיום" - -#: templates/account.php:430 -msgid "Free version" -msgstr "גירסה חינאמית" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "אמת כתובת דוא\"ל" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "הורד גרסת %s" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "הצג" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "מה ה%s שלך?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "ערוך" - -#: templates/account.php:502 -msgid "Sites" -msgstr "אתרים" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "חפש לפי כתובת" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "מזהה" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "כתובת" - -#: templates/account.php:524 -msgid "License" -msgstr "רישיון" - -#: templates/account.php:525 -msgid "Plan" -msgstr "חבילה" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "רישיון" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "הסתר" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "ביטול הרישיון יחסום את כל הפיטצ'רים שבתשלום אך יאפשר להפעיל את הרישיון על אתר אחר. האם תרצו להמשיך בכל זאת?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "הרחבות עבור %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "פרטים נוספים" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "סגירה" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s שניות" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "התקנה אוטומטית" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "הורדה והתקנה אוטומטית של %s (גרסה בתשלום) מ-%2$s תתחיל בעוד %3$s. אם ברצונך לבצע את ההתקנה ידנית - לחץ על כפתור הביטול עכשיו." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "תהליך ההתקנה התחיל ויכול לקחת מספר דקות לסיום. אנא המתינו בסבלנות עד לסיום מבלי לרענן את הדפדפן." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "בטל התקנה" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Checkout" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "עומד בתקן PCI" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "היי %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "אפשר\\י והמשכ\\י" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "שליחה חוזרת של מייל האקטיבציה" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "תודה %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "הסכמה והפעלת רישיון" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Thanks for purchasing %s! To get started, please enter your license key:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We're excited to introduce the Freemius network-level integration." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "During the update process we detected %d site(s) that are still pending license activation." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s's paid features" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "During the update process we detected %s site(s) in the network that are still pending your attention." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "מפתח רישיון" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "האם אינך מוצא את מפתח הרישיון?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "דלג" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "האצלה למנהלי האתרים" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "If you click it, this decision will be delegated to the sites administrators." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "פרטים כלליים על הפרופיל" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "שם וכתובת דו\"אל" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "פרטים כלליים על האתר" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "כתובת אתר, גרסת וורדפרס, פרטי PHP, תוספים ותבניות" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "התראות מנהל" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "עדכונים, הכרזות, הודעות שיווקיות, ללא דואר זבל" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Current %s Events" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "הפעלה, כיבוי והסרה" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "ניוסלטר" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "מהן ההרשאות המוענקות?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "האם אין ברשותך מפתח רישיון?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "הפעלת גירסה חינאמית" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "האם ברשותך רישיון?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "מדיניות פרטיות" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "תנאי השירות" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "שולח דוא\"ל" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "מפעיל" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contact" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "כבוי" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "דלוק" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "דיבוג" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "פעולות" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Are you sure you want to delete all Freemius data?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "מחיקת כל החשבונות" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "ניקוי מטמון ה-API" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Clear Updates Transients" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "סנכרון מידע מהשרת" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Load DB Option" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Set DB Option" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Key" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Value" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "גרסאות SDK" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "מיקום SDK" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Module Path" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "האם פעיל" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "תוספים" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "תבניות" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "מזהה כתובת" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "כותרת" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "מצב פרימיוס" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Network Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "משתמש רשת" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "מחובר" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "חסום" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "סמלוץ עדכון לרשת" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s התקנות" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "אתרים" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "מזהה בלוג" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "מחק" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Add Ons of module %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "משתמשים" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "מאומת" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licenses" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Plugin ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "Plan ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Activated" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Blocking" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "תפוגה" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "כל הסוגים" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "כל הבקשות" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "קובץ" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "פונקציה" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "Process ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "הודעה" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "פילטר" - -#: templates/debug.php:585 -msgid "Download" -msgstr "הורדה" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "סוג" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Secure HTTPS %s page, running from an external domain" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "תמיכה" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Requests" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "עדכן" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "בילינג" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "שם עסק" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "ח.פ." - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "כתובת %s" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "עיר" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "כפר" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "מיקוד / תא דואר" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "מדינה" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "בחר מדינה" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "מחוז/מדינה" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "פרובינציה" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "תשלומים" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "תאריך" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "סכום" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "חשבונית" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Method" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Code" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Length" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "נתיב" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Result" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Start" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "End" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "בעוד %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "לפני %s" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Plugins & Themes Sync" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Total" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Last" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Scheduled Crons" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "מודול" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "סוג מודול" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron Type" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Next" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Non-expiring" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Apply to become an affiliate" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Your affiliation account was temporarily suspended." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Like the %s? Become our ambassador and earn cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Refer new customers to our %s and earn %s commission on each successful sale you refer!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Program Summary" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s commission when a customer purchases a new license." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Get commission for automated subscription renewals." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie after the first visit to maximize earnings potential." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Unlimited commissions." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s minimum payout amount." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Payouts are in USD and processed monthly via PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliate" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "כתובת דוא\"ל" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Full name" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "PayPal account email address" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Where are you going to promote the %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Enter the domain of your website or other websites from where you plan to promote the %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Add another domain" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Extra Domains" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Extra domains where you will be marketing the product from." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Promotion methods" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social media (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Mobile apps" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Website, email, and social media statistics (optional)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "How will you promote us?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Please provide details on how you intend to promote %s (please be as specific as possible)." - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "בטל" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Become an affiliate" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "אנא הזן את הרישיון שקיבלת לתיבת הדואל שלך לאחר השלמת הרכישה." - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "עדכון רישיון" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Opt Out" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Opt In" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "יש גרסה חדשה עבור ה%s." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "יש גרסה חדשה" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "סגירה" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "שליחת מפתח רישיון" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "הזן את כתובת הדואל שאיתה שידרגת כדי לקבל את הרישיון שוב." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "הפעלת רישיון על כל האתרים ברשת." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "יישום על כל האתרים ברשת." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "הפעלת רישיון על כל האתרים התלויים והעומדים." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "יישום על כל האתרים התלויים והעומדים." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "אפשר" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "האצל" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "דלג" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Click to view full-size screenshot %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "עדכונים ללא הגבלה" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "שרת לוקאלי" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "נשארו %s" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "רישיון אחרון" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "בוטל" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "ללא תפוגה" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "הפעל את ההרחבה" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "שם הבעלים" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "מייל הבעלים" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "מזהה הבעלים" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "מנוי" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "מצטערים על חוסר הנעימות, אנחנו כאן כדי לעזור אם תאפשר\\י זאת." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "צור קשר" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "פידבק אנונימי" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "כיבוי" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Activate %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "If you have a moment, please let us know why you are %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "deactivating" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "switching" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Submit & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "אנא שתף את הסיבה כדי שנוכל להשתפר." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Yes - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "דלג ו%s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Click here to use the plugin anonymously" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "אולי פספסת את זה אבל אינך חייב\\ת לשתף כל מידע איתנו, ביכולתך %s על שיתוף המידע." diff --git a/freemius/languages/freemius-hu_HU.mo b/freemius/languages/freemius-hu_HU.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-hu_HU.po b/freemius/languages/freemius-hu_HU.po deleted file mode 100644 index 52543d6..0000000 --- a/freemius/languages/freemius-hu_HU.po +++ /dev/null @@ -1,2433 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Peter Ambrus, 2018-2019 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2019-01-10 20:38+0000\n" -"Last-Translator: Peter Ambrus\n" -"Language: hu_HU\n" -"Language-Team: Hungarian (Hungary) (http://www.transifex.com/freemius/wordpress-sdk/language/hu_HU/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Hiba" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "Jobb %st találtam" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Mi a %s neve?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "Ez csak egy ideiglenes %s. Egy hibát kell megoldanom." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Deaktiválás" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Sablon váltás" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Egyéb" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "I no longer need the %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "I only needed the %s for a short period" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "The %s broke my site" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "The %s suddenly stopped working" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Nem tudom tovább fizetni" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Mi lenne az elfogadható ár, amit tudnál fizetni?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Nem szeretném megosztani veletek az információt" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "A %s nem működött" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Nem értettem, hogy kell használni" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "The %s is great, but I need specific feature that you don't support" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Melyik funkcióra van szükséged?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "A(z) %s nem működik" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Ha elmondod mi nem működött, ki tudjuk javítani a leendő felhasználók számára..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Nem ezt kerestem" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Pontosan mit kerestél?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "A %s nem az elvárásoknak megfelelően működött" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "Mire számítottál?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Freemius Debug" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "I don't know what is cURL or how to install it, help me!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Igen - tedd a dolgod" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "Nem - csak deaktiválom" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Hoppá" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s cannot run without %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s cannot run without the plugin." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Unexpected API error. Please contact the %s's author with the following error." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Premium %s version was successfully activated." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "Fantasztikus" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "You have a %s license." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Juhuuu" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s is a premium only add-on. You have to purchase a license first before activating the plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "More information about %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Licensz vásárlása" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Küldtünk egy aktivációs emailt a(z) %s szoftverünkhöz a következő email címre: %s. Kérlek kattints a levélben található aktivációs linkre, hogy %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "próbaidő indítása" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "befejezd a telepítést" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Már csak egy lépés van hátra - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "\"%s\" aktiválásának a befejezése most" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "We made a few tweaks to the %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "The upgrade of %s was successfully completed." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Kiegészítő" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Bővítmény" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Sablon" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "We couldn't find your email address in the system, are you sure it's the right address?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "We can't see any active licenses associated with that email address, are you sure it's the right address?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "A fiók aktiválása függőben." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Vásárolj licenszet most" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Licensz kulcs megújítása" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s activation was successfully completed." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "A fiókodat sikeresen aktiváltuk a következő csomaggal: %s" - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "A próbaidőszakodat sikeresen aktiváltuk." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Couldn't activate %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Please contact us with the following message:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Előfizetés frissítése" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Próbaidő indítása" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Árak" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliation" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Fiók" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Kapcsolat" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Kiegészítők" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Árak" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Támogató fórum" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Az email címedet sikerült ellenőrizni - ez nagyszerű!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Right on" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Your %s Add-on plan was successfully upgraded." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "%s Add-on was successfully purchased." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Töltsd le a legfrissebb verziót" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Error received from the server:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Próbaidő" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "I have upgraded my account but when I try to Sync the License, the plan remains %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Please contact us here" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Your plan was successfully upgraded." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Your plan was successfully changed to %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Your license has expired. You can still continue using the free %s forever." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Your license has been cancelled. If you think it's a mistake, please contact support." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Your free trial has expired. You can still continue using all our free features." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "It looks like the license could not be activated." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Your license was successfully activated." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "It looks like your site currently doesn't have an active license." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Úgy tűnik a licensz deaktiválása nem sikerült." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "A licenszedet sikeresen deaktiváltuk, az aktuális csomagod: %s" - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "Rendben" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "You are already running the %s in a trial mode." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "You already utilized a trial before." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Plan %s do not exist, therefore, can't start a trial." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Plan %s does not support a trial period." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "None of the %s's plans supports a trial period." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "It looks like you are not in trial mode anymore so there's nothing to cancel :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Your %s free trial was successfully cancelled." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "Version %s was released." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Please download %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "the latest %s version here" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Új" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Seems like you got the latest release." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Minden rendben!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site successfully opted in." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Nagyszerű" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "We appreciate your help in making the %s better by letting us track some usage data." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Köszönjük!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "We will no longer be sending any usage data of %s on %s to %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Thanks for confirming the ownership change. An email was just sent to %s for final approval." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s is the new owner of the account." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Gratulálunk" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Sorry, we could not complete the email update. Another user with the same email is already registered." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Tulajdonos módosítása" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Kérlek add meg a teljes neved!" - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "A neved sikeresen frissítettük." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "You have successfully updated your %s." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Just letting you know that the add-ons information of %s is being pulled from an external server." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Figyelem" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Üdv" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "How do you like %s so far? Test all our %s premium features with a %d-day free trial." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "No commitment for %s days - cancel anytime!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Bankkártya megadása nem kötelező" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Start free trial" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Bővebben" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Licensz aktiválása" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Licensz módosítása" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Leiratkozás" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Feliratkozás" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Please follow these steps to complete the upgrade" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Download the latest %s version" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Upload and activate the downloaded version" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "How to upload and activate?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick here%s to choose the sites where you'd like to activate the license on." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Auto installation only works for opted-in users." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Invalid module ID." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Premium version already active." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "You do not have a valid license to access the premium version." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Plugin is a \"Serviceware\" which means it does not have a premium code version." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Premium add-on version already installed." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Fizetős funkciók megtekintése" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Thank you so much for using %s and its add-ons!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Thank you so much for using %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving the %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Thank you so much for using our products!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving them." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s and its add-ons" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Termékek" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Igen" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "kérek biztonsági és funkcionális frissítéseket, használati ismertetőket és ajánlatokat." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "Nem" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "do %sNOT%s send me security & feature updates, educational content and offers." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "A licensz kulcs üres." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Licensz megújítása" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Licensz vásárlása" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "új verzió" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Bővítmény telepítése: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Unable to connect to the filesystem. Please confirm your credentials." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "The remote plugin package does not contain a folder with the desired slug and renaming did not work." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Vásárlás" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Start my free %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Install Free Version Now" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Telepítés most" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download Latest Free Version" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Download Latest" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Install Free Version Update Now" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Frissítés telepítése most" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Newer Free Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Newer Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Legfrissebb ingyenes verzió telepítve" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Legfrissebb verzió telepítve" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Leírás" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Telepítés" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "GYIK" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Képernyőfotók" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Változtatások" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Vélemények" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Egyéb megjegyzések" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Funkciók & Árak" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Bővítmény telepítése" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s csomag" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Legjobb" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Havi" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Éves" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Örök" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "%s számlázás" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Éves" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Egyszeri" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Egy weboldalas licensz" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Korlátlan licensz" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Up to %s Sites" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "hó" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "év" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Ár" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "%s mentése" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "No commitment for %s - cancel anytime" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "After your free %s, pay as little as %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Részletek" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Verzió" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Szerző" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Utolsó frissítés" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s ago" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "A következő WordPress verzió szükséges:" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s or higher" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible up to" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Letöltések száma:" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org bővítmény oldal" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Bővítmény oldala" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Bővítmény támogatása" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Átlagos értékelés" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "based on %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s rating" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s ratings" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s star" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s stars" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Click to see reviews that provided a rating of %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Közreműködők" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Figyelmeztetés" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "This plugin has not been tested with your current version of WordPress." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "This plugin has not been marked as compatible with your version of WordPress." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Paid add-on must be deployed to Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Add-on must be deployed to WordPress.org or Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Cancelling the trial will immediately block access to all premium features. Are you sure?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Once your license expires you can still use the Free version but you will NOT have access to the %s features." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "%s csomag aktiválása" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Auto renews in %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Hátralévő idő: %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Licensz szinkronizálása" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Próbaidő törlése" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Csomag módosítása" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Váltás nagyobb csomagra" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Váltás kisebb csomagra" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Ingyenes" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Aktiválás" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Csomag" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Ingyenes próbaidő" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Fiók információk" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Fiók törlése" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Licensz deaktiválása" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Are you sure you want to proceed?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Előfizetés törlése" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Szinkronizálás" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Név" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Email" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "Felhasználó ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Weboldal ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "Nincs ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Publikus kulcs" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Titkos kulcs" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Nincs titkos kulcs" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Próbaidő" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Licensz kulcs" - -#: templates/account.php:367 -msgid "not verified" -msgstr "nem ellenőrzött" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Lejárt" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Prémium verzió" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Ingyenes verzió" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Email ellenőrzése" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "%s verzió letöltése" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Mutasd" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Mi a te %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Szerkesztés" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Weboldalak" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Keresés cím alapján" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Cím" - -#: templates/account.php:524 -msgid "License" -msgstr "Licensz" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Csomag" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licensz" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Elrejt" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "próbaidő" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "előfizetés" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "A licensz deaktiválása után a prémium funkciók használata nem elérhető, de így tudod másik weboldalon aktiválni ugyanezt a licenszt. Folytatod a deaktiválást?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Add Ons for %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Részletek megtekintése" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Mégsem" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s sec" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Automatikus telepítés" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Telepítés törlése" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Pénztár" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI compliant" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Üdv %s!" - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Engedélyezés és folytatás" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Aktivációs email újraküldése" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Köszönjük %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Licensz elfogadása és aktiválása" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Köszönjük, hogy megvásároltad a %s szoftverünket! A folytatáshoz most meg kell adnod a licensz kulcsot, amit a vásárlás után kaptál emailben:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We're excited to introduce the Freemius network-level integration." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "During the update process we detected %d site(s) that are still pending license activation." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s's paid features" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "During the update process we detected %s site(s) in the network that are still pending your attention." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Licensz kulcs" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Nem találod a licensz kulcsod?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Ugrás" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegate to Site Admins" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "If you click it, this decision will be delegated to the sites administrators." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Fiókod áttekintése" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Név és email cím" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Weboldalad adatainak áttekintése" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "Weboldal címe, WP verzió, PHP információk, bővítmények és sablonok" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Admin értesítések" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Frissítések, közlemények, marketing, de semmi SPAM!" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Aktuális %s események" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Aktiválás, deaktiválás és kikapcsolás" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Hírlevél" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "A %1$s időközönként adatot küld a %2$s weboldalnak, hogy ellenőrizze a biztonsági és funkcionális frissítéseket, valamint ellenőrzi az érvényes licensz kulcsot." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Milyen jogosultágok lesznek engedélyezve?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Nincs még licensz kulcsod?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Ingyenes verzió aktiválása" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Van licensz kulcsod?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Adatkezelési tájékoztató" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "Licensz szerződés" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Szolgáltatási feltételek" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Email küldése" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Aktiválás" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Kapcsolat" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Off" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "On" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Debugging" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Események" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Are you sure you want to delete all Freemius data?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Minden fiók törlése" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Clear API Cache" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Clear Updates Transients" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Adatok szinkronizálása a szerverről" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Load DB Option" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Set DB Option" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Kulcs" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Érték" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "SDK verziók" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "SDK útvonal" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Module Path" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Aktív" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Bővítmények" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Sablonok" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Slug" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Cím" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Freemius State" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Network Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Network User" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Connected" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Blocked" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simulate Network Upgrade" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Installs" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Weboldalak" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Törlés" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Add Ons of module %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Felhasználók" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Ellenőrzött" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licenses" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Bővítmény ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "Csomag ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Sikeres aktiválás" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Blocking" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Expiration" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "All Types" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "All Requests" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "File" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Function" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "Művelet ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Message" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filter" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Download" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Type" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Secure HTTPS %s page, running from an external domain" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Support" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Requests" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Frissítés" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Számlázás" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Cégnév" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Közösségi adószám" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Cím %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Város" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Town" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "Irányítószám" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Ország" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Válaszz országot" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Megye" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Province" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Fizetési módok" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Dátum" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Mennyiség" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Számla" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Method" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Kód" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Hossz" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Path" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Result" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Start" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "End" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "In %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s ago" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Bővítmények és sablonok szinkronizálása" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Összesen" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Last" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Scheduled Crons" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Module" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Module Type" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron Type" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Next" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Non-expiring" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Apply to become an affiliate" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Your affiliation account was temporarily suspended." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Like the %s? Become our ambassador and earn cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Refer new customers to our %s and earn %s commission on each successful sale you refer!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Program Summary" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s commission when a customer purchases a new license." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Get commission for automated subscription renewals." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie after the first visit to maximize earnings potential." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Unlimited commissions." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s minimum payout amount." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Payouts are in USD and processed monthly via PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliate" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Email cím" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Teljes név" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "PayPal fiók email címe" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Where are you going to promote the %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Enter the domain of your website or other websites from where you plan to promote the %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Másik domain hozzáadása" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "További domainek" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Extra domains where you will be marketing the product from." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Promotion methods" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social media (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Mobile apps" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Weboldal, email és közösségi média statisztikák (opcionális)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "How will you promote us?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Please provide details on how you intend to promote %s (please be as specific as possible)." - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Mégsem" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Become an affiliate" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Kérlek add meg a licensz kulcsot, amit emailben kaptál a vásárlásod után:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Licensz frissítése" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Leiratkozás" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Feliratkozás" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "A(z) %s új verziója érhető el." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Új verzió érhető el" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Mégsem" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Licensz kulcs küldése" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Add meg az email címet, amit a vásárlás során használtál és újraküldjük a licensz kulcsot." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "A(z) %s deaktiválása vagy törlése automatikusan törli az oldalhoz tartozó licenszed is, amit így másik weboldalon tudsz újra aktiválni." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "licensz" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Prémium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activate license on all sites in the network." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Apply on all sites in the network." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Activate license on all pending sites." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Apply on all pending sites." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "allow" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delegate" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "ugrás" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Click to view full-size screenshot %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Korlátlan frissítés" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s left" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Last license" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Törölve" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "No expiration" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Activate this add-on" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Tulajdonos neve" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Tulajdonos email címe" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "Tulajdonos ID" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Előfizetés" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Sorry for the inconvenience and we are here to help if you give us a chance." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Írás az ügyfélszolgálatra" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Névtelen visszajelzés" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Deaktiválás" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "%s aktiválása" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Gyors visszajelzés" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Kérlek mondd el, miért %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "deaktiválod" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "váltasz" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Küldés & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Ha elmondod az okát, tudunk fejlődni." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Yes - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Kihagyás & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Kattints ide, ha névtelenül szeretnéd használni a bővítményt" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "You might have missed it, but you don't have to share any data and can just %s the opt-in." diff --git a/freemius/languages/freemius-it_IT.mo b/freemius/languages/freemius-it_IT.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-it_IT.po b/freemius/languages/freemius-it_IT.po deleted file mode 100644 index 6e47983..0000000 --- a/freemius/languages/freemius-it_IT.po +++ /dev/null @@ -1,2437 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Alessandro Pelly Benassi , 2016 -# Daniele Scasciafratte Mte90 , 2015-2018 -# Dario Curvino , 2018 -# Alessandro Pelly Benassi , 2016-2017 -# Vova Feldman , 2015-2016 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-12-23 14:23+0000\n" -"Last-Translator: Dario Curvino \n" -"Language: it_IT\n" -"Language-Team: Italian (Italy) (http://www.transifex.com/freemius/wordpress-sdk/language/it_IT/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "L'SDK di Freemius non è riuscito a trovare il file principale del plugin. Per favore contatta sdk@freemius.com riportando l'errore." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Errore" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "Ho trovato un migliore %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Qual è il nome di %s?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "È una %s temporanea. Sto solo cercando di risolvere un problema." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Disattivazione" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Cambio tema" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Altro" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "Non ho più bisogno di %s" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "Ho avuto bisogno di %s per un breve periodo" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "%s ha rotto il mio sito" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "%s ha improvvisamente smesso di funzionare" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Non posso piú pagarlo" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Che prezzo ritieni opportuno pagare?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Non voglio condividere i miei dati con te" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "%s non funziona" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Non capisco come farlo funzionare" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "%s è ottimo ma ho bisogno di una funzionalità specifica non supportata" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Quale funzionalitá?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "%s non funziona" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Condividi cosa non ha funzionato in modo da migliorare il prodotto per gli utenti futuri..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Non é quello che stavo cercando" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Che cosa stai cercando?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "%s non ha funzionato come mi aspettavo" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "Che cosa ti aspettavi?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Debug Freemius" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "Non ho idea di cosa sia cURL o come installarlo, aiutami!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "Contatteremo il tuo hosting e risolveremo il problema. Riceverai un' email a %s non appena ci saranno aggiornamenti." - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Installa cURL e abilitalo nel file file php.ini. Inoltre cerca per il parametro 'disable_functions' nel tuo file php.ini e rimuovi ogni metodo disattivato che inizia con 'curl_'. Per verificare che tutti sia attivato usa 'phpinfo()'. Una volta attivato, disattiva 1%s e riattivalo di nuovo." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Sì - fai pure" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "No - disattiva e basta" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Ops" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Grazie per averci dato la possibilità di risolvere il problema! È stato appena inviato un messaggio al nostro staff tecnico. Ti risponderemo non appena avremo un aggiornamento riguardante %s. Grazie per la tua pazienza." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s non può funzionare senza %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s non può funzionare senza il plugin." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Errore API inaspettato. Contatta l'autore di %s con il seguente errore." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "La versione 1%s Permium è stata attivata con successo." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "Forte" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "Hai la licenza %s." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Evvai" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "Il periodo di prova gratuito %s è stato annullato con successo. Siccome l'add-on è premium, è stato disattivato automaticamente. Se vorrai usarlo in futuro, dovrai comprare una licenza." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s è un add-on premium. Devi comprare una licenza prima di poter attivare il plugin." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Ulteriori informazioni su %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Acquista licenza" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Dovresti ricevere un'email di attivazione di %s all'indirizzo %s. Assicurati di fare clic sul pulsante di attivazione nell'email per %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "Inizia il periodo di prova gratuito" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "completa l'installazione" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Sei a un passo dalla fine - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Completa l'attivazione di \"%s\" ora" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "Abbiamo fatto alcune migliore a %s,%s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "L'aggiornamento di %s è stato completato con successo." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Add-on" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Plugin" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Tema" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "Non siamo riusciti a trovare il tuo indirizzo email nel sistema, sei sicuro che sia l'indirizzo giusto?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "Non siamo riusciti a trovare alcuna licenza attiva associata al tuo indirizzo email, sei sicuro che sia l'indirizzo giusto?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Account in attesa di attivazione." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Compra una licenza ora" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Rinnova la tua licenza ora" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s è stato attivato con successo." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Il tuo account è stato attivato correttamente con il piano %s." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "La versione di prova è stata avviata correttamente." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Non é stato possibile attivare %s." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Contattaci con il seguente messaggio:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Aggiornamento" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Inizia il periodo di prova gratuito" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Prezzi" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliazione" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Account" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Contattaci" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Addon" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Prezzi" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Forum di supporto" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Il tuo indirizzo email è stato verificato con successo - SEI UN GRANDE!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Sì" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Il piano del tuo add-on %s è stato aggiornato con successo." - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "L' add-on %s è stato acquistato con successo." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Scarica l'ultima versione" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Il tuo server sta bloccando l'accesso all'API di Freemius. L'accesso è cruciale per quanto riguarda la la sincronizzazione di %1s. Per favore contatta il tuo host per aggiungere %2s alla whitelist." - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Errore ricevuto dal server:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "Sembra che uno dei parametri di autenticazione sia sbagliato. Aggiorna la tua chiave pubblica, Secret Key & User ID e riprova." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Uhm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "Sembra che tu sia ancora usando il piano %s. Se hai effettuato un upgrade o cambiato il piano, è probabile che ci sia un problema nei nostri sistemi." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Prova gratuita" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "Ho aggiornato il mio account, ma quando cerco di sincronizzare la licenza, il piano rimane %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Contattaci qui" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Il piano è stato aggiornato con successo." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Il piano è stato cambiato con successo a %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "La tua licenza è scaduta. Puoi continuare ad usare la versione gratuita %s per sempre." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "La tua licenza è scaduta. %1$saggiorna ora %2$sper continuare ad utilizzare %3$s senza interruzioni." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "La tua licenza è stata cancellata. Se credi sia un errore, per favore contatta il supporto." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "La licenza è scaduta. È comunque possibile continuare a utilizzare tutte le funzionalità di %s, ma sarà necessario rinnovare la licenza per continuare a ricevere gli aggiornamenti ed il supporto." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "La tua versione di prova gratuita è scaduta. Puoi continuare ad usare tutte le funzionalità gratuite." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "La tua versione prova è scaduta.%1$s aggiorna ora %2$s per continuare ad usare %3$s senza interruzioni." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Sembra che la licenza non possa essere attivata." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "La tua licenza è stata attivata correttamente." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Sembra che il tuo sito non disponga di alcuna licenza attiva." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Sembra che la disattivazione della licenza non sia riuscita." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "La tua licenza é stata disattivata con successo, sei tornato al piano %s." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "OK" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Stai già usando %s in modalità prova." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "Hai già utilizzato una prova gratuita in passato." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Il piano %s non esiste, per questo motivo non è possibile iniziare il periodo di prova." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Il piano %s non supporta il periodo di prova." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "Nessuno dei piani di %ssupporta il periodo di prova." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Sembra che tu non stia più usando la prova gratuita, quindi non c'è niente che tu debba annullare :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Stiamo avendo qualche problema temporaneo con l'annullamento del periodo di prova. Riprova tra qualche minuto." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Il tuo periodo di prova gratuito %s è stato annullato con successo." - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "La versione %s é stata rilasciata." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Scarica %s." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "l'ultima versione %s é quì" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Nuovo" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Sembra che tu abbia la versione più recente." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Sei fantastico!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "L'email di verifica è stata inviata a %s. Se dopo 5 minuti non è ancora arrivata, per favore controlla nella tua casella di posta indesiderata." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Sito accettato con successo." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Fantastico" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "Ti ringraziamo per averci concesso di tracciare alcuni dati di utilizzo al fine di migliorare %s." - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Grazie!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "Non possiamo più inviare i dati di utilizzo di %ssu %sa %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Verifica di aver ricevuto l'email da %s per confermare il cambiamento del proprietario. Per ragioni di sicurezza devi confermare il cambiamento entro 15 minuti. Se non trovi l'email controlla nella posta indesiderata." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Grazie per aver confermato il cambiamento del proprietario. Un' email è stata appena inviata a %s per la conferma finale." - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s è il nuovo proprietario dell'account." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Congratulazioni" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Siamo spiacenti, non siamo riusciti a completare l'aggiornamento via email. Un altro utente con lo stesso indirizzo email è già registrato." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "Puoi abbandonare la proprietà dell'account %s a %scliccando il pulsante Cambia proprietario." - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Cambia Proprietario" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Il tuo indirizzo email è stato aggiornato correttamente. Riceverai un'email con le istruzioni di conferma in pochi istanti." - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Per favore inserisci il tuo nome completo." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Il tuo nome è stato aggiornato correttamente." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Hai aggiornato con successo il tuo %s." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Le informazioni sugli add-on di %s vengono scaricate da un server esterno." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Attenzione" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hey" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "Come sta andando con %s? Prova tutte le funzionalità premium di %s con una prova gratuita di %d giorni." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Nessun impegno per %s giorni - puoi annullare in qualsiasi momento!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Nessuna carta di credito richiesta" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Inizia il periodo di prova gratuito" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Ciao, sai che %s ha il programma di affiliazione? Se ti piace %s puoi diventare un nostro ambasciatore e guadagnare denaro!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Scopri altro" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Attiva licenza" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Cambia licenza" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Cancella iscrizione" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Iscriviti" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " La versione a pagamento di%1s è già installata. Attivala per iniziare a usare le funzionalità di %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Segui i passi seguenti per completare l'aggiornamento" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Scarica l'ultima versione di %s" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Carica e attiva la versione scaricata" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "Come faccio a caricare ed attivare?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClicca qui%s per scegliere i siti dove vuoi attivare la licenza." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "L'installazione automatica funziona solo per gli utenti che hanno dato il consenso." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "ID modulo non valida." - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Versione Premium già attiva." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "Non disponi di una licenza valida per accedere alla versione Premium." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Il plugin è un \"Serviceware\", quindi non dispone di una versione del codice Premium." - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Versione Premium dell'add-on già installata." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Vedi funzionalità a pagamento" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Grazie per utilizzare %se i suoi addon!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Grazie per utilizzare %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "Hai già accettato il tracciamento d'uso, ci aiuterà a migliorare %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Grazie per utilizzare i nostri prodotti!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "Hai già accettato il tracciamento d'uso che ci aiuta a migliorare." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%se i suoi addon" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Prodotti" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Si" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "inviami aggiornamenti di funzionalità e sicurezza, contenuti formativi e offerte." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "No" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "%snon %s mi invierà aggiornamenti di funzionalità e sicurezza, contenuti formativi e offerte." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "A causa della nuova %sRegolamento Europeo sulla Privacy (GDPR)%se i suoi requisiti è necessario che accetti esplicitamente il consenso confermando nuovamente che accetti" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Facci sapere se vuoi essere contattato per aggiornamenti di sicurezza e di funzionalità, contenuti formativi e offerte occasionali:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "La chiave licenza è vuota." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Rinnova licenza" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installazione plugin: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Impossibile accedere al filesystem. Conferma le tue credenziali." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "Il pacchetto remoto del plugin non contiene una cartella con lo slug desiderato e la rinominazione non ha funzionato." - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Acquisto" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Inizia la mia %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Installa la versione gratuita ora" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Installa ora" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Scarica l'ultima versione gratuita" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Scarica l'ultima versione" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Installa l'ultima versione gratuita" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Installa l'aggiornamento ora" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Nuova versione gratuita (%s) installata" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Versione più recente (%s) installata" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Ultima versione gratuita installata" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Versione più recente installata" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Descrizione" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installazione" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Screenshot" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Changelog" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Recensioni" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Altre note" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Caratteristiche & prezzi" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Installazione del plugin" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "Piano %s" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Migliore" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Mensilmente" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Annuale" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Tutta la vita" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "Fatturato %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Annualmente" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Una volta" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Licenza per sito singolo" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Licenze illimitate" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Fino a %s siti" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "mese" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "anno" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Prezzo" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Risparmia %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Nessun impegno con %s - cancella quando vuoi" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "Dopo il tuo %s gratuito, paghi solamente %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Dettagli" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Versione" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Autore" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Ultimo aggiornamento" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s fa" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Richiede la versione di WordPress" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s o superiore" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatibile fino a" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Scaricato" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "% volta" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s volte" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "Pagina dei plugin di WordPress.org" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Homepage del plugin" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Fai una donazione a questo plugin" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Valutazione media" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "basato su %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s valutazione" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s valutazioni" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s stella" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s stelle" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Fai clic per vedere le recensioni che hanno fornito una valutazione di %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Contributori" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Avviso" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Questo plugin non è stato testato con la versione corrente di WordPress." - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "Questo plugin non è stato segnato come compatibile con la tua versione di WordPress." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Gli add-on a pagamento devono essere distribuiti da Freemius." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "L'add-on dev'essere distribuito da WordPress.org o Freemius." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s fermerà immediatamente ogni futuro pagamento ricorrente e la tua %s licenza scadrà il %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Cancellando il periodo di prova gratuito bloccherai immediatamente l'accesso a tutte le funzionalità premium. Vuoi continuare?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Quando la tua licenza scadrà, potrai comunque continuare a usare la versione gratuita, ma NON avrai accesso alle funzionalità %s." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Attivare il piano %s" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Rinnovo automatico in %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Scade in %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Sincronizza la licenza" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Annulla prova gratuita" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Cambia piano" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Aggiornamento" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Downgrade" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Gratuito" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Attiva" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Piano" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Prova gratuita" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Dettagli dell'account" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "L'eliminazione dell'account disattiva automaticamente la tua licenza del piano %s quindi è possibile utilizzarlo su altri siti. Se si desidera anche terminare i pagamenti ricorrenti, fare clic sul pulsante \"Annulla\" ed effettuare il \"Downgrade\" del tuo account. Sei sicuro di voler continuare con l'eliminazione?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "La cancellazione non è temporanea. Cancella solamente se non vuoi più utilizzare %s. Sei sicuro di voler cancellare questi dati?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Elimina Account" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Disattiva licenza" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Sei sicuro di voler procedere?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Annulla sottoscrizione" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Sincronizza" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Nome" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Email" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "ID utente" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "ID del sito" - -#: templates/account.php:285 -msgid "No ID" -msgstr "Nessun ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Chiave pubblica" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Chiave segreta" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Nessuna chiave" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Prova gratuita" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Chiave della licenza" - -#: templates/account.php:367 -msgid "not verified" -msgstr "non verificato" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Scaduto" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Versione premium" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Versione gratuita" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Verifica email" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Scarica la versione %s" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Mostra" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Qual è il tuo %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Modifica" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Siti" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Cerca per indirizzo" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Indirizzo" - -#: templates/account.php:524 -msgid "License" -msgstr "Licenza" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Piano" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licenza" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Nascondi" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Disattiva la tua licenza bloccando tutte le funzionalità premium ma potrai attivare la licenza su un altro sito. Sei sicuro di voler continuare?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Add-on per %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "Non siamo riusciti a caricare la lista degli add-on. Si tratta probabilmente di un problema nel nostro sistema, per favore riprova tra qualche minuto." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Visualizza dettagli" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Chiudi" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s sec" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Installazione automatica" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "Un download con installazione automatica di %s (versione a pagamento) da %s inizierà in %s. Se preferisci farlo manualmente, fai clic sul pulsante per annullare." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "Il processo d'installazione è iniziato e potrebbe impiegare alcuni minuti per completarsi. Attendi finchè non ha finito, assicurandoti di non ricaricare questa pagina." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Annulla installazione" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Cassa" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI compliant" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hey %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Consenti & Continua" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Invia nuovamente l'email di attivazione" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Grazie %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Accetta e attiva la licenza" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Grazie per aver acquistato %s! Per iniziare, per favore inserisci la tua chiave di licenza:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Non perdere nessun aggiornamento importante, accetta gli aggiornamenti di sicurezza e funzionalità, contenuti formativi, offerte e il tracciamento diagnostico senza dati sensibili con %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Non perdere nessun aggiornamento importante, accetta i nostri aggiornamenti di sicurezza e notifiche di funzionalità e il tracciamento diagnostico senza dati sensibili con %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Non perdere nessun aggiornamento importante, accetta i nostri aggiornamenti di sicurezza e di nuove funzionalità, contenuto formativo, offerte e tracciamento diagnostico senza dati sensibili con %4$s. Se vuoi saltare questo passaggio non è un problema! %1$scontinuerà a funzionare." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Non perdere nessun aggiornamento importante, accetta i nostri aggiornamenti di sicurezza e di nuove funzionalità, contenuto formativo, offerte e tracciamento diagnostico senza dati sensibili con %4$s. Se vuoi saltare questo passaggio non è un problema! %1$s continuerà a funzionare." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "Siamo felici di presentarvi il supporto al sistema multi network di Freemius." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "Durante la procedura di aggiornamento abbiamo individuato%d sito/i che sono in attesa della attivazione della licenza." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "Se vuoi utilizzare %s su questi siti, inserisci la tua licenza sotto e fai clic sul pulsante di attivazione." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "Funzionalità a pagamento di %s" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "In caso puoi saltare per adesso e attivare la licenza successivamente nella tua pagina di attivazione network di %s." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "Durante la procedura di aggiornamenti abbiamo individuato %s sito/i del network che sono in attesa di un tuo controllo." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Chiave di licenza" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Non trovi la tua chiave di licenza?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Salta" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delega ai proprietari del sito" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "Se fai clic questa decisione sarà delegata agli amministratori del sito." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Panoramica del tuo profilo" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Nome ed indirizzo email" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Panoramica del tuo sito" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "URL del sito, versione di WP, informazioni PHP, plugin e temi" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Avvisi amministratore" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Aggiornamenti, annunci, marketing, no spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Eventi %sattuali" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Attiva, disattivazione e disinstallazione" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Newsletter" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr " Il %1$s invierà periodicamente dei dati a %2$s per verificare aggiornamenti di sicurezza e di funzionalità e verificare la validità della tua licenza." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Quali autorizzazioni vengono concesse?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Non hai una chiave di licenza?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Attiva versione gratuita" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Hai una chiave di licenza?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Politica sulla privacy" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Termini del Servizio" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Invio email" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Attivazione" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contatti" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Non attivo" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "Attivo" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Debugging" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Azioni" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Sei sicuro di voler eliminare tutti i dati di Freemius?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Eliminare tutti gli account" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Elimina cache API" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Svuota le Transient degli aggiornamenti" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Sincronizza i dati dal server" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Carica opzioni del DB" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Imposta opzione del DB" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Chiave" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Valore" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "Versioni SDK" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "Percorso SDK" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Percorso modulo" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "è attiva" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plugin" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Temi" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Slug" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Titolo" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Stato di Freemius" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Network Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Utente Network" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Connesso" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Bloccato" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simula aggiornamento network" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Installazioni" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Siti" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Elimina" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Addon del modulo %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Utenti" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Verificato" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licenze" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Plugin ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "ID Piano" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Attivato" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Bloccato" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Scadenza" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Tutti i tipi" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Tutte le richieste" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "File" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Funzione" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "ID processo" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Messaggio" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filtro" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Download" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Tipo" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Timestamp" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Metti in sicurezza la pagina HTTPS %s gestita da un dominio esterno" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Supporto" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Richieste" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Aggiorna" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Fatturazione" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Nome della compagnia" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Numero Partita Iva o VAT" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Riga indirizzo %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Città" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Cittadina" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "CAP" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Nazione" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Seleziona Nazione" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Stato" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Provincia" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Pagamenti" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Data" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Importo" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Fattura" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Metodo" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Codice" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Lunghezza" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Percorso" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Risultato" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Avvia" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Fine" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "In %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s fa" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Sincronizzazione plugin e temi" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Totale" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Ultimo" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Azioni programmate" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Modulo" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Tipo di modulo" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Tipo di Cron" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Successivo" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Non in scadenza" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Applica per diventare un affiliato" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "La tua applicazione di affiliazione per %s è stata accettata! Accedi alla tua area di affiliazione a %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Grazie per la partecipazione al nostro programma di affiliazione, valuteremo la tua richiesta durante i prossimi 14 giorni e ti contatteremo per maggiori informazioni." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Il tuo account di affiliazione è stato sospeso temporaneamente." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Grazie per la partecipazione al nostro programma di affiliazione, sfortunatamente abbiamo valutato di rifiutare la tua richiesta. Prova nuovamente fra 30 giorni." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "A causa della violazione dei nostri termini di affiliazione abbiamo deciso di bloccare temporaneamente il tuo account affiliativo. Se hai domande contatta il supporto." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Ti piace %s? Diventa il nostro ambasciatore e guadagna denaro ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Comunica nuovi clienti al nostro %s e guadagna %s di commissione per ogni vendita avvenuta!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Sommario programma" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%scommissione quando un utente acquista una nuova lcienza." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Ottieni delle commissioni dal sistema automatizzato di rinnovo." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s cookie di tracciamento dopo che la prima visita per massimizzare i margini di guadagno. " - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Commissioni illimitate." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s quantità minima per il pagamento." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "I pagamenti sono in Dollari Americani e processati mensilmente da PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "Ci riserviamo 30 giorni in caso di rimborsi, paghiamo le commissioni se sono più vecchie di 30 giorni." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliati" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Indirizzo email" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Nome completo" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "Indirizzo account email Paypal" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Dove vuoi promuovere %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Inserisci il dominio del tuo sito o altri siti da dove vuoi promuovere %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Aggiungi un altro dominio" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Domini aggiuntivi" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Domini aggiuntivi dove ci sarà il modulo promozionale." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Metodi promozionali" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social network (Facebook, Twitter, ecc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Applicazioni mobile" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Siti, email e statistiche dei social network (opzionali)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Facci sapere ogni sito o statistiche social valide, es: visite uniche mensili, numero di sottoscrizioni email, follower ecc (tratteremo queste informazioni come riservate)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "Come ci promuoverai?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Fornisci i dettagli su come intendi promuovere %s. (sii più esplicativo possibile)" - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Annulla" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Diventa un affiliato" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Per favore inserisci la chiave di licenza che hai ricevuto via mail subito dopo l'acquisto:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Aggiorna licenza" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Cancella iscrizione" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Iscriviti" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Tracciamo l'utilizzo esclusivamente per rendere %s migliore, creando una migliore esperienza utente e dando priorità a nuove funzionalità, oltre a molte altre buone cose. Saremmo veramente felici di vederti cambiare idea e lasciarci continuare con il tracciamento." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "Cliccando su \"Cancella iscrizione\", non invieremo più nessuna informazione da %s a %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "C'è una nuova versione di %s disponibile." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Nuova versione disponibile" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Chiudi" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Invia chiave di licenza" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Inserisci qui sotto l'indirizzo email che hai usato per registrare l'aggiornamento e ti invieremo di nuovo la chiave di licenza." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "Sei a un clic di distanza dall'iniziare il tuo periodo di prova gratuito di %1$s giorni per il piano %2$s." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "Per essere accettato del regolamento WordPress.org, prima di attivare il periodo di prova devi accettare di condividere informazioni come il tuo utente e dati non sensibili. Permettendo a %s di inviare dati periodicamente a %s per verificare gli aggiornamenti e approvare il periodo di prova." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Attiva la licenza su tutti i siti del network." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Applica su tutti i siti della rete." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Attiva le licenze su tutti i siti in attesa." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Applica su tutti i siti in attesa." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "permetti" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delega" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "salta" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Fare clic per visualizzare lo screenshot in grandi dimensioni %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Aggiornamenti Illimitati" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s rimanenti" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Ultima licenza" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Annullato" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Nessuna scadenza" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Attivare questo addon" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Nome proprietario" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Email proprietario" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "ID proprietario" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Sottoscrivi" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Siamo spiacenti per l'inconveniente e siamo qui per aiutarti con il tuo permesso." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Contatta il supporto" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Feedback anonimo" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Disattiva" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Attiva %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Se hai un attimo, facci sapere perché %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "disattivazione in corso" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "passa a" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Invia e %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Spiegandoci il motivo ci aiuterai a migliorare." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "SI - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Salta & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Fai clic qui per usare il plugin anonimamente" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Potresti non averci fatto caso, ma non sei obbligato a condividere i tuoi dati e puoi semplicemente %s la tua partecipazione." diff --git a/freemius/languages/freemius-ja_JP.mo b/freemius/languages/freemius-ja_JP.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-ja_JP.po b/freemius/languages/freemius-ja_JP.po deleted file mode 100644 index 01dee4f..0000000 --- a/freemius/languages/freemius-ja_JP.po +++ /dev/null @@ -1,2436 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Odyssey <8bitodyssey+github@gmail.com>, 2016 -# Tomohyco Tsunoda, 2018 -# Takayuki Miyauchi , 2016 -# Tomohyco Tsunoda, 2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-25 07:22+0000\n" -"Last-Translator: Vova Feldman \n" -"Language: ja_JP\n" -"Language-Team: Japanese (Japan) (http://www.transifex.com/freemius/wordpress-sdk/language/ja_JP/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK がプラグインのメインファイルを見つけることができませんでした。現在のエラーを添えて sdk@freemius.com に連絡してください。" - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "エラー" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "より良い %sを見つけました" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "%sの名前は何ですか?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "%sは一時的なものです。現在この問題をデバッグ中です。" - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "無効化" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "テーマ変更" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "その他" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "%sはもう不要です" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "短期間だけ %sが 必要です。" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "%s の影響でサイトを崩れました" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "%s の動作が突然停止しました" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "もう払うことができません" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr " 支払ってもよいと思う価格はいくらですか?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "自分の情報を共有したくありません" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "%s が動作しませんでした" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "どうしたら動作するか分かりませんでした。" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "%s は素晴らしいのですが、サポートされていないある機能が必要です" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "何の機能ですか?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "%s が動作していません" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "将来のユーザーのために修正できるよう、何が動作しなかったのかどうか共有してください…" - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "探していたものではありません" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "探していたのは何ですか?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "%sが期待通りに動きませんでした " - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "何を期待していましたか?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Freemius デバッグ" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "cURL がなにか、そのインストール方法を知りません。助けてください。" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "ホスティング会社に連絡して問題を解決してください。 更新が完了したら、 %s へのフォローアップメールが届きます。" - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "すばらしい。cURL をインストールし、 php.ini ファイルで有効化してください。加えて、php.ini 内で 'disable_functions' ディレクティブを検索して、'curl_' で始まる無効化されたメソッドを削除してください。'phpinfo()' を使って正常に起動されたことを確認してください。有効化されている場合は %s を一度無効化し、再度有効化し直してください。" - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "はい - お構いなく" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "いいえ - すぐに無効化" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "おっと" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "修正するチャンスをいただきありがとうございます! テクニカルスタッフにメッセージが送信されました。 %s への更新が行われるとすぐにあなたに連絡します。 あなたの忍耐に感謝します。" - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s は、%s が無いと実行することができません。" - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s は、プラグインが無いと実行することができません。" - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "予期しない API エラーです。%sの作者に次のエラーを連絡してください。" - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "プレミアムバージョンの %sは有効化に成功しました。" - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "やったー" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "%s ライセンスを持っています。" - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "ヤッホー" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s の無料試用が正常にキャンセルされました。 アドオンはプレミアムなので、自動的に無効化されました。 将来使用したい場合は、ライセンスを購入する必要があります。" - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s はプレミアムのみのアドオンです。そのプラグインを有効化する前にライセンスを購入する必要があります。" - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "%s に関する詳細情報" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "ライセンスを購入" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "%s のメールボックスに %s の有効化のメールを受け取っているはずです。%s のメールに記載された有効化ボタンをクリックしてください。" - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "トライアルを開始" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "インストールを完了" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "もうあとわずかです - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "すぐに \"%s\" 有効化を完了してください" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "プラグインを微調整します、 %s, %s" - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "%s のアップグレードが完了しました。" - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "アドオン" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "プラグイン" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "テーマ" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "システムではメールアドレスを見つけることができませんでした。メールアドレスが正しいか確認してください。" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "メールアドレスに関連付けられた有効なライセンスが見つかりません。メールアドレスが正しいか確認してください。" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "アカウントは有効化待ちです。" - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Buy a license now" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renew your license now" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s の有効化が成功しました。" - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "アカウントが %s プランで有効化できました。" - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "トライアル版の利用を開始しました。" - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "%s を有効化できません。" - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "以下のメッセージとともに私たちに連絡をください。" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "アップグレード" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "トライアルを開始" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "料金表" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "アフィリエイト" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "アカウント" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "連絡" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "アドオン" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "料金表" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "サポートフォーラム" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "あなたのメールアドレスの承認が完了しました。すごい!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "そうだ" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "%s のアドオンのプランのアップグレードが完了しました。" - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "%s のアドオンの支払いが完了しました。" - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "最新版をダウンロード" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "サーバーは %1s の同期に不可欠な Freemius の API へのアクセスをブロックしています。 ホワイトリストに %2s を追加していただけるようあなたのホスティング会社に連絡してください。" - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "サーバーからエラーを受信しました。" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "認証パラメータの1つが間違っているようです。 公開鍵、秘密鍵、ユーザーIDを更新して、もう一度お試しください。" - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "ふむ" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "まだ %s プランのようです。もしアップグレードやプランの変更をしたのなら、こちらで何らかの問題が発生しているようです。申し訳ありません。" - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "トライアル" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "アカウントをアップグレードしましたが、ライセンスを同期しようとするとプランが %s のままです。" - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "こちらで私たちに連絡をとってください。" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "プランのアップグレードが成功しました。" - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "プランの %s への変更が成功しました。" - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "ライセンスの有効期限が切れました。無料バージョンの%s は引き続き利用できます。" - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "ライセンスの有効期限が切れました。 %1$s %3$sに邪魔されずに利用を継続するには,今すぐ%2$sアップグレードを行ってください。" - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "ライセンスはキャンセルされました。もしそれが間違いだと思うならサポートに連絡してください。" - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "ライセンスは有効期限がきれました。%s の機能を引き続き利用することができます。ただし、アップデートやサポートをうけるにはライセンスをアップデートする必要があります。" - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "フリートライアル期間が終了しました。無料で使える機能は引き続き利用可能です。" - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "フリートライアル期間が終了しました。%1$s %3$sに邪魔されずに利用を継続するには,今すぐ %2$s のアップグレードを行ってください。" - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "ライセンスの有効化ができませんでした。" - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "ライセンスの有効化が成功しました。" - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "サイトは有効なライセンスを持っていないようです。" - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "ライセンスの無効化ができませんでした。" - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "ライセンスの無効化が完了しました。%s プランに戻りました。" - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "すでに%sをトライアルモードで利用中です。" - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "以前すでに試用版を利用しました。" - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "%s プランは存在しないため、試用を開始できません。" - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "%s プランにはトライアル期間はありません。" - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "%sのプランにはトライアル期間はありません。" - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "すでにトライアルモードではないようなので、キャンセルする必要はありません :)" - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "トライアルのキャンセルに一時的な問題がありました。数分後に再度お試しください。" - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "%s のフリートライアルはキャンセルされました。" - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "バージョン %s をリリースしました。" - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "%s をダウンロードしてください。" - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "最新の %s バージョンはこちらです。" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "新規" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "最新版を取得できました。" - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "すべて完璧です!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "%s に確認メールを送信しました。もし5分以内にそれが届かない場合、迷惑メールボックスを確認してください。" - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "サイトのオプトインに成功しました。" - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "すごい!" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "使用データを追跡できるよう許可してくれたことで、%s をより良くするための手助けに感謝致します。" - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "ありがとうございます!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "もう%s上の%sから%sへのデータ送信は行いません。" - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "メールボックスを確認してください。所有権の変更を確認するには、%s でメールを受け取る必要があります。 セキュリティ上の理由から、次の15分以内に変更を確認する必要があります。 電子メールが見つからない場合は、迷惑メールフォルダを確認してください。" - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "所有権の変更を確認していただきありがとうございます。 %s に承認メールが送信されました。" - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s は新しいオーナーです。" - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "おめでとう" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "メールアドレスのアップデートを完了できませんでした。他のユーザーがすでに同じメールアドレスで登録しているようです。" - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "%sの所有権を%sへ譲りたい場合は、所有権の変更ボタンをクリックしてください。" - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "オーナーを変更" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "メールアドレスのアップデートが完了しました。まもなく確認メールが届きます。" - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "フルネームを入力してください。" - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "名前のアップデートが成功しました。" - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "%s のアップデートが成功しました。" - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "%s のアドオンに関する情報は、外部サーバーから取得されます。" - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "警告" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "ヘイ" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "%s はどうですか? 私たちの全ての %s のプレミアム機能をお試しください。" - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "%s 日以内であればいつでもキャンセルできます。" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "クレジットカードは必要ありません。" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "フリートライアルを開始" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "こんにちは。%sにアフィリエイトプログラムがあるのはご存知でしたか? %sがお好きなら、私たちのアンバサダーになって報酬を得ましょう!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "詳細はこちら" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "ライセンスを有効化" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "ライセンスを変更" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "オプトアウト" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "オプトイン" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "アップグレードを完了するには以下の手順を完了させてください。" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "最新の %s をダウンロード" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "ダウンロードしたバージョンをアップロードして有効化" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "アップロードと有効化の方法" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sここをクリックして%s ライセンスを有効化したいサイトを選択してください。" - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "自動インストールはオプトインしたユーザのみで動作します。" - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "モジュール ID が不正です" - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "プレミアムバージョンはすでに有効になっています。" - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "プレミアムバージョンにアクセスできる有効なライセンス持っていません。" - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "プラグインはプレミアムコードバージョンのない「サービスウェア」です。" - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "プレミアムアドオンバージョンはすでにインストール済みです。" - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "有料の機能を表示する" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "%sとアドオンのご利用ありがとうございます!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "%sのご利用ありがとうございます!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "%sの改善に役立つ使用状況のトラッキングにすでにオプトインしています。" - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "プロダクトのご利用ありがとうございます!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "プロダクトの改善に役立つ使用状況のトラッキングにすでにオプトインしています。" - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%sとそのアドオン" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "プロダクト" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "はい" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "セキュリティと機能のアップデート、学習用コンテンツやオファーを送ってください。" - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "いいえ" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "セキュリティと機能のアップデート、学習用コンテンツやオファーを%s送らないでください%s。" - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "新しい %sEU General Data Protection Regulation (GDPR)%s コンプライアンスを満たすため、あなたが明示的に同意したことを再度確認し、またあなたがオンボードであることを確認する必要があります 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "セキュリティや機能のアップデート、学習用用コンテンツ、およびオファーについてお問い合わせを希望される場合は、お知らせください。" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "ライセンスキーが空です。" - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "ライセンスを更新" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "インストール中プラグイン: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "ファイルシステムに接続できません。視覚情報を確認してください。" - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "リモートプラグインパッケージには、目的のスラッグを含むフォルダが含まれていないため、リねームが機能しませんでした。" - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "購入" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "無料の %s を開始" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "フリーバージョンを今すぐインストール" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "今すぐインストール" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "最新のフリーバージョンをダウンロード" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "最新版をダウンロード" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "フリーバージョンの更新を今すぐインストール" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "今すぐ更新をインストール" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "新しいフリーバージョン (%s) がインストールされました" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "新しいバージョン (%s) がインストールされました" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "最新のフリーバージョンがインストールされました" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "最新版がイストールされました" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "説明" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "インストール" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "スクリーンショット" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "変更履歴" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "レビュー" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "その他の記述" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "機能 & 料金" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "プラグインのインストール" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s プラン" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "ベスト" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "月" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "年次" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "ライフタイム" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "%s への請求" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "毎年" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "一度" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "シングルサイトライセンス" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "無制限ライセンス" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "%sサイトまで" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "月" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "年" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "料金" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "%s を保存" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "%s の拘束はありません。いつでもキャンセルできます。" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "無料の %s の後は、わずか %s だけお支払ください。" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "詳細" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "バージョン" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "作者" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "最終更新" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s 前" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "必要な WordPress のバージョン" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%sまたはそれ以上" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "互換性のある最新バージョン" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "ダウンロード済み" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s回" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s回" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org のプラグインページ" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "プラグインのホームページ" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "このプラグインに寄付する" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "レーティングの平均" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "%sを基に" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s評価" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s評価" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%sスター" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%sスター" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "クリックして%sの評価をしているレビューを観る" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "コントリビューター" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "警告" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "このプラグインはインストールされた WordPress のバージョンでは検証されていません。" - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "このプラグインはインストールされた WordPress のバージョンに互換性がありません。" - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "有料アドオンは Freemius にデプロイされている必要があります。" - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "アドオンが WordPress.org か Freemius にデプロイされている必要があります。" - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "トライアルをキャンセルするとすぐにすべてのプレミアム機能へのアクセスができなくなります。本当に実行しますか?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "一度ライセンスの期限が切れると、フリーバージョンの利用は可能ですが、%sの機能を使うことができなくなります。" - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "%s プランを有効化" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "%s に自動更新" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "%s で期間終了" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "ライセンスを同期" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "トライアルをキャンセル" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "プラン変更" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "アップグレード" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "ダウングレード" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "無料" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "有効化" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "プラン" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "フリートライアル" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "アカウント詳細" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "アカウントを削除すると自動的に %s プランライセンスが無効になり、他のサイトで使うことができます。定期の支払いも終了したい場合は、\"キャンセル\"ボタンをクリックし、まずアカウントを\"ダウングレード\"してください。本当に削除を続行してもいいですか?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "削除は一時的なものではありません。本当に%sが必要なくなった時に行ってください。" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "アカウントを削除" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "ライセンスを無効化" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "本当に続行していいですか?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "サブスクリプションをキャンセルする" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "同期" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "名前" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Email" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "ユーザー ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "サイト ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "ID がありません" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "公開鍵" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "秘密鍵" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "秘密鍵がありません" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "トライアル" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "ライセンスキー" - -#: templates/account.php:367 -msgid "not verified" -msgstr "未認証" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "期限切れ" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "プレミアムバージョン" - -#: templates/account.php:430 -msgid "Free version" -msgstr "フリーバージョン" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "認証メール" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "%s バージョンをダウンロード" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "表示" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "自分の %s はなんですか?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "編集" - -#: templates/account.php:502 -msgid "Sites" -msgstr "サイト数" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "住所で検索する" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "住所" - -#: templates/account.php:524 -msgid "License" -msgstr "ライセンス" - -#: templates/account.php:525 -msgid "Plan" -msgstr "プラン" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "ライセンス" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "非表示" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "ライセンスを無効化するとすべてのプレミアム機能が使えなくなりますが、他のサイトでライセンスを有効にすることができるようになります。本当に実行しますか?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "%s のアドオン" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "アドオンリストを読み込むことができませんでした。おそらく運営側の問題になりますので、しばらくしてからお試しください。" - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "詳細を表示" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "却下" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s秒" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "自動インストール" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "%sから %s (有料版) の自動ダウンロードと自動インストールが%sで開始します。手動で行う場合は今すぐにキャンセルボタンをクリックしてください。" - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "インストールプロセスが開始され、数分で完了します。完了までしばらくお待ちください。ページのリフレッシュなどは行わないでください。" - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "インストールをキャンセルする" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "チェックアウト" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI コンプライアント" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "おおい %s さん、" - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "許可して続ける" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "有効化メールを再送信" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "ありがとう $s さん!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "同意してライセンスを有効化" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "%s を購入いただきありがとうございます。はじめにライセンスキーを入力してください:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。" - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "重要な更新を逃さないように、セキュリティと更新通知、%4$s とセンシティブではない診断トラッキングをオプトインしてください。" - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。これをスキップしても%1$sはもちろん動作します。" - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。これをスキップしても%1$sはもちろん動作します。" - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "Freeminus ネットワークレベルのインテグレーションをご紹介できることに興奮しています。" - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "アップデートの処理中に%dサイトがライセンスの有効化が保留中であることを検知しました。" - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "これらのサイトで%sを使う場合は、ライセンスキーを入力し、アクティベーションボタンをクリックしてください。" - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%sの有料機能" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "または、今すぐスキップして、%sのネットワークレベルのアカウントページでライセンスを有効にすることもできます。" - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "アップデートの処理中に、ネットワーク内の%dサイトが対応待ちになっていることを検知しました。" - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "ライセンスキー" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "ライセンスキーは見つかりませんか?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "スキップ" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "サイト管理者に委任する" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "決定をサイトの管理者に委任するにはクリックしてください。" - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "プロフィール概要" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "名前とメールアドレス" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "サイト概要" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "サイト URL、WP バージョン、PHP info、プラグインとテーマ" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "管理者通知" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "更新、発表、マーケティング、スパムなし" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "現在%sイベント" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "有効化、無効化、アンインストール" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "ニュースレター" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "%1$sはセキュリティとアプデート、そしてライセンスの状態を確認するため、定期的に%2$sへデータを送信します。" - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "付与されているパーミッションは何ですか?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "ライセンスキーをお持ちではありませんか?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "フリーバージョンを有効化" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "ライセンスキーはお持ちですか?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "プライバシーポリシー" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "利用規約" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "メール送信中" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "有効化中" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "連絡" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "オフ" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "オン" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "デバッグ" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "アクション" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "ほんとうに全ての Freemius データを削除しますか?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "全てのアカウントを削除" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "API キャッシュをクリア" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "アップデートのトランジエントをクリアーにする" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "サーバーからのデータを同期" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "DB オプションを読み込む" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "DB オプションを設定する" - -#: templates/debug.php:180 -msgid "Key" -msgstr "キー" - -#: templates/debug.php:181 -msgid "Value" -msgstr "値" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "SDK バージョン" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "SDK のパス" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "モジュールのパス" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "有効" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "プラグイン" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "テーマ" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "スラッグ" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "タイトル" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Freemius ステータス" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "ネットワークブログ" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "ネットワークユーザ" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "接続" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "ブロック" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "ネットワークアップグレードをシミュレートする" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%sインストール" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "サイト数" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "ブログ ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "削除" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "モジュールのアドオン%s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "ユーザー" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "認証済み" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%sラインセス" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "プラグイン ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "プラン ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "クォータ" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "有効化済み" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "ブロッキング" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "期限切れ" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "デバッグログ" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "すべてのタイプ" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "すべてのリクエスト" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "ファイル" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "機能" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "プロセス ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "ロガー" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "メッセージ" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "フィルター" - -#: templates/debug.php:585 -msgid "Download" -msgstr "ダウンロード" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "タイプ" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "タイムスタンプ" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "外部ドメインで実行中のセキュアな HTTPS %sページ" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "サポート" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "リクエスト数" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "更新" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "請求書" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "商号" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "税金 / VAT ID" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "住所欄 %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "市" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "町" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "ZIP / 郵便番号" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "国" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "国を選択" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "州" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "県・州・省" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "支払い" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "日付" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "総額" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "請求書" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "メソッド" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "コード" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "長さ" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "パス" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "本文" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "結果" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "開始" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "終了" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "グ" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "%s 内" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s 前" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "秒" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "プラグインとテーマを同期" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "トータル" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "最終" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "スケジュール Cron" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "モジュール" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "モジュールタイプ" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron タイプ" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "次" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "期限のない" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "アフィリエイトに応募する" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "%sのアフィリエイト申請は受理されました! 次のリンクからアフィリエイトエリアにログインしてください:%s" - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "アフィリエイトプログラムに応募いただきありがとうございます。14日以内にお申し込み詳細をレビューし、改めてご連絡いたします。" - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "アフィリエイトアカウントは一時的に停止されました。" - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "アフィリエイトアカウントに応募いただきありがとうございます。残念ながら現時点では申請を受理することができませんでした。30日後に改めてお申込みください。" - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "アフィリエイト規約違反により、アフィリエイトアカウントを一時的に凍結させていただきました。ご質問等がありましたら、サポートにお問い合わせください。" - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "%sは気に入りましたか? アンバサダーになって報酬を得ましょう ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "新規カスタマーに私たちの%sを紹介して、売り上げごとに%sのコミッションを得ましょう" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "プログラム概要" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "カスタマーが新規ライセンスを購入するごとに%sのコミッションが発生します。" - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "サブスクリプションの自動更新でコミッションを得ましょう。" - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s初回の訪問後、クッキーをトラッキングして収益の可能性を最大化しましょう。" - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "無制限のコミッション。" - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%sお支払いの最低金額" - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "お支払いは USD かつ PayPal 経由で毎月行われます。" - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "30日間の返金期間があるため、コミッションのお支払いは30日以降になります。" - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "アフィリエイト" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "メールアドレス" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "フルネーム" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "PayPal アカウントのメールアドレス" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "%sのプロモーションを行うサイトはどこですか?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "%sのプロモーションを行う予定のあなたのサイトや他のサイトのドメイン名を入力してください。" - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "ドメイン名を追加する" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "追加のドメイン名" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "プロダクトフォームのマーケティングを行う追加ドメイン名。" - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "プロモーション方法" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "ソーシャルメディア(Facebook、Twitter、その他)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "モバイルアプリケーション" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "ウェブサイト、Email またはソーシャルメディアの統計 (オプション)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "関係のあるウェブサイトやソーシャルメディアの統計を提供してください。例: サイトの月間訪問者数、Emailの購読者数、フォロワー数等 (機密情報として取り扱います)" - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "どのように我々をプロモートしますか?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "どのように%sをプロモートするつもりなのか、詳細をお知らせください (できるだけ具体的にお願いします)" - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "キャンセル" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "アフィリエイトになる" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "購入後すぐにメールで受け取ったライセンスキーを入力してください:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "ライセンスを更新" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "オプトアウト" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "オプトイン" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "使用の追跡は %s をより良くする名目の下に行われています。ユーザー体験をより良くし、新機能に優先順位をつけるためなどに使います。追跡を続けてもよいと再考してくれるなら本当に感謝致します。" - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "\"オプトアウト\"をクリックすることで、もう %s から %s へのデータの送信は行いません。" - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "%sの入手可能な新しいバージョンがあります" - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "新しいバージョンがあります" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "却下" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "ライセンスキーを送信" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "アップグレードに使用したメールアドレスを下に入力してください。そうすれば、ライセンスキーをお送りします。" - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "%2$s プランの%1$s日間のフリートライアルを開始するまであとワンクリックです。" - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "WordPress.orgのガイドラインに準拠するため、トライアルを開始する前に、ユーザーと重要でないサイト情報のオプトイン、更新の確認やトライアルの状態確認のために%sが%sに対して定期的にデータを送信する許可を得るように設定してください。" - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "プレミアム" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "ネットワーク上にあるすべてのサイトのライセンスを有効にする。" - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "ネットワーク上にあるすべてのサイトに対して反映させる。" - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "保留中のサイトすべてでライセンスを有効にする。" - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "保留中のサイトすべてに反映させる。" - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "許可" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "代表" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "スキップ" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "クリックしてフルサイズのスクリーンショットを見る %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "無制限のアップデート" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "あと %s" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "最新のライセンス" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "キャンセル" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "有効期限なし" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "このアドオンを有効化" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "所有者名" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "所有者の Email" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "オーナー ID" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "サブスクリプション" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "ご迷惑をおかけしてすいません。もし機会をいただけたらお手伝いをします。" - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "サポートに連絡" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "匿名のフィードバック" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "無効化" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "%sを有効化する" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "お時間があれば、なぜ%sするのか理由を教えてください。" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "無効化中" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "変更中" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "送信と%s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "改善できるよう、どうか理由を教えてください。" - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "はい" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "スキップと%s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "匿名でプラグインを使用するにはこちらをクリック" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "見逃していたかもしれませんが、どんな情報も共有する必要はなく、オプトインを $s することができます。 " diff --git a/freemius/languages/freemius-nl_NL.mo b/freemius/languages/freemius-nl_NL.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-nl_NL.po b/freemius/languages/freemius-nl_NL.po deleted file mode 100644 index 9cbd242..0000000 --- a/freemius/languages/freemius-nl_NL.po +++ /dev/null @@ -1,2434 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Benny Vluggen , 2017-2018 -# Patrick Buntsma , 2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-26 14:12+0000\n" -"Last-Translator: Benny Vluggen \n" -"Language: nl_NL\n" -"Language-Team: Dutch (Netherlands) (http://www.transifex.com/freemius/wordpress-sdk/language/nl_NL/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK kon het hoofdbestand van de plug-in niet vinden. Neem a.j.b. contact op met sdk@freemius.com m.b.t. deze fout." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Fout" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "Ik vond een beter %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Wat is de naam van het %s?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "Het betreft een tijdelijke %s. Ik ben een probleem aan het debuggen." - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Deactivatie" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Thema Wissel" - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Overige" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "Ik heb de %s niet meer nodig " - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "Ik had de %s alleen nodig voor een korte periode." - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "De %s maakte mijn site onbruikbaar" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "De %s werkte opeens niet meer" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Ik kan er niet langer meer voor betalen" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Welke bedrag zou je ervoor over hebben?" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Ik vind het niet prettig om mijn informatie met jullie te delen" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "De %s werkte niet" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Ik snapte niet hoe ik het aan het werk kon krijgen." - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "De %s is uitstekend, maar ik heb een specifieke feature nodig die jullie niet ondersteunen" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Welke feature?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "De %s werkt niet" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Wil je alsjeblieft zo vriendelijk zijn om te delen wat niet werkte, zodat we dat kunnen verbeteren voor toekomstige gebruikers ..." - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Het is niet waarna ik opzoek was" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Waar was je naar op zoek?" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "De %s werkte niet zoals verwacht" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "Wat had je verwacht?" - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Freemius Debug" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "Ik weet niet wat cURL is of hoe dat te installeren is, help me!" - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "We doen onze best om contact op te nemen met uw hostingbedrijf om het probleem op te lossen. We sturen een vervolgmail naar %s, zodra we een update hebben. " - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Mooi, installeer alsjeblieft cURL en activeer het in je php.ini bestand. Tevens, zoek naar de 'disable_functions' directive in je php.ini bestand en verwijder iedere methode die start met 'curl_'. Gebruik 'phpinfo()' om je ervan te vergewissen dat het nu succesvol geactiveerd is. Als actief, deactiveer de %s en heractiveer deze opnieuw." - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Ja, ga je gang" - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "Nee - alleen deactiveren" - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Oeps" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Bedankt dat je ons in de gelegenheid stelt dit op te lossen. Zojuist is er een bericht verstuurd naar onze technische staf. We laten wat van ons horen, aan %s, als we een update hebben. Bedankt voor je geduld." - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s werkt niet zonder %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s werkt niet zonder de plug-in." - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Onverwachte API fout. Neem alsjeblieft contact op met de auteur van de %s met de volgende foutmelding." - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Premium %s versie is succesvol geactiveerd." - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "W00t" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "Je hebt een %s licentie" - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Hoera" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "%s gratis proefperiode werd succesvol stop gezet. Daar de add-on alleen als premium versie beschikbaar is werd deze automatisch gedeactiveerd. Als u de add-on in de toekomst wilt gebruiken dient u een licentie aan te schaffen." - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s is uitsluitend beschikbaar als een premium add-on. Je moet een licentie kopen voordat je de plug-in activeert." - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Meer informatie over %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Licentie Kopen" - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Als het goed is ontvang je een activatie e-mail voor %s in je %s mailbox. Zorg er alsjeblieft voor dat je op de activatie knop klikt in die e-mail aan %s." - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "start de proefperiode" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "voltooi de installatie" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Je bent slechts een stap verwijderd - %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Voltooi \"%s\" Activatie Nu" - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "We hebben een aantal aanpassingen gedaan op de %s, %s " - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt-in om \"%s\" te verbeteren!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "De upgrade van %s is succesvol voltooid." - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Uitbreiding" - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Plug-in" - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Thema" - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Ongeldige verzameling van Site Details." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "We konden je e-mailadres niet vinden in het systeem, ben je zeker dat dat het juiste adres is?" - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "Er is geen actieve licentie gekoppeld aan dat e-mailadres, ben je zeker dat dat het juiste adres is?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Account wacht op activatie." - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Koop nu een licentie" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Vernieuw je licentie nu" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%svoor toegang tot versie %s beveiliging en feature updates en support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "%s activatie is succesvol voltooid." - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Je account is succesvol geactiveerd met het %s plan." - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "U proefperiode is met succes gestart." - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Kon %s niet activeren." - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Neem a.u.b. contact met ons op met het volgende bericht:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Upgrade" - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Start Proefperiode" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Prijzen" - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Affiliatie" - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Account" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Contacteer Ons" - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Uitbreidingen" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Prijzen" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Supportforum" - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Je e-mail werd succesvol geverifieerd - je bent GEWELDIG!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Toppie" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Uw %sAdd-on plan werd succesvol geüpgraded. " - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "%s Add-on werd succesvol aangekocht." - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Download de meeste recente versie" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Je server blokkeert de toegang tot de Freemius API, welke cruciaal is voor %1s synchronisatie. Neem alsjeblieft contact op met je host om %2s te whitelisten." - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Foutmelding ontvangen van de server:" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "Het lijkt erop dat een van de authenticatie parameters niet klopt. Update je Publieke Sleutel, Geheime Sleutel & Gebruikers ID en probeer het nogmaals. " - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Hmm" - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "Het lijkt erop dat u nog steeds op het %s plan zit. Als u uw plan geüpgraded of veranderd heeft, dan is het waarschijnlijk een fout aan onze kant - sorry." - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Proefperiode" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "Ik heb mijn account geüpgraded maar als ik probeer te Synchroniseren blijft het plan %s." - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Neem hier a.u.b. contact met ons op" - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Je plan is succesvol geüpgraded." - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Je plan is succesvol veranderd naar %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Je licentie is verlopen. Je kan echter de gratis %s voor altijd blijven gebruiken." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Je licentie is verlopen. %1$sUpgrade nu%2$s om de %3$s zonder interrupties te blijven gebruiken." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Je licentie is geannuleerd. Als je denkt dat dat een fout is, neem dan alsjeblieft contact op met support." - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Je licentie is verlopen. Je kan nog steeds alle %s features gebruiken, maar je zal je licentie moeten vernieuwen om weer updates en support te ontvangen." - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Je gratis proefperiode is verlopen. Je kan nog steeds al onze gratis features blijven gebruiken." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Je gratis proefperiode is verlopen. %1$sUpgrade nu%2$som de %3$s zonder interrupties te blijven gebruiken. " - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Het lijkt erop dat de licentie niet geactiveerd kon worden." - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Je licentie is succesvol geactiveerd." - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Het lijkt erop dat je site momenteel geen actieve licentie heeft." - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Het lijkt erop dat het deactiveren van je licentie mislukt is." - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Je licentie is succesvol gedeactiveerd, je bent terug op het %s plan." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "Oké" - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Het lijkt erop, dat we een tijdelijk probleem hebben met het annuleren van je abonnement. Probeer het alsjeblieft over een paar minuten nog eens." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Je abonnement is succesvol geannuleerd. De licentie van je %s-plan al over %s aflopen." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Je draait de %s al in proefmodus." - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "U heeft reeds een proefperiode gebruikt." - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Plan %s bestaat niet, daarom kan proefperiode niet gestart worden." - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Plan %s ondersteunt geen proefperiode." - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "Geen van de %s plannen ondersteunt een proefperiode." - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Het lijkt er op dat u niet langer meer in de proefperiode zit, dus er valt niets stop te zetten." - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "Het lijkt er op dat we een tijdelijk probleem hebben met het opzeggen van uw proefperiode. Probeer het a.u.b. over enkele minuten nog eens." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Uw gratis %s proefperiode is succesvol opgezegd. " - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "Versie %s is vrijgegeven." - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "A.u.b. %s downloaden." - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "de meest recente %s versie hier" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Nieuw" - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Het lijkt erop dat je de meest recente versie hebt." - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Alles is goed!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Verificatiemail zojuist verstuurd naar %s. Als je deze niet binnen 5 min. hebt ontvangen, kijk dan alsjeblieft in je spambox." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site opt-in geslaagd. " - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Geweldig" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "We waarderen je hulp om %s beter te maken door ons gebruiksdata te laten verzamelen. " - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Bedankt!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "We zullen geen gebruiksdata meer verzenden van %s m.b.t. %s naar %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Hou alsjeblieft je mailbox in de gaten, je zult een e-mail ontvangen via %s om de overdracht te bevestigen. Vanwege veiligheidsredenen moet je de overdracht binnen de volgende 15 min. bevestigen. Kijk eventueel in je spambox, mocht je de e-mail niet aantreffen in je inbox." - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Bedankt voor het bevestigen van de eigendomsoverdracht. Zojuist is er een e-mail verstuurd naar %s voor de definitieve goedkeuring. " - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%s is de nieuwe eigenaar van het account." - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Gefeliciteerd" - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Sorry, we konden de e-mail update niet voltooien. Een andere gebruiker met hetzelfde e-mailadres is reeds geregistreerd." - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "Als je het eigendom van het %s account wilt overdragen aan %s, klik dan op de Eigendom Overdragen knop. " - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Eigendom Overdragen" - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Je e-mailadres is succesvol verwerkt. Als het goed is ontvang je zometeen een e-mail met bevestigingsinstructies. " - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Geef alsjeblieft je volledige naam." - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Je naam is succesvol bijgewerkt." - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Je hebt je %s succesvol geüpdatet." - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Voor alle duidelijkheid, de add-ons informatie van %s wordt opgehaald van een externe server." - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Aankondiging" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Hoi" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "Hoe bevalt %s tot dusver? Test al onze %s premium features gedurende een%d-daagse gratis proefperiode." - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Geen verplichting voor %s dagen - elk moment opzeggen!" - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Geen creditcard nodig" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Start gratis proefperidoe" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Hey, wist je dat %s een samenwerkingsprogramma heeft? Als je de %s goedvindt, kun je onze ambassadeur worden en wat geld verdienen!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Lees meer" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Activeer Licentie" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Verander Licentie" - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Opt Out" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Opt In" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr "De betaalde versie van%1s is reeds geïnstalleerd. Activeer deze alsjeblieft om te kunnen profiteren van de %2s features. %3s " - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activeer %s features." - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Volg alsjeblieft deze stappen om de upgrade te voltooien" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Download de meeste recente %s versie" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Upload en activeer de gedownloade versie" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "Hoe te uploaden en activeren?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sKlik hier%s om de sites te kiezen waar op je de licentie wilt activeren." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Automatische installatie werkt alleen voor opted-in gebruikers." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Ongeldige Module-ID" - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Premium versie reeds actief." - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "Je hebt geen geldige licentie voor de premium versie." - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Plug-in is 'Serviceware' wat betekent dat het geen premium code versie bevat. " - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Premium add-on versie is reeds geïnstalleerd." - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Bekijk betaalde kenmerken" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Hartelijk bedankt voor het gebruik van %s en bijbehorende uitbreidingen!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Hartelijk bedankt voor het gebruik van %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "Je hebt reeds ingestemd met onze gebruiks-tracking, wat ons helpt om %s te blijven verbeteren." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Hartelijk bedankt voor het gebruiken van onze producten!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "Je hebt reeds ingestemd met onze gebruiks-tracking, wat ons helpt om deze te blijven verbeteren." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%sen bijbehorende uitbreidingen" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Producten" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Ja" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "stuur mij beveiliging & feature updates, educatieve content en aanbiedingen." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "Nee" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "stuur mij %sGEEN%s beveiliging & feature updates, educatieve content of aanbiedingen." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Naar aanleiding van de nieuwe %sEU General Data Protection Regulation (GDPR) / Algemene verordening gegevensbescherming (AVG) %s regelgeving is het verplicht dat je je expliciete toestemming geeft, nogmaals, bevestigend dat je 'aan boord' bent 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Laat ons alsjeblieft weten als je op de hoogte gehouden wilt worden van beveiliging & feature updates, educatieve content en zo nu en dan aanbiedingen:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "Licentiesleutel is leeg." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Vernieuw licentie" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Koop licentie" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "Er is een %s van %s beschikbaar." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "nieuwe versie" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Belangrijke Upgrade Mededeling:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Installeren van plug-in: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Toegang tot het bestandssysteem is niet mogelijk. Bevestig alsjeblieft je inloggegevens." - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "Het remote plug-in pakket bevat geen folder met de verwachte slug en hernoemen werkte niet. " - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Koop" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Start mijn gratis %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Installer Gratis Versie Nu" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Installeer Nu" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download Nieuwste Gratis Versie" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Download Nieuwste" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Installeer Gratis Versie Update Nu" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Installeer Update Nu" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Nieuwere Gratis Versie (%s) Geïnstalleerd" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Nieuwere Versie (%s) Geïnstalleerd" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Nieuwste Gratis Versie Geïnstalleerd" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Meest Recente Versie Geïnstalleerd" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Beschrijving" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installatie" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "Veelgestelde Vragen" - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Schermafbeeldingen" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Wijzigingen Log" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Reviews" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Andere Notities" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Features & Prijzen" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Plug-in Installatie" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s Plan" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Beste" - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Maandelijks" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Jaarlijks" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "Levenslang" - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "%s gefactureerd " - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Jaarlijks" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Eenmalig" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Enkele Site Licentie" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Onbeperkte Licenties" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "Tot %s Sites" - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "mnd" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "jaar" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Prijs" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Bespaar %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Geen verplichting voor %s - opzeggen kan altijd" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "Na uw gratis %s, betaal slechts %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Details" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Versie" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Auteur" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Laatst Geüpdatet" - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "%s geleden" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Vereiste WordPress-versie" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s of hoger" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Compatible tot" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Gedownload" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s tijd" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s tijden" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "WordPress.org Plug-in Pagina" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Plug-in Homepage" - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Doneer aan deze plug-in" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Gemiddelde Beoordeling" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "gebaseerd op %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "%s beoordeling" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "%s beoordelingen" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%s ster" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "%s sterren" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Klik om reviews te bekijken met een beoordeling van%s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Medewerkers" - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Waarschuwing" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Deze plug-in is nog niet getest met je huidige WordPress versie. " - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "Deze plug-in is niet als compatibel aangemerkt voor je huidige WordPress versie." - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Betaalde add-on moet op Freemius geplaatst worden." - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Add-on moet op WordPress.org of Freemius geplaatst worden." - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Je plan naar beneden bijstellen" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Het abonnement annuleren" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s zal onmiddellijk alle toekomstige, automatische betalingen stopzetten en je %s-plan licentie loopt over %s af." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Onthou alsjeblieft dat we geen oude prijzen voor verlengingen/nieuwe abonnementen na een annulering kunnen aanhouden. Als je in de toekomst besluit om een abonnement handmatig te vernieuwen, zal de nieuwe prijs (na een prijsverhoging die meestal jaarlijks plaatsvindt) worden berekend." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Het stopzetten van de proefperiode zal de toegang tot de premium features onmiddellijk blokkeren. Weet je dat zeker?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "Je kunt nog steeds van alle %s-mogelijkheden genieten, maar je zult geen toegang hebben tot %s veiligheids- en uitbreidingsupdates, noch ondersteuning." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "Als je licentie verloopt kan je nog steeds gebruik maken van de Gratis versie, maar je zal GEEN toegang meer hebben tot de %sfeatures." - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Activeer %s Plan" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Auto hernieuwd over %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Verloopt over %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Sync Licentie" - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Proefperiode Opzeggen" - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Wijzig Plan" - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Upgrade" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Downgrade" - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Gratis" - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Activeer" - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Gratis Proefperiode" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "Accountgegevens" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Verwijdering van het account zal automatisch je %s licentie deactiveren zodat je die op andere sites kan gebruiken. Als je tevens je terugkerende betalingen wilt stopzetten, klik dan op de 'Annuleer' knop en 'Downgrade' je account eerst. Weet je zeker dat je wilt doorgaan met de verwijdering?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Verwijdering is niet tijdelijk. Verwijder alleen als je deze %s niet langer wilt gebruiken. Weet je zeker dat je wilt doorgaan met de verwijdering?" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Verwijder Account" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Deactiveer Licentie" - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Weet je zeker dat je wilt doorgaan?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Abonnement Opzeggen" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Sync" - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Naam" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "E-mail" - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "Gebruikers ID" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Site ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "Geen ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Publieke Sleutel" - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Geheime Sleutel" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Geen Geheim" - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Proefperiode" - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Licentiesleutel" - -#: templates/account.php:367 -msgid "not verified" -msgstr "niet geverifieerd" - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Verlopen" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Premium versie" - -#: templates/account.php:430 -msgid "Free version" -msgstr "Gratis versie" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Verifieer E-mail" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Download %s Versie" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Toon" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Wat is je %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Bewerk" - -#: templates/account.php:502 -msgid "Sites" -msgstr "Sites" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Zoek op adres" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Adres" - -#: templates/account.php:524 -msgid "License" -msgstr "Licentie" - -#: templates/account.php:525 -msgid "Plan" -msgstr "Plan" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Licentie" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Verberg" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Annuleren %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "proefperiode" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "%s wordt geannuleerd..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "abonnement" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Deactiveren van je licentie zal alle premium features blokkeren, maar geeft je de mogelijkheid de licentie op een andere site te activeren. Weet je zeker dat je wilt doorgaan?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Add-ons voor %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "We konden de add-ons lijst niet laden. Dat is waarschijnlijk een probleem aan onze kant, kom alsjeblieft over enkele minuten terug." - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Bekijk details" - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Afsluiten" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s sec" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Automatische Installatie" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "Een geautomatiseerde download en installatie van %s (betaalde versie) van %s zal starten binnen %s. Als je dit handmatig wil doen, klik dan nu op de annuleer knop." - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "Het installatieproces is gestart en kan enkele minuten duren om te voltooien. Wacht alsjeblieft totdat dat gebeurt is - deze pagina niet verversen." - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Annuleer Installatie" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Afrekenen" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "PCI-comform" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Hoi %s," - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Toestaan & Ga Verder" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Activatiemail opnieuw versturen" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Bedankt %s!" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Akkoord & Activeer Licentie" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Bedankt voor het aanschaffen van %s! Om te beginnen, voer alsjeblieft je licentiesleutel in:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Mis nooit een belangrijke update - opt-in voor onze beveiliging en feature update notificaties, educatieve content, aanbiedingen, en niet-gevoelige diagnostische tracking met %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Mis nooit een belangrijke update - opt-in voor onze beveiliging en feature update notificaties, en niet-gevoelige diagnostische tracking met %4$s." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Mis nooit een belangrijke update - opt-in voor onze beveiliging & feature update notificaties, educatieve content, aanbiedingen, en niet-gevoelige diagnostische tracking met %4$s. Als je deze stap overslaat, geen probleem! %1$szal ook dan gewoon 100% werken. " - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Mis nooit een belangrijke update - opt-in voor onze beveiliging & feature updates notificaties, en niet-gevoelige diagnostische tracking met %4$s. Als je deze stap overslaat, geen probleem! %1$szal ook dan gewoon 100% werken. " - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We zijn verheugd om Freemius network-level integratie te introduceren." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "Tijdens het update proces detecteerden we %dsite(s) waarvoor de licentie nog niet geactiveerd is." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "Als je de %s op deze sites wil gebruiken, voer dan alsjeblieft de licentiesleutel hieronder in en klik op de activatie-knop." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s betaalde mogelijkheden" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Je kunt dat eventueel ook nu overslaan en de licentie later in je %s netwerk-niveau Account pagina activeren. " - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "Tijdens het update proces detecteerden we %dsite(s) in het netwerk die jouw aandacht vereisen." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Licentiesleutel" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Kan je je licentiesleutel niet vinden?" - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Sla Over" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegeren aan Site Beheerders" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "Al je er op klikt, zal deze beslissing gedelegeerd worden aan de beheerders van de sites. " - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Je Profiel Overzicht" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Naam en e-mailadres" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Je Site Overzicht" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "Site URL, WP versie, PHP info, plug-ins & thema's" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Admin Mededelingen" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Updates, aankondigingen, marketing, geen spam" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Huidige %s Gebeurtenissen" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Activatie, deactivatie en deïnstallatie" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Nieuwsbrief" - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "De %1$s zal periodiek data verzenden naar %2$s om te controleren op beveiliging en feature updates en om te verifiëren of je licentie geldig is." - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Welke toestemmingen worden er verleend?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "Heb je geen licentiesleutel?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Activeer Gratis Versie" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "Heb je een licentiesleutel?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Privacybeleid" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "Licentieovereenkomst" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Servicevoorwaarden" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "E-mail versturen" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Activeren" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Contact" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Uit" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "Aan" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Debugging" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Acties" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Weet u zeker dat u alle Freemius data wilt verwijderen?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Verwijder All Accounts" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "API-Cache Leegmaken" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Updates Transients Opschonen" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Synchroniseer Data Vanaf Server" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Zet Opties over naar Netwerk" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Laad DB-optie" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Activeer DB-Optie" - -#: templates/debug.php:180 -msgid "Key" -msgstr "Sleutel" - -#: templates/debug.php:181 -msgid "Value" -msgstr "Waarde" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "SDK Versies" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "SDK Pad" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Module Pad" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "Is Actief" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Plug-ins" - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Thema's" - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Slug" - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Titel" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Freemius Status" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Netwerk Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Netwerk Gebruiker" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Verbonden" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Geblokkeerd" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simuleer Trial Actie" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simuleer Netwerk Upgrade" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s Installaties" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Sites" - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Verwijder" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Uitbreidingen van module %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Gebruikers" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Geverifieerd" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s Licenties" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "Plug-in ID" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "Plan ID" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Quota" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Geactiveerd" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Geblokkeerd" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Verloopdatum" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Debug Log" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Alle Types" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Alle Requests" - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "Bestand" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Functie" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "Proces-ID" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Logger" - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Bericht" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Filter" - -#: templates/debug.php:585 -msgid "Download" -msgstr "Download" - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Type" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Tijdstempel" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Beveiligde HTTPS %s pagina, loopt via een extern domein" - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Ondersteuning" - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "ms" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Aanvragen" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Bijwerken" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Facturering" - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Bedrijfsnaam" - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "Btw-nummer" - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Adresregel %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Stad" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Plaats" - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "Postcode" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Land" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Selecteer Land" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Staat" - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Provincie" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Betalingen" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Datum" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Bedrag" - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Factuur" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Methodes" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Code" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Lengte" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Pad" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Body" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Resultaat" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Start" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Einde" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Log" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "Binnen %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s geleden" - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "sec" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Synchronisatie Plug-ins & Thema's" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Totaal" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Laatste" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Geplande Crons" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Module" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Moduletype" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Cron Type" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Volgende" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Niet-verlopende" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Meld je aan om een affiliate partner te worden" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Je samenwerkingsaanvraag voor %s is geaccepteerd! Log in op je samenwerkingsomgeving op: %s." - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Bedankt voor je aanvraag voor deelname aan ons samenwerkingsprogramma. We zullen binnen 14 dagen je gegevens doornemen, waarna we je aanvullende informatie zullen sturen." - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Je affiliate account is tijdelijk geschorst." - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Bedankt voor je aanvraag voor deelname aan ons affiliate programma, helaas, op dit moment hebben we besloten je aanvraag af te wijzen. Probeer het alsjeblieft over 30 dagen nog eens." - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Als gevolg van het overtreden van onze affiliate voorwaarden, hebben we besloten je affiliate account tijdelijk te blokkeren. Neem voor eventuele vragen alsjeblieft contact op met support." - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Vind je de %s goed? Word dan onze ambassadeur en verdien cash ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Verwijs nieuwe klanten naar onze %s en krijg %s commissie op iedere door jou doorverwezen, geslaagde verkoop!" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Programma Samenvatting" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s commissie als een klant een nieuwe licentie koopt. " - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Krijg een commissie voor automatische abonnementsverlengingen." - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s tracking cookie na eerste bezoek om je verdienpotentieel te maximaliseren." - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Onbeperkte commissies." - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "%s minimum uitbetalingsbedrag." - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Uitbetalingen zijn in USD en worden maandelijks uitgevoerd via PayPal" - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "Omdat wij 30 dagen reserveren voor eventuele terugstortingen, betalen we alleen commissies uit die ouder dan 30 dagen zijn." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Affiliate" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "E-mailadres" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Volledige naam" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "PayPal account e-mailadres" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Waar ga je de %s promoten?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Voer de domeinnaam in van je website of andere websites waar vanaf je van plan bent de %ste gaan promoten." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Voeg nog een domein toe" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Extra Domeinen" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Extra domeinen vanaf waar je het product gaat promoten." - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Promotie methodes" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Social media (Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Mobiele apps" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Website, mail, and social media statistieken (optioneel)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Voel je alsjeblieft vrij om elke relevante website of social media statistieken met ons te delen, bijvoorbeeld maandelijkse unieke bezoekers, aantal e-mail abonnees , volgers, etc. (we zullen deze informatie vertrouwelijk houden)." - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "Hoe ga je ons promoten?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Geef alsjeblieft zo gedetailleerd als mogelijk aan hoe je van plan bent om %s te gaan promoten." - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Annuleer" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Wordt een affiliate" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Voer aalsjeblieft de licentiesleutel in die je ontving in de e-mail direct na de aankoop:" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Update Licentie" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Opt Out" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Opt In" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Het bijhouden van het gebruik wordt gedaan om %s te verbeteren. De gebruikerservaring te verbeteren, de prioriteit van nieuwe features te bepalen, en meer goede zaken. We zouden het heel erg op prijs stellen als je ons toch weer toestaat het gebruik te volgen. " - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "Door op \"Opt Out\" te klikken, zullen wij niet langer gegevens van %s verzenden naar %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "Er is een nieuwe versie van %s beschikbaar." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr "%svoor toegang to versie %s beveiliging & features updates en support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "Nieuwe Versie Beschikbaar" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Afsluiten" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Verzend Licentiesleutel" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Voer hieronder het e-mailadres in dat je gebruikt hebt voor de upgrade en we zullen je jouw licentiesleutel opnieuw toesturen." - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Het deactiveren en deïnstalleren van de %s zal de licentie automatisch uitschakelen, die je dan kan gebruiken op een andere site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "Mocht je NIET van plan zijn om deze %s te gebruiken op deze site (of op een andere site) - wil je dan het %s ook opzeggen?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "licentie" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Annuleer %s - Ik heb niet meer enige beveiligings- en uitbreidingsupdates of ondersteuning voor %s nodig, omdat ik niet van plan ben de %sop deze of enige andere site te gebruiken." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Annuleer %s niet - Ik wil nog steeds zowel beveiligings- en uitbreidingsupdates ontvangen als contact kunnen opnemen met Support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Als je licentie afloopt, zul je %s niet meer kunnen gebruiken, tenzij je het opnieuw activeert met een geldige Premium-licentie." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "%s annuleren?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Doorgaan" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Annuleer %s & Ga Door" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "U bent 1-klik verwijderd van het starten van uw %1$s-daagse gratis proefperiode van het %2$s plan." - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "Voordat we de proefperiode kunnen starten, vragen we je, in overeenstemming met de Wordpress.org-richtlijnen, in te stemmen je gebruikers- en niet-sensitieve site informatie door de %s periodiek te laten verzenden naar %s om te controleren op nieuwe versies en je proefversie te valideren." - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Premium" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activeer licentie op alle sites in het netwerk." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Pas toe op alle sites in het netwerk." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Activeer licentie op alle in behandeling zijnde sites." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Pas toe op alle in behandeling zijnde sites." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "toestaan" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "deligeren" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "overslaan" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Klik voor het op volle-grootte bekijken van schermafbeelding %d" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Onbeperkte Updates" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Localhost" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "%s beschikbaar" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Laatste licentie" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Geannuleerd" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Geen verloopdatum" - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Activeer deze add-on" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Naam Eigenaar" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "E-mail Eigenaar" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "ID Eigenaar" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Abonnement" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Sorry voor het ongemak en we zijn er om je te helpen als je daartoe de kans geeft.." - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Contacteer Support" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Anonieme terugkoppeling" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Deactiveer" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Activeer %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Snelle terugkoppeling" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "We zouden het zeer op prijs stellen, als je even hebt, om ons alsjeblieft te laten weten waarom je gaat %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "deactiveren" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "overschakelen" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Verstuur & %s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Wilt je alsjeblieft zo vriendelijk zijn om de reden te vermelden, zodat wij verbeteringen kunnen doorvoeren." - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Ja - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Sla over & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Klik hier om de plug-in anoniem te gebruiken" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Misschien heb je het gemist, maar je hoeft geen gegevens te delen en kunt de opt-in %s." diff --git a/freemius/languages/freemius-ru_RU.mo b/freemius/languages/freemius-ru_RU.mo deleted file mode 100644 index e69de29..0000000 diff --git a/freemius/languages/freemius-ru_RU.po b/freemius/languages/freemius-ru_RU.po deleted file mode 100644 index cc34dec..0000000 --- a/freemius/languages/freemius-ru_RU.po +++ /dev/null @@ -1,2433 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -# Translators: -# Robert Premmerce , 2018 -msgid "" -msgstr "" -"Project-Id-Version: WordPress SDK\n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2018-11-25 07:22+0000\n" -"Last-Translator: Vova Feldman \n" -"Language: ru_RU\n" -"Language-Team: Russian (Russia) (http://www.transifex.com/freemius/wordpress-sdk/language/ru_RU/)\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" -"MIME-Version: 1.0\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "Freemius SDK не удалось найти основной файл плагина. Пожалуйста, свяжитесь с sdk@freemius.com с текущей ошибкой." - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "Ошибка" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "Я нашел лучший %s" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "Какое название %s?" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "Это временная %s. Сейчас проходит проверка на наличие ошибок. " - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "Деактивация" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "Переключатель шаблона " - -#: includes/class-freemius.php2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "Другие" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "%s больше не понадобится." - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "%s требовалась на короткое время" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "%s повредила мой сайт" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "%s внезапно перестала работать " - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "Я больше не могу оплачивать это. " - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "Какая стоимость была бы для Вас приемлемой? " - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "Я не хочу делиться личной информацией с Вами" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "%s не сработала" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "Я не могу понять как сделать так, чтобы оно работало" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "%s отличная возможность, но мне нужен определенный функционал, который вы не поддерживаете. " - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "Какой функционал?" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "%s не работает" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "Пожалуйста, сообщите о функционале, который не работает, чтобы мы смогли исправить его для дальнейшего использования. " - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "Это не то, что я искал. " - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "Что именно Вы ищите? " - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "%s не сработала как ожидалось" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "Каковы были Ваши ожидания? " - -#: includes/class-freemius.php2942, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "Исправление ошибок Freemius" - -#: includes/class-freemius.php:3670 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "Я не знаю, что такое сURL и как его установить. Пожалуйста, помогите мне." - -#: includes/class-freemius.php:3672 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "Мы обязательно свяжемся с Вашим хостинг провайдером и найдем решение. Как только у нас появится информация, Вам будет отправлено письмо на почту. " - -#: includes/class-freemius.php:3679 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "Отлично! Пожалуйста, установите сURL и активируйте его в Вашем файле php.ini .Также, найдите директиву 'disable_functions' в файле php.ini и удалите все неактивные методы которые начинаются на 'curl_'. Чтобы убедится, что активация прошла успешно, используйте 'phpinfo()'. После активации, деактивируйте %s и снова активируйте ее. " - -#: includes/class-freemius.php:3784 -msgid "Yes - do your thing" -msgstr "Да, делайте то, что Вам нужно. " - -#: includes/class-freemius.php:3789 -msgid "No - just deactivate" -msgstr "Нет. Нужно деактивировать. " - -#: includes/class-freemius.php3834, includes/class-freemius.php4343, -#: includes/class-freemius.php5442, includes/class-freemius.php11545, -#: includes/class-freemius.php14916, includes/class-freemius.php14968, -#: includes/class-freemius.php15030, includes/class-freemius.php17263, -#: includes/class-freemius.php17273, includes/class-freemius.php17882, -#: includes/class-freemius.php18742, includes/class-freemius.php18857, -#: includes/class-freemius.php19001, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "Упс!" - -#: includes/class-freemius.php:3903 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "Спасибо, что предоставили нам возможность исправить ошибку. Сообщение уже отправлено нашим техническим специалистам. Мы с Вами свяжемся, как только будет новая информация о %s. Благодарны за понимание. " - -#: includes/class-freemius.php:4340 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "%s не работает без %s." - -#: includes/class-freemius.php:4341 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "%s не может работать без плагина. " - -#: includes/class-freemius.php4487, includes/class-freemius.php4512, -#: includes/class-freemius.php:17953 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "Неожиданная ошибка API. Пожалуйста, свяжитесь с автором %s в котором была обнаружена ошибка. " - -#: includes/class-freemius.php:5130 -msgid "Premium %s version was successfully activated." -msgstr "Премиум версия %s была успешно активирована. " - -#: includes/class-freemius.php5142, includes/class-freemius.php:7004 -msgctxt "" -msgid "W00t" -msgstr "Вау!" - -#: includes/class-freemius.php:5157 -msgid "You have a %s license." -msgstr "У Вас есть лицензия %s." - -#: includes/class-freemius.php5161, includes/class-freemius.php14337, -#: includes/class-freemius.php14348, includes/class-freemius.php17177, -#: includes/class-freemius.php17491, includes/class-freemius.php17557, -#: includes/class-freemius.php:17707 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "Ура!" - -#: includes/class-freemius.php:5425 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "Бесплатный период пользования %s закончился. Этот плагин является премиум продуктом и он был деактивирован автоматически. Если Вы планируете дальнейшее его использование, пожалуйста купите лицензию. " - -#: includes/class-freemius.php:5429 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "%s является премиум продуктом. Необходимо купить лицензию перед активацией плагина. " - -#: includes/class-freemius.php5438, templates/add-ons.php103, -#: templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "Больше информации о %s" - -#: includes/class-freemius.php:5439 -msgid "Purchase License" -msgstr "Купите лицензию " - -#: includes/class-freemius.php6372, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "Мы отправили Вам письмо для активации %s на Ваш электронный адрес %s. Пожалуйста, нажмите на кнопку активации в этом письме %s. " - -#: includes/class-freemius.php:6376 -msgid "start the trial" -msgstr "Начать тестовый период" - -#: includes/class-freemius.php6377, templates/connect.php:167 -msgid "complete the install" -msgstr "Закончить установку" - -#: includes/class-freemius.php:6490 -msgid "You are just one step away - %s" -msgstr "Вам осталось совсем немножко %s" - -#: includes/class-freemius.php:6493 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "Закончить активацию %s сейчас " - -#: includes/class-freemius.php:6571 -msgid "We made a few tweaks to the %s, %s" -msgstr "Мы усовершенствовали в %s, %s для лучшей работы " - -#: includes/class-freemius.php:6575 -msgid "Opt in to make \"%s\" better!" -msgstr "Opt in to make \"%s\" better!" - -#: includes/class-freemius.php:7003 -msgid "The upgrade of %s was successfully completed." -msgstr "Обновление %s было успешно завершено" - -#: includes/class-freemius.php8925, includes/class-fs-plugin-updater.php886, -#: includes/class-fs-plugin-updater.php1081, -#: includes/class-fs-plugin-updater.php1088, -#: templates/auto-installation.php:32 -msgid "Add-On" -msgstr "Функционал плагина " - -#: includes/class-freemius.php8927, templates/debug.php359, -#: templates/debug.php:520 -msgid "Plugin" -msgstr "Плагин " - -#: includes/class-freemius.php8928, templates/debug.php359, -#: templates/debug.php520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "Шаблон " - -#: includes/class-freemius.php:11412 -msgid "Invalid site details collection." -msgstr "Invalid site details collection." - -#: includes/class-freemius.php:11532 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "К сожалению, Ваш почтовый адрес не найден в системе. Вы уверены, что предоставили правильный адрес? " - -#: includes/class-freemius.php:11534 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "Активная лицензия выданная на этот электронный адрес не была найдена. Вы уверены, что предоставили правильный электронный адрес?" - -#: includes/class-freemius.php:11808 -msgid "Account is pending activation." -msgstr "Учетная запись в процессе активации" - -#: includes/class-freemius.php11920, -#: templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "Buy a license now" - -#: includes/class-freemius.php11932, -#: templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "Renew your license now" - -#: includes/class-freemius.php:11936 -msgid "%s to access version %s security & feature updates, and support." -msgstr "%s to access version %s security & feature updates, and support." - -#: includes/class-freemius.php:14319 -msgid "%s activation was successfully completed." -msgstr "Активация %s была успешно завершена" - -#: includes/class-freemius.php:14333 -msgid "Your account was successfully activated with the %s plan." -msgstr "Ваша учетная запись была успешно активирована согласно плану %s" - -#: includes/class-freemius.php14344, includes/class-freemius.php:17553 -msgid "Your trial has been successfully started." -msgstr "Ваш тестовый период успешно начат" - -#: includes/class-freemius.php14914, includes/class-freemius.php14966, -#: includes/class-freemius.php:15028 -msgid "Couldn't activate %s." -msgstr "Невозможно активировать %s" - -#: includes/class-freemius.php14915, includes/class-freemius.php14967, -#: includes/class-freemius.php:15029 -msgid "Please contact us with the following message:" -msgstr "Пожалуйста, напишите нам сообщение следующего содержания:" - -#: includes/class-freemius.php15378, includes/class-freemius.php:19839 -msgid "Upgrade" -msgstr "Сделать апгрейд " - -#: includes/class-freemius.php:15384 -msgid "Start Trial" -msgstr "Начать тестовый период" - -#: includes/class-freemius.php:15386 -msgid "Pricing" -msgstr "Цены " - -#: includes/class-freemius.php15448, includes/class-freemius.php:15450 -msgid "Affiliation" -msgstr "Партнерство " - -#: includes/class-freemius.php15478, includes/class-freemius.php15480, -#: templates/account.php150, templates/debug.php:324 -msgid "Account" -msgstr "Личный кабинет" - -#: includes/class-freemius.php15493, includes/class-freemius.php15495, -#: includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "Контакты " - -#: includes/class-freemius.php15505, includes/class-freemius.php15507, -#: includes/class-freemius.php19849, templates/account.php100, -#: templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "Настройки плагина " - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "←" - -#: includes/class-freemius.php:15541 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "➤" - -#: includes/class-freemius.php15543, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "Цены" - -#: includes/class-freemius.php15756, -#: includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "Форум поддержки " - -#: includes/class-freemius.php:16542 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "Ваш электронный адрес был успешно подтвержден и Вы просто молодец!" - -#: includes/class-freemius.php:16543 -msgctxt "a positive response" -msgid "Right on" -msgstr "Все верно!" - -#: includes/class-freemius.php:17168 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "Ваш %s план был успешно обновлен" - -#: includes/class-freemius.php:17170 -msgid "%s Add-on was successfully purchased." -msgstr "Покупка %s плагина успешно состоялась" - -#: includes/class-freemius.php:17173 -msgid "Download the latest version" -msgstr "Скачай последнюю версию" - -#: includes/class-freemius.php:17259 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "Ваш сервер блокирует доступ к Freemius' API, что является очень важным для синхронизации с %1s. Пожалуйста, свяжитесь с Вашим хостинг провайдером для разрешения доступа к %2s " - -#: includes/class-freemius.php17262, includes/class-freemius.php17678, -#: includes/class-freemius.php:17755 -msgid "Error received from the server:" -msgstr "Ошибка сервера" - -#: includes/class-freemius.php:17272 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "Вероятно один из параметров является неверным. Обновите свой Public Key, Secret Key&User ID и повторите попытку." - -#: includes/class-freemius.php17454, includes/class-freemius.php17683, -#: includes/class-freemius.php17726, includes/class-freemius.php:17829 -msgctxt "" -msgid "Hmm" -msgstr "Хм..." - -#: includes/class-freemius.php:17467 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "Вероятно Вы все еще пользуетесь сервисом согласно плану %s. Если Вы обновляли или меняли свой тарифный план, то вероятно существуют какие-то трудности связанные с Вашим программным обеспечением. Извините. " - -#: includes/class-freemius.php17468, templates/account.php102, -#: templates/add-ons.php134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "Тестовый период" - -#: includes/class-freemius.php:17473 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "Я провел апгрейд аккаунта, но при попытке синхронизировать лицензию, мой тарифный план не меняется. " - -#: includes/class-freemius.php17477, includes/class-freemius.php:17535 -msgid "Please contact us here" -msgstr "Пожалуйста, напишите нам сообщение здесь. " - -#: includes/class-freemius.php:17487 -msgid "Your plan was successfully upgraded." -msgstr "Ваш тарифный план был успешно изменен. " - -#: includes/class-freemius.php:17505 -msgid "Your plan was successfully changed to %s." -msgstr "Ваш тарифный план был успешно изменен на %s." - -#: includes/class-freemius.php:17521 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "Срок действия Вашей лицензии закончился. Вы можете продолжать пользоваться бесплатной версией %s на бессрочной основе." - -#: includes/class-freemius.php:17523 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17531 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "Ваша лицензия была аннулирована. Если Вы считаете, что это ошибка, пожалуйста свяжитесь с нашей службой поддержки. " - -#: includes/class-freemius.php:17544 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "Срок действия Вашей лицензии закончен. Вы можете продолжать пользоваться всеми возможностями %s продлив Вашу лицензию. Вы также будете получать доступ к обновлениям и поддержке. " - -#: includes/class-freemius.php:17567 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "Your free trial has expired. You can still continue using all our free features." - -#: includes/class-freemius.php:17569 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." - -#: includes/class-freemius.php:17674 -msgid "It looks like the license could not be activated." -msgstr "Вероятно возникли трудности с активацией лицензии. " - -#: includes/class-freemius.php:17704 -msgid "Your license was successfully activated." -msgstr "Ваша лицензия была успешно активирована. " - -#: includes/class-freemius.php:17730 -msgid "It looks like your site currently doesn't have an active license." -msgstr "Вероятно Ваш сайт не использует активную лицензию сейчас. " - -#: includes/class-freemius.php:17754 -msgid "It looks like the license deactivation failed." -msgstr "Вероятно деактивация лицензии не состоялась. " - -#: includes/class-freemius.php:17782 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "Ваша лицензия была успешно деактивирована и Вы снова пользуетесь планом %s." - -#: includes/class-freemius.php:17783 -msgid "O.K" -msgstr "O.K." - -#: includes/class-freemius.php:17836 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." - -#: includes/class-freemius.php:17845 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s." - -#: includes/class-freemius.php:17887 -msgid "You are already running the %s in a trial mode." -msgstr "Вы уже пользуетесь тестовой версией %s " - -#: includes/class-freemius.php:17898 -msgid "You already utilized a trial before." -msgstr "Вы уже использовали Ваш тестовый период" - -#: includes/class-freemius.php:17912 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "Тарифного плана % не существует, поэтому Вы не можете начать тестовый период. " - -#: includes/class-freemius.php:17923 -msgid "Plan %s does not support a trial period." -msgstr "Тарифный план % не предусматривает тестового периода. " - -#: includes/class-freemius.php:17934 -msgid "None of the %s's plans supports a trial period." -msgstr "Тарифные планы %s не предусматривают тестовый период. " - -#: includes/class-freemius.php:17984 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "Возможно, Ваш тестовый период уже закончился. " - -#: includes/class-freemius.php:18020 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "К сожалению у нас возникли трудности с отменой Вашего тестового периода. Пожалуйста, повторите попытку через несколько минут." - -#: includes/class-freemius.php:18039 -msgid "Your %s free trial was successfully cancelled." -msgstr "Ваш бесплатный тестовый период был успешно отменен. " - -#: includes/class-freemius.php:18346 -msgid "Version %s was released." -msgstr "Релиз версии %s состоялся. " - -#: includes/class-freemius.php:18346 -msgid "Please download %s." -msgstr "Пожалуйста, скачайте %s" - -#: includes/class-freemius.php:18353 -msgid "the latest %s version here" -msgstr "Последняя версия %s здесь" - -#: includes/class-freemius.php:18358 -msgid "New" -msgstr "Новое " - -#: includes/class-freemius.php:18363 -msgid "Seems like you got the latest release." -msgstr "Вероятно, Вы пользуетесь последней версией" - -#: includes/class-freemius.php:18364 -msgid "You are all good!" -msgstr "Все прошло хорошо!" - -#: includes/class-freemius.php:18632 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "Письмо подтверждение было только что отправлено на %s. Если Вы не получите его через 5 минут, пожалуйста, проверьте папку спам." - -#: includes/class-freemius.php:18769 -msgid "Site successfully opted in." -msgstr "Site successfully opted in." - -#: includes/class-freemius.php18770, includes/class-freemius.php:19581 -msgid "Awesome" -msgstr "Отлично!" - -#: includes/class-freemius.php18786, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "Вы очень помогаете нам совершенствовать %s разрешая следить за некоторыми данными о пользовании. " - -#: includes/class-freemius.php:18787 -msgid "Thank you!" -msgstr "Thank you!" - -#: includes/class-freemius.php:18794 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "We will no longer be sending any usage data of %s on %s to %s." - -#: includes/class-freemius.php:18923 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "Пожалуйста, проверьте свою электронную почту. Вы должны были получить письмо от %s для подтверждения смены прав использования. По причинам безопасности, Вы должны подтвердить изменения на протяжении 15 минут. Если письмо не пришло, пожалуйста проверьте папку спам. " - -#: includes/class-freemius.php:18929 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "Спасибо, что подтвердили изменение прав использования. Вам отправлено письмо на %s для окончательного подтверждения. " - -#: includes/class-freemius.php:18934 -msgid "%s is the new owner of the account." -msgstr "%я является новым владельцем аккаунта" - -#: includes/class-freemius.php:18936 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "Поздравления! " - -#: includes/class-freemius.php:18956 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "Извините, нам не удалось обновить электронный адрес. Другой пользователь с таким же адресом уже был зарегистрирован. " - -#: includes/class-freemius.php:18957 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "Если Вы передаете права пользования аккаунтом %s %s нажмите кнопку \" Сменить права использования\"" - -#: includes/class-freemius.php:18964 -msgid "Change Ownership" -msgstr "Сменить владельца лицензии " - -#: includes/class-freemius.php:18972 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "Ваш электронный адрес был успешно обновлен. Через несколько минут Вы получите письмо с инструкциями для подтверждения" - -#: includes/class-freemius.php:18984 -msgid "Please provide your full name." -msgstr "Пожалуйста, введите Ваше полное имя" - -#: includes/class-freemius.php:18989 -msgid "Your name was successfully updated." -msgstr "Ваше имя было успешно обновлено" - -#: includes/class-freemius.php:19050 -msgid "You have successfully updated your %s." -msgstr "Вы успешно обновили Ваш %s" - -#: includes/class-freemius.php:19190 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "Сообщаем, что информация о дополнительных настройках %s предоставляется со стороннего сервера. " - -#: includes/class-freemius.php:19191 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "Внимание!" - -#: includes/class-freemius.php:19621 -msgctxt "exclamation" -msgid "Hey" -msgstr "Привет!" - -#: includes/class-freemius.php:19621 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "Тебе нравится пользоваться %s? Воспользуйся всеми нашими премиум возможностями на протяжении %d - дневного тестового периода. " - -#: includes/class-freemius.php:19629 -msgid "No commitment for %s days - cancel anytime!" -msgstr "Бесплатное пользование на протяжении %s дней. Отмена в любое время. " - -#: includes/class-freemius.php:19630 -msgid "No credit card required" -msgstr "Не требуются данные платежной карты" - -#: includes/class-freemius.php19637, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "Начни тестовый период!" - -#: includes/class-freemius.php:19714 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "Привет! Знали ли Вы, что %s предоставляет реферальную программу? Если Вам нравится %s, Вы можете стать нашим представителем и зарабатывать!" - -#: includes/class-freemius.php:19723 -msgid "Learn more" -msgstr "Узнать больше" - -#: includes/class-freemius.php19873, templates/account.php406, -#: templates/account.php509, templates/connect.php171, -#: templates/connect.php421, templates/forms/license-activation.php24, -#: templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "Активировать лицензию" - -#: includes/class-freemius.php19874, templates/account.php469, -#: templates/account.php508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "Изменить лицензию " - -#: includes/class-freemius.php19956, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "Отказаться от использования" - -#: includes/class-freemius.php19958, includes/class-freemius.php19963, -#: templates/account/partials/site.php43, -#: templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "Присоединиться" - -#: includes/class-freemius.php:20187 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" - -#: includes/class-freemius.php:20195 -msgid "Activate %s features" -msgstr "Activate %s features" - -#: includes/class-freemius.php:20208 -msgid "Please follow these steps to complete the upgrade" -msgstr "Пожалуйста, пройдите эти шаги для того, чтобы произвести апгрейд" - -#: includes/class-freemius.php:20212 -msgid "Download the latest %s version" -msgstr "Скачайте последнюю версию %s" - -#: includes/class-freemius.php:20216 -msgid "Upload and activate the downloaded version" -msgstr "Загрузите и активируйте скачанную версию" - -#: includes/class-freemius.php:20218 -msgid "How to upload and activate?" -msgstr "Как загрузить и активировать?" - -#: includes/class-freemius.php:20352 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "%sClick here%s to choose the sites where you'd like to activate the license on." - -#: includes/class-freemius.php:20513 -msgid "Auto installation only works for opted-in users." -msgstr "Авто установка работает только для зарегистрированных пользователей." - -#: includes/class-freemius.php20523, includes/class-freemius.php20556, -#: includes/class-fs-plugin-updater.php1060, -#: includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "Неверный ID модуля" - -#: includes/class-freemius.php20532, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "Премиум версия уже активирована" - -#: includes/class-freemius.php:20539 -msgid "You do not have a valid license to access the premium version." -msgstr "У Вас нет необходимых лицензионных прав для пользования премиум версией" - -#: includes/class-freemius.php:20546 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "Плагин является 'Serviсeware'. Это означает, что он не имеет премиум версию кода. " - -#: includes/class-freemius.php20564, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "Премиум версия плагина была установлена" - -#: includes/class-freemius.php:20909 -msgid "View paid features" -msgstr "Просмотр платных возможностей" - -#: includes/class-freemius.php:21229 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "Thank you so much for using %s and its add-ons!" - -#: includes/class-freemius.php:21230 -msgid "Thank you so much for using %s!" -msgstr "Thank you so much for using %s!" - -#: includes/class-freemius.php:21236 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving the %s." - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using our products!" -msgstr "Thank you so much for using our products!" - -#: includes/class-freemius.php:21241 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "You've already opted-in to our usage-tracking, which helps us keep improving them." - -#: includes/class-freemius.php:21260 -msgid "%s and its add-ons" -msgstr "%s and its add-ons" - -#: includes/class-freemius.php:21269 -msgid "Products" -msgstr "Products" - -#: includes/class-freemius.php21276, templates/connect.php:272 -msgid "Yes" -msgstr "Yes" - -#: includes/class-freemius.php21277, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "send me security & feature updates, educational content and offers." - -#: includes/class-freemius.php21278, templates/connect.php:278 -msgid "No" -msgstr "No" - -#: includes/class-freemius.php21280, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "do %sNOT%s send me security & feature updates, educational content and offers." - -#: includes/class-freemius.php:21290 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" - -#: includes/class-freemius.php21292, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" - -#: includes/class-freemius.php:21574 -msgid "License key is empty." -msgstr "License key is empty." - -#: includes/class-fs-plugin-updater.php184, -#: templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "Renew license" - -#: includes/class-fs-plugin-updater.php189, -#: templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "Buy license" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "There is a %s of %s available." - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "new version" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "Important Upgrade Notice:" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "Установка плагина: %s" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "Невозможно присоединиться к системе файлов. Пожалуйста, подтвердите свои данные. " - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "Удаленный пакет плагинов не содержит папку с нужным описанием URL и смена имени не срабатывает. " - -#: includes/fs-plugin-info-dialog.php369, -#: templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "Купить" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "Начать мой бесплатный %s" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "Install Free Version Now" - -#: includes/fs-plugin-info-dialog.php414, templates/auto-installation.php111, -#: templates/account/partials/addon.php272, -#: templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "Установить сейчас " - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "Download Latest Free Version" - -#: includes/fs-plugin-info-dialog.php426, templates/account.php80, -#: templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "Скачать последнюю версию" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "Install Free Version Update Now" - -#: includes/fs-plugin-info-dialog.php437, templates/account.php:460 -msgid "Install Update Now" -msgstr "Провести обновления сейчас " - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "Newer Free Version (%s) Installed" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "Более новая версия %s установлена " - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "Latest Free Version Installed" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "Последняя версия установлена" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Описание " - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Установка " - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "Часто задаваемые вопросы " - -#: includes/fs-plugin-info-dialog.php616, -#: templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "Снимки экрана " - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Журнал изменений " - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Отзывы " - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Другие заметки " - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "Функционал&тарифные планы " - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "Установка плагина " - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "%s план " - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "Лучший " - -#: includes/fs-plugin-info-dialog.php748, -#: includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "Помесячно " - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "Ежегодно " - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "На бессрочный период " - -#: includes/fs-plugin-info-dialog.php768, -#: includes/fs-plugin-info-dialog.php770, -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "Оплачивать %s" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "Один раз в год " - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "Один раз " - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "Лицензия на один сайт " - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "Неограниченная лицензия " - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "до % сайтов " - -#: includes/fs-plugin-info-dialog.php792, -#: templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "на один месяц" - -#: includes/fs-plugin-info-dialog.php799, -#: templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "на один год " - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "Стоимость " - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "Экономия %s" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "Без обязательств платить %s - аннулируй пользование в любое время " - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "После окончания Вашего бесплатного %s, платите всего лиш %s" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "Детальней" - -#: includes/fs-plugin-info-dialog.php929, templates/account.php91, -#: templates/debug.php201, templates/debug.php238, templates/debug.php452, -#: templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "Версия " - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "Автор" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "Последнее обновление " - -#: includes/fs-plugin-info-dialog.php948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "% тому назад " - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "Необходима версия WordPress " - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "%s или выше" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "Совместима с " - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "Загружен " - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "%s время " - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "%s раз " - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "Страница плагинов WordPress.org" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "Главная страница плагина " - -#: includes/fs-plugin-info-dialog.php1005, -#: includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "Инвестировать в разработку плагина " - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "Средний рейтинг " - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "Основан на %s" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "% оценка " - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "% оценки " - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "%звездочка " - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "% звездочки " - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "Нажмите, чтобы посмотреть отзывы, которые сформировали рейтинг %s" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "Контрибьюторы " - -#: includes/fs-plugin-info-dialog.php1095, -#: includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "Предупреждение " - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "Этот плагин не был тестирован с Вашей текущей версией WordPress. " - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "Этот плагин не отмечен как совместимый з Вашей версией WordPress " - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "Платный функционал должен быть заявлен в Freemius" - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "Функционал должен быть заявлен на WordPress.org или Freemius " - -#: templates/account.php81, templates/forms/subscription-cancellation.php96, -#: templates/account/partials/addon.php22, -#: templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "Downgrading your plan" - -#: templates/account.php82, templates/forms/subscription-cancellation.php97, -#: templates/account/partials/addon.php23, -#: templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "Cancelling the subscription" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the -#. subscription' -#: templates/account.php84, templates/forms/subscription-cancellation.php99, -#: templates/account/partials/addon.php25, -#: templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." - -#: templates/account.php85, templates/forms/subscription-cancellation.php100, -#: templates/account/partials/addon.php26, -#: templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." - -#: templates/account.php86, templates/forms/subscription-cancellation.php106, -#: templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "Отказ от пользования тестовым периодом автоматически блокирует доступ ко всем премиум возможностям. Вы уверены, что хотите отказаться?" - -#: templates/account.php87, templates/forms/subscription-cancellation.php101, -#: templates/account/partials/addon.php28, -#: templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." - -#: templates/account.php88, templates/forms/subscription-cancellation.php102, -#: templates/account/partials/addon.php29, -#: templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "По окончанию срока действия Вашей лицензии, Вы сможете пользоваться бесплатной версией, но у Вас не будет доступа к возможностям %s. " - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php90, -#: templates/account/partials/activate-license-button.php31, -#: templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "Активируйте план %s" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php93, templates/account/partials/addon.php34, -#: templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "Автоматическое продление в %s" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php95, templates/account/partials/addon.php36, -#: templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "Окончание срока пользования через %s" - -#: templates/account.php96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "Синхронизация лицензии " - -#: templates/account.php97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "Отменить тестовый период " - -#: templates/account.php98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "Изменить план " - -#: templates/account.php99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "Сделать апгрейд" - -#: templates/account.php101, templates/account/partials/addon.php42, -#: templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "Понизить план " - -#: templates/account.php103, templates/add-ons.php130, -#: templates/plugin-info/features.php72, -#: templates/account/partials/addon.php44, -#: templates/account/partials/site.php:31 -msgid "Free" -msgstr "Бесплатная " - -#: templates/account.php104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "Активировать " - -#: templates/account.php105, templates/debug.php371, -#: includes/customizer/class-fs-customizer-upsell-control.php106, -#: templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "Тарифный план " - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "Бесплатный период пользования " - -#: templates/account.php:169 -msgid "Account Details" -msgstr " Детали" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "Удалив личный кабинет, Вы автоматически деактивируете лицензию на Ваш тарифный план %s, которую Вы можете использовать на других сайтах. Если Вы хотите также приостановить регулярные платежи, нажмите на кнопку \"Отмена\" и сначала измените свой тарифный план на бесплатный. Вы уверены, что хотите продолжить удаление?" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "Удаление личного кабинете не может быть произведено временно. Удалите только в случае если Вы больше не хотите пользоваться %s. Вы уверены, что хотите продолжить удаление? " - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "Удалить личный кабинет" - -#: templates/account.php196, templates/account/partials/addon.php159, -#: templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "Деактивировать лицензию " - -#: templates/account.php219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "Вы уверены, что хотите продолжить?" - -#: templates/account.php219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "Отменить подписку " - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "Синхронизировать " - -#: templates/account.php261, templates/debug.php:487 -msgid "Name" -msgstr "Имя" - -#: templates/account.php267, templates/debug.php:488 -msgid "Email" -msgstr "Электронный адрес " - -#: templates/account.php274, templates/debug.php370, templates/debug.php:526 -msgid "User ID" -msgstr "User ID " - -#: templates/account.php:282 -msgid "Site ID" -msgstr "Site ID" - -#: templates/account.php:285 -msgid "No ID" -msgstr "No ID" - -#: templates/account.php290, templates/debug.php243, templates/debug.php372, -#: templates/debug.php453, templates/debug.php490, -#: templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "Public Key " - -#: templates/account.php296, templates/debug.php373, templates/debug.php454, -#: templates/debug.php491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "Secret Key " - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "Нет секрета " - -#: templates/account.php318, templates/account/partials/site.php112, -#: templates/account/partials/site.php:114 -msgid "Trial" -msgstr "Тестовый период " - -#: templates/account.php337, templates/debug.php531, -#: templates/account/partials/site.php:248 -msgid "License Key" -msgstr "Лицензионный ключ " - -#: templates/account.php:367 -msgid "not verified" -msgstr "не подтвержден " - -#: templates/account.php376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "Срок действия закончился " - -#: templates/account.php:428 -msgid "Premium version" -msgstr "Премиум версия " - -#: templates/account.php:430 -msgid "Free version" -msgstr "Бесплатная версия " - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "Подтвердите электронный адрес " - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "Скачайте версию %s" - -#: templates/account.php467, templates/account.php649, -#: templates/account/partials/site.php237, -#: templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "Показать " - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "Какой Ваш %s?" - -#: templates/account.php489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "Редактировать " - -#: templates/account.php:502 -msgid "Sites" -msgstr "Сайтов " - -#: templates/account.php:513 -msgid "Search by address" -msgstr "Search by address" - -#: templates/account.php522, templates/account.php570, templates/debug.php236, -#: templates/debug.php364, templates/debug.php449, templates/debug.php486, -#: templates/debug.php524, templates/debug.php597, -#: templates/account/payments.php35, templates/debug/logger.php:21 -msgid "ID" -msgstr "ID" - -#: templates/account.php523, templates/debug.php:367 -msgid "Address" -msgstr "Address" - -#: templates/account.php:524 -msgid "License" -msgstr "Лицензия " - -#: templates/account.php:525 -msgid "Plan" -msgstr "Тарифный план " - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "Лицензия " - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "Спрятать " - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "Cancelling %s" - -#: templates/account.php686, templates/account.php703, -#: templates/forms/subscription-cancellation.php27, -#: templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "trial" - -#: templates/account.php701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "Cancelling %s..." - -#: templates/account.php704, templates/forms/subscription-cancellation.php28, -#: templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "subscription" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "Функционал для %s" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "Мы не можем загрузить список плагинов. Вероятно, произошла какая-то ошибка с нашей стороны. Пожалуйста, вернитесь на страницу через несколько минут. " - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "Смотреть детальней " - -#: templates/admin-notice.php13, templates/forms/license-activation.php208, -#: templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "Закрыть " - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "%s секунд " - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "Автоматическая установка " - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "Автоматическое скачивание и установка %s ( платной версии) %s начнется через %s. Если Вы хотите все сделать в ручном режиме, нажмите на кнопку \"Отменить\" сейчас. " - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "Процесс установки уже начат и может занять несколько минут. Пожалуйста, подождите окончания процесса и не обновляйте эту страницу. " - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "Отменить установку " - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "Оплата " - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "Жалоба PCI" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "Здравствуйте %s" - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "Разрешить и продолжить" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "Отправить письмо активации еще раз " - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "Спасибо %s" - -#: templates/connect.php172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "Согласиться и активировать лицензию " - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "Спасибо за покупку %s! Для того, чтобы начать введите свой лицензионный ключ:" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "Никогда не пропускайте важных оповещений - подпишитесь на наши уведомления о безопасности и новом функционале." - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "We're excited to introduce the Freemius network-level integration." - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "During the update process we detected %d site(s) that are still pending license activation." - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "%s's paid features" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "During the update process we detected %s site(s) in the network that are still pending your attention." - -#: templates/connect.php253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "Лицензионный ключ" - -#: templates/connect.php256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "Не можете найти лицензионный ключ? " - -#: templates/connect.php315, templates/connect.php630, -#: templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "Пропустить" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "Delegate to Site Admins" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "If you click it, this decision will be delegated to the sites administrators." - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "Просмотр Вашего профиля " - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "Имя и электронный адрес " - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "Просмотр Вашего сайта " - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "URL сайта, версия WP, информация о PHP, плагинах и шаблонах " - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "Админ заметки" - -#: templates/connect.php359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "Новости, объявления, маркетинг, без спама" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "Текущие события %s" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "Активация, деактивация и деинсталляция " - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "Рассылка " - -#: templates/connect.php391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "%1$s будет периодически присылать информацию %2$s с целью проверки безопасности, сообщения об обновлении функционала и подтверждения действия Вашей лицензии. " - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "Какие предоставляются разрешения?" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "У Вас нет лицензионного ключа?" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "Активировать бесплатную версию?" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "У Вас есть лицензионный ключ?" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "Политика Конфиденциальности" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "License Agreement" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "Пользовательское соглашение" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "Электронное письмо отправляется Вам на почту " - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "Активация " - -#: templates/contact.php:78 -msgid "Contact" -msgstr "Свяжитесь с нами" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "Выключить " - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "Включить " - -#: templates/debug.php:20 -msgid "SDK" -msgstr "SDK" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "Устранение ошибок" - -#: templates/debug.php54, templates/debug.php248, templates/debug.php374, -#: templates/debug.php:492 -msgid "Actions" -msgstr "Действия " - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "Вы уверенны, что хотите удалить все данные Freemius?" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "Удалить все аккаунты" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "Очистить кэш API" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "Clear Updates Transients" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "Синхронизация данных с сервера " - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "Migrate Options to Network" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "Загрузить опцию базы данных " - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "Установить опцию базы данных " - -#: templates/debug.php:180 -msgid "Key" -msgstr "Ключ " - -#: templates/debug.php:181 -msgid "Value" -msgstr "Значение " - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "Версии SDK" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "путь SDK" - -#: templates/debug.php203, templates/debug.php:242 -msgid "Module Path" -msgstr "Путь модуля " - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "активный " - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "Плагины " - -#: templates/debug.php232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "Шаблоны " - -#: templates/debug.php237, templates/debug.php369, templates/debug.php451, -#: templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "Описательная часть URL " - -#: templates/debug.php239, templates/debug.php:450 -msgid "Title" -msgstr "Название " - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "API" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "Cостояние Freemius " - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "Network Blog" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "Network User" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "Соединено " - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "Заблокировано " - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "Simulate Trial Promotion" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "Simulate Network Upgrade" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "%s установок " - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "Сайтов " - -#: templates/debug.php366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "Blog ID" - -#: templates/debug.php431, templates/debug.php509, -#: templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "Удалить" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "Функционал модуля %s" - -#: templates/debug.php:482 -msgid "Users" -msgstr "Пользователи " - -#: templates/debug.php:489 -msgid "Verified" -msgstr "Подтвержден " - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "%s лицензий " - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "ID плагина " - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "ID тарифного плана " - -#: templates/debug.php:528 -msgid "Quota" -msgstr "Выделенный объем памяти" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "Активирован " - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "Блокирование " - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "Срок пользования " - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "Журнал устранения ошибок " - -#: templates/debug.php:559 -msgid "All Types" -msgstr "Все типы" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "Все запросы " - -#: templates/debug.php571, templates/debug.php600, -#: templates/debug/logger.php:25 -msgid "File" -msgstr "Файл" - -#: templates/debug.php572, templates/debug.php598, -#: templates/debug/logger.php:23 -msgid "Function" -msgstr "Функция " - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "ID процесса " - -#: templates/debug.php:574 -msgid "Logger" -msgstr "Программа сохранения изменений " - -#: templates/debug.php575, templates/debug.php599, -#: templates/debug/logger.php:24 -msgid "Message" -msgstr "Сообщение " - -#: templates/debug.php:577 -msgid "Filter" -msgstr "Фильтр " - -#: templates/debug.php:585 -msgid "Download" -msgstr "Скачать " - -#: templates/debug.php596, templates/debug/logger.php:22 -msgid "Type" -msgstr "Тип" - -#: templates/debug.php601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "Маркер времени " - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "Безопасная страница HTTPS %s воспроизводится с внешнего ресурса " - -#: includes/customizer/class-fs-customizer-support-section.php55, -#: templates/plugin-info/features.php:43 -msgid "Support" -msgstr "Поддержка " - -#: includes/debug/class-fs-debug-bar-panel.php48, -#: templates/debug/api-calls.php54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "мс " - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "Freemius API" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "Запросы " - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "Обновить " - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "Система оплаты " - -#: templates/account/billing.php44, templates/account/billing.php:44 -msgid "Business name" -msgstr "Название бизнеса " - -#: templates/account/billing.php45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "ID налога/НДС " - -#: templates/account/billing.php48, templates/account/billing.php48, -#: templates/account/billing.php49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "Поле для адреса %d" - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "City" -msgstr "Город " - -#: templates/account/billing.php52, templates/account/billing.php:52 -msgid "Town" -msgstr "Населенный пункт " - -#: templates/account/billing.php53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "Индекс " - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "Страна " - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "Выбрать страну " - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "State" -msgstr "Штат " - -#: templates/account/billing.php317, templates/account/billing.php:318 -msgid "Province" -msgstr "Провинция " - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "Платежи" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "Дата " - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "Количество " - -#: templates/account/payments.php38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "Счет " - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "API" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "Метод " - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "Код" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "Длинна " - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "Путь " - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "Основная часть " - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "Результат" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "Начало" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "Конец " - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "Журнал изменений " - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php18, -#: templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "В %s" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php20, -#: templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "%s тому назад " - -#: templates/debug/plugins-themes-sync.php21, -#: templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "сек" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "Синхронизация плагинов и шаблонов " - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "Итого" - -#: templates/debug/plugins-themes-sync.php29, -#: templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "Последний " - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "Спланированные задачи" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "Модуль" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "Тип модуля " - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "Тип задачи" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "Следующий " - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "Бессрочный " - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "Подать заявку на партнерство " - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "Ваша заявка на партнерство с %s принята! Войдите в Ваш кабинет партнера на %s" - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "Спасибо за подачу заявки на партнерство. Мы рассмотрим Ваши данные на протяжении следующих 14 дней и свяжемся с Вами. " - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "Ваш партнерский аккаунт временно недоступен. " - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "Спасибо за подачу заявки на партнерство. К сожалению, мы приняли решение отказать Вам в этой возможности. Пожалуйста, повторите попытку через 30 дней. " - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "Из-за нарушения условий партнерства мы вынуждены временно заблокировать Ваш аккаунт. Если у Вас возникли вопросы, пожалуйста, обратитесь в службу поддержки. " - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "Вам нравится %s? Стань нашим партнером и зарабатывай ;-)" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "Порекомендуй % новым пользователям и зарабатывай %s c каждой успешной продажи. " - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "Краткое описание программы " - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "%s вознаграждения, если клиент купит новую лицензию." - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "Получай вознаграждение за автоматические продления пользования. " - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "%s данные cookies предоставляются после первого посещения, чтобы максимально увеличить вероятность заработка. " - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "Неограниченное вознаграждение " - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "% минимальная сумма выплаты " - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "Выплаты производятся в долларах США через PayPal." - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "Мы выделяем 30 дней для поступления возвратов и поэтому вознаграждения выплачиваются за покупки, которые были совершены более чем 30 дней назад." - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "Партнер" - -#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "Электронный адрес " - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "Полное имя" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "Электронный адрес аккаунта PayPal" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "Где Вы намерены продвигать %s?" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "Введите домен Вашего сайта или других сайтов на которых Вы намерены продвигать %s." - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "Добавьте другое доменное имя " - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "Дополнительные доменные имена " - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "Дополнительные доменные имена, где Вы будете продвигать продукт. " - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "Методы продвижения " - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "Социальные сети ( Facebook, Twitter, etc.)" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "Мобильные приложения " - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "Вебсайт, электронный адрес и статистика социальных сетей (не обязательно)" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "Пожалуйста, предоставьте соответственную статистику вебсайта или страницы социальных сетей, например, количество уникальных посетителей, количество подписчиков, читателей, т. д. ( эта информация останется конфиденциальной). " - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "Как Вы намерены продвигать нас?" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "Пожалуйста, предоставьте максимально детальную информацию о том, как Вы планируете продвигать %s." - -#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "Отмена " - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "Стать партнером" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "Пожалуйста введите лицензионный ключ, который Вы получили на электронный адрес сразу после покупки. " - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "Обновить лицензию" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "Отписаться " - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "Присоединится " - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "Данные о пользовании исследуются с целью усовершенствования %s и чтобы предоставить Вам лучший опыт, поставить приоритет на новых возможностях и важном функционале. Мы будем очень благодарны, если Вы пересмотрите Ваше решение и позволите нам обрабатывать информацию о пользовании нашим продуктом." - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "Если Вы нажмете \"Отписаться\", Вы больше не будете получать информацию от %s на %s." - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "There is a new version of %s available." - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr " %s to access version %s security & feature updates, and support." - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "New Version Available" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "Закрыть " - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "Отправить лицензионный ключ" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "Введите ниже адрес своей электронной почты, которую Вы использовали для обновлений и мы Вам отправим повторно Ваш лицензионный ключ. " - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "license" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "Cancel %s?" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "Proceed" - -#: templates/forms/subscription-cancellation.php191, -#: templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "Cancel %s & Proceed" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "Вы уже на расстоянии одного клика от начала Вашего бесплатного %1$s - дневного тестового периода по тарифному плану %2$s. " - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "В соответствии с руководством WordPress.org, перед началом тестового периода мы просим, чтобы Вы присоединились к нашему сообществу предоставив информацию о Вашем сайте и также Ваши личные данные, тем самым разрешив %s периодически отправлять сообщения на %s для уведомлений об обновлениях и подтверждения Вашего тестового периода. " - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "Премиум " - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "Activate license on all sites in the network." - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "Apply on all sites in the network." - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "Activate license on all pending sites." - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "Apply on all pending sites." - -#: templates/partials/network-activation.php36, -#: templates/partials/network-activation.php:68 -msgid "allow" -msgstr "allow" - -#: templates/partials/network-activation.php38, -#: templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "delegate" - -#: templates/partials/network-activation.php41, -#: templates/partials/network-activation.php:73 -msgid "skip" -msgstr "skip" - -#: templates/plugin-info/description.php72, -#: templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "Кликните, чтобы посмотреть снимок %d на широком экране. " - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "Неограниченные обновления " - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "Локальный хостинг " - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "Осталось %s " - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "Последняя лицензия " - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "Аннулирована " - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "Бессрочный период пользования " - -#: templates/account/partials/addon.php264, -#: templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "Активируйте этот функционал " - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "Owner Name" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "Owner Email" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "Owner ID" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "Subscription" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "Извините за неудобство. Мы будем рады помочь, если Вы нам предоставите эту возможность. " - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "Связаться со службой поддержки" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "Анонимный отзыв " - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "Деактивировать " - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "Активировать %s" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "Quick Feedback" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "Если у Вас есть время, пожалуйста, сообщите причину почему Вы %s" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "Деактивация " - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "Переключение " - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "Отправить&%s" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "Пожалуйста, укажите причину, чтобы мы могли исправиться. " - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "Да - %s" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "Пропустить & %s" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "Нажмите здесь, чтобы пользоваться плагином анонимно. " - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "Возможно, Вы не обратили внимание, но Вы не обязаны делиться никакими данными и можете просто % кнопку \"Присоединиться\". " diff --git a/freemius/languages/freemius.pot b/freemius/languages/freemius.pot deleted file mode 100644 index e6cc1d7..0000000 --- a/freemius/languages/freemius.pot +++ /dev/null @@ -1,2317 +0,0 @@ -# Copyright (C) 2019 freemius -# This file is distributed under the same license as the freemius package. -msgid "" -msgstr "" -"Project-Id-Version: freemius\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language-Team: Freemius Team \n" -"Last-Translator: Vova Feldman \n" -"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.js\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: includes/class-freemius.php:1688 -msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error." -msgstr "" - -#: includes/class-freemius.php:1690 -msgid "Error" -msgstr "" - -#: includes/class-freemius.php:2011 -msgid "I found a better %s" -msgstr "" - -#: includes/class-freemius.php:2013 -msgid "What's the %s's name?" -msgstr "" - -#: includes/class-freemius.php:2019 -msgid "It's a temporary %s. I'm just debugging an issue." -msgstr "" - -#: includes/class-freemius.php:2021 -msgid "Deactivation" -msgstr "" - -#: includes/class-freemius.php:2022 -msgid "Theme Switch" -msgstr "" - -#: includes/class-freemius.php:2031, templates/forms/resend-key.php:24 -msgid "Other" -msgstr "" - -#: includes/class-freemius.php:2039 -msgid "I no longer need the %s" -msgstr "" - -#: includes/class-freemius.php:2046 -msgid "I only needed the %s for a short period" -msgstr "" - -#: includes/class-freemius.php:2052 -msgid "The %s broke my site" -msgstr "" - -#: includes/class-freemius.php:2059 -msgid "The %s suddenly stopped working" -msgstr "" - -#: includes/class-freemius.php:2069 -msgid "I can't pay for it anymore" -msgstr "" - -#: includes/class-freemius.php:2071 -msgid "What price would you feel comfortable paying?" -msgstr "" - -#: includes/class-freemius.php:2077 -msgid "I don't like to share my information with you" -msgstr "" - -#: includes/class-freemius.php:2098 -msgid "The %s didn't work" -msgstr "" - -#: includes/class-freemius.php:2108 -msgid "I couldn't understand how to make it work" -msgstr "" - -#: includes/class-freemius.php:2116 -msgid "The %s is great, but I need specific feature that you don't support" -msgstr "" - -#: includes/class-freemius.php:2118 -msgid "What feature?" -msgstr "" - -#: includes/class-freemius.php:2122 -msgid "The %s is not working" -msgstr "" - -#: includes/class-freemius.php:2124 -msgid "Kindly share what didn't work so we can fix it for future users..." -msgstr "" - -#: includes/class-freemius.php:2128 -msgid "It's not what I was looking for" -msgstr "" - -#: includes/class-freemius.php:2130 -msgid "What you've been looking for?" -msgstr "" - -#: includes/class-freemius.php:2134 -msgid "The %s didn't work as expected" -msgstr "" - -#: includes/class-freemius.php:2136 -msgid "What did you expect?" -msgstr "" - -#: includes/class-freemius.php:2947, templates/debug.php:20 -msgid "Freemius Debug" -msgstr "" - -#: includes/class-freemius.php:3675 -msgid "I don't know what is cURL or how to install it, help me!" -msgstr "" - -#: includes/class-freemius.php:3677 -msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update." -msgstr "" - -#: includes/class-freemius.php:3684 -msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again." -msgstr "" - -#: includes/class-freemius.php:3789 -msgid "Yes - do your thing" -msgstr "" - -#: includes/class-freemius.php:3794 -msgid "No - just deactivate" -msgstr "" - -#: includes/class-freemius.php:3839, includes/class-freemius.php:4348, includes/class-freemius.php:5447, includes/class-freemius.php:11555, includes/class-freemius.php:14926, includes/class-freemius.php:14978, includes/class-freemius.php:15040, includes/class-freemius.php:17273, includes/class-freemius.php:17283, includes/class-freemius.php:17892, includes/class-freemius.php:18752, includes/class-freemius.php:18867, includes/class-freemius.php:19011, templates/add-ons.php:43 -msgctxt "exclamation" -msgid "Oops" -msgstr "" - -#: includes/class-freemius.php:3908 -msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience." -msgstr "" - -#: includes/class-freemius.php:4345 -msgctxt "addonX cannot run without pluginY" -msgid "%s cannot run without %s." -msgstr "" - -#: includes/class-freemius.php:4346 -msgctxt "addonX cannot run..." -msgid "%s cannot run without the plugin." -msgstr "" - -#: includes/class-freemius.php:4492, includes/class-freemius.php:4517, includes/class-freemius.php:17963 -msgid "Unexpected API error. Please contact the %s's author with the following error." -msgstr "" - -#: includes/class-freemius.php:5135 -msgid "Premium %s version was successfully activated." -msgstr "" - -#: includes/class-freemius.php:5147, includes/class-freemius.php:7009 -msgctxt "Used to express elation, enthusiasm, or triumph (especially in electronic communication)." -msgid "W00t" -msgstr "" - -#: includes/class-freemius.php:5162 -msgid "You have a %s license." -msgstr "" - -#: includes/class-freemius.php:5166, includes/class-freemius.php:14347, includes/class-freemius.php:14358, includes/class-freemius.php:17187, includes/class-freemius.php:17501, includes/class-freemius.php:17567, includes/class-freemius.php:17717 -msgctxt "interjection expressing joy or exuberance" -msgid "Yee-haw" -msgstr "" - -#: includes/class-freemius.php:5430 -msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license." -msgstr "" - -#: includes/class-freemius.php:5434 -msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin." -msgstr "" - -#: includes/class-freemius.php:5443, templates/add-ons.php:103, templates/account/partials/addon.php:288 -msgid "More information about %s" -msgstr "" - -#: includes/class-freemius.php:5444 -msgid "Purchase License" -msgstr "" - -#: includes/class-freemius.php:6377, templates/connect.php:163 -msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s." -msgstr "" - -#: includes/class-freemius.php:6381 -msgid "start the trial" -msgstr "" - -#: includes/class-freemius.php:6382, templates/connect.php:167 -msgid "complete the install" -msgstr "" - -#: includes/class-freemius.php:6495 -msgid "You are just one step away - %s" -msgstr "" - -#: includes/class-freemius.php:6498 -msgctxt "%s - plugin name. As complete \"PluginX\" activation now" -msgid "Complete \"%s\" Activation Now" -msgstr "" - -#: includes/class-freemius.php:6576 -msgid "We made a few tweaks to the %s, %s" -msgstr "" - -#: includes/class-freemius.php:6580 -msgid "Opt in to make \"%s\" better!" -msgstr "" - -#: includes/class-freemius.php:7008 -msgid "The upgrade of %s was successfully completed." -msgstr "" - -#: includes/class-freemius.php:8935, includes/class-fs-plugin-updater.php:886, includes/class-fs-plugin-updater.php:1081, includes/class-fs-plugin-updater.php:1088, templates/auto-installation.php:32 -msgid "Add-On" -msgstr "" - -#: includes/class-freemius.php:8937, templates/debug.php:359, templates/debug.php:520 -msgid "Plugin" -msgstr "" - -#: includes/class-freemius.php:8938, templates/debug.php:359, templates/debug.php:520, templates/forms/deactivation/form.php:67 -msgid "Theme" -msgstr "" - -#: includes/class-freemius.php:11422 -msgid "Invalid site details collection." -msgstr "" - -#: includes/class-freemius.php:11542 -msgid "We couldn't find your email address in the system, are you sure it's the right address?" -msgstr "" - -#: includes/class-freemius.php:11544 -msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?" -msgstr "" - -#: includes/class-freemius.php:11818 -msgid "Account is pending activation." -msgstr "" - -#: includes/class-freemius.php:11930, templates/forms/premium-versions-upgrade-handler.php:47 -msgid "Buy a license now" -msgstr "" - -#: includes/class-freemius.php:11942, templates/forms/premium-versions-upgrade-handler.php:46 -msgid "Renew your license now" -msgstr "" - -#: includes/class-freemius.php:11946 -msgid "%s to access version %s security & feature updates, and support." -msgstr "" - -#: includes/class-freemius.php:14329 -msgid "%s activation was successfully completed." -msgstr "" - -#: includes/class-freemius.php:14343 -msgid "Your account was successfully activated with the %s plan." -msgstr "" - -#: includes/class-freemius.php:14354, includes/class-freemius.php:17563 -msgid "Your trial has been successfully started." -msgstr "" - -#: includes/class-freemius.php:14924, includes/class-freemius.php:14976, includes/class-freemius.php:15038 -msgid "Couldn't activate %s." -msgstr "" - -#: includes/class-freemius.php:14925, includes/class-freemius.php:14977, includes/class-freemius.php:15039 -msgid "Please contact us with the following message:" -msgstr "" - -#: includes/class-freemius.php:15388, includes/class-freemius.php:19849 -msgid "Upgrade" -msgstr "" - -#: includes/class-freemius.php:15394 -msgid "Start Trial" -msgstr "" - -#: includes/class-freemius.php:15396 -msgid "Pricing" -msgstr "" - -#: includes/class-freemius.php:15458, includes/class-freemius.php:15460 -msgid "Affiliation" -msgstr "" - -#: includes/class-freemius.php:15488, includes/class-freemius.php:15490, templates/account.php:150, templates/debug.php:324 -msgid "Account" -msgstr "" - -#: includes/class-freemius.php:15503, includes/class-freemius.php:15505, includes/customizer/class-fs-customizer-support-section.php:60 -msgid "Contact Us" -msgstr "" - -#: includes/class-freemius.php:15515, includes/class-freemius.php:15517, includes/class-freemius.php:19859, templates/account.php:100, templates/account/partials/addon.php:41 -msgid "Add-Ons" -msgstr "" - -#: includes/class-freemius.php:15551 -msgctxt "ASCII arrow left icon" -msgid "←" -msgstr "" - -#: includes/class-freemius.php:15551 -msgctxt "ASCII arrow right icon" -msgid "➤" -msgstr "" - -#: includes/class-freemius.php:15553, templates/pricing.php:97 -msgctxt "noun" -msgid "Pricing" -msgstr "" - -#: includes/class-freemius.php:15766, includes/customizer/class-fs-customizer-support-section.php:67 -msgid "Support Forum" -msgstr "" - -#: includes/class-freemius.php:16552 -msgid "Your email has been successfully verified - you are AWESOME!" -msgstr "" - -#: includes/class-freemius.php:16553 -msgctxt "a positive response" -msgid "Right on" -msgstr "" - -#: includes/class-freemius.php:17178 -msgid "Your %s Add-on plan was successfully upgraded." -msgstr "" - -#: includes/class-freemius.php:17180 -msgid "%s Add-on was successfully purchased." -msgstr "" - -#: includes/class-freemius.php:17183 -msgid "Download the latest version" -msgstr "" - -#: includes/class-freemius.php:17269 -msgctxt "%1s - plugin title, %2s - API domain" -msgid "Your server is blocking the access to Freemius' API, which is crucial for %1s synchronization. Please contact your host to whitelist %2s" -msgstr "" - -#: includes/class-freemius.php:17272, includes/class-freemius.php:17688, includes/class-freemius.php:17765 -msgid "Error received from the server:" -msgstr "" - -#: includes/class-freemius.php:17282 -msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again." -msgstr "" - -#: includes/class-freemius.php:17464, includes/class-freemius.php:17693, includes/class-freemius.php:17736, includes/class-freemius.php:17839 -msgctxt "something somebody says when they are thinking about what you have just said." -msgid "Hmm" -msgstr "" - -#: includes/class-freemius.php:17477 -msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry." -msgstr "" - -#: includes/class-freemius.php:17478, templates/account.php:102, templates/add-ons.php:134, templates/account/partials/addon.php:43 -msgctxt "trial period" -msgid "Trial" -msgstr "" - -#: includes/class-freemius.php:17483 -msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s." -msgstr "" - -#: includes/class-freemius.php:17487, includes/class-freemius.php:17545 -msgid "Please contact us here" -msgstr "" - -#: includes/class-freemius.php:17497 -msgid "Your plan was successfully upgraded." -msgstr "" - -#: includes/class-freemius.php:17515 -msgid "Your plan was successfully changed to %s." -msgstr "" - -#: includes/class-freemius.php:17531 -msgid "Your license has expired. You can still continue using the free %s forever." -msgstr "" - -#: includes/class-freemius.php:17533 -msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "" - -#: includes/class-freemius.php:17541 -msgid "Your license has been cancelled. If you think it's a mistake, please contact support." -msgstr "" - -#: includes/class-freemius.php:17554 -msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support." -msgstr "" - -#: includes/class-freemius.php:17577 -msgid "Your free trial has expired. You can still continue using all our free features." -msgstr "" - -#: includes/class-freemius.php:17579 -msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions." -msgstr "" - -#: includes/class-freemius.php:17684 -msgid "It looks like the license could not be activated." -msgstr "" - -#: includes/class-freemius.php:17714 -msgid "Your license was successfully activated." -msgstr "" - -#: includes/class-freemius.php:17740 -msgid "It looks like your site currently doesn't have an active license." -msgstr "" - -#: includes/class-freemius.php:17764 -msgid "It looks like the license deactivation failed." -msgstr "" - -#: includes/class-freemius.php:17792 -msgid "Your license was successfully deactivated, you are back to the %s plan." -msgstr "" - -#: includes/class-freemius.php:17793 -msgid "O.K" -msgstr "" - -#: includes/class-freemius.php:17846 -msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes." -msgstr "" - -#: includes/class-freemius.php:17855 -msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s." -msgstr "" - -#: includes/class-freemius.php:17897 -msgid "You are already running the %s in a trial mode." -msgstr "" - -#: includes/class-freemius.php:17908 -msgid "You already utilized a trial before." -msgstr "" - -#: includes/class-freemius.php:17922 -msgid "Plan %s do not exist, therefore, can't start a trial." -msgstr "" - -#: includes/class-freemius.php:17933 -msgid "Plan %s does not support a trial period." -msgstr "" - -#: includes/class-freemius.php:17944 -msgid "None of the %s's plans supports a trial period." -msgstr "" - -#: includes/class-freemius.php:17994 -msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)" -msgstr "" - -#: includes/class-freemius.php:18030 -msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes." -msgstr "" - -#: includes/class-freemius.php:18049 -msgid "Your %s free trial was successfully cancelled." -msgstr "" - -#: includes/class-freemius.php:18356 -msgid "Version %s was released." -msgstr "" - -#: includes/class-freemius.php:18356 -msgid "Please download %s." -msgstr "" - -#: includes/class-freemius.php:18363 -msgid "the latest %s version here" -msgstr "" - -#: includes/class-freemius.php:18368 -msgid "New" -msgstr "" - -#: includes/class-freemius.php:18373 -msgid "Seems like you got the latest release." -msgstr "" - -#: includes/class-freemius.php:18374 -msgid "You are all good!" -msgstr "" - -#: includes/class-freemius.php:18642 -msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box." -msgstr "" - -#: includes/class-freemius.php:18779 -msgid "Site successfully opted in." -msgstr "" - -#: includes/class-freemius.php:18780, includes/class-freemius.php:19591 -msgid "Awesome" -msgstr "" - -#: includes/class-freemius.php:18796, templates/forms/optout.php:32 -msgid "We appreciate your help in making the %s better by letting us track some usage data." -msgstr "" - -#: includes/class-freemius.php:18797 -msgid "Thank you!" -msgstr "" - -#: includes/class-freemius.php:18804 -msgid "We will no longer be sending any usage data of %s on %s to %s." -msgstr "" - -#: includes/class-freemius.php:18933 -msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder." -msgstr "" - -#: includes/class-freemius.php:18939 -msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval." -msgstr "" - -#: includes/class-freemius.php:18944 -msgid "%s is the new owner of the account." -msgstr "" - -#: includes/class-freemius.php:18946 -msgctxt "as congratulations" -msgid "Congrats" -msgstr "" - -#: includes/class-freemius.php:18966 -msgid "Sorry, we could not complete the email update. Another user with the same email is already registered." -msgstr "" - -#: includes/class-freemius.php:18967 -msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button." -msgstr "" - -#: includes/class-freemius.php:18974 -msgid "Change Ownership" -msgstr "" - -#: includes/class-freemius.php:18982 -msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments." -msgstr "" - -#: includes/class-freemius.php:18994 -msgid "Please provide your full name." -msgstr "" - -#: includes/class-freemius.php:18999 -msgid "Your name was successfully updated." -msgstr "" - -#: includes/class-freemius.php:19060 -msgid "You have successfully updated your %s." -msgstr "" - -#: includes/class-freemius.php:19200 -msgid "Just letting you know that the add-ons information of %s is being pulled from an external server." -msgstr "" - -#: includes/class-freemius.php:19201 -msgctxt "advance notice of something that will need attention." -msgid "Heads up" -msgstr "" - -#: includes/class-freemius.php:19631 -msgctxt "exclamation" -msgid "Hey" -msgstr "" - -#: includes/class-freemius.php:19631 -msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial." -msgstr "" - -#: includes/class-freemius.php:19639 -msgid "No commitment for %s days - cancel anytime!" -msgstr "" - -#: includes/class-freemius.php:19640 -msgid "No credit card required" -msgstr "" - -#: includes/class-freemius.php:19647, templates/forms/trial-start.php:53 -msgctxt "call to action" -msgid "Start free trial" -msgstr "" - -#: includes/class-freemius.php:19724 -msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!" -msgstr "" - -#: includes/class-freemius.php:19733 -msgid "Learn more" -msgstr "" - -#: includes/class-freemius.php:19883, templates/account.php:406, templates/account.php:509, templates/connect.php:171, templates/connect.php:421, templates/forms/license-activation.php:24, templates/account/partials/addon.php:235 -msgid "Activate License" -msgstr "" - -#: includes/class-freemius.php:19884, templates/account.php:469, templates/account.php:508, templates/account/partials/site.php:256 -msgid "Change License" -msgstr "" - -#: includes/class-freemius.php:19966, templates/account/partials/site.php:161 -msgid "Opt Out" -msgstr "" - -#: includes/class-freemius.php:19968, includes/class-freemius.php:19973, templates/account/partials/site.php:43, templates/account/partials/site.php:161 -msgid "Opt In" -msgstr "" - -#: includes/class-freemius.php:20197 -msgid " The paid version of %1s is already installed. Please activate it to start benefiting the %2s features. %3s" -msgstr "" - -#: includes/class-freemius.php:20205 -msgid "Activate %s features" -msgstr "" - -#: includes/class-freemius.php:20218 -msgid "Please follow these steps to complete the upgrade" -msgstr "" - -#: includes/class-freemius.php:20222 -msgid "Download the latest %s version" -msgstr "" - -#: includes/class-freemius.php:20226 -msgid "Upload and activate the downloaded version" -msgstr "" - -#: includes/class-freemius.php:20228 -msgid "How to upload and activate?" -msgstr "" - -#: includes/class-freemius.php:20362 -msgid "%sClick here%s to choose the sites where you'd like to activate the license on." -msgstr "" - -#: includes/class-freemius.php:20523 -msgid "Auto installation only works for opted-in users." -msgstr "" - -#: includes/class-freemius.php:20533, includes/class-freemius.php:20566, includes/class-fs-plugin-updater.php:1060, includes/class-fs-plugin-updater.php:1074 -msgid "Invalid module ID." -msgstr "" - -#: includes/class-freemius.php:20542, includes/class-fs-plugin-updater.php:1096 -msgid "Premium version already active." -msgstr "" - -#: includes/class-freemius.php:20549 -msgid "You do not have a valid license to access the premium version." -msgstr "" - -#: includes/class-freemius.php:20556 -msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version." -msgstr "" - -#: includes/class-freemius.php:20574, includes/class-fs-plugin-updater.php:1095 -msgid "Premium add-on version already installed." -msgstr "" - -#: includes/class-freemius.php:20919 -msgid "View paid features" -msgstr "" - -#: includes/class-freemius.php:21239 -msgid "Thank you so much for using %s and its add-ons!" -msgstr "" - -#: includes/class-freemius.php:21240 -msgid "Thank you so much for using %s!" -msgstr "" - -#: includes/class-freemius.php:21246 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s." -msgstr "" - -#: includes/class-freemius.php:21250 -msgid "Thank you so much for using our products!" -msgstr "" - -#: includes/class-freemius.php:21251 -msgid "You've already opted-in to our usage-tracking, which helps us keep improving them." -msgstr "" - -#: includes/class-freemius.php:21270 -msgid "%s and its add-ons" -msgstr "" - -#: includes/class-freemius.php:21279 -msgid "Products" -msgstr "" - -#: includes/class-freemius.php:21286, templates/connect.php:272 -msgid "Yes" -msgstr "" - -#: includes/class-freemius.php:21287, templates/connect.php:273 -msgid "send me security & feature updates, educational content and offers." -msgstr "" - -#: includes/class-freemius.php:21288, templates/connect.php:278 -msgid "No" -msgstr "" - -#: includes/class-freemius.php:21290, templates/connect.php:280 -msgid "do %sNOT%s send me security & feature updates, educational content and offers." -msgstr "" - -#: includes/class-freemius.php:21300 -msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂" -msgstr "" - -#: includes/class-freemius.php:21302, templates/connect.php:287 -msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:" -msgstr "" - -#: includes/class-freemius.php:21584 -msgid "License key is empty." -msgstr "" - -#: includes/class-fs-plugin-updater.php:184, templates/forms/premium-versions-upgrade-handler.php:57 -msgid "Renew license" -msgstr "" - -#: includes/class-fs-plugin-updater.php:189, templates/forms/premium-versions-upgrade-handler.php:58 -msgid "Buy license" -msgstr "" - -#: includes/class-fs-plugin-updater.php:278 -msgid "There is a %s of %s available." -msgstr "" - -#: includes/class-fs-plugin-updater.php:282 -msgid "new version" -msgstr "" - -#: includes/class-fs-plugin-updater.php:305 -msgid "Important Upgrade Notice:" -msgstr "" - -#: includes/class-fs-plugin-updater.php:1125 -msgid "Installing plugin: %s" -msgstr "" - -#: includes/class-fs-plugin-updater.php:1166 -msgid "Unable to connect to the filesystem. Please confirm your credentials." -msgstr "" - -#: includes/class-fs-plugin-updater.php:1348 -msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work." -msgstr "" - -#: includes/fs-plugin-info-dialog.php:369, templates/account/partials/addon.php:292 -msgctxt "verb" -msgid "Purchase" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:372 -msgid "Start my free %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:413 -msgid "Install Free Version Now" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:414, templates/auto-installation.php:111, templates/account/partials/addon.php:272, templates/account/partials/addon.php:322 -msgid "Install Now" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:425 -msgctxt "as download latest version" -msgid "Download Latest Free Version" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:426, templates/account.php:80, templates/account/partials/addon.php:21 -msgctxt "as download latest version" -msgid "Download Latest" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:436 -msgid "Install Free Version Update Now" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:437, templates/account.php:460 -msgid "Install Update Now" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:448 -msgid "Newer Free Version (%s) Installed" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:449 -msgid "Newer Version (%s) Installed" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:457 -msgid "Latest Free Version Installed" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:458 -msgid "Latest Version Installed" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:613 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:614 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:615 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:616, templates/plugin-info/description.php:55 -msgid "Screenshots" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:617 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:618 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:619 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:634 -msgctxt "Plugin installer section title" -msgid "Features & Pricing" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:644 -msgid "Plugin Install" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:716 -msgctxt "e.g. Professional Plan" -msgid "%s Plan" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:742 -msgctxt "e.g. the best product" -msgid "Best" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:748, includes/fs-plugin-info-dialog.php:768 -msgctxt "as every month" -msgid "Monthly" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:751 -msgctxt "as once a year" -msgid "Annual" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:754 -msgid "Lifetime" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:768, includes/fs-plugin-info-dialog.php:770, includes/fs-plugin-info-dialog.php:772 -msgctxt "e.g. billed monthly" -msgid "Billed %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:770 -msgctxt "as once a year" -msgid "Annually" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:772 -msgctxt "as once a year" -msgid "Once" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:778 -msgid "Single Site License" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:780 -msgid "Unlimited Licenses" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:782 -msgid "Up to %s Sites" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:792, templates/plugin-info/features.php:82 -msgctxt "as monthly period" -msgid "mo" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:799, templates/plugin-info/features.php:80 -msgctxt "as annual period" -msgid "year" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:853 -msgctxt "noun" -msgid "Price" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:901 -msgid "Save %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:911 -msgid "No commitment for %s - cancel anytime" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:914 -msgid "After your free %s, pay as little as %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:925 -msgid "Details" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:929, templates/account.php:91, templates/debug.php:201, templates/debug.php:238, templates/debug.php:452, templates/account/partials/addon.php:32 -msgctxt "product version" -msgid "Version" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:936 -msgctxt "as the plugin author" -msgid "Author" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:943 -msgid "Last Updated" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:948, templates/account.php:376 -msgctxt "x-ago" -msgid "%s ago" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:957 -msgid "Requires WordPress Version" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:958 -msgid "%s or higher" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:965 -msgid "Compatible up to" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:973 -msgid "Downloaded" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:977 -msgid "%s time" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:979 -msgid "%s times" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:989 -msgid "WordPress.org Plugin Page" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:997 -msgid "Plugin Homepage" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1005, includes/fs-plugin-info-dialog.php:1087 -msgid "Donate to this plugin" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1012 -msgid "Average Rating" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1019 -msgid "based on %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1023 -msgid "%s rating" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1025 -msgid "%s ratings" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1040 -msgid "%s star" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1042 -msgid "%s stars" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1053 -msgid "Click to see reviews that provided a rating of %s" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1066 -msgid "Contributors" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1095, includes/fs-plugin-info-dialog.php:1097 -msgid "Warning" -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1095 -msgid "This plugin has not been tested with your current version of WordPress." -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1097 -msgid "This plugin has not been marked as compatible with your version of WordPress." -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1116 -msgid "Paid add-on must be deployed to Freemius." -msgstr "" - -#: includes/fs-plugin-info-dialog.php:1117 -msgid "Add-on must be deployed to WordPress.org or Freemius." -msgstr "" - -#: templates/account.php:81, templates/forms/subscription-cancellation.php:96, templates/account/partials/addon.php:22, templates/account/partials/site.php:295 -msgid "Downgrading your plan" -msgstr "" - -#: templates/account.php:82, templates/forms/subscription-cancellation.php:97, templates/account/partials/addon.php:23, templates/account/partials/site.php:296 -msgid "Cancelling the subscription" -msgstr "" - -#. translators: %1s: Either 'Downgrading your plan' or 'Cancelling the subscription' -#: templates/account.php:84, templates/forms/subscription-cancellation.php:99, templates/account/partials/addon.php:25, templates/account/partials/site.php:298 -msgid "%1s will immediately stop all future recurring payments and your %s plan license will expire in %s." -msgstr "" - -#: templates/account.php:85, templates/forms/subscription-cancellation.php:100, templates/account/partials/addon.php:26, templates/account/partials/site.php:299 -msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price." -msgstr "" - -#: templates/account.php:86, templates/forms/subscription-cancellation.php:106, templates/account/partials/addon.php:27 -msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?" -msgstr "" - -#: templates/account.php:87, templates/forms/subscription-cancellation.php:101, templates/account/partials/addon.php:28, templates/account/partials/site.php:300 -msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support." -msgstr "" - -#: templates/account.php:88, templates/forms/subscription-cancellation.php:102, templates/account/partials/addon.php:29, templates/account/partials/site.php:301 -msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features." -msgstr "" - -#. translators: %s: Plan title (e.g. "Professional") -#: templates/account.php:90, templates/account/partials/activate-license-button.php:31, templates/account/partials/addon.php:31 -msgid "Activate %s Plan" -msgstr "" - -#. translators: %s: Time period (e.g. Auto renews in "2 months") -#: templates/account.php:93, templates/account/partials/addon.php:34, templates/account/partials/site.php:275 -msgid "Auto renews in %s" -msgstr "" - -#. translators: %s: Time period (e.g. Expires in "2 months") -#: templates/account.php:95, templates/account/partials/addon.php:36, templates/account/partials/site.php:277 -msgid "Expires in %s" -msgstr "" - -#: templates/account.php:96, templates/account/partials/addon.php:37 -msgctxt "as synchronize license" -msgid "Sync License" -msgstr "" - -#: templates/account.php:97, templates/account/partials/addon.php:38 -msgid "Cancel Trial" -msgstr "" - -#: templates/account.php:98, templates/account/partials/addon.php:39 -msgid "Change Plan" -msgstr "" - -#: templates/account.php:99, templates/account/partials/addon.php:40 -msgctxt "verb" -msgid "Upgrade" -msgstr "" - -#: templates/account.php:101, templates/account/partials/addon.php:42, templates/account/partials/site.php:302 -msgctxt "verb" -msgid "Downgrade" -msgstr "" - -#: templates/account.php:103, templates/add-ons.php:130, templates/plugin-info/features.php:72, templates/account/partials/addon.php:44, templates/account/partials/site.php:31 -msgid "Free" -msgstr "" - -#: templates/account.php:104, templates/account/partials/addon.php:45 -msgid "Activate" -msgstr "" - -#: templates/account.php:105, templates/debug.php:371, includes/customizer/class-fs-customizer-upsell-control.php:106, templates/account/partials/addon.php:46 -msgctxt "as product pricing plan" -msgid "Plan" -msgstr "" - -#: templates/account.php:158 -msgid "Free Trial" -msgstr "" - -#: templates/account.php:169 -msgid "Account Details" -msgstr "" - -#: templates/account.php:179 -msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?" -msgstr "" - -#: templates/account.php:181 -msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?" -msgstr "" - -#: templates/account.php:184 -msgid "Delete Account" -msgstr "" - -#: templates/account.php:196, templates/account/partials/addon.php:159, templates/account/partials/deactivate-license-button.php:35 -msgid "Deactivate License" -msgstr "" - -#: templates/account.php:219, templates/forms/subscription-cancellation.php:125 -msgid "Are you sure you want to proceed?" -msgstr "" - -#: templates/account.php:219, templates/account/partials/addon.php:182 -msgid "Cancel Subscription" -msgstr "" - -#: templates/account.php:247 -msgctxt "as synchronize" -msgid "Sync" -msgstr "" - -#: templates/account.php:261, templates/debug.php:487 -msgid "Name" -msgstr "" - -#: templates/account.php:267, templates/debug.php:488 -msgid "Email" -msgstr "" - -#: templates/account.php:274, templates/debug.php:370, templates/debug.php:526 -msgid "User ID" -msgstr "" - -#: templates/account.php:282 -msgid "Site ID" -msgstr "" - -#: templates/account.php:285 -msgid "No ID" -msgstr "" - -#: templates/account.php:290, templates/debug.php:243, templates/debug.php:372, templates/debug.php:453, templates/debug.php:490, templates/account/partials/site.php:219 -msgid "Public Key" -msgstr "" - -#: templates/account.php:296, templates/debug.php:373, templates/debug.php:454, templates/debug.php:491, templates/account/partials/site.php:231 -msgid "Secret Key" -msgstr "" - -#: templates/account.php:299 -msgctxt "as secret encryption key missing" -msgid "No Secret" -msgstr "" - -#: templates/account.php:318, templates/account/partials/site.php:112, templates/account/partials/site.php:114 -msgid "Trial" -msgstr "" - -#: templates/account.php:337, templates/debug.php:531, templates/account/partials/site.php:248 -msgid "License Key" -msgstr "" - -#: templates/account.php:367 -msgid "not verified" -msgstr "" - -#: templates/account.php:376, templates/account/partials/addon.php:120 -msgid "Expired" -msgstr "" - -#: templates/account.php:428 -msgid "Premium version" -msgstr "" - -#: templates/account.php:430 -msgid "Free version" -msgstr "" - -#: templates/account.php:442 -msgid "Verify Email" -msgstr "" - -#: templates/account.php:453 -msgid "Download %s Version" -msgstr "" - -#: templates/account.php:467, templates/account.php:649, templates/account/partials/site.php:237, templates/account/partials/site.php:255 -msgctxt "verb" -msgid "Show" -msgstr "" - -#: templates/account.php:481 -msgid "What is your %s?" -msgstr "" - -#: templates/account.php:489, templates/account/billing.php:27 -msgctxt "verb" -msgid "Edit" -msgstr "" - -#: templates/account.php:502 -msgid "Sites" -msgstr "" - -#: templates/account.php:513 -msgid "Search by address" -msgstr "" - -#: templates/account.php:522, templates/account.php:570, templates/debug.php:236, templates/debug.php:364, templates/debug.php:449, templates/debug.php:486, templates/debug.php:524, templates/debug.php:597, templates/account/payments.php:35, templates/debug/logger.php:21 -msgid "ID" -msgstr "" - -#: templates/account.php:523, templates/debug.php:367 -msgid "Address" -msgstr "" - -#: templates/account.php:524 -msgid "License" -msgstr "" - -#: templates/account.php:525 -msgid "Plan" -msgstr "" - -#: templates/account.php:573 -msgctxt "as software license" -msgid "License" -msgstr "" - -#: templates/account.php:643 -msgctxt "verb" -msgid "Hide" -msgstr "" - -#: templates/account.php:686 -msgid "Cancelling %s" -msgstr "" - -#: templates/account.php:686, templates/account.php:703, templates/forms/subscription-cancellation.php:27, templates/forms/deactivation/form.php:117 -msgid "trial" -msgstr "" - -#: templates/account.php:701, templates/forms/deactivation/form.php:134 -msgid "Cancelling %s..." -msgstr "" - -#: templates/account.php:704, templates/forms/subscription-cancellation.php:28, templates/forms/deactivation/form.php:118 -msgid "subscription" -msgstr "" - -#: templates/account.php:718 -msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?" -msgstr "" - -#: templates/add-ons.php:36 -msgid "Add Ons for %s" -msgstr "" - -#: templates/add-ons.php:44 -msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes." -msgstr "" - -#: templates/add-ons.php:139 -msgid "View details" -msgstr "" - -#: templates/admin-notice.php:13, templates/forms/license-activation.php:208, templates/forms/resend-key.php:77 -msgctxt "as close a window" -msgid "Dismiss" -msgstr "" - -#: templates/auto-installation.php:45 -msgid "%s sec" -msgstr "" - -#: templates/auto-installation.php:83 -msgid "Automatic Installation" -msgstr "" - -#: templates/auto-installation.php:93 -msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now." -msgstr "" - -#: templates/auto-installation.php:104 -msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page." -msgstr "" - -#: templates/auto-installation.php:109 -msgid "Cancel Installation" -msgstr "" - -#: templates/checkout.php:172 -msgid "Checkout" -msgstr "" - -#: templates/checkout.php:172 -msgid "PCI compliant" -msgstr "" - -#. translators: %s: name (e.g. Hey John,) -#: templates/connect.php:112 -msgctxt "greeting" -msgid "Hey %s," -msgstr "" - -#: templates/connect.php:154 -msgid "Allow & Continue" -msgstr "" - -#: templates/connect.php:158 -msgid "Re-send activation email" -msgstr "" - -#: templates/connect.php:162 -msgid "Thanks %s!" -msgstr "" - -#: templates/connect.php:172, templates/forms/license-activation.php:43 -msgid "Agree & Activate License" -msgstr "" - -#: templates/connect.php:181 -msgid "Thanks for purchasing %s! To get started, please enter your license key:" -msgstr "" - -#: templates/connect.php:188 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s." -msgstr "" - -#: templates/connect.php:189 -msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s." -msgstr "" - -#: templates/connect.php:195 -msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "" - -#: templates/connect.php:196 -msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine." -msgstr "" - -#: templates/connect.php:230 -msgid "We're excited to introduce the Freemius network-level integration." -msgstr "" - -#: templates/connect.php:233 -msgid "During the update process we detected %d site(s) that are still pending license activation." -msgstr "" - -#: templates/connect.php:235 -msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button." -msgstr "" - -#: templates/connect.php:237 -msgid "%s's paid features" -msgstr "" - -#: templates/connect.php:242 -msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page." -msgstr "" - -#: templates/connect.php:244 -msgid "During the update process we detected %s site(s) in the network that are still pending your attention." -msgstr "" - -#: templates/connect.php:253, templates/forms/license-activation.php:46 -msgid "License key" -msgstr "" - -#: templates/connect.php:256, templates/forms/license-activation.php:19 -msgid "Can't find your license key?" -msgstr "" - -#: templates/connect.php:315, templates/connect.php:630, templates/forms/deactivation/retry-skip.php:20 -msgctxt "verb" -msgid "Skip" -msgstr "" - -#: templates/connect.php:318 -msgid "Delegate to Site Admins" -msgstr "" - -#: templates/connect.php:318 -msgid "If you click it, this decision will be delegated to the sites administrators." -msgstr "" - -#: templates/connect.php:346 -msgid "Your Profile Overview" -msgstr "" - -#: templates/connect.php:347 -msgid "Name and email address" -msgstr "" - -#: templates/connect.php:352 -msgid "Your Site Overview" -msgstr "" - -#: templates/connect.php:353 -msgid "Site URL, WP version, PHP info, plugins & themes" -msgstr "" - -#: templates/connect.php:358 -msgid "Admin Notices" -msgstr "" - -#: templates/connect.php:359, templates/connect.php:375 -msgid "Updates, announcements, marketing, no spam" -msgstr "" - -#: templates/connect.php:364 -msgid "Current %s Events" -msgstr "" - -#: templates/connect.php:365 -msgid "Activation, deactivation and uninstall" -msgstr "" - -#: templates/connect.php:374 -msgid "Newsletter" -msgstr "" - -#: templates/connect.php:391, templates/forms/license-activation.php:38 -msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license." -msgstr "" - -#: templates/connect.php:396 -msgid "What permissions are being granted?" -msgstr "" - -#: templates/connect.php:417 -msgid "Don't have a license key?" -msgstr "" - -#: templates/connect.php:418 -msgid "Activate Free Version" -msgstr "" - -#: templates/connect.php:420 -msgid "Have a license key?" -msgstr "" - -#: templates/connect.php:428 -msgid "Privacy Policy" -msgstr "" - -#: templates/connect.php:430 -msgid "License Agreement" -msgstr "" - -#: templates/connect.php:430 -msgid "Terms of Service" -msgstr "" - -#: templates/connect.php:766 -msgctxt "as in the process of sending an email" -msgid "Sending email" -msgstr "" - -#: templates/connect.php:767 -msgctxt "as activating plugin" -msgid "Activating" -msgstr "" - -#: templates/contact.php:78 -msgid "Contact" -msgstr "" - -#: templates/debug.php:17 -msgctxt "as turned off" -msgid "Off" -msgstr "" - -#: templates/debug.php:18 -msgctxt "as turned on" -msgid "On" -msgstr "" - -#: templates/debug.php:20 -msgid "SDK" -msgstr "" - -#: templates/debug.php:24 -msgctxt "as code debugging" -msgid "Debugging" -msgstr "" - -#: templates/debug.php:54, templates/debug.php:248, templates/debug.php:374, templates/debug.php:492 -msgid "Actions" -msgstr "" - -#: templates/debug.php:64 -msgid "Are you sure you want to delete all Freemius data?" -msgstr "" - -#: templates/debug.php:64 -msgid "Delete All Accounts" -msgstr "" - -#: templates/debug.php:71 -msgid "Clear API Cache" -msgstr "" - -#: templates/debug.php:79 -msgid "Clear Updates Transients" -msgstr "" - -#: templates/debug.php:86 -msgid "Sync Data From Server" -msgstr "" - -#: templates/debug.php:95 -msgid "Migrate Options to Network" -msgstr "" - -#: templates/debug.php:100 -msgid "Load DB Option" -msgstr "" - -#: templates/debug.php:103 -msgid "Set DB Option" -msgstr "" - -#: templates/debug.php:180 -msgid "Key" -msgstr "" - -#: templates/debug.php:181 -msgid "Value" -msgstr "" - -#: templates/debug.php:197 -msgctxt "as software development kit versions" -msgid "SDK Versions" -msgstr "" - -#: templates/debug.php:202 -msgid "SDK Path" -msgstr "" - -#: templates/debug.php:203, templates/debug.php:242 -msgid "Module Path" -msgstr "" - -#: templates/debug.php:204 -msgid "Is Active" -msgstr "" - -#: templates/debug.php:232, templates/debug/plugins-themes-sync.php:35 -msgid "Plugins" -msgstr "" - -#: templates/debug.php:232, templates/debug/plugins-themes-sync.php:56 -msgid "Themes" -msgstr "" - -#: templates/debug.php:237, templates/debug.php:369, templates/debug.php:451, templates/debug/scheduled-crons.php:80 -msgid "Slug" -msgstr "" - -#: templates/debug.php:239, templates/debug.php:450 -msgid "Title" -msgstr "" - -#: templates/debug.php:240 -msgctxt "as application program interface" -msgid "API" -msgstr "" - -#: templates/debug.php:241 -msgid "Freemius State" -msgstr "" - -#: templates/debug.php:245 -msgid "Network Blog" -msgstr "" - -#: templates/debug.php:246 -msgid "Network User" -msgstr "" - -#: templates/debug.php:283 -msgctxt "as connection was successful" -msgid "Connected" -msgstr "" - -#: templates/debug.php:284 -msgctxt "as connection blocked" -msgid "Blocked" -msgstr "" - -#: templates/debug.php:320 -msgid "Simulate Trial Promotion" -msgstr "" - -#: templates/debug.php:332 -msgid "Simulate Network Upgrade" -msgstr "" - -#: templates/debug.php:358 -msgid "%s Installs" -msgstr "" - -#: templates/debug.php:360 -msgctxt "like websites" -msgid "Sites" -msgstr "" - -#: templates/debug.php:366, templates/account/partials/site.php:148 -msgid "Blog ID" -msgstr "" - -#: templates/debug.php:431, templates/debug.php:509, templates/account/partials/addon.php:339 -msgctxt "verb" -msgid "Delete" -msgstr "" - -#: templates/debug.php:445 -msgid "Add Ons of module %s" -msgstr "" - -#: templates/debug.php:482 -msgid "Users" -msgstr "" - -#: templates/debug.php:489 -msgid "Verified" -msgstr "" - -#: templates/debug.php:520 -msgid "%s Licenses" -msgstr "" - -#: templates/debug.php:525 -msgid "Plugin ID" -msgstr "" - -#: templates/debug.php:527 -msgid "Plan ID" -msgstr "" - -#: templates/debug.php:528 -msgid "Quota" -msgstr "" - -#: templates/debug.php:529 -msgid "Activated" -msgstr "" - -#: templates/debug.php:530 -msgid "Blocking" -msgstr "" - -#: templates/debug.php:532 -msgctxt "as expiration date" -msgid "Expiration" -msgstr "" - -#: templates/debug.php:555 -msgid "Debug Log" -msgstr "" - -#: templates/debug.php:559 -msgid "All Types" -msgstr "" - -#: templates/debug.php:566 -msgid "All Requests" -msgstr "" - -#: templates/debug.php:571, templates/debug.php:600, templates/debug/logger.php:25 -msgid "File" -msgstr "" - -#: templates/debug.php:572, templates/debug.php:598, templates/debug/logger.php:23 -msgid "Function" -msgstr "" - -#: templates/debug.php:573 -msgid "Process ID" -msgstr "" - -#: templates/debug.php:574 -msgid "Logger" -msgstr "" - -#: templates/debug.php:575, templates/debug.php:599, templates/debug/logger.php:24 -msgid "Message" -msgstr "" - -#: templates/debug.php:577 -msgid "Filter" -msgstr "" - -#: templates/debug.php:585 -msgid "Download" -msgstr "" - -#: templates/debug.php:596, templates/debug/logger.php:22 -msgid "Type" -msgstr "" - -#: templates/debug.php:601, templates/debug/logger.php:26 -msgid "Timestamp" -msgstr "" - -#: templates/secure-https-header.php:28 -msgid "Secure HTTPS %s page, running from an external domain" -msgstr "" - -#: includes/customizer/class-fs-customizer-support-section.php:55, templates/plugin-info/features.php:43 -msgid "Support" -msgstr "" - -#: includes/debug/class-fs-debug-bar-panel.php:48, templates/debug/api-calls.php:54, templates/debug/logger.php:62 -msgctxt "milliseconds" -msgid "ms" -msgstr "" - -#: includes/debug/debug-bar-start.php:41 -msgid "Freemius API" -msgstr "" - -#: includes/debug/debug-bar-start.php:42 -msgid "Requests" -msgstr "" - -#: templates/account/billing.php:28 -msgctxt "verb" -msgid "Update" -msgstr "" - -#: templates/account/billing.php:39 -msgid "Billing" -msgstr "" - -#: templates/account/billing.php:44, templates/account/billing.php:44 -msgid "Business name" -msgstr "" - -#: templates/account/billing.php:45, templates/account/billing.php:45 -msgid "Tax / VAT ID" -msgstr "" - -#: templates/account/billing.php:48, templates/account/billing.php:48, templates/account/billing.php:49, templates/account/billing.php:49 -msgid "Address Line %d" -msgstr "" - -#: templates/account/billing.php:52, templates/account/billing.php:52 -msgid "City" -msgstr "" - -#: templates/account/billing.php:52, templates/account/billing.php:52 -msgid "Town" -msgstr "" - -#: templates/account/billing.php:53, templates/account/billing.php:53 -msgid "ZIP / Postal Code" -msgstr "" - -#: templates/account/billing.php:308 -msgid "Country" -msgstr "" - -#: templates/account/billing.php:310 -msgid "Select Country" -msgstr "" - -#: templates/account/billing.php:317, templates/account/billing.php:318 -msgid "State" -msgstr "" - -#: templates/account/billing.php:317, templates/account/billing.php:318 -msgid "Province" -msgstr "" - -#: templates/account/payments.php:29 -msgid "Payments" -msgstr "" - -#: templates/account/payments.php:36 -msgid "Date" -msgstr "" - -#: templates/account/payments.php:37 -msgid "Amount" -msgstr "" - -#: templates/account/payments.php:38, templates/account/payments.php:50 -msgid "Invoice" -msgstr "" - -#: templates/debug/api-calls.php:56 -msgid "API" -msgstr "" - -#: templates/debug/api-calls.php:68 -msgid "Method" -msgstr "" - -#: templates/debug/api-calls.php:69 -msgid "Code" -msgstr "" - -#: templates/debug/api-calls.php:70 -msgid "Length" -msgstr "" - -#: templates/debug/api-calls.php:71 -msgctxt "as file/folder path" -msgid "Path" -msgstr "" - -#: templates/debug/api-calls.php:73 -msgid "Body" -msgstr "" - -#: templates/debug/api-calls.php:75 -msgid "Result" -msgstr "" - -#: templates/debug/api-calls.php:76 -msgid "Start" -msgstr "" - -#: templates/debug/api-calls.php:77 -msgid "End" -msgstr "" - -#: templates/debug/logger.php:15 -msgid "Log" -msgstr "" - -#. translators: %s: time period (e.g. In "2 hours") -#: templates/debug/plugins-themes-sync.php:18, templates/debug/scheduled-crons.php:91 -msgid "In %s" -msgstr "" - -#. translators: %s: time period (e.g. "2 hours" ago) -#: templates/debug/plugins-themes-sync.php:20, templates/debug/scheduled-crons.php:93 -msgid "%s ago" -msgstr "" - -#: templates/debug/plugins-themes-sync.php:21, templates/debug/scheduled-crons.php:74 -msgctxt "seconds" -msgid "sec" -msgstr "" - -#: templates/debug/plugins-themes-sync.php:23 -msgid "Plugins & Themes Sync" -msgstr "" - -#: templates/debug/plugins-themes-sync.php:28 -msgid "Total" -msgstr "" - -#: templates/debug/plugins-themes-sync.php:29, templates/debug/scheduled-crons.php:84 -msgid "Last" -msgstr "" - -#: templates/debug/scheduled-crons.php:76 -msgid "Scheduled Crons" -msgstr "" - -#: templates/debug/scheduled-crons.php:81 -msgid "Module" -msgstr "" - -#: templates/debug/scheduled-crons.php:82 -msgid "Module Type" -msgstr "" - -#: templates/debug/scheduled-crons.php:83 -msgid "Cron Type" -msgstr "" - -#: templates/debug/scheduled-crons.php:85 -msgid "Next" -msgstr "" - -#: templates/forms/affiliation.php:82 -msgid "Non-expiring" -msgstr "" - -#: templates/forms/affiliation.php:85 -msgid "Apply to become an affiliate" -msgstr "" - -#: templates/forms/affiliation.php:104 -msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s." -msgstr "" - -#: templates/forms/affiliation.php:119 -msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information." -msgstr "" - -#: templates/forms/affiliation.php:122 -msgid "Your affiliation account was temporarily suspended." -msgstr "" - -#: templates/forms/affiliation.php:125 -msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days." -msgstr "" - -#: templates/forms/affiliation.php:128 -msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support." -msgstr "" - -#: templates/forms/affiliation.php:141 -msgid "Like the %s? Become our ambassador and earn cash ;-)" -msgstr "" - -#: templates/forms/affiliation.php:142 -msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!" -msgstr "" - -#: templates/forms/affiliation.php:145 -msgid "Program Summary" -msgstr "" - -#: templates/forms/affiliation.php:147 -msgid "%s commission when a customer purchases a new license." -msgstr "" - -#: templates/forms/affiliation.php:149 -msgid "Get commission for automated subscription renewals." -msgstr "" - -#: templates/forms/affiliation.php:152 -msgid "%s tracking cookie after the first visit to maximize earnings potential." -msgstr "" - -#: templates/forms/affiliation.php:155 -msgid "Unlimited commissions." -msgstr "" - -#: templates/forms/affiliation.php:157 -msgid "%s minimum payout amount." -msgstr "" - -#: templates/forms/affiliation.php:158 -msgid "Payouts are in USD and processed monthly via PayPal." -msgstr "" - -#: templates/forms/affiliation.php:159 -msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days." -msgstr "" - -#: templates/forms/affiliation.php:162 -msgid "Affiliate" -msgstr "" - -#: templates/forms/affiliation.php:165, templates/forms/resend-key.php:23 -msgid "Email address" -msgstr "" - -#: templates/forms/affiliation.php:169 -msgid "Full name" -msgstr "" - -#: templates/forms/affiliation.php:173 -msgid "PayPal account email address" -msgstr "" - -#: templates/forms/affiliation.php:177 -msgid "Where are you going to promote the %s?" -msgstr "" - -#: templates/forms/affiliation.php:179 -msgid "Enter the domain of your website or other websites from where you plan to promote the %s." -msgstr "" - -#: templates/forms/affiliation.php:181 -msgid "Add another domain" -msgstr "" - -#: templates/forms/affiliation.php:185 -msgid "Extra Domains" -msgstr "" - -#: templates/forms/affiliation.php:186 -msgid "Extra domains where you will be marketing the product from." -msgstr "" - -#: templates/forms/affiliation.php:196 -msgid "Promotion methods" -msgstr "" - -#: templates/forms/affiliation.php:199 -msgid "Social media (Facebook, Twitter, etc.)" -msgstr "" - -#: templates/forms/affiliation.php:203 -msgid "Mobile apps" -msgstr "" - -#: templates/forms/affiliation.php:207 -msgid "Website, email, and social media statistics (optional)" -msgstr "" - -#: templates/forms/affiliation.php:210 -msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)." -msgstr "" - -#: templates/forms/affiliation.php:214 -msgid "How will you promote us?" -msgstr "" - -#: templates/forms/affiliation.php:217 -msgid "Please provide details on how you intend to promote %s (please be as specific as possible)." -msgstr "" - -#: templates/forms/affiliation.php:223, templates/forms/resend-key.php:22 -msgid "Cancel" -msgstr "" - -#: templates/forms/affiliation.php:225 -msgid "Become an affiliate" -msgstr "" - -#: templates/forms/license-activation.php:20 -msgid "Please enter the license key that you received in the email right after the purchase:" -msgstr "" - -#: templates/forms/license-activation.php:25 -msgid "Update License" -msgstr "" - -#: templates/forms/optout.php:30 -msgctxt "verb" -msgid "Opt Out" -msgstr "" - -#: templates/forms/optout.php:31 -msgctxt "verb" -msgid "Opt In" -msgstr "" - -#: templates/forms/optout.php:33 -msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking." -msgstr "" - -#: templates/forms/optout.php:35 -msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s." -msgstr "" - -#: templates/forms/premium-versions-upgrade-handler.php:40 -msgid "There is a new version of %s available." -msgstr "" - -#: templates/forms/premium-versions-upgrade-handler.php:41 -msgid " %s to access version %s security & feature updates, and support." -msgstr "" - -#: templates/forms/premium-versions-upgrade-handler.php:54 -msgid "New Version Available" -msgstr "" - -#: templates/forms/premium-versions-upgrade-handler.php:75 -msgctxt "close a window" -msgid "Dismiss" -msgstr "" - -#: templates/forms/resend-key.php:21 -msgid "Send License Key" -msgstr "" - -#: templates/forms/resend-key.php:57 -msgid "Enter the email address you've used for the upgrade below and we will resend you the license key." -msgstr "" - -#: templates/forms/subscription-cancellation.php:37 -msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site." -msgstr "" - -#: templates/forms/subscription-cancellation.php:47 -msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?" -msgstr "" - -#: templates/forms/subscription-cancellation.php:52 -msgid "license" -msgstr "" - -#: templates/forms/subscription-cancellation.php:57 -msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site." -msgstr "" - -#: templates/forms/subscription-cancellation.php:68 -msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support." -msgstr "" - -#: templates/forms/subscription-cancellation.php:103 -msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license." -msgstr "" - -#: templates/forms/subscription-cancellation.php:136 -msgid "Cancel %s?" -msgstr "" - -#: templates/forms/subscription-cancellation.php:143 -msgid "Proceed" -msgstr "" - -#: templates/forms/subscription-cancellation.php:191, templates/forms/deactivation/form.php:150 -msgid "Cancel %s & Proceed" -msgstr "" - -#: templates/forms/trial-start.php:22 -msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan." -msgstr "" - -#: templates/forms/trial-start.php:28 -msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial." -msgstr "" - -#: templates/js/style-premium-theme.php:37 -msgid "Premium" -msgstr "" - -#: templates/partials/network-activation.php:23 -msgid "Activate license on all sites in the network." -msgstr "" - -#: templates/partials/network-activation.php:24 -msgid "Apply on all sites in the network." -msgstr "" - -#: templates/partials/network-activation.php:27 -msgid "Activate license on all pending sites." -msgstr "" - -#: templates/partials/network-activation.php:28 -msgid "Apply on all pending sites." -msgstr "" - -#: templates/partials/network-activation.php:36, templates/partials/network-activation.php:68 -msgid "allow" -msgstr "" - -#: templates/partials/network-activation.php:38, templates/partials/network-activation.php:70 -msgid "delegate" -msgstr "" - -#: templates/partials/network-activation.php:41, templates/partials/network-activation.php:73 -msgid "skip" -msgstr "" - -#: templates/plugin-info/description.php:72, templates/plugin-info/screenshots.php:31 -msgid "Click to view full-size screenshot %d" -msgstr "" - -#: templates/plugin-info/features.php:56 -msgid "Unlimited Updates" -msgstr "" - -#: templates/account/partials/activate-license-button.php:46 -msgid "Localhost" -msgstr "" - -#: templates/account/partials/activate-license-button.php:50 -msgctxt "as 5 licenses left" -msgid "%s left" -msgstr "" - -#: templates/account/partials/activate-license-button.php:51 -msgid "Last license" -msgstr "" - -#: templates/account/partials/addon.php:115 -msgid "Cancelled" -msgstr "" - -#: templates/account/partials/addon.php:125 -msgid "No expiration" -msgstr "" - -#: templates/account/partials/addon.php:264, templates/account/partials/addon.php:317 -msgid "Activate this add-on" -msgstr "" - -#: templates/account/partials/site.php:181 -msgid "Owner Name" -msgstr "" - -#: templates/account/partials/site.php:193 -msgid "Owner Email" -msgstr "" - -#: templates/account/partials/site.php:205 -msgid "Owner ID" -msgstr "" - -#: templates/account/partials/site.php:270 -msgid "Subscription" -msgstr "" - -#: templates/forms/deactivation/contact.php:19 -msgid "Sorry for the inconvenience and we are here to help if you give us a chance." -msgstr "" - -#: templates/forms/deactivation/contact.php:22 -msgid "Contact Support" -msgstr "" - -#: templates/forms/deactivation/form.php:59 -msgid "Anonymous feedback" -msgstr "" - -#: templates/forms/deactivation/form.php:66 -msgid "Deactivate" -msgstr "" - -#: templates/forms/deactivation/form.php:68 -msgid "Activate %s" -msgstr "" - -#: templates/forms/deactivation/form.php:80 -msgid "Quick Feedback" -msgstr "" - -#: templates/forms/deactivation/form.php:84 -msgid "If you have a moment, please let us know why you are %s" -msgstr "" - -#: templates/forms/deactivation/form.php:84 -msgid "deactivating" -msgstr "" - -#: templates/forms/deactivation/form.php:84 -msgid "switching" -msgstr "" - -#: templates/forms/deactivation/form.php:332 -msgid "Submit & %s" -msgstr "" - -#: templates/forms/deactivation/form.php:353 -msgid "Kindly tell us the reason so we can improve." -msgstr "" - -#: templates/forms/deactivation/form.php:478 -msgid "Yes - %s" -msgstr "" - -#: templates/forms/deactivation/form.php:485 -msgid "Skip & %s" -msgstr "" - -#: templates/forms/deactivation/retry-skip.php:21 -msgid "Click here to use the plugin anonymously" -msgstr "" - -#: templates/forms/deactivation/retry-skip.php:23 -msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in." -msgstr "" diff --git a/freemius/languages/index.php b/freemius/languages/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/languages/index.php +++ /dev/null @@ -1,3 +0,0 @@ -plugins ) ) { - $fs_active_plugins->plugins = array(); - } - } - - if ( empty( $fs_active_plugins->abspath ) ) { - /** - * Store the WP install absolute path reference to identify environment change - * while replicating the storage. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - $fs_active_plugins->abspath = ABSPATH; - } else { - if ( ABSPATH !== $fs_active_plugins->abspath ) { - /** - * WordPress path has changed, cleanup the SDK references cache. - * This resolves issues triggered when spinning a staging environments - * while replicating the database. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - $fs_active_plugins->abspath = ABSPATH; - $fs_active_plugins->plugins = array(); - unset( $fs_active_plugins->newest ); - } else { - /** - * Make sure SDK references are still valid. This resolves - * issues when users hard delete modules via FTP. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.1.7 - */ - $has_changes = false; - foreach ( $fs_active_plugins->plugins as $sdk_path => $data ) { - if ( ! file_exists( ( isset( $data->type ) && 'theme' === $data->type ? $themes_directory : WP_PLUGIN_DIR ) . '/' . $sdk_path ) ) { - unset( $fs_active_plugins->plugins[ $sdk_path ] ); - $has_changes = true; - } - } - - if ( $has_changes ) { - if ( empty( $fs_active_plugins->plugins ) ) { - unset( $fs_active_plugins->newest ); - } - - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - } - } - - if ( ! function_exists( 'fs_find_direct_caller_plugin_file' ) ) { - require_once dirname( __FILE__ ) . '/includes/supplements/fs-essential-functions-1.1.7.1.php'; - } - - if ( ! function_exists( 'fs_get_plugins' ) ) { - require_once dirname( __FILE__ ) . '/includes/supplements/fs-essential-functions-2.2.1.php'; - } - - // Update current SDK info based on the SDK path. - if ( ! isset( $fs_active_plugins->plugins[ $this_sdk_relative_path ] ) || - $this_sdk_version != $fs_active_plugins->plugins[ $this_sdk_relative_path ]->version - ) { - if ( $is_theme ) { - $plugin_path = basename( dirname( $this_sdk_relative_path ) ); - } else { - $plugin_path = plugin_basename( fs_find_direct_caller_plugin_file( $file_path ) ); - } - - $fs_active_plugins->plugins[ $this_sdk_relative_path ] = (object) array( - 'version' => $this_sdk_version, - 'type' => ( $is_theme ? 'theme' : 'plugin' ), - 'timestamp' => time(), - 'plugin_path' => $plugin_path, - ); - } - - $is_current_sdk_newest = isset( $fs_active_plugins->newest ) && ( $this_sdk_relative_path == $fs_active_plugins->newest->sdk_path ); - - if ( ! isset( $fs_active_plugins->newest ) ) { - /** - * This will be executed only once, for the first time a Freemius powered plugin is activated. - */ - fs_update_sdk_newest_version( $this_sdk_relative_path, $fs_active_plugins->plugins[ $this_sdk_relative_path ]->plugin_path ); - - $is_current_sdk_newest = true; - } else if ( version_compare( $fs_active_plugins->newest->version, $this_sdk_version, '<' ) ) { - /** - * Current SDK is newer than the newest stored SDK. - */ - fs_update_sdk_newest_version( $this_sdk_relative_path, $fs_active_plugins->plugins[ $this_sdk_relative_path ]->plugin_path ); - - if ( class_exists( 'Freemius' ) ) { - // Older SDK version was already loaded. - - if ( ! $fs_active_plugins->newest->in_activation ) { - // Re-order plugins to load this plugin first. - fs_newest_sdk_plugin_first(); - } - - // Refresh page. - fs_redirect( $_SERVER['REQUEST_URI'] ); - } - } else { - if ( ! function_exists( 'get_plugins' ) ) { - require_once ABSPATH . 'wp-admin/includes/plugin.php'; - } - - $fs_newest_sdk = $fs_active_plugins->newest; - $fs_newest_sdk = $fs_active_plugins->plugins[ $fs_newest_sdk->sdk_path ]; - - $is_newest_sdk_type_theme = ( isset( $fs_newest_sdk->type ) && 'theme' === $fs_newest_sdk->type ); - - if ( ! $is_newest_sdk_type_theme ) { - $is_newest_sdk_plugin_active = is_plugin_active( $fs_newest_sdk->plugin_path ); - } else { - $current_theme = wp_get_theme(); - $is_newest_sdk_plugin_active = ( $current_theme->stylesheet === $fs_newest_sdk->plugin_path ); - - $current_theme_parent = $current_theme->parent(); - - /** - * If the current theme is a child of the theme that has the newest SDK, this prevents a redirects loop - * from happening by keeping the SDK info stored in the `fs_active_plugins` option. - */ - if ( ! $is_newest_sdk_plugin_active && $current_theme_parent instanceof WP_Theme ) { - $is_newest_sdk_plugin_active = ( $fs_newest_sdk->plugin_path === $current_theme_parent->stylesheet ); - } - } - - if ( $is_current_sdk_newest && - ! $is_newest_sdk_plugin_active && - ! $fs_active_plugins->newest->in_activation - ) { - // If current SDK is the newest and the plugin is NOT active, it means - // that the current plugin in activation mode. - $fs_active_plugins->newest->in_activation = true; - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - - if ( ! $is_theme ) { - $sdk_starter_path = fs_normalize_path( WP_PLUGIN_DIR . '/' . $this_sdk_relative_path . '/start.php' ); - } else { - $sdk_starter_path = fs_normalize_path( - $themes_directory - . '/' - . str_replace( "../{$themes_directory_name}/", '', $this_sdk_relative_path ) - . '/start.php' ); - } - - $is_newest_sdk_path_valid = ( $is_newest_sdk_plugin_active || $fs_active_plugins->newest->in_activation ) && file_exists( $sdk_starter_path ); - - if ( ! $is_newest_sdk_path_valid && ! $is_current_sdk_newest ) { - // Plugin with newest SDK is no longer active, or SDK was moved to a different location. - unset( $fs_active_plugins->plugins[ $fs_active_plugins->newest->sdk_path ] ); - } - - if ( ! ( $is_newest_sdk_plugin_active || $fs_active_plugins->newest->in_activation ) || - ! $is_newest_sdk_path_valid || - // Is newest SDK downgraded. - ( $this_sdk_relative_path == $fs_active_plugins->newest->sdk_path && - version_compare( $fs_active_plugins->newest->version, $this_sdk_version, '>' ) ) - ) { - /** - * Plugin with newest SDK is no longer active. - * OR - * The newest SDK was in the current plugin. BUT, seems like the version of - * the SDK was downgraded to a lower SDK. - */ - // Find the active plugin with the newest SDK version and update the newest reference. - fs_fallback_to_newest_active_sdk(); - } else { - if ( $is_newest_sdk_plugin_active && - $this_sdk_relative_path == $fs_active_plugins->newest->sdk_path && - ( $fs_active_plugins->newest->in_activation || - ( class_exists( 'Freemius' ) && ( ! defined( 'WP_FS__SDK_VERSION' ) || version_compare( WP_FS__SDK_VERSION, $this_sdk_version, '<' ) ) ) - ) - - ) { - if ( $fs_active_plugins->newest->in_activation && ! $is_newest_sdk_type_theme ) { - // Plugin no more in activation. - $fs_active_plugins->newest->in_activation = false; - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - - // Reorder plugins to load plugin with newest SDK first. - if ( fs_newest_sdk_plugin_first() ) { - // Refresh page after re-order to make sure activated plugin loads newest SDK. - if ( class_exists( 'Freemius' ) ) { - fs_redirect( $_SERVER['REQUEST_URI'] ); - } - } - } - } - } - - if ( class_exists( 'Freemius' ) ) { - // SDK was already loaded. - return; - } - - if ( version_compare( $this_sdk_version, $fs_active_plugins->newest->version, '<' ) ) { - $newest_sdk = $fs_active_plugins->plugins[ $fs_active_plugins->newest->sdk_path ]; - - $plugins_or_theme_dir_path = ( ! isset( $newest_sdk->type ) || 'theme' !== $newest_sdk->type ) ? - WP_PLUGIN_DIR : - $themes_directory; - - $newest_sdk_starter = fs_normalize_path( - $plugins_or_theme_dir_path - . '/' - . str_replace( "../{$themes_directory_name}/", '', $fs_active_plugins->newest->sdk_path ) - . '/start.php' ); - - if ( file_exists( $newest_sdk_starter ) ) { - // Reorder plugins to load plugin with newest SDK first. - fs_newest_sdk_plugin_first(); - - // There's a newer SDK version, load it instead of the current one! - require_once $newest_sdk_starter; - - return; - } - } - - #endregion SDK Selection Logic -------------------------------------------------------------------- - - #region Hooks & Filters Collection -------------------------------------------------------------------- - - /** - * Freemius hooks (actions & filters) tags structure: - * - * fs_{filter/action_name}_{plugin_slug} - * - * -------------------------------------------------------- - * - * Usage with WordPress' add_action() / add_filter(): - * - * add_action('fs_{filter/action_name}_{plugin_slug}', $callable); - * - * -------------------------------------------------------- - * - * Usage with Freemius' instance add_action() / add_filter(): - * - * // No need to add 'fs_' prefix nor '_{plugin_slug}' suffix. - * my_freemius()->add_action('{action_name}', $callable); - * - * -------------------------------------------------------- - * - * Freemius filters collection: - * - * fs_connect_url_{plugin_slug} - * fs_trial_promotion_message_{plugin_slug} - * fs_is_long_term_user_{plugin_slug} - * fs_uninstall_reasons_{plugin_slug} - * fs_is_plugin_update_{plugin_slug} - * fs_api_domains_{plugin_slug} - * fs_email_template_sections_{plugin_slug} - * fs_support_forum_submenu_{plugin_slug} - * fs_support_forum_url_{plugin_slug} - * fs_connect_message_{plugin_slug} - * fs_connect_message_on_update_{plugin_slug} - * fs_uninstall_confirmation_message_{plugin_slug} - * fs_pending_activation_message_{plugin_slug} - * fs_is_submenu_visible_{plugin_slug} - * fs_plugin_icon_{plugin_slug} - * fs_show_trial_{plugin_slug} - * - * -------------------------------------------------------- - * - * Freemius actions collection: - * - * fs_after_license_loaded_{plugin_slug} - * fs_after_license_change_{plugin_slug} - * fs_after_plans_sync_{plugin_slug} - * - * fs_after_account_details_{plugin_slug} - * fs_after_account_user_sync_{plugin_slug} - * fs_after_account_plan_sync_{plugin_slug} - * fs_before_account_load_{plugin_slug} - * fs_after_account_connection_{plugin_slug} - * fs_account_property_edit_{plugin_slug} - * fs_account_email_verified_{plugin_slug} - * fs_account_page_load_before_departure_{plugin_slug} - * fs_before_account_delete_{plugin_slug} - * fs_after_account_delete_{plugin_slug} - * - * fs_sdk_version_update_{plugin_slug} - * fs_plugin_version_update_{plugin_slug} - * - * fs_initiated_{plugin_slug} - * fs_after_init_plugin_registered_{plugin_slug} - * fs_after_init_plugin_anonymous_{plugin_slug} - * fs_after_init_plugin_pending_activations_{plugin_slug} - * fs_after_init_addon_registered_{plugin_slug} - * fs_after_init_addon_anonymous_{plugin_slug} - * fs_after_init_addon_pending_activations_{plugin_slug} - * - * fs_after_premium_version_activation_{plugin_slug} - * fs_after_free_version_reactivation_{plugin_slug} - * - * fs_after_uninstall_{plugin_slug} - * fs_before_admin_menu_init_{plugin_slug} - */ - - #endregion Hooks & Filters Collection -------------------------------------------------------------------- - - if ( ! class_exists( 'Freemius' ) ) { - - if ( ! defined( 'WP_FS__SDK_VERSION' ) ) { - define( 'WP_FS__SDK_VERSION', $this_sdk_version ); - } - - $plugins_or_theme_dir_path = fs_normalize_path( trailingslashit( $is_theme ? - $themes_directory : - WP_PLUGIN_DIR ) ); - - if ( 0 === strpos( $file_path, $plugins_or_theme_dir_path ) ) { - // No symlinks - } else { - /** - * This logic finds the SDK symlink and set WP_FS__DIR to use it. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.5 - */ - $sdk_symlink = null; - - // Try to load SDK's symlink from cache. - if ( isset( $fs_active_plugins->plugins[ $this_sdk_relative_path ] ) && - is_object( $fs_active_plugins->plugins[ $this_sdk_relative_path ] ) && - ! empty( $fs_active_plugins->plugins[ $this_sdk_relative_path ]->sdk_symlink ) - ) { - $sdk_symlink = $fs_active_plugins->plugins[ $this_sdk_relative_path ]->sdk_symlink; - if ( 0 === strpos( $sdk_symlink, $plugins_or_theme_dir_path ) ) { - /** - * Make the symlink path relative. - * - * @author Leo Fajardo (@leorw) - */ - $sdk_symlink = substr( $sdk_symlink, strlen( $plugins_or_theme_dir_path ) ); - - $fs_active_plugins->plugins[ $this_sdk_relative_path ]->sdk_symlink = $sdk_symlink; - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - - $realpath = realpath( $plugins_or_theme_dir_path . $sdk_symlink ); - if ( ! is_string( $realpath ) || ! file_exists( $realpath ) ) { - $sdk_symlink = null; - } - } - - if ( empty( $sdk_symlink ) ) // Has symlinks, therefore, we need to configure WP_FS__DIR based on the symlink. - { - $partial_path_right = basename( $file_path ); - $partial_path_left = dirname( $file_path ); - $realpath = realpath( $plugins_or_theme_dir_path . $partial_path_right ); - - while ( '/' !== $partial_path_left && - ( false === $realpath || $file_path !== fs_normalize_path( $realpath ) ) - ) { - $partial_path_right = trailingslashit( basename( $partial_path_left ) ) . $partial_path_right; - $partial_path_left_prev = $partial_path_left; - $partial_path_left = dirname( $partial_path_left_prev ); - - /** - * Avoid infinite loop if for example `$partial_path_left_prev` is `C:/`, in this case, - * `dirname( 'C:/' )` will return `C:/`. - * - * @author Leo Fajardo (@leorw) - */ - if ( $partial_path_left === $partial_path_left_prev ) { - $partial_path_left = ''; - break; - } - - $realpath = realpath( $plugins_or_theme_dir_path . $partial_path_right ); - } - - if ( ! empty( $partial_path_left ) && '/' !== $partial_path_left ) { - $sdk_symlink = fs_normalize_path( dirname( $partial_path_right ) ); - - // Cache value. - if ( isset( $fs_active_plugins->plugins[ $this_sdk_relative_path ] ) && - is_object( $fs_active_plugins->plugins[ $this_sdk_relative_path ] ) - ) { - $fs_active_plugins->plugins[ $this_sdk_relative_path ]->sdk_symlink = $sdk_symlink; - update_option( 'fs_active_plugins', $fs_active_plugins ); - } - } - } - - if ( ! empty( $sdk_symlink ) ) { - // Set SDK dir to the symlink path. - define( 'WP_FS__DIR', $plugins_or_theme_dir_path . $sdk_symlink ); - } - } - - // Load SDK files. - require_once dirname( __FILE__ ) . '/require.php'; - - /** - * Quick shortcut to get Freemius for specified plugin. - * Used by various templates. - * - * @param number $module_id - * - * @return Freemius - */ - function freemius( $module_id ) { - return Freemius::instance( $module_id ); - } - - /** - * @param string $slug - * @param number $plugin_id - * @param string $public_key - * @param bool $is_live Is live or test plugin. - * @param bool $is_premium Hints freemius if running the premium plugin or not. - * - * @return Freemius - * - * @deprecated Please use fs_dynamic_init(). - */ - function fs_init( $slug, $plugin_id, $public_key, $is_live = true, $is_premium = true ) { - $fs = Freemius::instance( $plugin_id, $slug, true ); - $fs->init( $plugin_id, $public_key, $is_live, $is_premium ); - - return $fs; - } - - /** - * @param array $module Plugin or Theme details. - * - * @return Freemius - * @throws Freemius_Exception - */ - function fs_dynamic_init( $module ) { - $fs = Freemius::instance( $module['id'], $module['slug'], true ); - $fs->dynamic_init( $module ); - - return $fs; - } - - function fs_dump_log() { - FS_Logger::dump(); - } - } \ No newline at end of file diff --git a/freemius/templates/account.php b/freemius/templates/account.php deleted file mode 100644 index 2ca85d7..0000000 --- a/freemius/templates/account.php +++ /dev/null @@ -1,792 +0,0 @@ -get_slug(); - - /** - * @var FS_Plugin_Tag $update - */ - $update = $fs->get_update( false, false, WP_FS__TIME_24_HOURS_IN_SEC / 24 ); - - if ( is_object($update) ) { - /** - * This logic is particularly required for multisite environment. - * If a module is site activated (not network) and not on the main site, - * the module will NOT be executed on the network level, therefore, the - * custom updates logic will not be executed as well, so unless we force - * the injection of the update into the updates transient, premium updates - * will not work. - * - * @author Vova Feldman (@svovaf) - * @since 2.0.0 - */ - $updater = FS_Plugin_Updater::instance( $fs ); - $updater->set_update_data( $update ); - } - - $is_paying = $fs->is_paying(); - $user = $fs->get_user(); - $site = $fs->get_site(); - $name = $user->get_name(); - $license = $fs->_get_license(); - $subscription = ( is_object( $license ) ? - $fs->_get_subscription( $license->id ) : - null ); - $plan = $fs->get_plan(); - $is_active_subscription = ( is_object( $subscription ) && $subscription->is_active() ); - $is_paid_trial = $fs->is_paid_trial(); - $has_paid_plan = $fs->has_paid_plan(); - $show_upgrade = ( $has_paid_plan && ! $is_paying && ! $is_paid_trial ); - $trial_plan = $fs->get_trial_plan(); - - if ( $has_paid_plan ) { - $fs->_add_license_activation_dialog_box(); - } - - if ( fs_request_get_bool( 'auto_install' ) ) { - $fs->_add_auto_installation_dialog_box(); - } - - if ( fs_request_get_bool( 'activate_license' ) ) { - // Open the license activation dialog box on the account page. - add_action( 'admin_footer', array( - &$fs, - '_open_license_activation_dialog_box' - ) ); - } - - $has_tabs = $fs->_add_tabs_before_content(); - - if ( $has_tabs ) { - $query_params['tabs'] = 'true'; - } - - // Aliases. - $download_latest_text = fs_text_x_inline( 'Download Latest', 'as download latest version', 'download-latest', $slug ); - $downgrading_plan_text = fs_text_inline( 'Downgrading your plan', 'downgrading-plan', $slug ); - $cancelling_subscription_text = fs_text_inline( 'Cancelling the subscription', 'cancelling-subscription', $slug ); - /* translators: %1s: Either 'Downgrading your plan' or 'Cancelling the subscription' */ - $downgrade_x_confirm_text = fs_text_inline( '%1s will immediately stop all future recurring payments and your %s plan license will expire in %s.', 'downgrade-x-confirm', $slug ); - $prices_increase_text = fs_text_inline( 'Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price.', 'pricing-increase-warning', $slug ); - $cancel_trial_confirm_text = fs_text_inline( 'Cancelling the trial will immediately block access to all premium features. Are you sure?', 'cancel-trial-confirm', $slug ); - $after_downgrade_non_blocking_text = fs_text_inline( 'You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support.', 'after-downgrade-non-blocking', $slug ); - $after_downgrade_blocking_text = fs_text_inline( 'Once your license expires you can still use the Free version but you will NOT have access to the %s features.', 'after-downgrade-blocking', $slug ); - /* translators: %s: Plan title (e.g. "Professional") */ - $activate_plan_text = fs_text_inline( 'Activate %s Plan', 'activate-x-plan', $slug ); - $version_text = fs_text_x_inline( 'Version', 'product version', 'version', $slug ); - /* translators: %s: Time period (e.g. Auto renews in "2 months") */ - $renews_in_text = fs_text_inline( 'Auto renews in %s', 'renews-in', $slug ); - /* translators: %s: Time period (e.g. Expires in "2 months") */ - $expires_in_text = fs_text_inline( 'Expires in %s', 'expires-in', $slug ); - $sync_license_text = fs_text_x_inline( 'Sync License', 'as synchronize license', 'sync-license', $slug ); - $cancel_trial_text = fs_text_inline( 'Cancel Trial', 'cancel-trial', $slug ); - $change_plan_text = fs_text_inline( 'Change Plan', 'change-plan', $slug ); - $upgrade_text = fs_text_x_inline( 'Upgrade', 'verb', 'upgrade', $slug ); - $addons_text = fs_text_inline( 'Add-Ons', 'add-ons', $slug ); - $downgrade_text = fs_text_x_inline( 'Downgrade', 'verb', 'downgrade', $slug ); - $trial_text = fs_text_x_inline( 'Trial', 'trial period', 'trial', $slug ); - $free_text = fs_text_inline( 'Free', 'free', $slug ); - $activate_text = fs_text_inline( 'Activate', 'activate', $slug ); - $plan_text = fs_text_x_inline( 'Plan', 'as product pricing plan', 'plan', $slug ); - - $show_plan_row = true; - $show_license_row = is_object( $license ); - - $site_view_params = array(); - - if ( fs_is_network_admin() ) { - $sites = Freemius::get_sites(); - $all_installs_plan_id = null; - $all_installs_license_id = ( $show_license_row ? $license->id : null ); - foreach ( $sites as $s ) { - $site_info = $fs->get_site_info( $s ); - $install = $fs->get_install_by_blog_id( $site_info['blog_id'] ); - $view_params = array( - 'freemius' => $fs, - 'license' => $license, - 'site' => $site_info, - 'install' => $install, - ); - - $site_view_params[] = $view_params; - - if ( empty( $install ) ) { - continue; - } - - if ( $show_plan_row ) { - if ( is_null( $all_installs_plan_id ) ) { - $all_installs_plan_id = $install->plan_id; - } else if ( $all_installs_plan_id != $install->plan_id ) { - $show_plan_row = false; - } - } - - if ( $show_license_row && $all_installs_license_id != $install->license_id ) { - $show_license_row = false; - } - } - } -?> -

    - apply_filters( 'hide_account_tabs', false ) ) : ?> - - - -
    -
    -
    -
    -
    -

    - -
    - - apply_filters( 'hide_license_key', false ) ); - - $profile = array(); - $profile[] = array( - 'id' => 'user_name', - 'title' => fs_text_inline( 'Name', 'name', $slug ), - 'value' => $name - ); - // if (isset($user->email) && false !== strpos($user->email, '@')) - $profile[] = array( - 'id' => 'email', - 'title' => fs_text_inline( 'Email', 'email', $slug ), - 'value' => $user->email - ); - - if ( is_numeric( $user->id ) ) { - $profile[] = array( - 'id' => 'user_id', - 'title' => fs_text_inline( 'User ID', 'user-id', $slug ), - 'value' => $user->id - ); - } - - if ( ! fs_is_network_admin()) { - $profile[] = array( - 'id' => 'site_id', - 'title' => fs_text_inline( 'Site ID', 'site-id', $slug ), - 'value' => is_string( $site->id ) ? - $site->id : - fs_text_inline( 'No ID', 'no-id', $slug ) - ); - - $profile[] = array( - 'id' => 'site_public_key', - 'title' => fs_text_inline( 'Public Key', 'public-key', $slug ), - 'value' => $site->public_key - ); - - $profile[] = array( - 'id' => 'site_secret_key', - 'title' => fs_text_inline( 'Secret Key', 'secret-key', $slug ), - 'value' => ( ( is_string( $site->secret_key ) ) ? - $site->secret_key : - fs_text_x_inline( 'No Secret', 'as secret encryption key missing', 'no-secret', $slug ) - ) - ); - } - - $profile[] = array( - 'id' => 'version', - 'title' => $version_text, - 'value' => $fs->get_plugin_version() - ); - - if ( $has_paid_plan ) { - if ( $fs->is_trial() ) { - if ( $show_plan_row ) { - $profile[] = array( - 'id' => 'plan', - 'title' => $plan_text, - 'value' => ( is_string( $trial_plan->name ) ? - strtoupper( $trial_plan->title ) : - fs_text_inline( 'Trial', 'trial', $slug ) ) - ); - } - } else { - if ( $show_plan_row ) { - $profile[] = array( - 'id' => 'plan', - 'title' => $plan_text, - 'value' => strtoupper( is_string( $plan->name ) ? - $plan->title : - strtoupper( $free_text ) - ) - ); - } - - if ( is_object( $license ) ) { - if ( ! $hide_license_key ) { - $profile[] = array( - 'id' => 'license_key', - 'title' => fs_text_inline( 'License Key', $slug ), - 'value' => $license->secret_key, - ); - } - } - } - } - ?> - - - - - > - - - - - - - is_verified() ) : ?> - - - - is_trial() ) : ?> - - - is_lifetime() ) : ?> - is_first_payment_pending() ) : ?> - is_expired() ?> - - - is_first_payment_pending() ) : ?> - - - is_trial() ) : ?> - - -
    - is_free_plan() && ! fs_is_network_admin() ? $fs->_get_available_premium_license( $site->is_localhost() ) : false ?> - - _get_plan_by_id( $available_license->plan_id ) ?> - $fs, - 'slug' => $slug, - 'license' => $available_license, - 'plan' => $premium_plan, - 'is_localhost' => $site->is_localhost(), - 'install_id' => $site->id, - 'class' => 'button-primary', - ); - fs_require_template( 'account/partials/activate-license-button.php', $view_params ); ?> - -
    - is_premium() ) : ?> - - - - - get_unique_affix() . '_sync_license' ) ?> - is_single_plan() ) : ?> - - - - -
    - - has_premium_version() ) : ?> - is_premium() ) : ?> - - can_use_premium_code() ) : ?> - - - - - - -
    - - - -
    - : - - is_verified() ) : ?> -
    - - - -
    - - - has_release_on_freemius() ) : ?> - - - - - - - - secret_key ) && in_array( $p['id'], array( - 'email', - 'user_name' - ) ) ) - ) : ?> -
    - - - - -
    - -
    -
    -
    - -
    -

    -
    - - is_premium() ) ) : ?> - - - - -
    - -
    -
    -
    - - - - - - - - - - -
    -
    -
    - - -
    -
    -
    -
    -
    - - - get_account_addons(); - if ( ! is_array( $account_addons ) ) { - $account_addons = array(); - } - - $installed_addons = $fs->get_installed_addons(); - $installed_addons_ids = array(); - foreach ( $installed_addons as $fs_addon ) { - $installed_addons_ids[] = $fs_addon->get_id(); - } - - $addons_to_show = array_unique( array_merge( $installed_addons_ids, $account_addons ) ); - ?> - - -
    -
    - - - - - - - - - - - - - - - - - $fs, - 'addon_id' => $addon_id, - 'odd' => $odd, - ); - - fs_require_template( - 'account/partials/addon.php', - $addon_view_params - ); - - $odd = ! $odd; - } ?> - -

    -
    -
    - - - do_action( 'after_account_details' ) ?> - - $VARS['id'] ); - fs_require_once_template( 'account/billing.php', $view_params ); - fs_require_once_template( 'account/payments.php', $view_params ); - ?> -
    -
    -
    -
    -
    - _maybe_add_subscription_cancellation_dialog_box( true ) ?> - -_add_tabs_after_content(); - } - - $params = array( - 'page' => 'account', - 'module_id' => $fs->get_id(), - 'module_type' => $fs->get_module_type(), - 'module_slug' => $slug, - 'module_version' => $fs->get_plugin_version(), - ); - fs_require_template( 'powered-by.php', $params ); \ No newline at end of file diff --git a/freemius/templates/account/billing.php b/freemius/templates/account/billing.php deleted file mode 100644 index f916ab1..0000000 --- a/freemius/templates/account/billing.php +++ /dev/null @@ -1,431 +0,0 @@ -get_slug(); - - $payments = $fs->_fetch_payments(); - - $show_billing = ( is_array( $payments ) && 0 < count( $payments ) ); - - if ( $show_billing ) : - - $edit_text = fs_text_x_inline( 'Edit', 'verb', 'edit', $slug ); - $update_text = fs_text_x_inline( 'Update', 'verb', 'update', $slug ); - - $billing = $fs->_fetch_billing(); - $has_billing = ( $billing instanceof FS_Billing ); - if ( ! $has_billing ) { - $billing = new FS_Billing(); - } -?> - -
    -
    -

    - > - - - - - - - - - - - - - - 'Afghanistan', - 'AX' => 'Aland Islands', - 'AL' => 'Albania', - 'DZ' => 'Algeria', - 'AS' => 'American Samoa', - 'AD' => 'Andorra', - 'AO' => 'Angola', - 'AI' => 'Anguilla', - 'AQ' => 'Antarctica', - 'AG' => 'Antigua and Barbuda', - 'AR' => 'Argentina', - 'AM' => 'Armenia', - 'AW' => 'Aruba', - 'AU' => 'Australia', - 'AT' => 'Austria', - 'AZ' => 'Azerbaijan', - 'BS' => 'Bahamas', - 'BH' => 'Bahrain', - 'BD' => 'Bangladesh', - 'BB' => 'Barbados', - 'BY' => 'Belarus', - 'BE' => 'Belgium', - 'BZ' => 'Belize', - 'BJ' => 'Benin', - 'BM' => 'Bermuda', - 'BT' => 'Bhutan', - 'BO' => 'Bolivia', - 'BQ' => 'Bonaire, Saint Eustatius and Saba', - 'BA' => 'Bosnia and Herzegovina', - 'BW' => 'Botswana', - 'BV' => 'Bouvet Island', - 'BR' => 'Brazil', - 'IO' => 'British Indian Ocean Territory', - 'VG' => 'British Virgin Islands', - 'BN' => 'Brunei', - 'BG' => 'Bulgaria', - 'BF' => 'Burkina Faso', - 'BI' => 'Burundi', - 'KH' => 'Cambodia', - 'CM' => 'Cameroon', - 'CA' => 'Canada', - 'CV' => 'Cape Verde', - 'KY' => 'Cayman Islands', - 'CF' => 'Central African Republic', - 'TD' => 'Chad', - 'CL' => 'Chile', - 'CN' => 'China', - 'CX' => 'Christmas Island', - 'CC' => 'Cocos Islands', - 'CO' => 'Colombia', - 'KM' => 'Comoros', - 'CK' => 'Cook Islands', - 'CR' => 'Costa Rica', - 'HR' => 'Croatia', - 'CU' => 'Cuba', - 'CW' => 'Curacao', - 'CY' => 'Cyprus', - 'CZ' => 'Czech Republic', - 'CD' => 'Democratic Republic of the Congo', - 'DK' => 'Denmark', - 'DJ' => 'Djibouti', - 'DM' => 'Dominica', - 'DO' => 'Dominican Republic', - 'TL' => 'East Timor', - 'EC' => 'Ecuador', - 'EG' => 'Egypt', - 'SV' => 'El Salvador', - 'GQ' => 'Equatorial Guinea', - 'ER' => 'Eritrea', - 'EE' => 'Estonia', - 'ET' => 'Ethiopia', - 'FK' => 'Falkland Islands', - 'FO' => 'Faroe Islands', - 'FJ' => 'Fiji', - 'FI' => 'Finland', - 'FR' => 'France', - 'GF' => 'French Guiana', - 'PF' => 'French Polynesia', - 'TF' => 'French Southern Territories', - 'GA' => 'Gabon', - 'GM' => 'Gambia', - 'GE' => 'Georgia', - 'DE' => 'Germany', - 'GH' => 'Ghana', - 'GI' => 'Gibraltar', - 'GR' => 'Greece', - 'GL' => 'Greenland', - 'GD' => 'Grenada', - 'GP' => 'Guadeloupe', - 'GU' => 'Guam', - 'GT' => 'Guatemala', - 'GG' => 'Guernsey', - 'GN' => 'Guinea', - 'GW' => 'Guinea-Bissau', - 'GY' => 'Guyana', - 'HT' => 'Haiti', - 'HM' => 'Heard Island and McDonald Islands', - 'HN' => 'Honduras', - 'HK' => 'Hong Kong', - 'HU' => 'Hungary', - 'IS' => 'Iceland', - 'IN' => 'India', - 'ID' => 'Indonesia', - 'IR' => 'Iran', - 'IQ' => 'Iraq', - 'IE' => 'Ireland', - 'IM' => 'Isle of Man', - 'IL' => 'Israel', - 'IT' => 'Italy', - 'CI' => 'Ivory Coast', - 'JM' => 'Jamaica', - 'JP' => 'Japan', - 'JE' => 'Jersey', - 'JO' => 'Jordan', - 'KZ' => 'Kazakhstan', - 'KE' => 'Kenya', - 'KI' => 'Kiribati', - 'XK' => 'Kosovo', - 'KW' => 'Kuwait', - 'KG' => 'Kyrgyzstan', - 'LA' => 'Laos', - 'LV' => 'Latvia', - 'LB' => 'Lebanon', - 'LS' => 'Lesotho', - 'LR' => 'Liberia', - 'LY' => 'Libya', - 'LI' => 'Liechtenstein', - 'LT' => 'Lithuania', - 'LU' => 'Luxembourg', - 'MO' => 'Macao', - 'MK' => 'Macedonia', - 'MG' => 'Madagascar', - 'MW' => 'Malawi', - 'MY' => 'Malaysia', - 'MV' => 'Maldives', - 'ML' => 'Mali', - 'MT' => 'Malta', - 'MH' => 'Marshall Islands', - 'MQ' => 'Martinique', - 'MR' => 'Mauritania', - 'MU' => 'Mauritius', - 'YT' => 'Mayotte', - 'MX' => 'Mexico', - 'FM' => 'Micronesia', - 'MD' => 'Moldova', - 'MC' => 'Monaco', - 'MN' => 'Mongolia', - 'ME' => 'Montenegro', - 'MS' => 'Montserrat', - 'MA' => 'Morocco', - 'MZ' => 'Mozambique', - 'MM' => 'Myanmar', - 'NA' => 'Namibia', - 'NR' => 'Nauru', - 'NP' => 'Nepal', - 'NL' => 'Netherlands', - 'NC' => 'New Caledonia', - 'NZ' => 'New Zealand', - 'NI' => 'Nicaragua', - 'NE' => 'Niger', - 'NG' => 'Nigeria', - 'NU' => 'Niue', - 'NF' => 'Norfolk Island', - 'KP' => 'North Korea', - 'MP' => 'Northern Mariana Islands', - 'NO' => 'Norway', - 'OM' => 'Oman', - 'PK' => 'Pakistan', - 'PW' => 'Palau', - 'PS' => 'Palestinian Territory', - 'PA' => 'Panama', - 'PG' => 'Papua New Guinea', - 'PY' => 'Paraguay', - 'PE' => 'Peru', - 'PH' => 'Philippines', - 'PN' => 'Pitcairn', - 'PL' => 'Poland', - 'PT' => 'Portugal', - 'PR' => 'Puerto Rico', - 'QA' => 'Qatar', - 'CG' => 'Republic of the Congo', - 'RE' => 'Reunion', - 'RO' => 'Romania', - 'RU' => 'Russia', - 'RW' => 'Rwanda', - 'BL' => 'Saint Barthelemy', - 'SH' => 'Saint Helena', - 'KN' => 'Saint Kitts and Nevis', - 'LC' => 'Saint Lucia', - 'MF' => 'Saint Martin', - 'PM' => 'Saint Pierre and Miquelon', - 'VC' => 'Saint Vincent and the Grenadines', - 'WS' => 'Samoa', - 'SM' => 'San Marino', - 'ST' => 'Sao Tome and Principe', - 'SA' => 'Saudi Arabia', - 'SN' => 'Senegal', - 'RS' => 'Serbia', - 'SC' => 'Seychelles', - 'SL' => 'Sierra Leone', - 'SG' => 'Singapore', - 'SX' => 'Sint Maarten', - 'SK' => 'Slovakia', - 'SI' => 'Slovenia', - 'SB' => 'Solomon Islands', - 'SO' => 'Somalia', - 'ZA' => 'South Africa', - 'GS' => 'South Georgia and the South Sandwich Islands', - 'KR' => 'South Korea', - 'SS' => 'South Sudan', - 'ES' => 'Spain', - 'LK' => 'Sri Lanka', - 'SD' => 'Sudan', - 'SR' => 'Suriname', - 'SJ' => 'Svalbard and Jan Mayen', - 'SZ' => 'Swaziland', - 'SE' => 'Sweden', - 'CH' => 'Switzerland', - 'SY' => 'Syria', - 'TW' => 'Taiwan', - 'TJ' => 'Tajikistan', - 'TZ' => 'Tanzania', - 'TH' => 'Thailand', - 'TG' => 'Togo', - 'TK' => 'Tokelau', - 'TO' => 'Tonga', - 'TT' => 'Trinidad and Tobago', - 'TN' => 'Tunisia', - 'TR' => 'Turkey', - 'TM' => 'Turkmenistan', - 'TC' => 'Turks and Caicos Islands', - 'TV' => 'Tuvalu', - 'VI' => 'U.S. Virgin Islands', - 'UG' => 'Uganda', - 'UA' => 'Ukraine', - 'AE' => 'United Arab Emirates', - 'GB' => 'United Kingdom', - 'US' => 'United States', - 'UM' => 'United States Minor Outlying Islands', - 'UY' => 'Uruguay', - 'UZ' => 'Uzbekistan', - 'VU' => 'Vanuatu', - 'VA' => 'Vatican', - 'VE' => 'Venezuela', - 'VN' => 'Vietnam', - 'WF' => 'Wallis and Futuna', - 'EH' => 'Western Sahara', - 'YE' => 'Yemen', - 'ZM' => 'Zambia', - 'ZW' => 'Zimbabwe', - ) ?> - - - - - - -
    - -
    -
    -
    - - - -
    - - - - - - -
    \ No newline at end of file diff --git a/freemius/templates/account/partials/addon.php b/freemius/templates/account/partials/addon.php deleted file mode 100644 index 4e71935..0000000 --- a/freemius/templates/account/partials/addon.php +++ /dev/null @@ -1,350 +0,0 @@ -get_slug(); - - - $addon = $fs->get_addon( $addon_id ); - $is_addon_activated = $fs->is_addon_activated( $addon_id ); - $is_addon_connected = $fs->is_addon_connected( $addon_id ); - - $fs_addon = $is_addon_connected ? - freemius( $addon_id ) : - false; - - // Aliases. - $download_latest_text = fs_text_x_inline( 'Download Latest', 'as download latest version', 'download-latest', $slug ); - $downgrading_plan_text = fs_text_inline( 'Downgrading your plan', 'downgrading-plan', $slug ); - $cancelling_subscription_text = fs_text_inline( 'Cancelling the subscription', 'cancelling-subscription', $slug ); - /* translators: %1s: Either 'Downgrading your plan' or 'Cancelling the subscription' */ - $downgrade_x_confirm_text = fs_text_inline( '%1s will immediately stop all future recurring payments and your %s plan license will expire in %s.', 'downgrade-x-confirm', $slug ); - $prices_increase_text = fs_text_inline( 'Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price.', 'pricing-increase-warning', $slug ); - $cancel_trial_confirm_text = fs_text_inline( 'Cancelling the trial will immediately block access to all premium features. Are you sure?', 'cancel-trial-confirm', $slug ); - $after_downgrade_non_blocking_text = fs_text_inline( 'You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support.', 'after-downgrade-non-blocking', $slug ); - $after_downgrade_blocking_text = fs_text_inline( 'Once your license expires you can still use the Free version but you will NOT have access to the %s features.', 'after-downgrade-blocking', $slug ); - /* translators: %s: Plan title (e.g. "Professional") */ - $activate_plan_text = fs_text_inline( 'Activate %s Plan', 'activate-x-plan', $slug ); - $version_text = fs_text_x_inline( 'Version', 'product version', 'version', $slug ); - /* translators: %s: Time period (e.g. Auto renews in "2 months") */ - $renews_in_text = fs_text_inline( 'Auto renews in %s', 'renews-in', $slug ); - /* translators: %s: Time period (e.g. Expires in "2 months") */ - $expires_in_text = fs_text_inline( 'Expires in %s', 'expires-in', $slug ); - $sync_license_text = fs_text_x_inline( 'Sync License', 'as synchronize license', 'sync-license', $slug ); - $cancel_trial_text = fs_text_inline( 'Cancel Trial', 'cancel-trial', $slug ); - $change_plan_text = fs_text_inline( 'Change Plan', 'change-plan', $slug ); - $upgrade_text = fs_text_x_inline( 'Upgrade', 'verb', 'upgrade', $slug ); - $addons_text = fs_text_inline( 'Add-Ons', 'add-ons', $slug ); - $downgrade_text = fs_text_x_inline( 'Downgrade', 'verb', 'downgrade', $slug ); - $trial_text = fs_text_x_inline( 'Trial', 'trial period', 'trial', $slug ); - $free_text = fs_text_inline( 'Free', 'free', $slug ); - $activate_text = fs_text_inline( 'Activate', 'activate', $slug ); - $plan_text = fs_text_x_inline( 'Plan', 'as product pricing plan', 'plan', $slug ); - - // Defaults. - $plan = null; - $is_paid_trial = false; - $license = null; - $site = null; - $is_active_subscription = false; - $subscription = null; - $is_paying = false; - - if ( is_object( $fs_addon ) ) { - $is_paying = $fs_addon->is_paying(); - $user = $fs_addon->get_user(); - $site = $fs_addon->get_site(); - $license = $fs_addon->_get_license(); - $subscription = ( is_object( $license ) ? - $fs_addon->_get_subscription( $license->id ) : - null ); - $plan = $fs_addon->get_plan(); - $is_active_subscription = ( is_object( $subscription ) && $subscription->is_active() ); - $is_paid_trial = $fs_addon->is_paid_trial(); - $show_upgrade = ( $fs_addon->has_paid_plan() && ! $is_paying && ! $is_paid_trial && ! $fs_addon->_has_premium_license() ); - $is_current_license_expired = is_object( $license ) && $license->is_expired(); - } -?> -> - - - title ?> - - - - id ?> - - - - get_plugin_version() ?> - - - - name ) ? $plan->title : $free_text ) ?> - - - is_trial() || is_object( $license ) ) : ?> - - - - is_trial() ) { - $tags[] = array( 'label' => $trial_text, 'type' => 'success' ); - - $tags[] = array( - 'label' => sprintf( - ( $is_paid_trial ? - $renews_in_text : - $expires_in_text ), - human_time_diff( time(), strtotime( $site->trial_ends ) ) - ), - 'type' => ( $is_paid_trial ? 'success' : 'warn' ) - ); - } else { - if ( is_object( $license ) ) { - if ( $license->is_cancelled ) { - $tags[] = array( - 'label' => fs_text_inline( 'Cancelled', 'cancelled', $slug ), - 'type' => 'error' - ); - } else if ( $license->is_expired() ) { - $tags[] = array( - 'label' => fs_text_inline( 'Expired', 'expired', $slug ), - 'type' => 'error' - ); - } else if ( $license->is_lifetime() ) { - $tags[] = array( - 'label' => fs_text_inline( 'No expiration', 'no-expiration', $slug ), - 'type' => 'success' - ); - } else if ( ! $is_active_subscription && ! $license->is_first_payment_pending() ) { - $tags[] = array( - 'label' => sprintf( $expires_in_text, human_time_diff( time(), strtotime( $license->expiration ) ) ), - 'type' => 'warn' - ); - } else if ( $is_active_subscription && ! $subscription->is_first_payment_pending() ) { - $tags[] = array( - 'label' => sprintf( $renews_in_text, human_time_diff( time(), strtotime( $subscription->next_payment ) ) ), - 'type' => 'success' - ); - } - } - } - - foreach ( $tags as $t ) { - printf( '' . "\n", $t['type'], $t['label'] ); - } - ?> - - - - - - get_id(), - 'account', - 'deactivate_license', - fs_text_inline( 'Deactivate License', 'deactivate-license', $slug ), - '', - array( 'plugin_id' => $addon_id ), - false - ); - - $human_readable_license_expiration = human_time_diff( time(), strtotime( $license->expiration ) ); - $downgrade_confirmation_message = sprintf( - $downgrade_x_confirm_text, - ( $fs_addon->is_only_premium() ? $cancelling_subscription_text : $downgrading_plan_text ), - $plan->title, - $human_readable_license_expiration - ); - - $after_downgrade_message = ! $license->is_block_features ? - sprintf( $after_downgrade_non_blocking_text, $plan->title, $fs_addon->get_module_label( true ) ) : - sprintf( $after_downgrade_blocking_text, $plan->title ); - - if ( ! $license->is_lifetime() && $is_active_subscription ) { - $buttons[] = fs_ui_get_action_button( - $fs->get_id(), - 'account', - 'downgrade_account', - esc_html( $fs_addon->is_only_premium() ? fs_text_inline( 'Cancel Subscription', 'cancel-subscription', $slug ) : $downgrade_text ), - '', - array( 'plugin_id' => $addon_id ), - false, - false, - false, - ( $downgrade_confirmation_message . ' ' . $after_downgrade_message . ' ' . $prices_increase_text ), - 'POST' - ); - } - } else if ( $is_paid_trial ) { - $buttons[] = fs_ui_get_action_button( - $fs->get_id(), - 'account', - 'cancel_trial', - esc_html( $cancel_trial_text ), - '', - array( 'plugin_id' => $addon_id ), - false, - false, - 'dashicons dashicons-download', - $cancel_trial_confirm_text, - 'POST' - ); - } else { - $premium_license = $fs_addon->_get_available_premium_license(); - - if ( is_object( $premium_license ) ) { - $premium_plan = $fs_addon->_get_plan_by_id( $premium_license->plan_id ); - $site = $fs_addon->get_site(); - - $buttons[] = fs_ui_get_action_button( - $fs->get_id(), - 'account', - 'activate_license', - esc_html( sprintf( $activate_plan_text, $premium_plan->title, ( $site->is_localhost() && $premium_license->is_free_localhost ) ? '[localhost]' : ( 1 < $premium_license->left() ? $premium_license->left() . ' left' : '' ) ) ), - '', - array( - 'plugin_id' => $addon_id, - 'license_id' => $premium_license->id, - ) - ); - } - } - - if ( 0 == count( $buttons ) ) { - if ( $show_upgrade && $fs_addon->is_premium() ) { - $fs_addon->_add_license_activation_dialog_box(); - - $buttons[] = fs_ui_get_action_button( - $fs->get_id(), - 'account', - 'activate_license', - fs_esc_html_inline( 'Activate License', 'activate-license', $slug ), - 'activate-license-trigger ' . $fs_addon->get_unique_affix(), - array( - 'plugin_id' => $addon_id, - ), - false, - true - ); - } - - // Add sync license only if non of the other CTAs are visible. - $buttons[] = fs_ui_get_action_button( - $fs->get_id(), - 'account', - $fs->get_unique_affix() . '_sync_license', - esc_html( $sync_license_text ), - '', - array( 'plugin_id' => $addon_id ), - false, - true - ); - - } - } else if ( ! $show_upgrade ) { - if ( $fs->is_addon_installed( $addon_id ) ) { - $addon_file = $fs->get_addon_basename( $addon_id ); - $buttons[] = sprintf( - '%s', - wp_nonce_url( 'plugins.php?action=activate&plugin=' . $addon_file, 'activate-plugin_' . $addon_file ), - fs_esc_attr_inline( 'Activate this add-on', 'activate-this-addon', $slug ), - $activate_text - ); - } else { - if ( $fs->is_allowed_to_install() ) { - $buttons[] = sprintf( - '%s', - wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $addon->slug ), 'install-plugin_' . $addon->slug ), - fs_text_inline( 'Install Now', 'install-now', $slug ) - ); - } else { - $buttons[] = sprintf( - '%s', - $fs->_get_latest_download_local_url( $addon_id ), - esc_html( $download_latest_text ) - ); - } - } - } - - if ( $show_upgrade ) { - $buttons[] = sprintf( ' %s', - esc_url( network_admin_url( 'plugin-install.php?fs_allow_updater_and_dialog=true&tab=plugin-information&parent_plugin_id=' . $fs->get_id() . '&plugin=' . $addon->slug . - '&TB_iframe=true&width=600&height=550' ) ), - esc_attr( sprintf( fs_text_inline( 'More information about %s', 'more-information-about-x', $slug ), $addon->title ) ), - esc_attr( $addon->title ), - ( $fs_addon->has_free_plan() ? - $upgrade_text : - fs_text_x_inline( 'Purchase', 'verb', 'purchase', $slug ) ) - ); - } - - $buttons_count = count( $buttons ); - ?> - - - 1 ) : ?> -
    - - 1 ) : ?>
    - - - - - - - is_addon_installed( $addon_id ) ) : ?> - get_addon_basename( $addon_id ) ?> - - - is_allowed_to_install() ) : ?> - - - - - - - - - - - - get_id(), 'account', - 'delete_account', - fs_text_x_inline( 'Delete', 'verb', 'delete', $slug ), - '', - array( 'plugin_id' => $addon_id ), - false, - $show_upgrade - ); - } - ?> - - - - \ No newline at end of file diff --git a/freemius/templates/account/partials/deactivate-license-button.php b/freemius/templates/account/partials/deactivate-license-button.php deleted file mode 100644 index 123b092..0000000 --- a/freemius/templates/account/partials/deactivate-license-button.php +++ /dev/null @@ -1,36 +0,0 @@ - -
    - - - - - -
    \ No newline at end of file diff --git a/freemius/templates/account/partials/index.php b/freemius/templates/account/partials/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/account/partials/index.php +++ /dev/null @@ -1,3 +0,0 @@ -get_slug(); - $site = $VARS['site']; - $main_license = $VARS['license']; - $has_paid_plan = $fs->has_paid_plan(); - $is_premium = $fs->is_premium(); - $main_user = $fs->get_user(); - $blog_id = $site['blog_id']; - - $install = $VARS['install']; - $is_registered = ! empty( $install ); - $license = null; - $trial_plan = $fs->get_trial_plan(); - $free_text = fs_text_inline( 'Free', 'free', $slug ); -?> - data-install-id="id ?>"> - - - id ?> - - -
    - - - - -
    - - - - - - - - - - $fs, - 'slug' => $slug, - 'blog_id' => $blog_id, - 'class' => 'button-small', - ); - - $license = null; - if ( $is_registered ) { - $view_params['install_id'] = $install->id; - $view_params['is_localhost'] = $install->is_localhost(); - - $has_license = FS_Plugin_License::is_valid_id( $install->license_id ); - $license = $has_license ? - $fs->_get_license_by_id( $install->license_id ) : - null; - } else { - $view_params['is_localhost'] = FS_Site::is_localhost_by_address( $site['url'] ); - } - - if ( is_object( $license ) ) { - $view_params['license'] = $license; - - // Show license deactivation button. - fs_require_template( 'account/partials/deactivate-license-button.php', $view_params ); - } else { - if ( is_object( $main_license ) && $main_license->can_activate( $view_params['is_localhost'] ) ) { - // Main license is available for activation. - $available_license = $main_license; - } else { - // Try to find any available license for activation. - $available_license = $fs->_get_available_premium_license( $view_params['is_localhost'] ); - } - - if ( is_object( $available_license ) ) { - $premium_plan = $fs->_get_plan_by_id( $available_license->plan_id ); - - $view_params['license'] = $available_license; - $view_params['class'] .= ' button-primary'; - $view_params['plan'] = $premium_plan; - - fs_require_template( 'account/partials/activate-license-button.php', $view_params ); - } - } - } ?> - - - - - is_trial() ) { - if ( $trial_plan->id == $install->trial_plan_id ) { - $plan_title = is_string( $trial_plan->name ) ? - strtoupper( $trial_plan->title ) : - fs_text_inline( 'Trial', 'trial', $slug ); - } else { - $plan_title = fs_text_inline( 'Trial', 'trial', $slug ); - } - } else { - $plan = $fs->_get_plan_by_id( $install->plan_id ); - $plan_title = strtoupper( is_string( $plan->title ) ? - $plan->title : - strtoupper( $free_text ) - ); - } - } - ?> - - - - - - - - - - - - - - - - - - > - - - - - - - - user_id != $main_user->id ) : ?> - user_id ) ?> - - - > - - - - - - - - > - - - - - - - - > - - - - - - - - - - > - - - - - - - - > - - - - - - - - - - > - - - - - - - - id != $license->id ) : ?> - _get_subscription( $license->id ) ?> - is_lifetime() && is_object( $subscription ) ) : ?> - - > - - is_active(); - - $renews_in_text = fs_text_inline( 'Auto renews in %s', 'renews-in', $slug ); - /* translators: %s: Time period (e.g. Expires in "2 months") */ - $expires_in_text = fs_text_inline( 'Expires in %s', 'expires-in', $slug ); - ?> - - - - - - - - - - -
    - : - license_id ) ) : ?> - - -
    - - id}", ':' ) ) ?> - - - -
    - -
    - : - get_name() ) ?>
    - : - email ) ?>
    - : - id ?>
    - : - public_key ) ?>
    - : - - secret_key, 0, 6 ) ) . str_pad( '', 23 * 6, '•' ) . htmlspecialchars( substr( $install->secret_key, - 3 ) ) ?> -
    - : - - secret_key, 0, 6 ) ) . str_pad( '', 23 * 6, '•' ) . htmlspecialchars( substr( $license->secret_key, - 3 ) ) ?> - - - -
    - : - - id ?> - billing_cycle ? - _fs_text_inline( 'Annual', 'annual', $slug ) : - _fs_text_inline( 'Monthly', 'monthly', $slug ) - ); - ?> - - is_first_payment_pending() ) : ?> - - is_first_payment_pending() ) : ?> - - - - expiration ) ); - $downgrade_confirmation_message = sprintf( - $downgrade_x_confirm_text, - ( $fs->is_only_premium() ? $cancelling_subscription_text : $downgrading_plan_text ), - $plan->title, - $human_readable_license_expiration - ); - - $after_downgrade_message = ! $license->is_block_features ? - sprintf( $after_downgrade_non_blocking_text, $plan->title, $fs->get_module_label( true ) ) : - sprintf( $after_downgrade_blocking_text, $plan->title ); - ?> - -
    - - - - -
    -
    - - - - \ No newline at end of file diff --git a/freemius/templates/account/payments.php b/freemius/templates/account/payments.php deleted file mode 100644 index ad01fe3..0000000 --- a/freemius/templates/account/payments.php +++ /dev/null @@ -1,59 +0,0 @@ -get_slug(); - - $payments = $fs->_fetch_payments(); - - $show_payments = ( is_array( $payments ) && 0 < count( $payments ) ); - - if ( $show_payments ) : -?> -
    -
    -

    - -
    - - - - - - - - - - - - - > - - - - - - - -
    id ?>created ) ) ?>$gross ?>is_migrated() ) : ?>
    -
    -
    -
    -get_slug(); - - $open_addon_slug = fs_request_get( 'slug' ); - - $open_addon = false; - - /** - * @var FS_Plugin[] - */ - $addons = $fs->get_addons(); - - $has_addons = ( is_array( $addons ) && 0 < count( $addons ) ); - - $has_tabs = $fs->_add_tabs_before_content(); -?> -
    - -

    get_plugin_name() ) ) ?>

    - - -
    - -

    - -
      - - - slug ) ); - - $price = 0; - $has_trial = false; - $has_free_plan = false; - $has_paid_plan = false; - - $result = $fs->get_api_plugin_scope()->get( $fs->add_show_pending( "/addons/{$addon->id}/pricing.json?type=visible" ) ); - if ( ! isset( $result->error ) ) { - $plans = $result->plans; - - if ( is_array( $plans ) && 0 < count( $plans ) ) { - foreach ( $plans as $plan ) { - if ( ! isset( $plan->pricing ) || - ! is_array( $plan->pricing ) || - 0 == count( $plan->pricing ) - ) { - // No pricing means a free plan. - $has_free_plan = true; - continue; - } - - - $has_paid_plan = true; - $has_trial = $has_trial || ( is_numeric( $plan->trial_period ) && ( $plan->trial_period > 0 ) ); - - $min_price = 999999; - foreach ( $plan->pricing as $pricing ) { - if ( ! is_null( $pricing->annual_price ) && $pricing->annual_price > 0 ) { - $min_price = min( $min_price, $pricing->annual_price ); - } else if ( ! is_null( $pricing->monthly_price ) && $pricing->monthly_price > 0 ) { - $min_price = min( $min_price, 12 * $pricing->monthly_price ); - } - } - - if ( $min_price < 999999 ) { - $price = $min_price; - } - - } - } - - if ( ! $has_paid_plan && ! $has_free_plan ) { - continue; - } - } - ?> -
    • - ', - esc_url( network_admin_url( 'plugin-install.php?fs_allow_updater_and_dialog=true&tab=plugin-information&parent_plugin_id=' . $fs->get_id() . '&plugin=' . $addon->slug . - '&TB_iframe=true&width=600&height=550' ) ), - esc_attr( sprintf( fs_text_inline( 'More information about %s', 'more-information-about-x', $slug ), $addon->title ) ), - esc_attr( $addon->title ) - ); - ?> - info ) ) { - $addon->info = new stdClass(); - } - if ( ! isset( $addon->info->card_banner_url ) ) { - $addon->info->card_banner_url = '//dashboard.freemius.com/assets/img/marketing/blueprint-300x100.jpg'; - } - if ( ! isset( $addon->info->short_description ) ) { - $addon->info->short_description = 'What\'s the one thing your add-on does really, really well?'; - } - ?> -
      -
        -
      • - -
      • title ?>
      • -
      • - 0) - $descriptors[] = '$' . number_format( $price, 2 ); - if ($has_trial) - $descriptors[] = fs_text_x_inline( 'Trial', 'trial period', 'trial', $slug ); - - echo implode(' - ', $descriptors) ?> -
      • -
      • info->short_description ) ? $addon->info->short_description : 'SHORT DESCRIPTION' ?>
      • -
      • -
      -
      -
    • - - -
    -
    -
    - -_add_tabs_after_content(); - } - - $params = array( - 'page' => 'addons', - 'module_id' => $fs->get_id(), - 'module_type' => $fs->get_module_type(), - 'module_slug' => $slug, - 'module_version' => $fs->get_plugin_version(), - ); - fs_require_template( 'powered-by.php', $params ); \ No newline at end of file diff --git a/freemius/templates/add-trial-to-pricing.php b/freemius/templates/add-trial-to-pricing.php deleted file mode 100644 index 24fc885..0000000 --- a/freemius/templates/add-trial-to-pricing.php +++ /dev/null @@ -1,31 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/admin-notice.php b/freemius/templates/admin-notice.php deleted file mode 100644 index 6079e71..0000000 --- a/freemius/templates/admin-notice.php +++ /dev/null @@ -1,76 +0,0 @@ - - data-id="" data-manager-id="" data-slug="" data-type="" - class=" fs-notice"> - - - -
    -
    - -
    - - -
    - diff --git a/freemius/templates/ajax-loader.php b/freemius/templates/ajax-loader.php deleted file mode 100644 index bc116f8..0000000 --- a/freemius/templates/ajax-loader.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/freemius/templates/auto-installation.php b/freemius/templates/auto-installation.php deleted file mode 100644 index 1fc1278..0000000 --- a/freemius/templates/auto-installation.php +++ /dev/null @@ -1,249 +0,0 @@ -is_tracking_allowed() ? - 'stop_tracking' : - 'allow_tracking'; - - $title = $fs->get_plugin_title(); - - if ( $plugin_id != $fs->get_id() ) { - $addon = $fs->get_addon( $plugin_id ); - - if ( is_object( $addon ) ) { - $title = $addon->title . ' ' . fs_text_inline( 'Add-On', 'addon', $slug ); - } - } - - $plugin_title = sprintf( - '%s', - esc_html( $title ) - ); - - $sec_countdown = 30; - $countdown_html = sprintf( - esc_js( - /* translators: %s: Number of seconds */ - fs_text_inline( '%s sec', 'x-sec', $slug ) - ), - sprintf( '%s', $sec_countdown ) - ); - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); - fs_enqueue_local_style( 'fs_common', '/admin/common.css' ); - - $params = array(); - $loader_html = fs_get_template( 'ajax-loader.php', $params ); - - // Pass unique auto installation URL if WP_Filesystem is needed. - $install_url = $fs->_get_sync_license_url( - $plugin_id, - true, - array( 'auto_install' => 'true' ) - ); - - - ob_start(); - - $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. - - $credentials = request_filesystem_credentials( - esc_url_raw( $install_url ), - $method, - false, - WP_PLUGIN_DIR, - array() - ); - - $credentials_form = ob_get_clean(); - - $require_credentials = ! empty( $credentials_form ); -?> -
    -
    -
    -

    -
    -
    - - -
    - -
    - -

    %s', - 'https://freemius.com', - 'freemius.com' - ), - $countdown_html - ) ?>

    - - -
    - -
    -
    ' - - diff --git a/freemius/templates/checkout.php b/freemius/templates/checkout.php deleted file mode 100644 index c2aa68c..0000000 --- a/freemius/templates/checkout.php +++ /dev/null @@ -1,329 +0,0 @@ -get_slug(); - - $timestamp = time(); - - $context_params = array( - 'plugin_id' => $fs->get_id(), - 'public_key' => $fs->get_public_key(), - 'plugin_version' => $fs->get_plugin_version(), - 'mode' => 'dashboard', - 'trial' => fs_request_get_bool( 'trial' ), - ); - - $plan_id = fs_request_get( 'plan_id' ); - if ( FS_Plugin_Plan::is_valid_id( $plan_id ) ) { - $context_params['plan_id'] = $plan_id; - } - - $licenses = fs_request_get( 'licenses' ); - if ( $licenses === strval( intval( $licenses ) ) && $licenses > 0 ) { - $context_params['licenses'] = $licenses; - } - - $plugin_id = fs_request_get( 'plugin_id' ); - if ( ! FS_Plugin::is_valid_id( $plugin_id ) ) { - $plugin_id = $fs->get_id(); - } - - if ( $plugin_id == $fs->get_id() ) { - $is_premium = $fs->is_premium(); - } else { - // Identify the module code version of the checkout context module. - if ( $fs->is_addon_activated( $plugin_id ) ) { - $fs_addon = Freemius::get_instance_by_id( $plugin_id ); - $is_premium = $fs_addon->is_premium(); - } else { - // If add-on isn't activated assume the premium version isn't installed. - $is_premium = false; - } - } - - // Get site context secure params. - if ( $fs->is_registered() ) { - $site = $fs->get_site(); - - if ( $plugin_id != $fs->get_id() ) { - if ( $fs->is_addon_activated( $plugin_id ) ) { - $fs_addon = Freemius::get_instance_by_id( $plugin_id ); - $site = $fs_addon->get_site(); - } - } - - $context_params = array_merge( $context_params, FS_Security::instance()->get_context_params( - $site, - $timestamp, - 'checkout' - ) ); - } else { - $current_user = Freemius::_get_current_wp_user(); - - // Add site and user info to the request, this information - // is NOT being stored unless the user complete the purchase - // and agrees to the TOS. - $context_params = array_merge( $context_params, array( - 'user_firstname' => $current_user->user_firstname, - 'user_lastname' => $current_user->user_lastname, - 'user_email' => $current_user->user_email, - 'home_url' => home_url(), - ) ); - - $fs_user = Freemius::_get_user_by_email( $current_user->user_email ); - - if ( is_object( $fs_user ) && $fs_user->is_verified() ) { - $context_params = array_merge( $context_params, FS_Security::instance()->get_context_params( - $fs_user, - $timestamp, - 'checkout' - ) ); - } - } - - if ( $fs->is_payments_sandbox() ) { - // Append plugin secure token for sandbox mode authentication. - $context_params['sandbox'] = FS_Security::instance()->get_secure_token( - $fs->get_plugin(), - $timestamp, - 'checkout' - ); - - /** - * @since 1.1.7.3 Add security timestamp for sandbox even for anonymous user. - */ - if ( empty( $context_params['s_ctx_ts'] ) ) { - $context_params['s_ctx_ts'] = $timestamp; - } - } - - $return_url = $fs->_get_sync_license_url( $plugin_id ); - - $can_user_install = ( - ( $fs->is_plugin() && current_user_can( 'install_plugins' ) ) || - ( $fs->is_theme() && current_user_can( 'install_themes' ) ) - ); - - $query_params = array_merge( $context_params, $_GET, array( - // Current plugin version. - 'plugin_version' => $fs->get_plugin_version(), - 'sdk_version' => WP_FS__SDK_VERSION, - 'is_premium' => $is_premium ? 'true' : 'false', - 'can_install' => $can_user_install ? 'true' : 'false', - 'return_url' => $return_url, - ) ); - - $xdebug_session = fs_request_get( 'XDEBUG_SESSION' ); - if ( false !== $xdebug_session ) { - $query_params['XDEBUG_SESSION'] = $xdebug_session; - } - - $view_params = array( - 'id' => $VARS['id'], - 'page' => strtolower( $fs->get_text_inline( 'Checkout', 'checkout' ) ) . ' ' . $fs->get_text_inline( 'PCI compliant', 'pci-compliant' ), - ); - fs_require_once_template('secure-https-header.php', $view_params); -?> -
    -
    - -
    \ No newline at end of file diff --git a/freemius/templates/connect.php b/freemius/templates/connect.php deleted file mode 100644 index e8378c2..0000000 --- a/freemius/templates/connect.php +++ /dev/null @@ -1,932 +0,0 @@ -get_slug(); - - $is_pending_activation = $fs->is_pending_activation(); - $is_premium_only = $fs->is_only_premium(); - $has_paid_plans = $fs->has_paid_plan(); - $is_premium_code = $fs->is_premium(); - $is_freemium = $fs->is_freemium(); - - $fs->_enqueue_connect_essentials(); - - $current_user = Freemius::_get_current_wp_user(); - - $first_name = $current_user->user_firstname; - if ( empty( $first_name ) ) { - $first_name = $current_user->nickname; - } - - $site_url = get_site_url(); - $protocol_pos = strpos( $site_url, '://' ); - if ( false !== $protocol_pos ) { - $site_url = substr( $site_url, $protocol_pos + 3 ); - } - - $freemius_site_www = 'https://freemius.com'; - - $freemius_usage_tracking_url = $freemius_site_www . '/wordpress/usage-tracking/' . $fs->get_id() . "/{$slug}/"; - $freemius_plugin_terms_url = $freemius_site_www . '/terms/' . $fs->get_id() . "/{$slug}/"; - - $freemius_site_url = $fs->is_premium() ? - $freemius_site_www : - $freemius_usage_tracking_url; - - if ( $fs->is_premium() ) { - $freemius_site_url .= '?' . http_build_query( array( - 'id' => $fs->get_id(), - 'slug' => $slug, - ) ); - } - - $freemius_link = 'freemius.com'; - - $error = fs_request_get( 'error' ); - - $require_license_key = $is_premium_only || - ( $is_freemium && $is_premium_code && fs_request_get_bool( 'require_license', true ) ); - - if ( $is_pending_activation ) { - $require_license_key = false; - } - - if ( $require_license_key ) { - $fs->_add_license_activation_dialog_box(); - } - - $is_optin_dialog = ( - $fs->is_theme() && - $fs->is_themes_page() && - ( ! $fs->has_settings_menu() || $fs->is_free_wp_org_theme() ) - ); - - if ( $is_optin_dialog ) { - $show_close_button = false; - $previous_theme_activation_url = ''; - - if ( ! $is_premium_code ) { - $show_close_button = true; - } else if ( $is_premium_only ) { - $previous_theme_activation_url = $fs->get_previous_theme_activation_url(); - $show_close_button = ( ! empty( $previous_theme_activation_url ) ); - } - } - - $is_network_level_activation = ( - fs_is_network_admin() && - $fs->is_network_active() && - ! $fs->is_network_delegated_connection() - ); - - $fs_user = Freemius::_get_user_by_email( $current_user->user_email ); - - $activate_with_current_user = ( - is_object( $fs_user ) && - ! $is_pending_activation && - // If requires a license for activation, use the user associated with the license for the opt-in. - ! $require_license_key && - ! $is_network_level_activation - ); - - $optin_params = $fs->get_opt_in_params( array(), $is_network_level_activation ); - $sites = isset( $optin_params['sites'] ) ? $optin_params['sites'] : array(); - - $is_network_upgrade_mode = ( fs_is_network_admin() && $fs->is_network_upgrade_mode() ); - - /* translators: %s: name (e.g. Hey John,) */ - $hey_x_text = esc_html( sprintf( fs_text_x_inline( 'Hey %s,', 'greeting', 'hey-x', $slug ), $first_name ) ); - - $is_gdpr_required = ( ! $is_pending_activation && ! $require_license_key ) ? - FS_GDPR_Manager::instance()->is_required() : - false; - - if ( is_null( $is_gdpr_required ) ) { - $is_gdpr_required = $fs->fetch_and_store_current_user_gdpr_anonymously(); - } -?> - -
    - - - - -
    -
    - - - $fs->get_id() ); - fs_require_once_template( 'plugin-icon.php', $vars ); - ?> - - -
    -
    - -

    - -

    apply_filters( 'pending_activation_message', sprintf( - /* translators: %s: name (e.g. Thanks John!) */ - fs_text_inline( 'Thanks %s!', 'thanks-x', $slug ) . '
    ' . - fs_text_inline( 'You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s.', 'pending-activation-message', $slug ), - $first_name, - '' . $fs->get_plugin_name() . '', - '' . $current_user->user_email . '', - fs_text_inline( 'complete the install', 'complete-the-install', $slug ) - ) ); - } else if ( $require_license_key ) { - $button_label = $is_network_upgrade_mode ? - fs_text_inline( 'Activate License', 'agree-activate-license', $slug ) : - fs_text_inline( 'Agree & Activate License', 'agree-activate-license', $slug ); - - $message = $fs->apply_filters( - 'connect-message_on-premium', - ($is_network_upgrade_mode ? - '' : - /* translators: %s: name (e.g. Hey John,) */ - $hey_x_text . '
    ' - ) . - sprintf( fs_text_inline( 'Thanks for purchasing %s! To get started, please enter your license key:', 'thanks-for-purchasing', $slug ), '' . $fs->get_plugin_name() . '' ), - $first_name, - $fs->get_plugin_name() - ); - } else { - $filter = 'connect_message'; - $default_optin_message = $is_gdpr_required ? - fs_text_inline( 'Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s.', 'connect-message', $slug) : - fs_text_inline( 'Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s.', 'connect-message', $slug); - - if ( $fs->is_plugin_update() ) { - // If Freemius was added on a plugin update, set different - // opt-in message. - $default_optin_message = $is_gdpr_required ? - fs_text_inline( 'Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that\'s okay! %1$s will still work just fine.', 'connect-message_on-update', $slug ) : - fs_text_inline( 'Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that\'s okay! %1$s will still work just fine.', 'connect-message_on-update', $slug ); - - // If user customized the opt-in message on update, use - // that message. Otherwise, fallback to regular opt-in - // custom message if exist. - if ( $fs->has_filter( 'connect_message_on_update' ) ) { - $filter = 'connect_message_on_update'; - } - } - - $message = $fs->apply_filters( - $filter, - ($is_network_upgrade_mode ? - '' : - /* translators: %s: name (e.g. Hey John,) */ - $hey_x_text . '
    ' - ) . - sprintf( - esc_html( $default_optin_message ), - '' . esc_html( $fs->get_plugin_name() ) . '', - '' . $current_user->user_login . '', - '' . $site_url . '', - $freemius_link - ), - $first_name, - $fs->get_plugin_name(), - $current_user->user_login, - '' . $site_url . '', - $freemius_link, - $is_gdpr_required - ); - } - - if ( $is_network_upgrade_mode ) { - $network_integration_text = esc_html( fs_text_inline( 'We\'re excited to introduce the Freemius network-level integration.', 'connect_message_network_upgrade', $slug ) ); - - if ($is_premium_code){ - $message = $network_integration_text . ' ' . sprintf( fs_text_inline( 'During the update process we detected %d site(s) that are still pending license activation.', 'connect_message_network_upgrade-premium', $slug ), count( $sites ) ); - - $message .= '

    ' . sprintf( fs_text_inline( 'If you\'d like to use the %s on those sites, please enter your license key below and click the activation button.', 'connect_message_network_upgrade-premium-activate-license', $slug ), $is_premium_only ? $fs->get_module_label( true ) : sprintf( - /* translators: %s: module type (plugin, theme, or add-on) */ - fs_text_inline( "%s's paid features", 'x-paid-features', $slug ), - $fs->get_module_label( true ) - ) ); - - /* translators: %s: module type (plugin, theme, or add-on) */ - $message .= ' ' . sprintf( fs_text_inline( 'Alternatively, you can skip it for now and activate the license later, in your %s\'s network-level Account page.', 'connect_message_network_upgrade-premium-skip-license', $slug ), $fs->get_module_label( true ) ); - }else { - $message = $network_integration_text . ' ' . sprintf( fs_text_inline( 'During the update process we detected %s site(s) in the network that are still pending your attention.', 'connect_message_network_upgrade-free', $slug ), count( $sites ) ) . '

    ' . ( fs_starts_with( $message, $hey_x_text . '
    ' ) ? substr( $message, strlen( $hey_x_text . '
    ' ) ) : $message ); - } - } - - echo $message; - ?>

    - -
    - - - -
    - - do_action( 'connect/after_license_input' ); - ?> - - - %s', - $fs->get_text_inline( 'Yes', 'yes' ), - $fs->get_text_inline( 'send me security & feature updates, educational content and offers.', 'send-updates' ) - ); - - $do_not_send_updates_text = sprintf( - '%s - %s', - $fs->get_text_inline( 'No', 'no' ), - sprintf( - $fs->get_text_inline( 'do %sNOT%s send me security & feature updates, educational content and offers.', 'do-not-send-updates' ), - '', - '' - ) - ); - ?> -
    - -
    - - -
    -
    - - - $fs->get_id(), - 'sites' => $sites, - 'require_license_key' => $require_license_key - ); - - echo fs_get_template( 'partials/network-activation.php', $vars ); - ?> - -
    -
    - is_enable_anonymous() && ! $is_pending_activation && ( ! $require_license_key || $is_network_upgrade_mode ) ) : ?> - - - - - - -
    - - get_public_key() ) ?> - -
    - -
    - - $value ) : ?> - - - -
    - -
    array( - 'icon-class' => 'dashicons dashicons-admin-users', - 'label' => $fs->get_text_inline( 'Your Profile Overview', 'permissions-profile' ), - 'desc' => $fs->get_text_inline( 'Name and email address', 'permissions-profile_desc' ), - 'priority' => 5, - ), - 'site' => array( - 'icon-class' => 'dashicons dashicons-admin-settings', - 'label' => $fs->get_text_inline( 'Your Site Overview', 'permissions-site' ), - 'desc' => $fs->get_text_inline( 'Site URL, WP version, PHP info, plugins & themes', 'permissions-site_desc' ), - 'priority' => 10, - ), - 'notices' => array( - 'icon-class' => 'dashicons dashicons-testimonial', - 'label' => $fs->get_text_inline( 'Admin Notices', 'permissions-admin-notices' ), - 'desc' => $fs->get_text_inline( 'Updates, announcements, marketing, no spam', 'permissions-newsletter_desc' ), - 'priority' => 13, - ), - 'events' => array( - 'icon-class' => 'dashicons dashicons-admin-plugins', - 'label' => sprintf( $fs->get_text_inline( 'Current %s Events', 'permissions-events' ), ucfirst( $fs->get_module_type() ) ), - 'desc' => $fs->get_text_inline( 'Activation, deactivation and uninstall', 'permissions-events_desc' ), - 'priority' => 20, - ), - ); - - // Add newsletter permissions if enabled. - if ( $is_gdpr_required || $fs->is_permission_requested( 'newsletter' ) ) { - $permissions['newsletter'] = array( - 'icon-class' => 'dashicons dashicons-email-alt', - 'label' => $fs->get_text_inline( 'Newsletter', 'permissions-newsletter' ), - 'desc' => $fs->get_text_inline( 'Updates, announcements, marketing, no spam', 'permissions-newsletter_desc' ), - 'priority' => 15, - ); - } - - // Allow filtering of the permissions list. - $permissions = $fs->apply_filters( 'permission_list', $permissions ); - - // Sort by priority. - uasort( $permissions, 'fs_sort_by_priority' ); - - if ( ! empty( $permissions ) ) : ?> -
    - -

    get_module_label( true ), - $freemius_link - ) ?>

    - - -
      $permission ) : ?> -
    • - - -
      - - -

      -
      -
    • - -
    -
    - - -
    -

    - - - - - - - -

    -
    - -
    - -   -   - -
    -
    - -
    - - \ No newline at end of file diff --git a/freemius/templates/contact.php b/freemius/templates/contact.php deleted file mode 100644 index bba1018..0000000 --- a/freemius/templates/contact.php +++ /dev/null @@ -1,128 +0,0 @@ -get_slug(); - - $context_params = array( - 'plugin_id' => $fs->get_id(), - 'plugin_public_key' => $fs->get_public_key(), - 'plugin_version' => $fs->get_plugin_version(), - ); - - - // Get site context secure params. - if ( $fs->is_registered() ) { - $context_params = array_merge( $context_params, FS_Security::instance()->get_context_params( - $fs->get_site(), - time(), - 'contact' - ) ); - } - - $query_params = array_merge( $_GET, array_merge( $context_params, array( - 'plugin_version' => $fs->get_plugin_version(), - 'wp_login_url' => wp_login_url(), - 'site_url' => get_site_url(), -// 'wp_admin_css' => get_bloginfo('wpurl') . "/wp-admin/load-styles.php?c=1&load=buttons,wp-admin,dashicons", - ) ) ); - - $view_params = array( - 'id' => $VARS['id'], - 'page' => strtolower( $fs->get_text_inline( 'Contact', 'contact' ) ), - ); - fs_require_once_template('secure-https-header.php', $view_params); - - $has_tabs = $fs->_add_tabs_before_content(); - - if ( $has_tabs ) { - $query_params['tabs'] = 'true'; - } -?> -
    -
    - -
    -_add_tabs_after_content(); - } - - $params = array( - 'page' => 'contact', - 'module_id' => $fs->get_id(), - 'module_type' => $fs->get_module_type(), - 'module_slug' => $slug, - 'module_version' => $fs->get_plugin_version(), - ); - fs_require_template( 'powered-by.php', $params ); \ No newline at end of file diff --git a/freemius/templates/debug.php b/freemius/templates/debug.php deleted file mode 100644 index bafff16..0000000 --- a/freemius/templates/debug.php +++ /dev/null @@ -1,726 +0,0 @@ - -

    newest->version ?>

    -
    - - - - -
    -
    - - -
    - -
    -

    - - - - - - - - get_option( 'ms_migration_complete', false, true ) ) : ?> - - - - - - -
    - -
    - - - -
    -
    - -
    - - -
    -
    - -
    - - - -
    -
    - -
    - - -
    -
    - -
    - - - -
    -
    - - - -
    - - 'WP_FS__REMOTE_ADDR', - 'val' => WP_FS__REMOTE_ADDR, - ), - array( - 'key' => 'WP_FS__ADDRESS_PRODUCTION', - 'val' => WP_FS__ADDRESS_PRODUCTION, - ), - array( - 'key' => 'FS_API__ADDRESS', - 'val' => FS_API__ADDRESS, - ), - array( - 'key' => 'FS_API__SANDBOX_ADDRESS', - 'val' => FS_API__SANDBOX_ADDRESS, - ), - array( - 'key' => 'WP_FS__DIR', - 'val' => WP_FS__DIR, - ), - ) -?> -
    - - - - - - - - - - > - - - - - - -
    -

    - - - - - - - - - - - plugins as $sdk_path => $data ) : ?> - version ) ?> - > - - - - - - - -
    version ?>plugin_path ?>
    - - - - - get_option( $module_type . 's' ) ?> - 0 ) : ?> -

    - - - - - - - - - - - - - - - - - - - - $data ) : ?> - file ); - } else { - $current_theme = wp_get_theme(); - $is_active = ( $current_theme->stylesheet === $data->file ); - - if ( ! $is_active && is_child_theme() ) { - $parent_theme = $current_theme->parent(); - - $is_active = ( ( $parent_theme instanceof WP_Theme ) && $parent_theme->stylesheet === $data->file ); - } - } - ?> - id ) : null ?> - has_api_connectivity() && $fs->is_on() ) { - echo ' style="background: #E6FFE6; font-weight: bold"'; - } else { - echo ' style="background: #ffd0d0; font-weight: bold"'; - } - } ?>> - - - - - has_api_connectivity() ) { - echo ' style="color: red; text-transform: uppercase;"'; - } ?>>has_api_connectivity() ? - fs_text_x_inline( 'Connected', 'as connection was successful' ) : - fs_text_x_inline( 'Blocked', 'as connection blocked' ) - ); - } ?> - is_on() ) { - echo ' style="color: red; text-transform: uppercase;"'; - } ?>>is_on() ? - $on_text : - $off_text - ); - } ?> - - - - get_network_install_blog_id(); - $network_user = $fs->get_network_user(); - } - ?> - - - - - - - -
    id ?>version ?>title ?>file ?>public_key ?>email; - } ?> - - has_trial_plan() ) : ?> -
    - - - - - -
    - - is_registered() ) : ?> - - - is_network_upgrade_mode() ) : ?> -
    - - - - - -
    - - -
    - - - - - 0 ) : ?> -

    /

    - - - - - - - - - - - - - - - - - - $sites ) : ?> - - - - - - - - - - - - - - - - - - -
    id ?>blog_id ?>url ) ?>user_id ?>plan_id ) ) { - if ( false === $all_plans ) { - $option_name = 'plans'; - if ( WP_FS__MODULE_TYPE_PLUGIN !== $module_type ) { - $option_name = $module_type . '_' . $option_name; - } - - $all_plans = $fs_options->get_option( $option_name, array() ); - } - - if ( false === $plans ) { - $plans = $all_plans[ $slug ]; - } - - foreach ( $plans as $plan ) { - $plan_id = Freemius::_decrypt( $plan->id ); - - if ( $site->plan_id == $plan_id ) { - $plan_name = Freemius::_decrypt( $plan->name ); - break; - } - } - } - - echo $plan_name; - ?>public_key ?>secret_key ) ?> -
    - - - - - - - - - -
    -
    - - - - $plugin_addons ) : ?> -

    - - - - - - - - - - - - - - - - - - - - - - - -
    id ?>title ?>slug ?>version ?>public_key ?>secret_key ) ?>
    - - - -

    - - - - - - - - - - - - - - $user ) : ?> - - - - - - - - - - - -
    id ?>get_name() ?>email ?>is_verified ) ?>public_key ?>secret_key ) ?> -
    - - - - -
    -
    - - - - 0 ) : ?> -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    id ?>plugin_id ?>user_id ?>plan_id ?>is_unlimited() ? 'Unlimited' : ( $license->is_single_site() ? 'Single Site' : $license->quota ) ?>activated ?>is_block_features ? 'Blocking' : 'Flexible' ?>secret_key ) ?>expiration ?>
    - - - - -

    - -
    - - - - - - - -
    - - -
    - - -
    - -
    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    #
    {$log.log_order}.{$log.type}{$log.logger}{$log.function} - - {$log.message_short} - -
    {$log.message}
    -
    {$log.file}:{$log.line}{$log.created}
    -
    - - diff --git a/freemius/templates/debug/api-calls.php b/freemius/templates/debug/api-calls.php deleted file mode 100644 index ea4e823..0000000 --- a/freemius/templates/debug/api-calls.php +++ /dev/null @@ -1,155 +0,0 @@ - 0, - 'POST' => 0, - 'PUT' => 0, - 'DELETE' => 0 - ); - - $show_body = false; - foreach ( $logger as $log ) { - $counters[ $log['method'] ] ++; - - if ( ! is_null( $log['body'] ) ) { - $show_body = true; - } - } - - $pretty_print = $show_body && defined( 'JSON_PRETTY_PRINT' ) && version_compare( phpversion(), '5.3', '>=' ); - - /** - * This template is used for debugging, therefore, when possible - * we'd like to prettify the output of a JSON encoded variable. - * This will only be executed when $pretty_print is `true`, and - * the var is `true` only for PHP 5.3 and higher. Due to the - * limitations of the current Theme Check, it throws an error - * that using the "options" parameter (the 2nd param) is not - * supported in PHP 5.2 and lower. Thus, we added this alias - * variable to work around that false-positive. - * - * @author Vova Feldman (@svovaf) - * @since 1.2.2.7 - */ - $encode = 'json_encode'; - - $root_path_len = strlen( ABSPATH ); - - $ms_text = fs_text_x_inline( 'ms', 'milliseconds' ); -?> -

    - -

    Total Time:

    - -

    Total Requests:

    - $count ) : ?> -

    :

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #
    . - %s', - $log['path'] - ); - ?> - - - - - - - - - - - - - - %s', - substr( $body, 0, 32 ) . ( 32 < strlen( $body ) ? '...' : '' ) - ); - if ( $pretty_print ) { - $body = $encode( json_decode( $log['body'] ), JSON_PRETTY_PRINT ); - } - ?> -
    - -
    - %s', - substr( $result, 0, 32 ) . ( 32 < strlen( $result ) ? '...' : '' ) - ); - } - - if ( $is_not_empty_result && $pretty_print ) { - $decoded = json_decode( $result ); - if ( ! is_null( $decoded ) ) { - $result = $encode( $decoded, JSON_PRETTY_PRINT ); - } - } else { - $result = is_string( $result ) ? $result : json_encode( $result ); - } - ?> - style="display: none"> -
    \ No newline at end of file diff --git a/freemius/templates/debug/index.php b/freemius/templates/debug/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/debug/index.php +++ /dev/null @@ -1,3 +0,0 @@ - -

    - - - - - - - - - - - - - - - - - - > - - - - - - - - - - -
    #
    .get_id() ?> - %s', - esc_html( substr( $log['msg'], 0, 32 ) ) . ( 32 < strlen( $log['msg'] ) ? '...' : '' ) - ); - ?> -
    - -
    -
    get_file() ) . ':' . $log['line']; - } - ?>
    \ No newline at end of file diff --git a/freemius/templates/debug/plugins-themes-sync.php b/freemius/templates/debug/plugins-themes-sync.php deleted file mode 100644 index 8508cd1..0000000 --- a/freemius/templates/debug/plugins-themes-sync.php +++ /dev/null @@ -1,76 +0,0 @@ -get_option( 'all_plugins' ); - $all_themes = $fs_options->get_option( 'all_themes' ); - - /* translators: %s: time period (e.g. In "2 hours") */ - $in_x_text = fs_text_inline( 'In %s', 'in-x' ); - /* translators: %s: time period (e.g. "2 hours" ago) */ - $x_ago_text = fs_text_inline( '%s ago', 'x-ago' ); - $sec_text = fs_text_x_inline( 'sec', 'seconds' ); -?> -

    - - - - - - - - - - - - - - - - - - - - - - - - -
    plugins ) ?>timestamp ) && is_numeric( $all_plugins->timestamp ) ) { - $diff = abs( WP_FS__SCRIPT_START_TIME - $all_plugins->timestamp ); - $human_diff = ( $diff < MINUTE_IN_SECONDS ) ? - $diff . ' ' . $sec_text : - human_time_diff( WP_FS__SCRIPT_START_TIME, $all_plugins->timestamp ); - - echo esc_html( sprintf( - ( ( WP_FS__SCRIPT_START_TIME < $all_plugins->timestamp ) ? - $in_x_text : - $x_ago_text ), - $human_diff - ) ); - } - ?>
    themes ) ?>timestamp ) && is_numeric( $all_themes->timestamp ) ) { - $diff = abs( WP_FS__SCRIPT_START_TIME - $all_themes->timestamp ); - $human_diff = ( $diff < MINUTE_IN_SECONDS ) ? - $diff . ' ' . $sec_text : - human_time_diff( WP_FS__SCRIPT_START_TIME, $all_themes->timestamp ); - - echo esc_html( sprintf( - ( ( WP_FS__SCRIPT_START_TIME < $all_themes->timestamp ) ? - $in_x_text : - $x_ago_text ), - $human_diff - ) ); - } - ?>
    diff --git a/freemius/templates/debug/scheduled-crons.php b/freemius/templates/debug/scheduled-crons.php deleted file mode 100644 index 1751e60..0000000 --- a/freemius/templates/debug/scheduled-crons.php +++ /dev/null @@ -1,136 +0,0 @@ -get_option( $module_type . 's' ); - if ( is_array( $modules ) && count( $modules ) > 0 ) { - foreach ( $modules as $slug => $data ) { - if ( WP_FS__MODULE_TYPE_THEME === $module_type ) { - $current_theme = wp_get_theme(); - $is_active = ( $current_theme->stylesheet === $data->file ); - } else { - $is_active = is_plugin_active( $data->file ); - } - - /** - * @author Vova Feldman - * - * @since 1.2.1 Don't load data from inactive modules. - */ - if ( $is_active ) { - $fs = freemius( $data->id ); - - $next_execution = $fs->next_sync_cron(); - $last_execution = $fs->last_sync_cron(); - - if ( false !== $next_execution ) { - $scheduled_crons[ $slug ][] = array( - 'name' => $fs->get_plugin_name(), - 'slug' => $slug, - 'module_type' => $fs->get_module_type(), - 'type' => 'sync_cron', - 'last' => $last_execution, - 'next' => $next_execution, - ); - } - - $next_install_execution = $fs->next_install_sync(); - $last_install_execution = $fs->last_install_sync(); - - if (false !== $next_install_execution || - false !== $last_install_execution - ) { - $scheduled_crons[ $slug ][] = array( - 'name' => $fs->get_plugin_name(), - 'slug' => $slug, - 'module_type' => $fs->get_module_type(), - 'type' => 'install_sync', - 'last' => $last_install_execution, - 'next' => $next_install_execution, - ); - } - } - } - } - } - - $sec_text = fs_text_x_inline( 'sec', 'seconds' ); -?> -

    - - - - - - - - - - - - - - $crons ) : ?> - - - - - - - - - - - - -
    diff --git a/freemius/templates/email.php b/freemius/templates/email.php deleted file mode 100644 index 598c783..0000000 --- a/freemius/templates/email.php +++ /dev/null @@ -1,49 +0,0 @@ - - - $section ) { - ?> - - - - - $row ) { - $col_count = count( $row ); - ?> - - - - - - - - - - - -
    :
    \ No newline at end of file diff --git a/freemius/templates/firewall-issues-js.php b/freemius/templates/firewall-issues-js.php deleted file mode 100644 index 2abfbc0..0000000 --- a/freemius/templates/firewall-issues-js.php +++ /dev/null @@ -1,59 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/forms/affiliation.php b/freemius/templates/forms/affiliation.php deleted file mode 100644 index 14edd64..0000000 --- a/freemius/templates/forms/affiliation.php +++ /dev/null @@ -1,486 +0,0 @@ -get_slug(); - - $user = $fs->get_user(); - $affiliate = $fs->get_affiliate(); - $affiliate_terms = $fs->get_affiliate_terms(); - - $plugin_title = $fs->get_plugin_title(); - $module_type = $fs->is_plugin() ? - WP_FS__MODULE_TYPE_PLUGIN : - WP_FS__MODULE_TYPE_THEME; - - $commission = $affiliate_terms->get_formatted_commission(); - - $readonly = false; - $is_affiliate = is_object( $affiliate ); - $is_pending_affiliate = false; - $email_address = ( is_object( $user ) ? - $user->email : - '' ); - $full_name = ( is_object( $user ) ? - $user->get_name() : - '' ); - $paypal_email_address = ''; - $domain = ''; - $extra_domains = array(); - $promotion_method_social_media = false; - $promotion_method_mobile_apps = false; - $statistics_information = false; - $promotion_method_description = false; - $members_dashboard_login_url = 'https://members.freemius.com/login/'; - - $affiliate_application_data = $fs->get_affiliate_application_data(); - - if ( $is_affiliate && $affiliate->is_pending() ) { - $readonly = 'readonly'; - $is_pending_affiliate = true; - - $paypal_email_address = $affiliate->paypal_email; - $domain = $affiliate->domain; - $statistics_information = $affiliate_application_data['stats_description']; - $promotion_method_description = $affiliate_application_data['promotion_method_description']; - - if ( ! empty( $affiliate_application_data['additional_domains'] ) ) { - $extra_domains = $affiliate_application_data['additional_domains']; - } - - if ( ! empty( $affiliate_application_data['promotion_methods'] ) ) { - $promotion_methods = explode( ',', $affiliate_application_data['promotion_methods'] ); - $promotion_method_social_media = in_array( 'social_media', $promotion_methods ); - $promotion_method_mobile_apps = in_array( 'mobile_apps', $promotion_methods ); - } - } else { - $current_user = Freemius::_get_current_wp_user(); - $full_name = trim( $current_user->user_firstname . ' ' . $current_user->user_lastname ); - $email_address = $current_user->user_email; - $domain = fs_strip_url_protocol( get_site_url() ); - } - - $affiliate_tracking = 30; - - if ( is_object( $affiliate_terms ) ) { - $affiliate_tracking = ( ! is_null( $affiliate_terms->cookie_days ) ? - ( $affiliate_terms->cookie_days . '-day' ) : - fs_text_inline( 'Non-expiring', 'non-expiring', $slug ) ); - } - - $apply_to_become_affiliate_text = fs_text_inline( 'Apply to become an affiliate', 'apply-to-become-an-affiliate', $slug ); -?> -
    -
    -
    -
    -
    -
    - - - - is_active() ) : ?> -
    -

    %s', - $members_dashboard_login_url, - $members_dashboard_login_url - ) - ); - ?>

    -
    - - is_suspended() ) { - $message_text = fs_text_inline( 'Your affiliation account was temporarily suspended.', 'affiliate-account-suspended', $slug ); - $message_container_class = 'notice notice-warning'; - } else if ( $affiliate->is_rejected() ) { - $message_text = fs_text_inline( "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days.", 'affiliate-application-rejected', $slug ); - $message_container_class = 'error'; - } else if ( $affiliate->is_blocked() ) { - $message_text = fs_text_inline( 'Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support.', 'affiliate-account-blocked', $slug ); - $message_container_class = 'error'; - } - ?> -
    -

    -
    - - -
    -
    - -
    -

    -

    -
    - -

    -
      -
    • - has_renewals_commission() ) : ?> -
    • - - is_session_cookie() ) ) : ?> -
    • - - has_lifetime_commission() ) : ?> -
    • - -
    • -
    • -
    • -
    -
    > -

    - -
    - - > -
    -
    - - > -
    -
    - - > -
    -
    - - > -

    - - + ... - -
    -
    > - -

    - - -
    - > -
    - - -
    -
    - -
    - /> - -
    -
    - /> - -
    -
    -
    - - - -

    - -
    -
    - - - -

    - -
    - -
    - - - - - -
    -
    -
    -
    - - -
    - 'affiliation', - 'module_id' => $fs->get_id(), - 'module_slug' => $slug, - 'module_version' => $fs->get_plugin_version(), - ); - fs_require_template( 'powered-by.php', $params ); -?> \ No newline at end of file diff --git a/freemius/templates/forms/deactivation/contact.php b/freemius/templates/forms/deactivation/contact.php deleted file mode 100644 index 24d67e7..0000000 --- a/freemius/templates/forms/deactivation/contact.php +++ /dev/null @@ -1,23 +0,0 @@ -get_slug(); - - echo fs_text_inline( 'Sorry for the inconvenience and we are here to help if you give us a chance.', 'contact-support-before-deactivation', $slug ) - . sprintf(" %s", - $fs->contact_url( 'technical_support' ), - fs_text_inline( 'Contact Support', 'contact-support', $slug ) - ); diff --git a/freemius/templates/forms/deactivation/form.php b/freemius/templates/forms/deactivation/form.php deleted file mode 100644 index 755ac9e..0000000 --- a/freemius/templates/forms/deactivation/form.php +++ /dev/null @@ -1,497 +0,0 @@ -get_slug(); - - $confirmation_message = $fs->apply_filters( 'uninstall_confirmation_message', '' ); - - $reasons = $VARS['reasons']; - - $reasons_list_items_html = ''; - - foreach ( $reasons as $reason ) { - $list_item_classes = 'reason' . ( ! empty( $reason['input_type'] ) ? ' has-input' : '' ); - - if ( isset( $reason['internal_message'] ) && ! empty( $reason['internal_message'] ) ) { - $list_item_classes .= ' has-internal-message'; - $reason_internal_message = $reason['internal_message']; - } else { - $reason_internal_message = ''; - } - - $reason_input_type = ( ! empty( $reason['input_type'] ) ? $reason['input_type'] : '' ); - $reason_input_placeholder = ( ! empty( $reason['input_placeholder'] ) ? $reason['input_placeholder'] : '' ); - - $reason_list_item_html = <<< HTML -
  • - -
    {$reason_internal_message}
    -
  • -HTML; - - $reasons_list_items_html .= $reason_list_item_html; - } - - $is_anonymous = ( ! $fs->is_registered() ); - if ( $is_anonymous ) { - $anonymous_feedback_checkbox_html = sprintf( - '', - fs_esc_html_inline( 'Anonymous feedback', 'anonymous-feedback', $slug ) - ); - } else { - $anonymous_feedback_checkbox_html = ''; - } - - // Aliases. - $deactivate_text = fs_text_inline( 'Deactivate', 'deactivate', $slug ); - $theme_text = fs_text_inline( 'Theme', 'theme', $slug ); - $activate_x_text = fs_text_inline( 'Activate %s', 'activate-x', $slug ); - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> -_maybe_add_subscription_cancellation_dialog_box() ?> - diff --git a/freemius/templates/forms/deactivation/index.php b/freemius/templates/forms/deactivation/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/forms/deactivation/index.php +++ /dev/null @@ -1,3 +0,0 @@ -get_slug(); - - $skip_url = fs_nonce_url( $fs->_get_admin_page_url( '', array( 'fs_action' => $fs->get_unique_affix() . '_skip_activation' ) ), $fs->get_unique_affix() . '_skip_activation' ); - $skip_text = strtolower( fs_text_x_inline( 'Skip', 'verb', 'skip', $slug ) ); - $use_plugin_anonymously_text = fs_text_inline( 'Click here to use the plugin anonymously', 'click-here-to-use-plugin-anonymously', $slug ); - - echo sprintf( fs_text_inline( "You might have missed it, but you don't have to share any data and can just %s the opt-in.", 'dont-have-to-share-any-data', $slug ), "{$skip_text}" ) - . " {$use_plugin_anonymously_text}"; \ No newline at end of file diff --git a/freemius/templates/forms/index.php b/freemius/templates/forms/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/forms/index.php +++ /dev/null @@ -1,3 +0,0 @@ -get_slug(); - - $cant_find_license_key_text = fs_text_inline( "Can't find your license key?", 'cant-find-license-key', $slug ); - $message_above_input_field = fs_text_inline( 'Please enter the license key that you received in the email right after the purchase:', 'activate-license-message', $slug ); - $message_below_input_field = ''; - - $header_title = $fs->is_free_plan() ? - fs_text_inline( 'Activate License', 'activate-license', $slug ) : - fs_text_inline( 'Update License', 'update-license', $slug ); - - if ( $fs->is_registered() ) { - $activate_button_text = $header_title; - } else { - $freemius_site_url = $fs->has_paid_plan() ? - 'https://freemius.com/wordpress/' : - // Insights platform information. - 'https://freemius.com/wordpress/usage-tracking/'; - - $freemius_link = 'freemius.com'; - - $message_below_input_field = sprintf( - fs_text_inline( 'The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license.', 'license-sync-disclaimer', $slug ), - $fs->get_module_label( true ), - $freemius_link - ); - - $activate_button_text = fs_text_inline( 'Agree & Activate License', 'agree-activate-license', $slug ); - } - - $license_key_text = fs_text_inline( 'License key', 'license-key' , $slug ); - - $is_network_activation = ( - $fs->is_network_active() && - fs_is_network_admin() && - ! $fs->is_delegated_connection() - ); - $network_activation_html = ''; - - $sites_details = array(); - if ( $is_network_activation ) { - $all_sites = Freemius::get_sites(); - - foreach ( $all_sites as $site ) { - $site_details = $fs->get_site_info( $site ); - - $blog_id = Freemius::get_site_blog_id( $site ); - $install = $fs->get_install_by_blog_id($blog_id); - - if ( is_object( $install ) && FS_Plugin_License::is_valid_id( $install->license_id ) ) { - $site_details['license_id'] = $install->license_id; - } - - $sites_details[] = $site_details; - } - - if ( $is_network_activation ) { - $vars = array( - 'id' => $fs->get_id(), - 'sites' => $sites_details, - 'require_license_key' => true - ); - - $network_activation_html = fs_get_template( 'partials/network-activation.php', $vars ); - } - } - - $premium_licenses = $fs->get_available_premium_licenses(); - $available_licenses = array(); - foreach ( $premium_licenses as $premium_license ) { - $activations_left = $premium_license->left(); - if ( ! ( $activations_left > 0 ) ) { - continue; - } - - $available_licenses[ $activations_left . '_' . $premium_license->id ] = $premium_license; - } - - $total_available_licenses = count( $available_licenses ); - if ( $total_available_licenses > 0 ) { - $license_input_html = <<< HTML -
    - - - - - - - - - - - -
    -HTML; - - if ( $total_available_licenses > 1 ) { - // Sort the licenses by number of activations left in descending order. - krsort( $available_licenses ); - - $license_input_html .= ''; - } else { - $available_licenses = array_values( $available_licenses ); - - /** - * @var FS_Plugin_License $available_license - */ - $available_license = $available_licenses[0]; - $value = sprintf( - "%s-Site %s License - %s", - ( 1 == $available_license->quota ? - 'Single' : - $available_license->quota - ), - $fs->_get_plan_by_id( $available_license->plan_id )->title, - ( htmlspecialchars( substr( $available_license->secret_key, 0, 6 ) ) . - str_pad( '', 23 * 6, '•' ) . - htmlspecialchars( substr( $available_license->secret_key, - 3 ) ) ) - ); - - $license_input_html .= <<< HTML - -HTML; - } - - $license_input_html .= <<< HTML -
    - -
    - -
    -
    -
    -HTML; - } else { - $license_input_html = ""; - } - - /** - * IMPORTANT: - * DO NOT ADD MAXLENGTH OR LIMIT THE LICENSE KEY LENGTH SINCE - * WE DO WANT TO ALLOW INPUT OF LONGER KEYS (E.G. WooCommerce Keys) - * FOR MIGRATED MODULES. - */ - $modal_content_html = <<< HTML -

    -

    {$message_above_input_field}

    - {$license_input_html} - {$cant_find_license_key_text} - {$network_activation_html} -

    {$message_below_input_field}

    -HTML; - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> - \ No newline at end of file diff --git a/freemius/templates/forms/optout.php b/freemius/templates/forms/optout.php deleted file mode 100644 index a12e0f9..0000000 --- a/freemius/templates/forms/optout.php +++ /dev/null @@ -1,267 +0,0 @@ -get_slug(); - - $action = $fs->is_tracking_allowed() ? - 'stop_tracking' : - 'allow_tracking'; - - $reconnect_url = $fs->get_activation_url( array( - 'nonce' => wp_create_nonce( $fs->get_unique_affix() . '_reconnect' ), - 'fs_action' => ( $fs->get_unique_affix() . '_reconnect' ), - ) ); - - $plugin_title = "{$fs->get_plugin()->title}"; - $opt_out_text = fs_text_x_inline( 'Opt Out', 'verb', 'opt-out', $slug ); - $opt_in_text = fs_text_x_inline( 'Opt In', 'verb', 'opt-in', $slug ); - $opt_out_message_appreciation = sprintf( fs_text_inline( 'We appreciate your help in making the %s better by letting us track some usage data.', 'opt-out-message-appreciation', $slug ), $fs->get_module_type() ); - $opt_out_message_usage_tracking = sprintf( fs_text_inline( "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking.", 'opt-out-message-usage-tracking', $slug ), $plugin_title ); - $opt_out_message_clicking_opt_out = sprintf( - fs_text_inline( 'By clicking "Opt Out", we will no longer be sending any data from %s to %s.', 'opt-out-message-clicking-opt-out', $slug ), - $plugin_title, - sprintf( - '%s', - 'https://freemius.com', - 'freemius.com' - ) - ); - - $admin_notice_params = array( - 'id' => '', - 'slug' => $fs->get_id(), - 'type' => 'success', - 'sticky' => false, - 'plugin' => $fs->get_plugin()->title, - 'message' => $opt_out_message_appreciation - ); - - $admin_notice_html = fs_get_template( 'admin-notice.php', $admin_notice_params ); - - $modal_content_html = <<< HTML -

    {$opt_out_message_appreciation}

    -

    -

    {$opt_out_message_usage_tracking}

    -

    {$opt_out_message_clicking_opt_out}

    -HTML; - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); - fs_enqueue_local_style( 'fs_common', '/admin/common.css' ); -?> - diff --git a/freemius/templates/forms/premium-versions-upgrade-handler.php b/freemius/templates/forms/premium-versions-upgrade-handler.php deleted file mode 100644 index f30639b..0000000 --- a/freemius/templates/forms/premium-versions-upgrade-handler.php +++ /dev/null @@ -1,205 +0,0 @@ -get_slug(); - - $plugin_data = $fs->get_plugin_data(); - $plugin_name = $plugin_data['Name']; - $plugin_basename = $fs->get_plugin_basename(); - - $license = $fs->_get_license(); - - if ( ! is_object( $license ) ) { - $purchase_url = $fs->pricing_url(); - } else { - $subscription = $fs->_get_subscription( $license->id ); - - $purchase_url = $fs->checkout_url( - is_object( $subscription ) ? - ( 1 == $subscription->billing_cycle ? WP_FS__PERIOD_MONTHLY : WP_FS__PERIOD_ANNUALLY ) : - WP_FS__PERIOD_LIFETIME, - false, - array( 'licenses' => $license->quota ) - ); - } - - $message = sprintf( - fs_text_inline( 'There is a new version of %s available.', 'new-version-available-message', $slug ) . - fs_text_inline( ' %s to access version %s security & feature updates, and support.', 'x-for-updates-and-support', $slug ), - '', - sprintf( - '%s', - is_object( $license ) ? - fs_text_inline( 'Renew your license now', 'renew-license-now', $slug ) : - fs_text_inline( 'Buy a license now', 'buy-license-now', $slug ) - ), - '' - ); - - $modal_content_html = "

    {$message}

    "; - - $header_title = fs_text_inline( 'New Version Available', 'new-version-available', $slug ); - - $renew_license_button_text = is_object( $license ) ? - fs_text_inline( 'Renew license', 'renew-license', $slug ) : - fs_text_inline( 'Buy license', 'buy-license', $slug ); - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> - \ No newline at end of file diff --git a/freemius/templates/forms/premium-versions-upgrade-metadata.php b/freemius/templates/forms/premium-versions-upgrade-metadata.php deleted file mode 100644 index d0dbf0f..0000000 --- a/freemius/templates/forms/premium-versions-upgrade-metadata.php +++ /dev/null @@ -1,45 +0,0 @@ -_get_license(); - - if ( ! is_object( $license ) ) { - $purchase_url = $fs->pricing_url(); - } else { - $subscription = $fs->_get_subscription( $license->id ); - - $purchase_url = $fs->checkout_url( - is_object( $subscription ) ? - ( 1 == $subscription->billing_cycle ? WP_FS__PERIOD_MONTHLY : WP_FS__PERIOD_ANNUALLY ) : - WP_FS__PERIOD_LIFETIME, - false, - array( 'licenses' => $license->quota ) - ); - } -?> - \ No newline at end of file diff --git a/freemius/templates/forms/resend-key.php b/freemius/templates/forms/resend-key.php deleted file mode 100644 index f8cafb9..0000000 --- a/freemius/templates/forms/resend-key.php +++ /dev/null @@ -1,247 +0,0 @@ -get_slug(); - - $send_button_text = fs_text_inline( 'Send License Key', 'send-license-key', $slug ); - $cancel_button_text = fs_text_inline( 'Cancel', 'cancel', $slug ); - $email_address_placeholder = fs_esc_attr_inline( 'Email address', 'email-address', $slug ); - $other_text = fs_text_inline( 'Other', 'other', $slug ); - - $is_freemium = $fs->is_freemium(); - - $send_button_text_html = esc_html($send_button_text); - - $button_html = <<< HTML - -HTML; - - if ( $is_freemium ) { - $current_user = Freemius::_get_current_wp_user(); - $email = $current_user->user_email; - $esc_email = esc_attr( $email ); - $form_html = <<< HTML - -{$button_html} -HTML; - } else { - $email = ''; - $form_html = <<< HTML -{$button_html} - -HTML; - } - - $message_above_input_field = fs_esc_html_inline( "Enter the email address you've used for the upgrade below and we will resend you the license key.", 'ask-for-upgrade-email-address', $slug ); - $modal_content_html = <<< HTML -

    -

    {$message_above_input_field}

    -
    - {$form_html} -
    -HTML; - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> - diff --git a/freemius/templates/forms/subscription-cancellation.php b/freemius/templates/forms/subscription-cancellation.php deleted file mode 100644 index fe15b6b..0000000 --- a/freemius/templates/forms/subscription-cancellation.php +++ /dev/null @@ -1,277 +0,0 @@ -get_slug(); - -/** - * @var FS_Plugin_License $license - */ -$license = $VARS['license']; - -$has_trial = $VARS['has_trial']; - -$subscription_cancellation_context = $has_trial ? - fs_text_inline( 'trial', 'trial', $slug ) : - fs_text_inline( 'subscription', 'subscription', $slug ); - -$plan = $fs->get_plan(); -$module_label = $fs->get_module_label( true ); - -if ( $VARS['is_license_deactivation'] ) { - $subscription_cancellation_text = ''; -} else { - $subscription_cancellation_text = sprintf( - fs_text_inline( - "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site.", - 'deactivation-or-uninstall-message', - $slug - ), - $module_label - ) . ' '; -} - - $subscription_cancellation_text .= sprintf( - fs_text_inline( - 'In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?', - 'cancel-subscription-message', - $slug - ), - ( $VARS['is_license_deactivation'] ? fs_text_inline( 'license', 'license', $slug ) : $module_label ), - $subscription_cancellation_context -); - -$cancel_subscription_action_label = sprintf( - fs_esc_html_inline( - "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site.", - 'cancel-x', - $slug - ), - esc_html( $subscription_cancellation_context ), - sprintf( '%s', esc_html( $fs->get_plugin_title() ) ), - esc_html( $module_label ) -); - -$keep_subscription_active_action_label = esc_html( sprintf( - fs_text_inline( - "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support.", - 'dont-cancel-x', - $slug - ), - $subscription_cancellation_context -) ); - -$subscription_cancellation_text = esc_html( $subscription_cancellation_text ); - -$subscription_cancellation_html = <<< HTML -

    {$subscription_cancellation_text}

    -
      -
    • - -
    • -
    • - -
    • -
    -HTML; - -$downgrading_plan_text = fs_text_inline( 'Downgrading your plan', 'downgrading-plan', $slug ); -$cancelling_subscription_text = fs_text_inline( 'Cancelling the subscription', 'cancelling-subscription', $slug ); -/* translators: %1s: Either 'Downgrading your plan' or 'Cancelling the subscription' */ -$downgrade_x_confirm_text = fs_text_inline( '%1s will immediately stop all future recurring payments and your %s plan license will expire in %s.', 'downgrade-x-confirm', $slug ); -$prices_increase_text = fs_text_inline( 'Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price.', 'pricing-increase-warning', $slug ); -$after_downgrade_non_blocking_text = fs_text_inline( 'You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support.', 'after-downgrade-non-blocking', $slug ); -$after_downgrade_blocking_text = fs_text_inline( 'Once your license expires you can still use the Free version but you will NOT have access to the %s features.', 'after-downgrade-blocking', $slug ); -$after_downgrade_blocking_text_premium_only = fs_text_inline( 'Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license.', 'after-downgrade-blocking-premium-only', $slug ); - -$subscription_cancellation_confirmation_message = $has_trial ? - fs_text_inline( 'Cancelling the trial will immediately block access to all premium features. Are you sure?', 'cancel-trial-confirm', $slug ) : - sprintf( - '%s %s %s %s', - sprintf( - $downgrade_x_confirm_text, - ($fs->is_only_premium() ? $cancelling_subscription_text : $downgrading_plan_text ), - $plan->title, - human_time_diff( time(), strtotime( $license->expiration ) ) - ), - ( - $license->is_block_features ? - ( - $fs->is_only_premium() ? - sprintf( $after_downgrade_blocking_text_premium_only, $module_label ) : - sprintf( $after_downgrade_blocking_text, $plan->title ) - ) : - sprintf( $after_downgrade_non_blocking_text, $plan->title, $fs->get_module_label( true ) ) - ), - $prices_increase_text, - fs_esc_attr_inline( 'Are you sure you want to proceed?', 'proceed-confirmation', $slug ) - ); - -fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> - \ No newline at end of file diff --git a/freemius/templates/forms/trial-start.php b/freemius/templates/forms/trial-start.php deleted file mode 100644 index cea597e..0000000 --- a/freemius/templates/forms/trial-start.php +++ /dev/null @@ -1,181 +0,0 @@ -get_slug(); - - $message_header = sprintf( - /* translators: %1$s: Number of trial days; %2$s: Plan name; */ - fs_text_inline( 'You are 1-click away from starting your %1$s-day free trial of the %2$s plan.', 'start-trial-prompt-header', $slug ), - '', - '' - ); - $message_content = sprintf( - /* translators: %s: Link to freemius.com */ - fs_text_inline( 'For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial.', 'start-trial-prompt-message', $slug ), - $fs->get_module_type(), - sprintf( - '%s', - 'https://freemius.com', - 'freemius.com' - ) - ); - - $modal_content_html = <<< HTML -

    -

    {$message_header}

    -

    {$message_content}

    -HTML; - - fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); -?> - diff --git a/freemius/templates/gdpr-optin-js.php b/freemius/templates/gdpr-optin-js.php deleted file mode 100644 index 4fdc5e3..0000000 --- a/freemius/templates/gdpr-optin-js.php +++ /dev/null @@ -1,66 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/index.php b/freemius/templates/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/index.php +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/js/open-license-activation.php b/freemius/templates/js/open-license-activation.php deleted file mode 100644 index 75b1968..0000000 --- a/freemius/templates/js/open-license-activation.php +++ /dev/null @@ -1,37 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/js/style-premium-theme.php b/freemius/templates/js/style-premium-theme.php deleted file mode 100644 index 2d42eec..0000000 --- a/freemius/templates/js/style-premium-theme.php +++ /dev/null @@ -1,45 +0,0 @@ -get_slug(); - -?> - \ No newline at end of file diff --git a/freemius/templates/partials/network-activation.php b/freemius/templates/partials/network-activation.php deleted file mode 100644 index 4f9c963..0000000 --- a/freemius/templates/partials/network-activation.php +++ /dev/null @@ -1,81 +0,0 @@ -get_slug(); - - $sites = $VARS['sites']; - $require_license_key = $VARS['require_license_key']; -?> -|' ?> -
    - - - - - - - - - is_enable_anonymous() ) : ?> - - - - - - -
    - -
    -
    - - - - - > - - - - - - - - - - is_enable_anonymous() ) : ?> - - - - - - - -
    . - - - -
    -
    -
    \ No newline at end of file diff --git a/freemius/templates/plugin-icon.php b/freemius/templates/plugin-icon.php deleted file mode 100644 index ab0fb54..0000000 --- a/freemius/templates/plugin-icon.php +++ /dev/null @@ -1,20 +0,0 @@ - -
    - -
    \ No newline at end of file diff --git a/freemius/templates/plugin-info/description.php b/freemius/templates/plugin-info/description.php deleted file mode 100644 index 26bc67b..0000000 --- a/freemius/templates/plugin-info/description.php +++ /dev/null @@ -1,78 +0,0 @@ -info->selling_point_0 ) || - ! empty( $plugin->info->selling_point_1 ) || - ! empty( $plugin->info->selling_point_2 ) - ) : ?> -
    -
      - - info->{'selling_point_' . $i} ) ) : ?> -
    • - -

      info->{'selling_point_' . $i} ) ?>

    • - - -
    -
    - -
    - info->description, array( - 'a' => array( 'href' => array(), 'title' => array(), 'target' => array() ), - 'b' => array(), - 'i' => array(), - 'p' => array(), - 'blockquote' => array(), - 'h2' => array(), - 'h3' => array(), - 'ul' => array(), - 'ol' => array(), - 'li' => array() - ) ); - ?> -
    -info->screenshots ) ) : ?> - info->screenshots ?> -
    -

    slug ) ?>

    -
      - $url ) : ?> - -
    • - - -
    • - -
    -
    - \ No newline at end of file diff --git a/freemius/templates/plugin-info/features.php b/freemius/templates/plugin-info/features.php deleted file mode 100644 index b3d0fc8..0000000 --- a/freemius/templates/plugin-info/features.php +++ /dev/null @@ -1,114 +0,0 @@ -features) && is_array($plan->features)) { - foreach ( $plan->features as $feature ) { - if ( ! isset( $features_plan_map[ $feature->id ] ) ) { - $features_plan_map[ $feature->id ] = array( 'feature' => $feature, 'plans' => array() ); - } - - $features_plan_map[ $feature->id ]['plans'][ $plan->id ] = $feature; - } - } - - // Add support as a feature. - if ( ! empty( $plan->support_email ) || - ! empty( $plan->support_skype ) || - ! empty( $plan->support_phone ) || - true === $plan->is_success_manager - ) { - if ( ! isset( $features_plan_map['support'] ) ) { - $support_feature = new stdClass(); - $support_feature->id = 'support'; - $support_feature->title = fs_text_inline( 'Support', $plugin->slug ); - $features_plan_map[ $support_feature->id ] = array( 'feature' => $support_feature, 'plans' => array() ); - } else { - $support_feature = $features_plan_map['support']; - } - - $features_plan_map[ $support_feature->id ]['plans'][ $plan->id ] = $support_feature; - } - } - - // Add updates as a feature for all plans. - $updates_feature = new stdClass(); - $updates_feature->id = 'updates'; - $updates_feature->title = fs_text_inline( 'Unlimited Updates', 'unlimited-updates', $plugin->slug ); - $features_plan_map[ $updates_feature->id ] = array( 'feature' => $updates_feature, 'plans' => array() ); - foreach ( $plans as $plan ) { - $features_plan_map[ $updates_feature->id ]['plans'][ $plan->id ] = $updates_feature; - } -?> -
    - - - - - - - - - - - $data ) : ?> - - - - - - - - -
    - title ?> - pricing ) ) { - fs_esc_html_echo_inline( 'Free', 'free', $plugin->slug ); - } else { - foreach ( $plan->pricing as $pricing ) { - /** - * @var FS_Pricing $pricing - */ - if ( 1 == $pricing->licenses ) { - if ( $pricing->has_annual() ) { - echo "\${$pricing->annual_price} / " . fs_esc_html_x_inline( 'year', 'as annual period', 'year', $plugin->slug ); - } else if ( $pricing->has_monthly() ) { - echo "\${$pricing->monthly_price} / " . fs_esc_html_x_inline( 'mo', 'as monthly period', 'mo', $plugin->slug ); - } else { - echo "\${$pricing->lifetime_price}"; - } - } - } - } - ?> -
    title ) ) ?> - id ] ) ) : ?> - id ]->value ) ) : ?> - id ]->value ) ?> - - - - -
    -
    \ No newline at end of file diff --git a/freemius/templates/plugin-info/index.php b/freemius/templates/plugin-info/index.php deleted file mode 100644 index 0316c6a..0000000 --- a/freemius/templates/plugin-info/index.php +++ /dev/null @@ -1,3 +0,0 @@ - -
      - $url ) : ?> - -
    1. - -
    2. - -
    diff --git a/freemius/templates/powered-by.php b/freemius/templates/powered-by.php deleted file mode 100644 index b717216..0000000 --- a/freemius/templates/powered-by.php +++ /dev/null @@ -1,58 +0,0 @@ - - -
    - \ No newline at end of file diff --git a/freemius/templates/pricing.php b/freemius/templates/pricing.php deleted file mode 100644 index 90758a0..0000000 --- a/freemius/templates/pricing.php +++ /dev/null @@ -1,171 +0,0 @@ -get_slug(); - $timestamp = time(); - - $context_params = array( - 'plugin_id' => $fs->get_id(), - 'plugin_public_key' => $fs->get_public_key(), - 'plugin_version' => $fs->get_plugin_version(), - ); - - // Get site context secure params. - if ( $fs->is_registered() ) { - $context_params = array_merge( $context_params, FS_Security::instance()->get_context_params( - $fs->get_site(), - $timestamp, - 'upgrade' - ) ); - } else { - $context_params['home_url'] = home_url(); - } - - if ( $fs->is_payments_sandbox() ) // Append plugin secure token for sandbox mode authentication.) - { - $context_params['sandbox'] = FS_Security::instance()->get_secure_token( - $fs->get_plugin(), - $timestamp, - 'checkout' - ); - } - - $query_params = array_merge( $context_params, $_GET, array( - 'next' => $fs->_get_sync_license_url( false, false ), - 'plugin_version' => $fs->get_plugin_version(), - // Billing cycle. - 'billing_cycle' => fs_request_get( 'billing_cycle', WP_FS__PERIOD_ANNUALLY ), - 'is_network_admin' => fs_is_network_admin() ? 'true' : 'false', - ) ); - - if ( ! $fs->is_registered() ) { - $template_data = array( - 'id' => $fs->get_id(), - ); - fs_require_template( 'forms/trial-start.php', $template_data); - } - - $view_params = array( - 'id' => $VARS['id'], - 'page' => strtolower( $fs->get_text_x_inline( 'Pricing', 'noun', 'pricing' ) ), - ); - fs_require_once_template('secure-https-header.php', $view_params); - - $has_tabs = $fs->_add_tabs_before_content(); - - if ( $has_tabs ) { - $query_params['tabs'] = 'true'; - } -?> -
    -
    -
    - - - - - - -
    - - -
    -_add_tabs_after_content(); - } - - $params = array( - 'page' => 'pricing', - 'module_id' => $fs->get_id(), - 'module_type' => $fs->get_module_type(), - 'module_slug' => $slug, - 'module_version' => $fs->get_plugin_version(), - ); - fs_require_template( 'powered-by.php', $params ); \ No newline at end of file diff --git a/freemius/templates/secure-https-header.php b/freemius/templates/secure-https-header.php deleted file mode 100644 index fd12bc2..0000000 --- a/freemius/templates/secure-https-header.php +++ /dev/null @@ -1,39 +0,0 @@ - -
    - - get_text_inline( 'Secure HTTPS %s page, running from an external domain', 'secure-x-page-header' ), - $VARS['page'] - ) ) . - ' - ' . - sprintf( - '%s', - 'https://www.mcafeesecure.com/verify?host=' . WP_FS__ROOT_DOMAIN_PRODUCTION, - 'Freemius Inc. [US]' - ); - } - ?> -
    \ No newline at end of file diff --git a/freemius/templates/sticky-admin-notice-js.php b/freemius/templates/sticky-admin-notice-js.php deleted file mode 100644 index 028a966..0000000 --- a/freemius/templates/sticky-admin-notice-js.php +++ /dev/null @@ -1,39 +0,0 @@ - - \ No newline at end of file diff --git a/freemius/templates/tabs-capture-js.php b/freemius/templates/tabs-capture-js.php deleted file mode 100644 index 236be3b..0000000 --- a/freemius/templates/tabs-capture-js.php +++ /dev/null @@ -1,63 +0,0 @@ -get_slug(); -?> - \ No newline at end of file diff --git a/freemius/templates/tabs.php b/freemius/templates/tabs.php deleted file mode 100644 index e57e36d..0000000 --- a/freemius/templates/tabs.php +++ /dev/null @@ -1,190 +0,0 @@ -get_slug(); - - $menu_items = $fs->get_menu_items(); - - $is_free_wp_org_theme = $fs->is_free_wp_org_theme(); - - $tabs = array(); - foreach ( $menu_items as $priority => $items ) { - foreach ( $items as $item ) { - if ( ! $item['show_submenu'] ) { - $submenu_name = ('wp-support-forum' === $item['menu_slug']) ? - 'support' : - $item['menu_slug']; - - if ( 'pricing' === $submenu_name && ! $fs->is_pricing_page_visible() ) { - continue; - } - - if ( ! $is_free_wp_org_theme || ! $fs->is_submenu_item_visible( $submenu_name, true ) ) { - continue; - } - } - - $url = $fs->_get_admin_page_url( $item['menu_slug'] ); - $title = $item['menu_title']; - - $tab = array( - 'label' => $title, - 'href' => $url, - 'slug' => $item['menu_slug'], - ); - - if ( 'pricing' === $item['menu_slug'] && $fs->is_in_trial_promotion() ) { - $tab['href'] .= '&trial=true'; - } - - $tabs[] = $tab; - } - } -?> - \ No newline at end of file diff --git a/src/class-config.php b/src/class-config.php index fbbe943..8507b12 100644 --- a/src/class-config.php +++ b/src/class-config.php @@ -874,6 +874,10 @@ protected function add_acf_fields_to_term_objects() { */ $tax_object = get_taxonomy( $taxonomy ); + if ( empty( $tax_object ) || ! isset( $tax_object->graphql_single_name ) ) { + return; + } + /** * Loop over the field groups for this post type */ @@ -1270,7 +1274,7 @@ protected function add_acf_fields_to_users() { $description = $field_group['description'] ? $field_group['description'] . ' | ' : ''; $config = [ 'name' => $field_name, - 'description' => $description . sprintf( __( 'Added to the GraphQL Schema because the ACF Field Group "%1$s" was assigned to the "%2$s" taxonomy', 'wp-graphql-acf' ), $field_group['title'], $tax_object->name ), + 'description' => $description . sprintf( __( 'Added to the GraphQL Schema because the ACF Field Group "%1$s" was assigned to Users edit or register form', 'wp-graphql-acf' ), $field_group['title'] ), 'acf_field' => $field_group, 'acf_field_group' => null, 'resolve' => function( $root ) use ( $field_group ) { diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index 95f7e09..fce8549 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -279,7 +279,7 @@ public function isClassMapAuthoritative() */ public function setApcuPrefix($apcuPrefix) { - $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null; + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; } /** diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE index 62ecfd8..f27399a 100644 --- a/vendor/composer/LICENSE +++ b/vendor/composer/LICENSE @@ -1,3 +1,4 @@ + Copyright (c) Nils Adermann, Jordi Boggiano Permission is hereby granted, free of charge, to any person obtaining a copy @@ -17,3 +18,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/vendor/composer/autoload_commands_classmap.php b/vendor/composer/autoload_commands_classmap.php index 981d2b3..4631bfc 100644 --- a/vendor/composer/autoload_commands_classmap.php +++ b/vendor/composer/autoload_commands_classmap.php @@ -6,4 +6,103 @@ $baseDir = dirname($vendorDir); return array( + 'CLI_Command' => $vendorDir . '/wp-cli/wp-cli/php/commands/src/CLI_Command.php', + 'Cache_Command' => $vendorDir . '/wp-cli/cache-command/src/Cache_Command.php', + 'Capabilities_Command' => $vendorDir . '/wp-cli/role-command/src/Capabilities_Command.php', + 'Checksum_Base_Command' => $vendorDir . '/wp-cli/checksum-command/src/Checksum_Base_Command.php', + 'Checksum_Core_Command' => $vendorDir . '/wp-cli/checksum-command/src/Checksum_Core_Command.php', + 'Checksum_Plugin_Command' => $vendorDir . '/wp-cli/checksum-command/src/Checksum_Plugin_Command.php', + 'Comment_Command' => $vendorDir . '/wp-cli/entity-command/src/Comment_Command.php', + 'Comment_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/Comment_Meta_Command.php', + 'Config_Command' => $vendorDir . '/wp-cli/config-command/src/Config_Command.php', + 'Core_Command' => $vendorDir . '/wp-cli/core-command/src/Core_Command.php', + 'Core_Language_Command' => $vendorDir . '/wp-cli/language-command/src/Core_Language_Command.php', + 'Cron_Command' => $vendorDir . '/wp-cli/cron-command/src/Cron_Command.php', + 'Cron_Event_Command' => $vendorDir . '/wp-cli/cron-command/src/Cron_Event_Command.php', + 'Cron_Schedule_Command' => $vendorDir . '/wp-cli/cron-command/src/Cron_Schedule_Command.php', + 'DB_Command' => $vendorDir . '/wp-cli/db-command/src/DB_Command.php', + 'EvalFile_Command' => $vendorDir . '/wp-cli/eval-command/src/EvalFile_Command.php', + 'Eval_Command' => $vendorDir . '/wp-cli/eval-command/src/Eval_Command.php', + 'Export_Command' => $vendorDir . '/wp-cli/export-command/src/Export_Command.php', + 'Import_Command' => $vendorDir . '/wp-cli/import-command/src/Import_Command.php', + 'Language_Namespace' => $vendorDir . '/wp-cli/language-command/src/Language_Namespace.php', + 'Media_Command' => $vendorDir . '/wp-cli/media-command/src/Media_Command.php', + 'Menu_Command' => $vendorDir . '/wp-cli/entity-command/src/Menu_Command.php', + 'Menu_Item_Command' => $vendorDir . '/wp-cli/entity-command/src/Menu_Item_Command.php', + 'Menu_Location_Command' => $vendorDir . '/wp-cli/entity-command/src/Menu_Location_Command.php', + 'Network_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/Network_Meta_Command.php', + 'Network_Namespace' => $vendorDir . '/wp-cli/entity-command/src/Network_Namespace.php', + 'Option_Command' => $vendorDir . '/wp-cli/entity-command/src/Option_Command.php', + 'Package_Command' => $vendorDir . '/wp-cli/package-command/src/Package_Command.php', + 'Plugin_Command' => $vendorDir . '/wp-cli/extension-command/src/Plugin_Command.php', + 'Post_Command' => $vendorDir . '/wp-cli/entity-command/src/Post_Command.php', + 'Post_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/Post_Meta_Command.php', + 'Post_Term_Command' => $vendorDir . '/wp-cli/entity-command/src/Post_Term_Command.php', + 'Post_Type_Command' => $vendorDir . '/wp-cli/entity-command/src/Post_Type_Command.php', + 'Rewrite_Command' => $vendorDir . '/wp-cli/rewrite-command/src/Rewrite_Command.php', + 'Role_Command' => $vendorDir . '/wp-cli/role-command/src/Role_Command.php', + 'Scaffold_Command' => $vendorDir . '/wp-cli/scaffold-command/src/Scaffold_Command.php', + 'Search_Replace_Command' => $vendorDir . '/wp-cli/search-replace-command/src/Search_Replace_Command.php', + 'Server_Command' => $vendorDir . '/wp-cli/server-command/src/Server_Command.php', + 'Shell_Command' => $vendorDir . '/wp-cli/shell-command/src/Shell_Command.php', + 'Sidebar_Command' => $vendorDir . '/wp-cli/widget-command/src/Sidebar_Command.php', + 'Site_Command' => $vendorDir . '/wp-cli/entity-command/src/Site_Command.php', + 'Site_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/Site_Meta_Command.php', + 'Site_Option_Command' => $vendorDir . '/wp-cli/entity-command/src/Site_Option_Command.php', + 'Super_Admin_Command' => $vendorDir . '/wp-cli/super-admin-command/src/Super_Admin_Command.php', + 'Taxonomy_Command' => $vendorDir . '/wp-cli/entity-command/src/Taxonomy_Command.php', + 'Term_Command' => $vendorDir . '/wp-cli/entity-command/src/Term_Command.php', + 'Term_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/Term_Meta_Command.php', + 'Theme_Command' => $vendorDir . '/wp-cli/extension-command/src/Theme_Command.php', + 'Theme_Mod_Command' => $vendorDir . '/wp-cli/extension-command/src/Theme_Mod_Command.php', + 'Transient_Command' => $vendorDir . '/wp-cli/cache-command/src/Transient_Command.php', + 'User_Command' => $vendorDir . '/wp-cli/entity-command/src/User_Command.php', + 'User_Meta_Command' => $vendorDir . '/wp-cli/entity-command/src/User_Meta_Command.php', + 'User_Session_Command' => $vendorDir . '/wp-cli/entity-command/src/User_Session_Command.php', + 'User_Term_Command' => $vendorDir . '/wp-cli/entity-command/src/User_Term_Command.php', + 'WP_CLI\\CommandWithDBObject' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/CommandWithDBObject.php', + 'WP_CLI\\CommandWithMeta' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/CommandWithMeta.php', + 'WP_CLI\\CommandWithTerms' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/CommandWithTerms.php', + 'WP_CLI\\CommandWithTranslation' => $vendorDir . '/wp-cli/language-command/src/WP_CLI/CommandWithTranslation.php', + 'WP_CLI\\CommandWithUpgrade' => $vendorDir . '/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php', + 'WP_CLI\\CoreUpgrader' => $vendorDir . '/wp-cli/core-command/src/WP_CLI/CoreUpgrader.php', + 'WP_CLI\\DestructivePluginUpgrader' => $vendorDir . '/wp-cli/extension-command/src/WP_CLI/DestructivePluginUpgrader.php', + 'WP_CLI\\DestructiveThemeUpgrader' => $vendorDir . '/wp-cli/extension-command/src/WP_CLI/DestructiveThemeUpgrader.php', + 'WP_CLI\\Embeds\\Cache_Command' => $vendorDir . '/wp-cli/embed-command/src/Cache_Command.php', + 'WP_CLI\\Embeds\\Embeds_Namespace' => $vendorDir . '/wp-cli/embed-command/src/Embeds_Namespace.php', + 'WP_CLI\\Embeds\\Fetch_Command' => $vendorDir . '/wp-cli/embed-command/src/Fetch_Command.php', + 'WP_CLI\\Embeds\\Handler_Command' => $vendorDir . '/wp-cli/embed-command/src/Handler_Command.php', + 'WP_CLI\\Embeds\\Provider_Command' => $vendorDir . '/wp-cli/embed-command/src/Provider_Command.php', + 'WP_CLI\\Embeds\\oEmbed' => $vendorDir . '/wp-cli/embed-command/src/oEmbed.php', + 'WP_CLI\\Entity\\NonExistentKeyException' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Entity/NonExistentKeyException.php', + 'WP_CLI\\Entity\\RecursiveDataStructureTraverser' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Entity/RecursiveDataStructureTraverser.php', + 'WP_CLI\\Entity\\Utils' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Entity/Utils.php', + 'WP_CLI\\Fetchers\\Comment' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Fetchers/Comment.php', + 'WP_CLI\\Fetchers\\Plugin' => $vendorDir . '/wp-cli/extension-command/src/WP_CLI/Fetchers/Plugin.php', + 'WP_CLI\\Fetchers\\Post' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Fetchers/Post.php', + 'WP_CLI\\Fetchers\\Site' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Fetchers/Site.php', + 'WP_CLI\\Fetchers\\Theme' => $vendorDir . '/wp-cli/extension-command/src/WP_CLI/Fetchers/Theme.php', + 'WP_CLI\\Fetchers\\UnfilteredPlugin' => $vendorDir . '/wp-cli/checksum-command/src/WP_CLI/Fetchers/UnfilteredPlugin.php', + 'WP_CLI\\Fetchers\\User' => $vendorDir . '/wp-cli/entity-command/src/WP_CLI/Fetchers/User.php', + 'WP_CLI\\Inflector' => $vendorDir . '/wp-cli/scaffold-command/src/WP_CLI/Inflector.php', + 'WP_CLI\\JsonManipulator' => $vendorDir . '/wp-cli/package-command/src/WP_CLI/JsonManipulator.php', + 'WP_CLI\\LanguagePackUpgrader' => $vendorDir . '/wp-cli/language-command/src/WP_CLI/LanguagePackUpgrader.php', + 'WP_CLI\\NonDestructiveCoreUpgrader' => $vendorDir . '/wp-cli/core-command/src/WP_CLI/NonDestructiveCoreUpgrader.php', + 'WP_CLI\\REPL' => $vendorDir . '/wp-cli/shell-command/src/WP_CLI/REPL.php', + 'WP_CLI\\SearchReplacer' => $vendorDir . '/wp-cli/search-replace-command/src/WP_CLI/SearchReplacer.php', + 'WP_Export_Base_Writer' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Base_Writer.php', + 'WP_Export_Exception' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Exception.php', + 'WP_Export_File_Writer' => $vendorDir . '/wp-cli/export-command/src/WP_Export_File_Writer.php', + 'WP_Export_Oxymel' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Oxymel.php', + 'WP_Export_Query' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Query.php', + 'WP_Export_Returner' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Returner.php', + 'WP_Export_Split_Files_Writer' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Split_Files_Writer.php', + 'WP_Export_Stdout_Writer' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Stdout_Writer.php', + 'WP_Export_Term_Exception' => $vendorDir . '/wp-cli/export-command/src/WP_Export_Term_Exception.php', + 'WP_Export_WXR_Formatter' => $vendorDir . '/wp-cli/export-command/src/WP_Export_WXR_Formatter.php', + 'WP_Export_XML_Over_HTTP' => $vendorDir . '/wp-cli/export-command/src/WP_Export_XML_Over_HTTP.php', + 'WP_Iterator_Exception' => $vendorDir . '/wp-cli/export-command/src/WP_Iterator_Exception.php', + 'WP_Map_Iterator' => $vendorDir . '/wp-cli/export-command/src/WP_Map_Iterator.php', + 'WP_Post_IDs_Iterator' => $vendorDir . '/wp-cli/export-command/src/WP_Post_IDs_Iterator.php', + 'Widget_Command' => $vendorDir . '/wp-cli/widget-command/src/Widget_Command.php', ); diff --git a/vendor/composer/autoload_framework_classmap.php b/vendor/composer/autoload_framework_classmap.php index 24529f7..d661e75 100644 --- a/vendor/composer/autoload_framework_classmap.php +++ b/vendor/composer/autoload_framework_classmap.php @@ -6,7 +6,3131 @@ $baseDir = dirname($vendorDir); return array( + 'BaconStringUtils\\Filter\\Slugify' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/Filter/Slugify.php', + 'BaconStringUtils\\Filter\\SlugifyFactory' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/Filter/SlugifyFactory.php', + 'BaconStringUtils\\Module' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/Module.php', + 'BaconStringUtils\\Slugifier' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/Slugifier.php', + 'BaconStringUtils\\SlugifierFactory' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/SlugifierFactory.php', + 'BaconStringUtils\\UniDecoder' => $vendorDir . '/bacon/bacon-string-utils/src/BaconStringUtils/UniDecoder.php', + 'Behat\\Gherkin\\Cache\\CacheInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Cache/CacheInterface.php', + 'Behat\\Gherkin\\Cache\\FileCache' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Cache/FileCache.php', + 'Behat\\Gherkin\\Cache\\MemoryCache' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Cache/MemoryCache.php', + 'Behat\\Gherkin\\Exception\\CacheException' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Exception/CacheException.php', + 'Behat\\Gherkin\\Exception\\Exception' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Exception/Exception.php', + 'Behat\\Gherkin\\Exception\\LexerException' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Exception/LexerException.php', + 'Behat\\Gherkin\\Exception\\NodeException' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Exception/NodeException.php', + 'Behat\\Gherkin\\Exception\\ParserException' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Exception/ParserException.php', + 'Behat\\Gherkin\\Filter\\ComplexFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/ComplexFilter.php', + 'Behat\\Gherkin\\Filter\\ComplexFilterInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/ComplexFilterInterface.php', + 'Behat\\Gherkin\\Filter\\FeatureFilterInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/FeatureFilterInterface.php', + 'Behat\\Gherkin\\Filter\\FilterInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/FilterInterface.php', + 'Behat\\Gherkin\\Filter\\LineFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/LineFilter.php', + 'Behat\\Gherkin\\Filter\\LineRangeFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/LineRangeFilter.php', + 'Behat\\Gherkin\\Filter\\NameFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/NameFilter.php', + 'Behat\\Gherkin\\Filter\\NarrativeFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/NarrativeFilter.php', + 'Behat\\Gherkin\\Filter\\PathsFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/PathsFilter.php', + 'Behat\\Gherkin\\Filter\\RoleFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/RoleFilter.php', + 'Behat\\Gherkin\\Filter\\SimpleFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/SimpleFilter.php', + 'Behat\\Gherkin\\Filter\\TagFilter' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Filter/TagFilter.php', + 'Behat\\Gherkin\\Gherkin' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Gherkin.php', + 'Behat\\Gherkin\\Keywords\\ArrayKeywords' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Keywords/ArrayKeywords.php', + 'Behat\\Gherkin\\Keywords\\CachedArrayKeywords' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Keywords/CachedArrayKeywords.php', + 'Behat\\Gherkin\\Keywords\\CucumberKeywords' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Keywords/CucumberKeywords.php', + 'Behat\\Gherkin\\Keywords\\KeywordsDumper' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Keywords/KeywordsDumper.php', + 'Behat\\Gherkin\\Keywords\\KeywordsInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Keywords/KeywordsInterface.php', + 'Behat\\Gherkin\\Lexer' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Lexer.php', + 'Behat\\Gherkin\\Loader\\AbstractFileLoader' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/AbstractFileLoader.php', + 'Behat\\Gherkin\\Loader\\ArrayLoader' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/ArrayLoader.php', + 'Behat\\Gherkin\\Loader\\DirectoryLoader' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/DirectoryLoader.php', + 'Behat\\Gherkin\\Loader\\FileLoaderInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/FileLoaderInterface.php', + 'Behat\\Gherkin\\Loader\\GherkinFileLoader' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/GherkinFileLoader.php', + 'Behat\\Gherkin\\Loader\\LoaderInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/LoaderInterface.php', + 'Behat\\Gherkin\\Loader\\YamlFileLoader' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Loader/YamlFileLoader.php', + 'Behat\\Gherkin\\Node\\ArgumentInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ArgumentInterface.php', + 'Behat\\Gherkin\\Node\\BackgroundNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/BackgroundNode.php', + 'Behat\\Gherkin\\Node\\ExampleNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ExampleNode.php', + 'Behat\\Gherkin\\Node\\ExampleTableNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ExampleTableNode.php', + 'Behat\\Gherkin\\Node\\FeatureNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/FeatureNode.php', + 'Behat\\Gherkin\\Node\\KeywordNodeInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/KeywordNodeInterface.php', + 'Behat\\Gherkin\\Node\\NodeInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/NodeInterface.php', + 'Behat\\Gherkin\\Node\\OutlineNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/OutlineNode.php', + 'Behat\\Gherkin\\Node\\PyStringNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/PyStringNode.php', + 'Behat\\Gherkin\\Node\\ScenarioInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ScenarioInterface.php', + 'Behat\\Gherkin\\Node\\ScenarioLikeInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ScenarioLikeInterface.php', + 'Behat\\Gherkin\\Node\\ScenarioNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/ScenarioNode.php', + 'Behat\\Gherkin\\Node\\StepContainerInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/StepContainerInterface.php', + 'Behat\\Gherkin\\Node\\StepNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/StepNode.php', + 'Behat\\Gherkin\\Node\\TableNode' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/TableNode.php', + 'Behat\\Gherkin\\Node\\TaggedNodeInterface' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Node/TaggedNodeInterface.php', + 'Behat\\Gherkin\\Parser' => $vendorDir . '/behat/gherkin/src/Behat/Gherkin/Parser.php', + 'Carbon\\Carbon' => $vendorDir . '/nesbot/carbon/src/Carbon/Carbon.php', + 'Carbon\\CarbonImmutable' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonImmutable.php', + 'Carbon\\CarbonInterface' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonInterface.php', + 'Carbon\\CarbonInterval' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonInterval.php', + 'Carbon\\CarbonPeriod' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonPeriod.php', + 'Carbon\\CarbonTimeZone' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonTimeZone.php', + 'Carbon\\Exceptions\\InvalidDateException' => $vendorDir . '/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php', + 'Carbon\\Factory' => $vendorDir . '/nesbot/carbon/src/Carbon/Factory.php', + 'Carbon\\FactoryImmutable' => $vendorDir . '/nesbot/carbon/src/Carbon/FactoryImmutable.php', + 'Carbon\\Language' => $vendorDir . '/nesbot/carbon/src/Carbon/Language.php', + 'Carbon\\Laravel\\ServiceProvider' => $vendorDir . '/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php', + 'Carbon\\Traits\\Boundaries' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Boundaries.php', + 'Carbon\\Traits\\Comparison' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Comparison.php', + 'Carbon\\Traits\\Converter' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Converter.php', + 'Carbon\\Traits\\Creator' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Creator.php', + 'Carbon\\Traits\\Date' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Date.php', + 'Carbon\\Traits\\Difference' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Difference.php', + 'Carbon\\Traits\\Localization' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Localization.php', + 'Carbon\\Traits\\Macro' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Macro.php', + 'Carbon\\Traits\\Modifiers' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Modifiers.php', + 'Carbon\\Traits\\Mutability' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Mutability.php', + 'Carbon\\Traits\\Options' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Options.php', + 'Carbon\\Traits\\Rounding' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Rounding.php', + 'Carbon\\Traits\\Serialization' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Serialization.php', + 'Carbon\\Traits\\Test' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Test.php', + 'Carbon\\Traits\\Timestamp' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Timestamp.php', + 'Carbon\\Traits\\Units' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Units.php', + 'Carbon\\Traits\\Week' => $vendorDir . '/nesbot/carbon/src/Carbon/Traits/Week.php', + 'Carbon\\Translator' => $vendorDir . '/nesbot/carbon/src/Carbon/Translator.php', + 'Codeception\\Actor' => $vendorDir . '/codeception/codeception/src/Codeception/Actor.php', + 'Codeception\\Application' => $vendorDir . '/codeception/codeception/src/Codeception/Application.php', + 'Codeception\\Codecept' => $vendorDir . '/codeception/codeception/src/Codeception/Codecept.php', + 'Codeception\\Command\\Bootstrap' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Bootstrap.php', + 'Codeception\\Command\\Build' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Build.php', + 'Codeception\\Command\\Clean' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Clean.php', + 'Codeception\\Command\\Completion' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Completion.php', + 'Codeception\\Command\\CompletionFallback' => $vendorDir . '/codeception/codeception/src/Codeception/Command/CompletionFallback.php', + 'Codeception\\Command\\ConfigValidate' => $vendorDir . '/codeception/codeception/src/Codeception/Command/ConfigValidate.php', + 'Codeception\\Command\\Console' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Console.php', + 'Codeception\\Command\\DryRun' => $vendorDir . '/codeception/codeception/src/Codeception/Command/DryRun.php', + 'Codeception\\Command\\GenerateCept' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateCept.php', + 'Codeception\\Command\\GenerateCest' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateCest.php', + 'Codeception\\Command\\GenerateEnvironment' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateEnvironment.php', + 'Codeception\\Command\\GenerateFeature' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateFeature.php', + 'Codeception\\Command\\GenerateGroup' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateGroup.php', + 'Codeception\\Command\\GenerateHelper' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateHelper.php', + 'Codeception\\Command\\GeneratePageObject' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GeneratePageObject.php', + 'Codeception\\Command\\GenerateScenarios' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateScenarios.php', + 'Codeception\\Command\\GenerateSnapshot' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateSnapshot.php', + 'Codeception\\Command\\GenerateStepObject' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateStepObject.php', + 'Codeception\\Command\\GenerateSuite' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateSuite.php', + 'Codeception\\Command\\GenerateTest' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GenerateTest.php', + 'Codeception\\Command\\GenerateWPAjax' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPAjax.php', + 'Codeception\\Command\\GenerateWPCanonical' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPCanonical.php', + 'Codeception\\Command\\GenerateWPRestApi' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPRestApi.php', + 'Codeception\\Command\\GenerateWPRestController' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPRestController.php', + 'Codeception\\Command\\GenerateWPRestPostTypeController' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPRestPostTypeController.php', + 'Codeception\\Command\\GenerateWPUnit' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPUnit.php', + 'Codeception\\Command\\GenerateWPXMLRPC' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Command/GenerateWPXMLRPC.php', + 'Codeception\\Command\\GherkinSnippets' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GherkinSnippets.php', + 'Codeception\\Command\\GherkinSteps' => $vendorDir . '/codeception/codeception/src/Codeception/Command/GherkinSteps.php', + 'Codeception\\Command\\Init' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Init.php', + 'Codeception\\Command\\Run' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Run.php', + 'Codeception\\Command\\SelfUpdate' => $vendorDir . '/codeception/codeception/src/Codeception/Command/SelfUpdate.php', + 'Codeception\\Command\\Shared\\Config' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Shared/Config.php', + 'Codeception\\Command\\Shared\\FileSystem' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Shared/FileSystem.php', + 'Codeception\\Command\\Shared\\Style' => $vendorDir . '/codeception/codeception/src/Codeception/Command/Shared/Style.php', + 'Codeception\\Configuration' => $vendorDir . '/codeception/codeception/src/Codeception/Configuration.php', + 'Codeception\\Coverage\\Filter' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/Filter.php', + 'Codeception\\Coverage\\Subscriber\\Local' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/Subscriber/Local.php', + 'Codeception\\Coverage\\Subscriber\\LocalServer' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/Subscriber/LocalServer.php', + 'Codeception\\Coverage\\Subscriber\\Printer' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/Subscriber/Printer.php', + 'Codeception\\Coverage\\Subscriber\\RemoteServer' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/Subscriber/RemoteServer.php', + 'Codeception\\Coverage\\SuiteSubscriber' => $vendorDir . '/codeception/codeception/src/Codeception/Coverage/SuiteSubscriber.php', + 'Codeception\\CustomCommandInterface' => $vendorDir . '/codeception/codeception/src/Codeception/CustomCommandInterface.php', + 'Codeception\\Event\\FailEvent' => $vendorDir . '/codeception/codeception/src/Codeception/Event/FailEvent.php', + 'Codeception\\Event\\PrintResultEvent' => $vendorDir . '/codeception/codeception/src/Codeception/Event/PrintResultEvent.php', + 'Codeception\\Event\\StepEvent' => $vendorDir . '/codeception/codeception/src/Codeception/Event/StepEvent.php', + 'Codeception\\Event\\SuiteEvent' => $vendorDir . '/codeception/codeception/src/Codeception/Event/SuiteEvent.php', + 'Codeception\\Event\\TestEvent' => $vendorDir . '/codeception/codeception/src/Codeception/Event/TestEvent.php', + 'Codeception\\Events' => $vendorDir . '/codeception/codeception/src/Codeception/Events.php', + 'Codeception\\Example' => $vendorDir . '/codeception/codeception/src/Codeception/Example.php', + 'Codeception\\Exception\\ConditionalAssertionFailed' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ConditionalAssertionFailed.php', + 'Codeception\\Exception\\ConfigurationException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ConfigurationException.php', + 'Codeception\\Exception\\ConnectionException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ConnectionException.php', + 'Codeception\\Exception\\ContentNotFound' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ContentNotFound.php', + 'Codeception\\Exception\\ElementNotFound' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ElementNotFound.php', + 'Codeception\\Exception\\ExtensionException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ExtensionException.php', + 'Codeception\\Exception\\ExternalUrlException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ExternalUrlException.php', + 'Codeception\\Exception\\Fail' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/Fail.php', + 'Codeception\\Exception\\Incomplete' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/Incomplete.php', + 'Codeception\\Exception\\InjectionException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/InjectionException.php', + 'Codeception\\Exception\\MalformedLocatorException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/MalformedLocatorException.php', + 'Codeception\\Exception\\ModuleConfigException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ModuleConfigException.php', + 'Codeception\\Exception\\ModuleConflictException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ModuleConflictException.php', + 'Codeception\\Exception\\ModuleException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ModuleException.php', + 'Codeception\\Exception\\ModuleRequireException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ModuleRequireException.php', + 'Codeception\\Exception\\ParseException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/ParseException.php', + 'Codeception\\Exception\\RemoteException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/RemoteException.php', + 'Codeception\\Exception\\Skip' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/Skip.php', + 'Codeception\\Exception\\TestParseException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/TestParseException.php', + 'Codeception\\Exception\\TestRuntimeException' => $vendorDir . '/codeception/codeception/src/Codeception/Exception/TestRuntimeException.php', + 'Codeception\\Extension' => $vendorDir . '/codeception/codeception/src/Codeception/Extension.php', + 'Codeception\\Extension\\DotReporter' => $vendorDir . '/codeception/codeception/ext/DotReporter.php', + 'Codeception\\Extension\\Logger' => $vendorDir . '/codeception/codeception/ext/Logger.php', + 'Codeception\\Extension\\Recorder' => $vendorDir . '/codeception/codeception/ext/Recorder.php', + 'Codeception\\Extension\\RunBefore' => $vendorDir . '/codeception/codeception/ext/RunBefore.php', + 'Codeception\\Extension\\RunFailed' => $vendorDir . '/codeception/codeception/ext/RunFailed.php', + 'Codeception\\Extension\\RunProcess' => $vendorDir . '/codeception/codeception/ext/RunProcess.php', + 'Codeception\\Extension\\SimpleReporter' => $vendorDir . '/codeception/codeception/ext/SimpleReporter.php', + 'Codeception\\GroupObject' => $vendorDir . '/codeception/codeception/src/Codeception/GroupObject.php', + 'Codeception\\InitTemplate' => $vendorDir . '/codeception/codeception/src/Codeception/InitTemplate.php', + 'Codeception\\Lib\\Actor\\Shared\\Comment' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Actor/Shared/Comment.php', + 'Codeception\\Lib\\Actor\\Shared\\Friend' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Actor/Shared/Friend.php', + 'Codeception\\Lib\\Connector\\Guzzle' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Guzzle.php', + 'Codeception\\Lib\\Connector\\Guzzle6' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Guzzle6.php', + 'Codeception\\Lib\\Connector\\Laravel5' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Laravel5.php', + 'Codeception\\Lib\\Connector\\Laravel5\\ExceptionHandlerDecorator' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Laravel5/ExceptionHandlerDecorator.php', + 'Codeception\\Lib\\Connector\\Lumen' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Lumen.php', + 'Codeception\\Lib\\Connector\\Lumen\\DummyKernel' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Lumen/DummyKernel.php', + 'Codeception\\Lib\\Connector\\Phalcon' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Phalcon.php', + 'Codeception\\Lib\\Connector\\Phalcon\\MemorySession' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Phalcon/MemorySession.php', + 'Codeception\\Lib\\Connector\\Shared\\LaravelCommon' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Shared/LaravelCommon.php', + 'Codeception\\Lib\\Connector\\Shared\\PhpSuperGlobalsConverter' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Shared/PhpSuperGlobalsConverter.php', + 'Codeception\\Lib\\Connector\\Symfony' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Symfony.php', + 'Codeception\\Lib\\Connector\\Universal' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Universal.php', + 'Codeception\\Lib\\Connector\\Yii1' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii1.php', + 'Codeception\\Lib\\Connector\\Yii2' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2.php', + 'Codeception\\Lib\\Connector\\Yii2\\ConnectionWatcher' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2/ConnectionWatcher.php', + 'Codeception\\Lib\\Connector\\Yii2\\FixturesStore' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2/FixturesStore.php', + 'Codeception\\Lib\\Connector\\Yii2\\Logger' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2/Logger.php', + 'Codeception\\Lib\\Connector\\Yii2\\TestMailer' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2/TestMailer.php', + 'Codeception\\Lib\\Connector\\Yii2\\TransactionForcer' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/Yii2/TransactionForcer.php', + 'Codeception\\Lib\\Connector\\ZF1' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/ZF1.php', + 'Codeception\\Lib\\Connector\\ZF2' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/ZF2.php', + 'Codeception\\Lib\\Connector\\ZF2\\PersistentServiceManager' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/ZF2/PersistentServiceManager.php', + 'Codeception\\Lib\\Connector\\ZendExpressive' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/ZendExpressive.php', + 'Codeception\\Lib\\Connector\\ZendExpressive\\ResponseCollector' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Connector/ZendExpressive/ResponseCollector.php', + 'Codeception\\Lib\\Console\\Colorizer' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Console/Colorizer.php', + 'Codeception\\Lib\\Console\\DiffFactory' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Console/DiffFactory.php', + 'Codeception\\Lib\\Console\\Message' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Console/Message.php', + 'Codeception\\Lib\\Console\\MessageFactory' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Console/MessageFactory.php', + 'Codeception\\Lib\\Console\\Output' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Console/Output.php', + 'Codeception\\Lib\\DbPopulator' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/DbPopulator.php', + 'Codeception\\Lib\\Di' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Di.php', + 'Codeception\\Lib\\Driver\\AmazonSQS' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/AmazonSQS.php', + 'Codeception\\Lib\\Driver\\Beanstalk' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Beanstalk.php', + 'Codeception\\Lib\\Driver\\Db' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Db.php', + 'Codeception\\Lib\\Driver\\ExtendedDbDriver' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Driver/ExtendedDbDriver.php', + 'Codeception\\Lib\\Driver\\ExtendedMySql' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Driver/ExtendedMySql.php', + 'Codeception\\Lib\\Driver\\Facebook' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Facebook.php', + 'Codeception\\Lib\\Driver\\Iron' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Iron.php', + 'Codeception\\Lib\\Driver\\MongoDb' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/MongoDb.php', + 'Codeception\\Lib\\Driver\\MySql' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/MySql.php', + 'Codeception\\Lib\\Driver\\Oci' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Oci.php', + 'Codeception\\Lib\\Driver\\PostgreSql' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/PostgreSql.php', + 'Codeception\\Lib\\Driver\\SqlSrv' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/SqlSrv.php', + 'Codeception\\Lib\\Driver\\Sqlite' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Driver/Sqlite.php', + 'Codeception\\Lib\\Framework' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Framework.php', + 'Codeception\\Lib\\Friend' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Friend.php', + 'Codeception\\Lib\\Generator\\AbstractGenerator' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/AbstractGenerator.php', + 'Codeception\\Lib\\Generator\\AcceptanceSuiteConfig' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/AcceptanceSuiteConfig.php', + 'Codeception\\Lib\\Generator\\Actions' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Actions.php', + 'Codeception\\Lib\\Generator\\Actor' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Actor.php', + 'Codeception\\Lib\\Generator\\Cept' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Cept.php', + 'Codeception\\Lib\\Generator\\Cest' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Cest.php', + 'Codeception\\Lib\\Generator\\Feature' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Feature.php', + 'Codeception\\Lib\\Generator\\FunctionalSuiteConfig' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/FunctionalSuiteConfig.php', + 'Codeception\\Lib\\Generator\\GeneratorInterface' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/GeneratorInterface.php', + 'Codeception\\Lib\\Generator\\GherkinSnippets' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/GherkinSnippets.php', + 'Codeception\\Lib\\Generator\\Group' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Group.php', + 'Codeception\\Lib\\Generator\\Helper' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Helper.php', + 'Codeception\\Lib\\Generator\\IntegrationSuiteConfig' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/IntegrationSuiteConfig.php', + 'Codeception\\Lib\\Generator\\IntegrationSuiteThemeConfig' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/IntegrationSuiteThemeConfig.php', + 'Codeception\\Lib\\Generator\\PageObject' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/PageObject.php', + 'Codeception\\Lib\\Generator\\Shared\\Classname' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Shared/Classname.php', + 'Codeception\\Lib\\Generator\\Snapshot' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Snapshot.php', + 'Codeception\\Lib\\Generator\\StepObject' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/StepObject.php', + 'Codeception\\Lib\\Generator\\Test' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Generator/Test.php', + 'Codeception\\Lib\\Generator\\WPUnit' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Lib/Generator/WPUnit.php', + 'Codeception\\Lib\\GroupManager' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/GroupManager.php', + 'Codeception\\Lib\\InnerBrowser' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/InnerBrowser.php', + 'Codeception\\Lib\\Interfaces\\API' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/API.php', + 'Codeception\\Lib\\Interfaces\\ActiveRecord' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/ActiveRecord.php', + 'Codeception\\Lib\\Interfaces\\ConflictsWithModule' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/ConflictsWithModule.php', + 'Codeception\\Lib\\Interfaces\\DataMapper' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/DataMapper.php', + 'Codeception\\Lib\\Interfaces\\Db' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/Db.php', + 'Codeception\\Lib\\Interfaces\\DependsOnModule' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/DependsOnModule.php', + 'Codeception\\Lib\\Interfaces\\DoctrineProvider' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/DoctrineProvider.php', + 'Codeception\\Lib\\Interfaces\\ElementLocator' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/ElementLocator.php', + 'Codeception\\Lib\\Interfaces\\MultiSession' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/MultiSession.php', + 'Codeception\\Lib\\Interfaces\\ORM' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/ORM.php', + 'Codeception\\Lib\\Interfaces\\PageSourceSaver' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/PageSourceSaver.php', + 'Codeception\\Lib\\Interfaces\\PartedModule' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/PartedModule.php', + 'Codeception\\Lib\\Interfaces\\Queue' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/Queue.php', + 'Codeception\\Lib\\Interfaces\\Remote' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/Remote.php', + 'Codeception\\Lib\\Interfaces\\RequiresPackage' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/RequiresPackage.php', + 'Codeception\\Lib\\Interfaces\\ScreenshotSaver' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/ScreenshotSaver.php', + 'Codeception\\Lib\\Interfaces\\SessionSnapshot' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/SessionSnapshot.php', + 'Codeception\\Lib\\Interfaces\\Web' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Interfaces/Web.php', + 'Codeception\\Lib\\ModuleContainer' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/ModuleContainer.php', + 'Codeception\\Lib\\Notification' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Notification.php', + 'Codeception\\Lib\\ParamsLoader' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/ParamsLoader.php', + 'Codeception\\Lib\\Parser' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Parser.php', + 'Codeception\\Lib\\Shared\\LaravelCommon' => $vendorDir . '/codeception/codeception/src/Codeception/Lib/Shared/LaravelCommon.php', + 'Codeception\\Module' => $vendorDir . '/codeception/codeception/src/Codeception/Module.php', + 'Codeception\\Module\\AMQP' => $vendorDir . '/codeception/codeception/src/Codeception/Module/AMQP.php', + 'Codeception\\Module\\AngularJS' => $vendorDir . '/codeception/codeception/src/Codeception/Module/AngularJS.php', + 'Codeception\\Module\\Apc' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Apc.php', + 'Codeception\\Module\\Asserts' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Asserts.php', + 'Codeception\\Module\\Cli' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Cli.php', + 'Codeception\\Module\\DataFactory' => $vendorDir . '/codeception/codeception/src/Codeception/Module/DataFactory.php', + 'Codeception\\Module\\Db' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Db.php', + 'Codeception\\Module\\Doctrine2' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Doctrine2.php', + 'Codeception\\Module\\FTP' => $vendorDir . '/codeception/codeception/src/Codeception/Module/FTP.php', + 'Codeception\\Module\\Facebook' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Facebook.php', + 'Codeception\\Module\\Filesystem' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Filesystem.php', + 'Codeception\\Module\\Laravel5' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Laravel5.php', + 'Codeception\\Module\\Lumen' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Lumen.php', + 'Codeception\\Module\\Memcache' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Memcache.php', + 'Codeception\\Module\\MongoDb' => $vendorDir . '/codeception/codeception/src/Codeception/Module/MongoDb.php', + 'Codeception\\Module\\Phalcon' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Phalcon.php', + 'Codeception\\Module\\PhpBrowser' => $vendorDir . '/codeception/codeception/src/Codeception/Module/PhpBrowser.php', + 'Codeception\\Module\\Queue' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Queue.php', + 'Codeception\\Module\\REST' => $vendorDir . '/codeception/codeception/src/Codeception/Module/REST.php', + 'Codeception\\Module\\Redis' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Redis.php', + 'Codeception\\Module\\SOAP' => $vendorDir . '/codeception/codeception/src/Codeception/Module/SOAP.php', + 'Codeception\\Module\\Sequence' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Sequence.php', + 'Codeception\\Module\\Silex' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Silex.php', + 'Codeception\\Module\\Symfony' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Symfony.php', + 'Codeception\\Module\\WPBrowser' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPBrowser.php', + 'Codeception\\Module\\WPBrowserMethods' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPBrowserMethods.php', + 'Codeception\\Module\\WPCLI' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPCLI.php', + 'Codeception\\Module\\WPDb' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPDb.php', + 'Codeception\\Module\\WPFilesystem' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPFilesystem.php', + 'Codeception\\Module\\WPLoader' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPLoader.php', + 'Codeception\\Module\\WPQueries' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPQueries.php', + 'Codeception\\Module\\WPWebDriver' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WPWebDriver.php', + 'Codeception\\Module\\WebDriver' => $vendorDir . '/codeception/codeception/src/Codeception/Module/WebDriver.php', + 'Codeception\\Module\\WordPress' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Module/WordPress.php', + 'Codeception\\Module\\XMLRPC' => $vendorDir . '/codeception/codeception/src/Codeception/Module/XMLRPC.php', + 'Codeception\\Module\\Yii1' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Yii1.php', + 'Codeception\\Module\\Yii2' => $vendorDir . '/codeception/codeception/src/Codeception/Module/Yii2.php', + 'Codeception\\Module\\ZF1' => $vendorDir . '/codeception/codeception/src/Codeception/Module/ZF1.php', + 'Codeception\\Module\\ZF2' => $vendorDir . '/codeception/codeception/src/Codeception/Module/ZF2.php', + 'Codeception\\Module\\ZendExpressive' => $vendorDir . '/codeception/codeception/src/Codeception/Module/ZendExpressive.php', + 'Codeception\\PHPUnit\\ConsolePrinter' => $vendorDir . '/codeception/phpunit-wrapper/src/ConsolePrinter.php', + 'Codeception\\PHPUnit\\Constraint\\Crawler' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/Crawler.php', + 'Codeception\\PHPUnit\\Constraint\\CrawlerNot' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/CrawlerNot.php', + 'Codeception\\PHPUnit\\Constraint\\JsonContains' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/JsonContains.php', + 'Codeception\\PHPUnit\\Constraint\\JsonType' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/JsonType.php', + 'Codeception\\PHPUnit\\Constraint\\Page' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/Page.php', + 'Codeception\\PHPUnit\\Constraint\\WebDriver' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/WebDriver.php', + 'Codeception\\PHPUnit\\Constraint\\WebDriverNot' => $vendorDir . '/codeception/phpunit-wrapper/src/Constraint/WebDriverNot.php', + 'Codeception\\PHPUnit\\FilterTest' => $vendorDir . '/codeception/phpunit-wrapper/src/FilterTest.php', + 'Codeception\\PHPUnit\\Init' => $vendorDir . '/codeception/phpunit-wrapper/src/Init.php', + 'Codeception\\PHPUnit\\Listener' => $vendorDir . '/codeception/phpunit-wrapper/src/Listener.php', + 'Codeception\\PHPUnit\\Log\\JUnit' => $vendorDir . '/codeception/phpunit-wrapper/src/Log/JUnit.php', + 'Codeception\\PHPUnit\\Log\\PhpUnit' => $vendorDir . '/codeception/phpunit-wrapper/src/Log/PhpUnit.php', + 'Codeception\\PHPUnit\\ResultPrinter' => $vendorDir . '/codeception/phpunit-wrapper/src/ResultPrinter.php', + 'Codeception\\PHPUnit\\ResultPrinter\\HTML' => $vendorDir . '/codeception/phpunit-wrapper/src/ResultPrinter/HTML.php', + 'Codeception\\PHPUnit\\ResultPrinter\\Report' => $vendorDir . '/codeception/phpunit-wrapper/src/ResultPrinter/Report.php', + 'Codeception\\PHPUnit\\ResultPrinter\\UI' => $vendorDir . '/codeception/phpunit-wrapper/src/ResultPrinter/UI.php', + 'Codeception\\PHPUnit\\Runner' => $vendorDir . '/codeception/phpunit-wrapper/src/Runner.php', + 'Codeception\\PHPUnit\\TestCase' => $vendorDir . '/codeception/phpunit-wrapper/src/TestCase.php', + 'Codeception\\Scenario' => $vendorDir . '/codeception/codeception/src/Codeception/Scenario.php', + 'Codeception\\Snapshot' => $vendorDir . '/codeception/codeception/src/Codeception/Snapshot.php', + 'Codeception\\Step' => $vendorDir . '/codeception/codeception/src/Codeception/Step.php', + 'Codeception\\Step\\Action' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Action.php', + 'Codeception\\Step\\Argument\\FormattedOutput' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Argument/FormattedOutput.php', + 'Codeception\\Step\\Argument\\PasswordArgument' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Argument/PasswordArgument.php', + 'Codeception\\Step\\Assertion' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Assertion.php', + 'Codeception\\Step\\Comment' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Comment.php', + 'Codeception\\Step\\Condition' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Condition.php', + 'Codeception\\Step\\ConditionalAssertion' => $vendorDir . '/codeception/codeception/src/Codeception/Step/ConditionalAssertion.php', + 'Codeception\\Step\\Executor' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Executor.php', + 'Codeception\\Step\\Incomplete' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Incomplete.php', + 'Codeception\\Step\\Meta' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Meta.php', + 'Codeception\\Step\\Skip' => $vendorDir . '/codeception/codeception/src/Codeception/Step/Skip.php', + 'Codeception\\Stub' => $vendorDir . '/codeception/stub/src/Stub.php', + 'Codeception\\Stub\\ConsecutiveMap' => $vendorDir . '/codeception/stub/src/Stub/ConsecutiveMap.php', + 'Codeception\\Stub\\Expected' => $vendorDir . '/codeception/stub/src/Stub/Expected.php', + 'Codeception\\Stub\\StubMarshaler' => $vendorDir . '/codeception/stub/src/Stub/StubMarshaler.php', + 'Codeception\\Subscriber\\AutoRebuild' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/AutoRebuild.php', + 'Codeception\\Subscriber\\BeforeAfterTest' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/BeforeAfterTest.php', + 'Codeception\\Subscriber\\Bootstrap' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/Bootstrap.php', + 'Codeception\\Subscriber\\Console' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/Console.php', + 'Codeception\\Subscriber\\Dependencies' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/Dependencies.php', + 'Codeception\\Subscriber\\ErrorHandler' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/ErrorHandler.php', + 'Codeception\\Subscriber\\ExtensionLoader' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php', + 'Codeception\\Subscriber\\FailFast' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/FailFast.php', + 'Codeception\\Subscriber\\GracefulTermination' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/GracefulTermination.php', + 'Codeception\\Subscriber\\Module' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/Module.php', + 'Codeception\\Subscriber\\PrepareTest' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/PrepareTest.php', + 'Codeception\\Subscriber\\Shared\\StaticEvents' => $vendorDir . '/codeception/codeception/src/Codeception/Subscriber/Shared/StaticEvents.php', + 'Codeception\\Suite' => $vendorDir . '/codeception/codeception/src/Codeception/Suite.php', + 'Codeception\\SuiteManager' => $vendorDir . '/codeception/codeception/src/Codeception/SuiteManager.php', + 'Codeception\\Template\\Acceptance' => $vendorDir . '/codeception/codeception/src/Codeception/Template/Acceptance.php', + 'Codeception\\Template\\Api' => $vendorDir . '/codeception/codeception/src/Codeception/Template/Api.php', + 'Codeception\\Template\\Bootstrap' => $vendorDir . '/codeception/codeception/src/Codeception/Template/Bootstrap.php', + 'Codeception\\Template\\Unit' => $vendorDir . '/codeception/codeception/src/Codeception/Template/Unit.php', + 'Codeception\\Template\\Wpbrowser' => $vendorDir . '/lucatume/wp-browser/src/Codeception/Template/Wpbrowser.php', + 'Codeception\\TestCase\\WPAjaxTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPAjaxTestCase.php', + 'Codeception\\TestCase\\WPCanonicalTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPCanonicalTestCase.php', + 'Codeception\\TestCase\\WPRestApiTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPRestApiTestCase.php', + 'Codeception\\TestCase\\WPRestControllerTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPRestControllerTestCase.php', + 'Codeception\\TestCase\\WPRestPostTypeControllerTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPRestPostTypeControllerTestCase.php', + 'Codeception\\TestCase\\WPTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPTestCase.php', + 'Codeception\\TestCase\\WPXMLRPCTestCase' => $vendorDir . '/lucatume/wp-browser/src/Codeception/TestCase/WPXMLRPCTestCase.php', + 'Codeception\\TestInterface' => $vendorDir . '/codeception/codeception/src/Codeception/TestInterface.php', + 'Codeception\\Test\\Cept' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Cept.php', + 'Codeception\\Test\\Cest' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Cest.php', + 'Codeception\\Test\\Descriptor' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Descriptor.php', + 'Codeception\\Test\\Feature\\AssertionCounter' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/AssertionCounter.php', + 'Codeception\\Test\\Feature\\CodeCoverage' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/CodeCoverage.php', + 'Codeception\\Test\\Feature\\ErrorLogger' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/ErrorLogger.php', + 'Codeception\\Test\\Feature\\IgnoreIfMetadataBlocked' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/IgnoreIfMetadataBlocked.php', + 'Codeception\\Test\\Feature\\MetadataCollector' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/MetadataCollector.php', + 'Codeception\\Test\\Feature\\ScenarioLoader' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Feature/ScenarioLoader.php', + 'Codeception\\Test\\Feature\\Stub' => $vendorDir . '/codeception/stub/src/Test/Feature/Stub.php', + 'Codeception\\Test\\Gherkin' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Gherkin.php', + 'Codeception\\Test\\Interfaces\\Dependent' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/Dependent.php', + 'Codeception\\Test\\Interfaces\\Descriptive' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/Descriptive.php', + 'Codeception\\Test\\Interfaces\\Plain' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/Plain.php', + 'Codeception\\Test\\Interfaces\\Reported' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/Reported.php', + 'Codeception\\Test\\Interfaces\\ScenarioDriven' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/ScenarioDriven.php', + 'Codeception\\Test\\Interfaces\\StrictCoverage' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Interfaces/StrictCoverage.php', + 'Codeception\\Test\\Loader' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader.php', + 'Codeception\\Test\\Loader\\Cept' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader/Cept.php', + 'Codeception\\Test\\Loader\\Cest' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader/Cest.php', + 'Codeception\\Test\\Loader\\Gherkin' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader/Gherkin.php', + 'Codeception\\Test\\Loader\\LoaderInterface' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader/LoaderInterface.php', + 'Codeception\\Test\\Loader\\Unit' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Loader/Unit.php', + 'Codeception\\Test\\Metadata' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Metadata.php', + 'Codeception\\Test\\Test' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Test.php', + 'Codeception\\Test\\Unit' => $vendorDir . '/codeception/codeception/src/Codeception/Test/Unit.php', + 'Codeception\\Util\\ActionSequence' => $vendorDir . '/codeception/codeception/src/Codeception/Util/ActionSequence.php', + 'Codeception\\Util\\Annotation' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Annotation.php', + 'Codeception\\Util\\ArrayContainsComparator' => $vendorDir . '/codeception/codeception/src/Codeception/Util/ArrayContainsComparator.php', + 'Codeception\\Util\\Autoload' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Autoload.php', + 'Codeception\\Util\\Debug' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Debug.php', + 'Codeception\\Util\\FileSystem' => $vendorDir . '/codeception/codeception/src/Codeception/Util/FileSystem.php', + 'Codeception\\Util\\Fixtures' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Fixtures.php', + 'Codeception\\Util\\HttpCode' => $vendorDir . '/codeception/codeception/src/Codeception/Util/HttpCode.php', + 'Codeception\\Util\\JsonArray' => $vendorDir . '/codeception/codeception/src/Codeception/Util/JsonArray.php', + 'Codeception\\Util\\JsonType' => $vendorDir . '/codeception/codeception/src/Codeception/Util/JsonType.php', + 'Codeception\\Util\\Locator' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Locator.php', + 'Codeception\\Util\\Maybe' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Maybe.php', + 'Codeception\\Util\\PathResolver' => $vendorDir . '/codeception/codeception/src/Codeception/Util/PathResolver.php', + 'Codeception\\Util\\PropertyAccess' => $vendorDir . '/codeception/codeception/src/Codeception/Util/PropertyAccess.php', + 'Codeception\\Util\\ReflectionHelper' => $vendorDir . '/codeception/codeception/src/Codeception/Util/ReflectionHelper.php', + 'Codeception\\Util\\Shared\\Asserts' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Shared/Asserts.php', + 'Codeception\\Util\\Shared\\Namespaces' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Shared/Namespaces.php', + 'Codeception\\Util\\Soap' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Soap.php', + 'Codeception\\Util\\Stub' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Stub.php', + 'Codeception\\Util\\Template' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Template.php', + 'Codeception\\Util\\Uri' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Uri.php', + 'Codeception\\Util\\Xml' => $vendorDir . '/codeception/codeception/src/Codeception/Util/Xml.php', + 'Codeception\\Util\\XmlBuilder' => $vendorDir . '/codeception/codeception/src/Codeception/Util/XmlBuilder.php', + 'Codeception\\Util\\XmlStructure' => $vendorDir . '/codeception/codeception/src/Codeception/Util/XmlStructure.php', + 'Codeception\\c3\\Installer' => $vendorDir . '/codeception/c3/Installer.php', + 'Composer\\Autoload\\AutoloadGenerator' => $vendorDir . '/composer/composer/src/Composer/Autoload/AutoloadGenerator.php', + 'Composer\\Autoload\\ClassLoader' => $vendorDir . '/composer/composer/src/Composer/Autoload/ClassLoader.php', + 'Composer\\Autoload\\ClassMapGenerator' => $vendorDir . '/composer/composer/src/Composer/Autoload/ClassMapGenerator.php', + 'Composer\\CaBundle\\CaBundle' => $vendorDir . '/composer/ca-bundle/src/CaBundle.php', + 'Composer\\Cache' => $vendorDir . '/composer/composer/src/Composer/Cache.php', + 'Composer\\Command\\AboutCommand' => $vendorDir . '/composer/composer/src/Composer/Command/AboutCommand.php', + 'Composer\\Command\\ArchiveCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ArchiveCommand.php', + 'Composer\\Command\\BaseCommand' => $vendorDir . '/composer/composer/src/Composer/Command/BaseCommand.php', + 'Composer\\Command\\BaseDependencyCommand' => $vendorDir . '/composer/composer/src/Composer/Command/BaseDependencyCommand.php', + 'Composer\\Command\\CheckPlatformReqsCommand' => $vendorDir . '/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php', + 'Composer\\Command\\ClearCacheCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ClearCacheCommand.php', + 'Composer\\Command\\ConfigCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ConfigCommand.php', + 'Composer\\Command\\CreateProjectCommand' => $vendorDir . '/composer/composer/src/Composer/Command/CreateProjectCommand.php', + 'Composer\\Command\\DependsCommand' => $vendorDir . '/composer/composer/src/Composer/Command/DependsCommand.php', + 'Composer\\Command\\DiagnoseCommand' => $vendorDir . '/composer/composer/src/Composer/Command/DiagnoseCommand.php', + 'Composer\\Command\\DumpAutoloadCommand' => $vendorDir . '/composer/composer/src/Composer/Command/DumpAutoloadCommand.php', + 'Composer\\Command\\ExecCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ExecCommand.php', + 'Composer\\Command\\GlobalCommand' => $vendorDir . '/composer/composer/src/Composer/Command/GlobalCommand.php', + 'Composer\\Command\\HomeCommand' => $vendorDir . '/composer/composer/src/Composer/Command/HomeCommand.php', + 'Composer\\Command\\InitCommand' => $vendorDir . '/composer/composer/src/Composer/Command/InitCommand.php', + 'Composer\\Command\\InstallCommand' => $vendorDir . '/composer/composer/src/Composer/Command/InstallCommand.php', + 'Composer\\Command\\LicensesCommand' => $vendorDir . '/composer/composer/src/Composer/Command/LicensesCommand.php', + 'Composer\\Command\\OutdatedCommand' => $vendorDir . '/composer/composer/src/Composer/Command/OutdatedCommand.php', + 'Composer\\Command\\ProhibitsCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ProhibitsCommand.php', + 'Composer\\Command\\RemoveCommand' => $vendorDir . '/composer/composer/src/Composer/Command/RemoveCommand.php', + 'Composer\\Command\\RequireCommand' => $vendorDir . '/composer/composer/src/Composer/Command/RequireCommand.php', + 'Composer\\Command\\RunScriptCommand' => $vendorDir . '/composer/composer/src/Composer/Command/RunScriptCommand.php', + 'Composer\\Command\\ScriptAliasCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ScriptAliasCommand.php', + 'Composer\\Command\\SearchCommand' => $vendorDir . '/composer/composer/src/Composer/Command/SearchCommand.php', + 'Composer\\Command\\SelfUpdateCommand' => $vendorDir . '/composer/composer/src/Composer/Command/SelfUpdateCommand.php', + 'Composer\\Command\\ShowCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ShowCommand.php', + 'Composer\\Command\\StatusCommand' => $vendorDir . '/composer/composer/src/Composer/Command/StatusCommand.php', + 'Composer\\Command\\SuggestsCommand' => $vendorDir . '/composer/composer/src/Composer/Command/SuggestsCommand.php', + 'Composer\\Command\\UpdateCommand' => $vendorDir . '/composer/composer/src/Composer/Command/UpdateCommand.php', + 'Composer\\Command\\ValidateCommand' => $vendorDir . '/composer/composer/src/Composer/Command/ValidateCommand.php', + 'Composer\\Compiler' => $vendorDir . '/composer/composer/src/Composer/Compiler.php', + 'Composer\\Composer' => $vendorDir . '/composer/composer/src/Composer/Composer.php', + 'Composer\\Config' => $vendorDir . '/composer/composer/src/Composer/Config.php', + 'Composer\\Config\\ConfigSourceInterface' => $vendorDir . '/composer/composer/src/Composer/Config/ConfigSourceInterface.php', + 'Composer\\Config\\JsonConfigSource' => $vendorDir . '/composer/composer/src/Composer/Config/JsonConfigSource.php', + 'Composer\\Console\\Application' => $vendorDir . '/composer/composer/src/Composer/Console/Application.php', + 'Composer\\Console\\HtmlOutputFormatter' => $vendorDir . '/composer/composer/src/Composer/Console/HtmlOutputFormatter.php', + 'Composer\\DependencyResolver\\Decisions' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Decisions.php', + 'Composer\\DependencyResolver\\DefaultPolicy' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php', + 'Composer\\DependencyResolver\\GenericRule' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/GenericRule.php', + 'Composer\\DependencyResolver\\Operation\\InstallOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/InstallOperation.php', + 'Composer\\DependencyResolver\\Operation\\MarkAliasInstalledOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php', + 'Composer\\DependencyResolver\\Operation\\MarkAliasUninstalledOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php', + 'Composer\\DependencyResolver\\Operation\\OperationInterface' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/OperationInterface.php', + 'Composer\\DependencyResolver\\Operation\\SolverOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/SolverOperation.php', + 'Composer\\DependencyResolver\\Operation\\UninstallOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/UninstallOperation.php', + 'Composer\\DependencyResolver\\Operation\\UpdateOperation' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Operation/UpdateOperation.php', + 'Composer\\DependencyResolver\\PolicyInterface' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/PolicyInterface.php', + 'Composer\\DependencyResolver\\Pool' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Pool.php', + 'Composer\\DependencyResolver\\Problem' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Problem.php', + 'Composer\\DependencyResolver\\Request' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Request.php', + 'Composer\\DependencyResolver\\Rule' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Rule.php', + 'Composer\\DependencyResolver\\Rule2Literals' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php', + 'Composer\\DependencyResolver\\RuleSet' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleSet.php', + 'Composer\\DependencyResolver\\RuleSetGenerator' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php', + 'Composer\\DependencyResolver\\RuleSetIterator' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleSetIterator.php', + 'Composer\\DependencyResolver\\RuleWatchChain' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleWatchChain.php', + 'Composer\\DependencyResolver\\RuleWatchGraph' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php', + 'Composer\\DependencyResolver\\RuleWatchNode' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/RuleWatchNode.php', + 'Composer\\DependencyResolver\\Solver' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Solver.php', + 'Composer\\DependencyResolver\\SolverBugException' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/SolverBugException.php', + 'Composer\\DependencyResolver\\SolverProblemsException' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php', + 'Composer\\DependencyResolver\\Transaction' => $vendorDir . '/composer/composer/src/Composer/DependencyResolver/Transaction.php', + 'Composer\\Downloader\\ArchiveDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/ArchiveDownloader.php', + 'Composer\\Downloader\\ChangeReportInterface' => $vendorDir . '/composer/composer/src/Composer/Downloader/ChangeReportInterface.php', + 'Composer\\Downloader\\DownloadManager' => $vendorDir . '/composer/composer/src/Composer/Downloader/DownloadManager.php', + 'Composer\\Downloader\\DownloaderInterface' => $vendorDir . '/composer/composer/src/Composer/Downloader/DownloaderInterface.php', + 'Composer\\Downloader\\DvcsDownloaderInterface' => $vendorDir . '/composer/composer/src/Composer/Downloader/DvcsDownloaderInterface.php', + 'Composer\\Downloader\\FileDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/FileDownloader.php', + 'Composer\\Downloader\\FilesystemException' => $vendorDir . '/composer/composer/src/Composer/Downloader/FilesystemException.php', + 'Composer\\Downloader\\FossilDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/FossilDownloader.php', + 'Composer\\Downloader\\GitDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/GitDownloader.php', + 'Composer\\Downloader\\GzipDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/GzipDownloader.php', + 'Composer\\Downloader\\HgDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/HgDownloader.php', + 'Composer\\Downloader\\PathDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/PathDownloader.php', + 'Composer\\Downloader\\PearPackageExtractor' => $vendorDir . '/composer/composer/src/Composer/Downloader/PearPackageExtractor.php', + 'Composer\\Downloader\\PerforceDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/PerforceDownloader.php', + 'Composer\\Downloader\\PharDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/PharDownloader.php', + 'Composer\\Downloader\\RarDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/RarDownloader.php', + 'Composer\\Downloader\\SvnDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/SvnDownloader.php', + 'Composer\\Downloader\\TarDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/TarDownloader.php', + 'Composer\\Downloader\\TransportException' => $vendorDir . '/composer/composer/src/Composer/Downloader/TransportException.php', + 'Composer\\Downloader\\VcsCapableDownloaderInterface' => $vendorDir . '/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php', + 'Composer\\Downloader\\VcsDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/VcsDownloader.php', + 'Composer\\Downloader\\XzDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/XzDownloader.php', + 'Composer\\Downloader\\ZipDownloader' => $vendorDir . '/composer/composer/src/Composer/Downloader/ZipDownloader.php', + 'Composer\\EventDispatcher\\Event' => $vendorDir . '/composer/composer/src/Composer/EventDispatcher/Event.php', + 'Composer\\EventDispatcher\\EventDispatcher' => $vendorDir . '/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php', + 'Composer\\EventDispatcher\\EventSubscriberInterface' => $vendorDir . '/composer/composer/src/Composer/EventDispatcher/EventSubscriberInterface.php', + 'Composer\\EventDispatcher\\ScriptExecutionException' => $vendorDir . '/composer/composer/src/Composer/EventDispatcher/ScriptExecutionException.php', + 'Composer\\Exception\\NoSslException' => $vendorDir . '/composer/composer/src/Composer/Exception/NoSslException.php', + 'Composer\\Factory' => $vendorDir . '/composer/composer/src/Composer/Factory.php', + 'Composer\\IO\\BaseIO' => $vendorDir . '/composer/composer/src/Composer/IO/BaseIO.php', + 'Composer\\IO\\BufferIO' => $vendorDir . '/composer/composer/src/Composer/IO/BufferIO.php', + 'Composer\\IO\\ConsoleIO' => $vendorDir . '/composer/composer/src/Composer/IO/ConsoleIO.php', + 'Composer\\IO\\IOInterface' => $vendorDir . '/composer/composer/src/Composer/IO/IOInterface.php', + 'Composer\\IO\\NullIO' => $vendorDir . '/composer/composer/src/Composer/IO/NullIO.php', + 'Composer\\Installer' => $vendorDir . '/composer/composer/src/Composer/Installer.php', + 'Composer\\Installer\\BinaryInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/BinaryInstaller.php', + 'Composer\\Installer\\BinaryPresenceInterface' => $vendorDir . '/composer/composer/src/Composer/Installer/BinaryPresenceInterface.php', + 'Composer\\Installer\\InstallationManager' => $vendorDir . '/composer/composer/src/Composer/Installer/InstallationManager.php', + 'Composer\\Installer\\InstallerEvent' => $vendorDir . '/composer/composer/src/Composer/Installer/InstallerEvent.php', + 'Composer\\Installer\\InstallerEvents' => $vendorDir . '/composer/composer/src/Composer/Installer/InstallerEvents.php', + 'Composer\\Installer\\InstallerInterface' => $vendorDir . '/composer/composer/src/Composer/Installer/InstallerInterface.php', + 'Composer\\Installer\\LibraryInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/LibraryInstaller.php', + 'Composer\\Installer\\MetapackageInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/MetapackageInstaller.php', + 'Composer\\Installer\\NoopInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/NoopInstaller.php', + 'Composer\\Installer\\PackageEvent' => $vendorDir . '/composer/composer/src/Composer/Installer/PackageEvent.php', + 'Composer\\Installer\\PackageEvents' => $vendorDir . '/composer/composer/src/Composer/Installer/PackageEvents.php', + 'Composer\\Installer\\PearBinaryInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/PearBinaryInstaller.php', + 'Composer\\Installer\\PearInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/PearInstaller.php', + 'Composer\\Installer\\PluginInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/PluginInstaller.php', + 'Composer\\Installer\\ProjectInstaller' => $vendorDir . '/composer/composer/src/Composer/Installer/ProjectInstaller.php', + 'Composer\\Installer\\SuggestedPackagesReporter' => $vendorDir . '/composer/composer/src/Composer/Installer/SuggestedPackagesReporter.php', + 'Composer\\Json\\JsonFile' => $vendorDir . '/composer/composer/src/Composer/Json/JsonFile.php', + 'Composer\\Json\\JsonFormatter' => $vendorDir . '/composer/composer/src/Composer/Json/JsonFormatter.php', + 'Composer\\Json\\JsonManipulator' => $vendorDir . '/composer/composer/src/Composer/Json/JsonManipulator.php', + 'Composer\\Json\\JsonValidationException' => $vendorDir . '/composer/composer/src/Composer/Json/JsonValidationException.php', + 'Composer\\Package\\AliasPackage' => $vendorDir . '/composer/composer/src/Composer/Package/AliasPackage.php', + 'Composer\\Package\\Archiver\\ArchivableFilesFilter' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFilter.php', + 'Composer\\Package\\Archiver\\ArchivableFilesFinder' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFinder.php', + 'Composer\\Package\\Archiver\\ArchiveManager' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php', + 'Composer\\Package\\Archiver\\ArchiverInterface' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ArchiverInterface.php', + 'Composer\\Package\\Archiver\\BaseExcludeFilter' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/BaseExcludeFilter.php', + 'Composer\\Package\\Archiver\\ComposerExcludeFilter' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ComposerExcludeFilter.php', + 'Composer\\Package\\Archiver\\GitExcludeFilter' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/GitExcludeFilter.php', + 'Composer\\Package\\Archiver\\HgExcludeFilter' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/HgExcludeFilter.php', + 'Composer\\Package\\Archiver\\PharArchiver' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/PharArchiver.php', + 'Composer\\Package\\Archiver\\ZipArchiver' => $vendorDir . '/composer/composer/src/Composer/Package/Archiver/ZipArchiver.php', + 'Composer\\Package\\BasePackage' => $vendorDir . '/composer/composer/src/Composer/Package/BasePackage.php', + 'Composer\\Package\\Comparer\\Comparer' => $vendorDir . '/composer/composer/src/Composer/Package/Comparer/Comparer.php', + 'Composer\\Package\\CompletePackage' => $vendorDir . '/composer/composer/src/Composer/Package/CompletePackage.php', + 'Composer\\Package\\CompletePackageInterface' => $vendorDir . '/composer/composer/src/Composer/Package/CompletePackageInterface.php', + 'Composer\\Package\\Dumper\\ArrayDumper' => $vendorDir . '/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php', + 'Composer\\Package\\Link' => $vendorDir . '/composer/composer/src/Composer/Package/Link.php', + 'Composer\\Package\\LinkConstraint\\EmptyConstraint' => $vendorDir . '/composer/composer/src/Composer/Package/LinkConstraint/EmptyConstraint.php', + 'Composer\\Package\\LinkConstraint\\LinkConstraintInterface' => $vendorDir . '/composer/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php', + 'Composer\\Package\\LinkConstraint\\MultiConstraint' => $vendorDir . '/composer/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php', + 'Composer\\Package\\LinkConstraint\\SpecificConstraint' => $vendorDir . '/composer/composer/src/Composer/Package/LinkConstraint/SpecificConstraint.php', + 'Composer\\Package\\LinkConstraint\\VersionConstraint' => $vendorDir . '/composer/composer/src/Composer/Package/LinkConstraint/VersionConstraint.php', + 'Composer\\Package\\Loader\\ArrayLoader' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/ArrayLoader.php', + 'Composer\\Package\\Loader\\InvalidPackageException' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php', + 'Composer\\Package\\Loader\\JsonLoader' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/JsonLoader.php', + 'Composer\\Package\\Loader\\LoaderInterface' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/LoaderInterface.php', + 'Composer\\Package\\Loader\\RootPackageLoader' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php', + 'Composer\\Package\\Loader\\ValidatingArrayLoader' => $vendorDir . '/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php', + 'Composer\\Package\\Locker' => $vendorDir . '/composer/composer/src/Composer/Package/Locker.php', + 'Composer\\Package\\Package' => $vendorDir . '/composer/composer/src/Composer/Package/Package.php', + 'Composer\\Package\\PackageInterface' => $vendorDir . '/composer/composer/src/Composer/Package/PackageInterface.php', + 'Composer\\Package\\RootAliasPackage' => $vendorDir . '/composer/composer/src/Composer/Package/RootAliasPackage.php', + 'Composer\\Package\\RootPackage' => $vendorDir . '/composer/composer/src/Composer/Package/RootPackage.php', + 'Composer\\Package\\RootPackageInterface' => $vendorDir . '/composer/composer/src/Composer/Package/RootPackageInterface.php', + 'Composer\\Package\\Version\\VersionGuesser' => $vendorDir . '/composer/composer/src/Composer/Package/Version/VersionGuesser.php', + 'Composer\\Package\\Version\\VersionParser' => $vendorDir . '/composer/composer/src/Composer/Package/Version/VersionParser.php', + 'Composer\\Package\\Version\\VersionSelector' => $vendorDir . '/composer/composer/src/Composer/Package/Version/VersionSelector.php', + 'Composer\\Plugin\\Capability\\Capability' => $vendorDir . '/composer/composer/src/Composer/Plugin/Capability/Capability.php', + 'Composer\\Plugin\\Capability\\CommandProvider' => $vendorDir . '/composer/composer/src/Composer/Plugin/Capability/CommandProvider.php', + 'Composer\\Plugin\\Capable' => $vendorDir . '/composer/composer/src/Composer/Plugin/Capable.php', + 'Composer\\Plugin\\CommandEvent' => $vendorDir . '/composer/composer/src/Composer/Plugin/CommandEvent.php', + 'Composer\\Plugin\\PluginEvents' => $vendorDir . '/composer/composer/src/Composer/Plugin/PluginEvents.php', + 'Composer\\Plugin\\PluginInterface' => $vendorDir . '/composer/composer/src/Composer/Plugin/PluginInterface.php', + 'Composer\\Plugin\\PluginManager' => $vendorDir . '/composer/composer/src/Composer/Plugin/PluginManager.php', + 'Composer\\Plugin\\PreCommandRunEvent' => $vendorDir . '/composer/composer/src/Composer/Plugin/PreCommandRunEvent.php', + 'Composer\\Plugin\\PreFileDownloadEvent' => $vendorDir . '/composer/composer/src/Composer/Plugin/PreFileDownloadEvent.php', + 'Composer\\Question\\StrictConfirmationQuestion' => $vendorDir . '/composer/composer/src/Composer/Question/StrictConfirmationQuestion.php', + 'Composer\\Repository\\ArrayRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/ArrayRepository.php', + 'Composer\\Repository\\ArtifactRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/ArtifactRepository.php', + 'Composer\\Repository\\BaseRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/BaseRepository.php', + 'Composer\\Repository\\ComposerRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/ComposerRepository.php', + 'Composer\\Repository\\CompositeRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/CompositeRepository.php', + 'Composer\\Repository\\ConfigurableRepositoryInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/ConfigurableRepositoryInterface.php', + 'Composer\\Repository\\FilesystemRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/FilesystemRepository.php', + 'Composer\\Repository\\InstalledArrayRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/InstalledArrayRepository.php', + 'Composer\\Repository\\InstalledFilesystemRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/InstalledFilesystemRepository.php', + 'Composer\\Repository\\InstalledRepositoryInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/InstalledRepositoryInterface.php', + 'Composer\\Repository\\InvalidRepositoryException' => $vendorDir . '/composer/composer/src/Composer/Repository/InvalidRepositoryException.php', + 'Composer\\Repository\\PackageRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/PackageRepository.php', + 'Composer\\Repository\\PathRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/PathRepository.php', + 'Composer\\Repository\\PearRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/PearRepository.php', + 'Composer\\Repository\\Pear\\BaseChannelReader' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/BaseChannelReader.php', + 'Composer\\Repository\\Pear\\ChannelInfo' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/ChannelInfo.php', + 'Composer\\Repository\\Pear\\ChannelReader' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/ChannelReader.php', + 'Composer\\Repository\\Pear\\ChannelRest10Reader' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/ChannelRest10Reader.php', + 'Composer\\Repository\\Pear\\ChannelRest11Reader' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/ChannelRest11Reader.php', + 'Composer\\Repository\\Pear\\DependencyConstraint' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/DependencyConstraint.php', + 'Composer\\Repository\\Pear\\DependencyInfo' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/DependencyInfo.php', + 'Composer\\Repository\\Pear\\PackageDependencyParser' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/PackageDependencyParser.php', + 'Composer\\Repository\\Pear\\PackageInfo' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/PackageInfo.php', + 'Composer\\Repository\\Pear\\ReleaseInfo' => $vendorDir . '/composer/composer/src/Composer/Repository/Pear/ReleaseInfo.php', + 'Composer\\Repository\\PlatformRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/PlatformRepository.php', + 'Composer\\Repository\\RepositoryFactory' => $vendorDir . '/composer/composer/src/Composer/Repository/RepositoryFactory.php', + 'Composer\\Repository\\RepositoryInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/RepositoryInterface.php', + 'Composer\\Repository\\RepositoryManager' => $vendorDir . '/composer/composer/src/Composer/Repository/RepositoryManager.php', + 'Composer\\Repository\\RepositorySecurityException' => $vendorDir . '/composer/composer/src/Composer/Repository/RepositorySecurityException.php', + 'Composer\\Repository\\VcsRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/VcsRepository.php', + 'Composer\\Repository\\Vcs\\BitbucketDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/BitbucketDriver.php', + 'Composer\\Repository\\Vcs\\FossilDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php', + 'Composer\\Repository\\Vcs\\GitBitbucketDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/GitBitbucketDriver.php', + 'Composer\\Repository\\Vcs\\GitDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/GitDriver.php', + 'Composer\\Repository\\Vcs\\GitHubDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php', + 'Composer\\Repository\\Vcs\\GitLabDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php', + 'Composer\\Repository\\Vcs\\HgBitbucketDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/HgBitbucketDriver.php', + 'Composer\\Repository\\Vcs\\HgDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/HgDriver.php', + 'Composer\\Repository\\Vcs\\PerforceDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php', + 'Composer\\Repository\\Vcs\\SvnDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php', + 'Composer\\Repository\\Vcs\\VcsDriver' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php', + 'Composer\\Repository\\Vcs\\VcsDriverInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php', + 'Composer\\Repository\\VersionCacheInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/VersionCacheInterface.php', + 'Composer\\Repository\\WritableArrayRepository' => $vendorDir . '/composer/composer/src/Composer/Repository/WritableArrayRepository.php', + 'Composer\\Repository\\WritableRepositoryInterface' => $vendorDir . '/composer/composer/src/Composer/Repository/WritableRepositoryInterface.php', + 'Composer\\Script\\CommandEvent' => $vendorDir . '/composer/composer/src/Composer/Script/CommandEvent.php', + 'Composer\\Script\\Event' => $vendorDir . '/composer/composer/src/Composer/Script/Event.php', + 'Composer\\Script\\PackageEvent' => $vendorDir . '/composer/composer/src/Composer/Script/PackageEvent.php', + 'Composer\\Script\\ScriptEvents' => $vendorDir . '/composer/composer/src/Composer/Script/ScriptEvents.php', + 'Composer\\SelfUpdate\\Keys' => $vendorDir . '/composer/composer/src/Composer/SelfUpdate/Keys.php', + 'Composer\\SelfUpdate\\Versions' => $vendorDir . '/composer/composer/src/Composer/SelfUpdate/Versions.php', + 'Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', + 'Composer\\Semver\\Constraint\\AbstractConstraint' => $vendorDir . '/composer/semver/src/Constraint/AbstractConstraint.php', + 'Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', + 'Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'Composer\\Semver\\Constraint\\EmptyConstraint' => $vendorDir . '/composer/semver/src/Constraint/EmptyConstraint.php', + 'Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', + 'Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', + 'Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', + 'Composer\\Spdx\\SpdxLicenses' => $vendorDir . '/composer/spdx-licenses/src/SpdxLicenses.php', + 'Composer\\Util\\AuthHelper' => $vendorDir . '/composer/composer/src/Composer/Util/AuthHelper.php', + 'Composer\\Util\\Bitbucket' => $vendorDir . '/composer/composer/src/Composer/Util/Bitbucket.php', + 'Composer\\Util\\ComposerMirror' => $vendorDir . '/composer/composer/src/Composer/Util/ComposerMirror.php', + 'Composer\\Util\\ConfigValidator' => $vendorDir . '/composer/composer/src/Composer/Util/ConfigValidator.php', + 'Composer\\Util\\ErrorHandler' => $vendorDir . '/composer/composer/src/Composer/Util/ErrorHandler.php', + 'Composer\\Util\\Filesystem' => $vendorDir . '/composer/composer/src/Composer/Util/Filesystem.php', + 'Composer\\Util\\Git' => $vendorDir . '/composer/composer/src/Composer/Util/Git.php', + 'Composer\\Util\\GitHub' => $vendorDir . '/composer/composer/src/Composer/Util/GitHub.php', + 'Composer\\Util\\GitLab' => $vendorDir . '/composer/composer/src/Composer/Util/GitLab.php', + 'Composer\\Util\\Hg' => $vendorDir . '/composer/composer/src/Composer/Util/Hg.php', + 'Composer\\Util\\IniHelper' => $vendorDir . '/composer/composer/src/Composer/Util/IniHelper.php', + 'Composer\\Util\\NoProxyPattern' => $vendorDir . '/composer/composer/src/Composer/Util/NoProxyPattern.php', + 'Composer\\Util\\Perforce' => $vendorDir . '/composer/composer/src/Composer/Util/Perforce.php', + 'Composer\\Util\\Platform' => $vendorDir . '/composer/composer/src/Composer/Util/Platform.php', + 'Composer\\Util\\ProcessExecutor' => $vendorDir . '/composer/composer/src/Composer/Util/ProcessExecutor.php', + 'Composer\\Util\\RemoteFilesystem' => $vendorDir . '/composer/composer/src/Composer/Util/RemoteFilesystem.php', + 'Composer\\Util\\Silencer' => $vendorDir . '/composer/composer/src/Composer/Util/Silencer.php', + 'Composer\\Util\\SpdxLicense' => $vendorDir . '/composer/composer/src/Composer/Util/SpdxLicense.php', + 'Composer\\Util\\StreamContextFactory' => $vendorDir . '/composer/composer/src/Composer/Util/StreamContextFactory.php', + 'Composer\\Util\\Svn' => $vendorDir . '/composer/composer/src/Composer/Util/Svn.php', + 'Composer\\Util\\TlsHelper' => $vendorDir . '/composer/composer/src/Composer/Util/TlsHelper.php', + 'Composer\\Util\\Url' => $vendorDir . '/composer/composer/src/Composer/Util/Url.php', + 'Composer\\XdebugHandler' => $vendorDir . '/composer/composer/src/Composer/XdebugHandler.php', + 'Composer\\XdebugHandler\\PhpConfig' => $vendorDir . '/composer/xdebug-handler/src/PhpConfig.php', + 'Composer\\XdebugHandler\\Process' => $vendorDir . '/composer/xdebug-handler/src/Process.php', + 'Composer\\XdebugHandler\\Status' => $vendorDir . '/composer/xdebug-handler/src/Status.php', + 'Composer\\XdebugHandler\\XdebugHandler' => $vendorDir . '/composer/xdebug-handler/src/XdebugHandler.php', + 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin' => $vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php', + 'DeepCopy\\DeepCopy' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/DeepCopy.php', + 'DeepCopy\\Exception\\CloneException' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php', + 'DeepCopy\\Exception\\PropertyException' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php', + 'DeepCopy\\Filter\\Doctrine\\DoctrineCollectionFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php', + 'DeepCopy\\Filter\\Doctrine\\DoctrineEmptyCollectionFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php', + 'DeepCopy\\Filter\\Doctrine\\DoctrineProxyFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php', + 'DeepCopy\\Filter\\Filter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php', + 'DeepCopy\\Filter\\KeepFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/KeepFilter.php', + 'DeepCopy\\Filter\\ReplaceFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php', + 'DeepCopy\\Filter\\SetNullFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php', + 'DeepCopy\\Matcher\\Doctrine\\DoctrineProxyMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php', + 'DeepCopy\\Matcher\\Matcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/Matcher.php', + 'DeepCopy\\Matcher\\PropertyMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyMatcher.php', + 'DeepCopy\\Matcher\\PropertyNameMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php', + 'DeepCopy\\Matcher\\PropertyTypeMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php', + 'DeepCopy\\Reflection\\ReflectionHelper' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php', + 'DeepCopy\\TypeFilter\\Date\\DateIntervalFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php', + 'DeepCopy\\TypeFilter\\ReplaceFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php', + 'DeepCopy\\TypeFilter\\ShallowCopyFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php', + 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedList' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php', + 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedListFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php', + 'DeepCopy\\TypeFilter\\TypeFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php', + 'DeepCopy\\TypeMatcher\\TypeMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php', + 'Doctrine\\Common\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php', + 'Doctrine\\Instantiator\\Exception\\ExceptionInterface' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php', + 'Doctrine\\Instantiator\\Exception\\InvalidArgumentException' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/InvalidArgumentException.php', + 'Doctrine\\Instantiator\\Exception\\UnexpectedValueException' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php', + 'Doctrine\\Instantiator\\Instantiator' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php', + 'Doctrine\\Instantiator\\InstantiatorInterface' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php', + 'Dotenv\\Dotenv' => $vendorDir . '/vlucas/phpdotenv/src/Dotenv.php', + 'Dotenv\\Environment\\AbstractVariables' => $vendorDir . '/vlucas/phpdotenv/src/Environment/AbstractVariables.php', + 'Dotenv\\Environment\\Adapter\\AdapterInterface' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/AdapterInterface.php', + 'Dotenv\\Environment\\Adapter\\ApacheAdapter' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/ApacheAdapter.php', + 'Dotenv\\Environment\\Adapter\\ArrayAdapter' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/ArrayAdapter.php', + 'Dotenv\\Environment\\Adapter\\EnvConstAdapter' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/EnvConstAdapter.php', + 'Dotenv\\Environment\\Adapter\\PutenvAdapter' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/PutenvAdapter.php', + 'Dotenv\\Environment\\Adapter\\ServerConstAdapter' => $vendorDir . '/vlucas/phpdotenv/src/Environment/Adapter/ServerConstAdapter.php', + 'Dotenv\\Environment\\DotenvFactory' => $vendorDir . '/vlucas/phpdotenv/src/Environment/DotenvFactory.php', + 'Dotenv\\Environment\\DotenvVariables' => $vendorDir . '/vlucas/phpdotenv/src/Environment/DotenvVariables.php', + 'Dotenv\\Environment\\FactoryInterface' => $vendorDir . '/vlucas/phpdotenv/src/Environment/FactoryInterface.php', + 'Dotenv\\Environment\\VariablesInterface' => $vendorDir . '/vlucas/phpdotenv/src/Environment/VariablesInterface.php', + 'Dotenv\\Exception\\ExceptionInterface' => $vendorDir . '/vlucas/phpdotenv/src/Exception/ExceptionInterface.php', + 'Dotenv\\Exception\\InvalidFileException' => $vendorDir . '/vlucas/phpdotenv/src/Exception/InvalidFileException.php', + 'Dotenv\\Exception\\InvalidPathException' => $vendorDir . '/vlucas/phpdotenv/src/Exception/InvalidPathException.php', + 'Dotenv\\Exception\\ValidationException' => $vendorDir . '/vlucas/phpdotenv/src/Exception/ValidationException.php', + 'Dotenv\\Lines' => $vendorDir . '/vlucas/phpdotenv/src/Lines.php', + 'Dotenv\\Loader' => $vendorDir . '/vlucas/phpdotenv/src/Loader.php', + 'Dotenv\\Parser' => $vendorDir . '/vlucas/phpdotenv/src/Parser.php', + 'Dotenv\\Regex\\Error' => $vendorDir . '/vlucas/phpdotenv/src/Regex/Error.php', + 'Dotenv\\Regex\\Regex' => $vendorDir . '/vlucas/phpdotenv/src/Regex/Regex.php', + 'Dotenv\\Regex\\Result' => $vendorDir . '/vlucas/phpdotenv/src/Regex/Result.php', + 'Dotenv\\Regex\\Success' => $vendorDir . '/vlucas/phpdotenv/src/Regex/Success.php', + 'Dotenv\\Validator' => $vendorDir . '/vlucas/phpdotenv/src/Validator.php', + 'Facebook\\WebDriver\\Chrome\\ChromeDriver' => $vendorDir . '/facebook/webdriver/lib/Chrome/ChromeDriver.php', + 'Facebook\\WebDriver\\Chrome\\ChromeDriverService' => $vendorDir . '/facebook/webdriver/lib/Chrome/ChromeDriverService.php', + 'Facebook\\WebDriver\\Chrome\\ChromeOptions' => $vendorDir . '/facebook/webdriver/lib/Chrome/ChromeOptions.php', + 'Facebook\\WebDriver\\Cookie' => $vendorDir . '/facebook/webdriver/lib/Cookie.php', + 'Facebook\\WebDriver\\Exception\\ElementNotSelectableException' => $vendorDir . '/facebook/webdriver/lib/Exception/ElementNotSelectableException.php', + 'Facebook\\WebDriver\\Exception\\ElementNotVisibleException' => $vendorDir . '/facebook/webdriver/lib/Exception/ElementNotVisibleException.php', + 'Facebook\\WebDriver\\Exception\\ExpectedException' => $vendorDir . '/facebook/webdriver/lib/Exception/ExpectedException.php', + 'Facebook\\WebDriver\\Exception\\IMEEngineActivationFailedException' => $vendorDir . '/facebook/webdriver/lib/Exception/IMEEngineActivationFailedException.php', + 'Facebook\\WebDriver\\Exception\\IMENotAvailableException' => $vendorDir . '/facebook/webdriver/lib/Exception/IMENotAvailableException.php', + 'Facebook\\WebDriver\\Exception\\IndexOutOfBoundsException' => $vendorDir . '/facebook/webdriver/lib/Exception/IndexOutOfBoundsException.php', + 'Facebook\\WebDriver\\Exception\\InvalidCookieDomainException' => $vendorDir . '/facebook/webdriver/lib/Exception/InvalidCookieDomainException.php', + 'Facebook\\WebDriver\\Exception\\InvalidCoordinatesException' => $vendorDir . '/facebook/webdriver/lib/Exception/InvalidCoordinatesException.php', + 'Facebook\\WebDriver\\Exception\\InvalidElementStateException' => $vendorDir . '/facebook/webdriver/lib/Exception/InvalidElementStateException.php', + 'Facebook\\WebDriver\\Exception\\InvalidSelectorException' => $vendorDir . '/facebook/webdriver/lib/Exception/InvalidSelectorException.php', + 'Facebook\\WebDriver\\Exception\\MoveTargetOutOfBoundsException' => $vendorDir . '/facebook/webdriver/lib/Exception/MoveTargetOutOfBoundsException.php', + 'Facebook\\WebDriver\\Exception\\NoAlertOpenException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoAlertOpenException.php', + 'Facebook\\WebDriver\\Exception\\NoCollectionException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoCollectionException.php', + 'Facebook\\WebDriver\\Exception\\NoScriptResultException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoScriptResultException.php', + 'Facebook\\WebDriver\\Exception\\NoStringException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoStringException.php', + 'Facebook\\WebDriver\\Exception\\NoStringLengthException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoStringLengthException.php', + 'Facebook\\WebDriver\\Exception\\NoStringWrapperException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoStringWrapperException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchCollectionException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchCollectionException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchDocumentException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchDocumentException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchDriverException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchDriverException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchElementException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchElementException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchFrameException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchFrameException.php', + 'Facebook\\WebDriver\\Exception\\NoSuchWindowException' => $vendorDir . '/facebook/webdriver/lib/Exception/NoSuchWindowException.php', + 'Facebook\\WebDriver\\Exception\\NullPointerException' => $vendorDir . '/facebook/webdriver/lib/Exception/NullPointerException.php', + 'Facebook\\WebDriver\\Exception\\ScriptTimeoutException' => $vendorDir . '/facebook/webdriver/lib/Exception/ScriptTimeoutException.php', + 'Facebook\\WebDriver\\Exception\\SessionNotCreatedException' => $vendorDir . '/facebook/webdriver/lib/Exception/SessionNotCreatedException.php', + 'Facebook\\WebDriver\\Exception\\StaleElementReferenceException' => $vendorDir . '/facebook/webdriver/lib/Exception/StaleElementReferenceException.php', + 'Facebook\\WebDriver\\Exception\\TimeOutException' => $vendorDir . '/facebook/webdriver/lib/Exception/TimeOutException.php', + 'Facebook\\WebDriver\\Exception\\UnableToSetCookieException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnableToSetCookieException.php', + 'Facebook\\WebDriver\\Exception\\UnexpectedAlertOpenException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnexpectedAlertOpenException.php', + 'Facebook\\WebDriver\\Exception\\UnexpectedJavascriptException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnexpectedJavascriptException.php', + 'Facebook\\WebDriver\\Exception\\UnexpectedTagNameException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnexpectedTagNameException.php', + 'Facebook\\WebDriver\\Exception\\UnknownCommandException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnknownCommandException.php', + 'Facebook\\WebDriver\\Exception\\UnknownServerException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnknownServerException.php', + 'Facebook\\WebDriver\\Exception\\UnrecognizedExceptionException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnrecognizedExceptionException.php', + 'Facebook\\WebDriver\\Exception\\UnsupportedOperationException' => $vendorDir . '/facebook/webdriver/lib/Exception/UnsupportedOperationException.php', + 'Facebook\\WebDriver\\Exception\\WebDriverCurlException' => $vendorDir . '/facebook/webdriver/lib/Exception/WebDriverCurlException.php', + 'Facebook\\WebDriver\\Exception\\WebDriverException' => $vendorDir . '/facebook/webdriver/lib/Exception/WebDriverException.php', + 'Facebook\\WebDriver\\Exception\\XPathLookupException' => $vendorDir . '/facebook/webdriver/lib/Exception/XPathLookupException.php', + 'Facebook\\WebDriver\\Firefox\\FirefoxDriver' => $vendorDir . '/facebook/webdriver/lib/Firefox/FirefoxDriver.php', + 'Facebook\\WebDriver\\Firefox\\FirefoxPreferences' => $vendorDir . '/facebook/webdriver/lib/Firefox/FirefoxPreferences.php', + 'Facebook\\WebDriver\\Firefox\\FirefoxProfile' => $vendorDir . '/facebook/webdriver/lib/Firefox/FirefoxProfile.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverButtonReleaseAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverButtonReleaseAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverClickAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverClickAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverClickAndHoldAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverClickAndHoldAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverContextClickAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverContextClickAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverCoordinates' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverCoordinates.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverDoubleClickAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverDoubleClickAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverKeyDownAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverKeyDownAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverKeyUpAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverKeyUpAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverKeysRelatedAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverKeysRelatedAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverMouseAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverMouseAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverMouseMoveAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverMouseMoveAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverMoveToOffsetAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverMoveToOffsetAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverSendKeysAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverSendKeysAction.php', + 'Facebook\\WebDriver\\Interactions\\Internal\\WebDriverSingleKeyAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Internal/WebDriverSingleKeyAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverDoubleTapAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverDoubleTapAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverDownAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverDownAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverFlickAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverFlickAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverFlickFromElementAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverFlickFromElementAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverLongPressAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverLongPressAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverMoveAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverMoveAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverScrollAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverScrollAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverScrollFromElementAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverScrollFromElementAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverTapAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverTapAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverTouchAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverTouchAction.php', + 'Facebook\\WebDriver\\Interactions\\Touch\\WebDriverTouchScreen' => $vendorDir . '/facebook/webdriver/lib/Interactions/Touch/WebDriverTouchScreen.php', + 'Facebook\\WebDriver\\Interactions\\WebDriverActions' => $vendorDir . '/facebook/webdriver/lib/Interactions/WebDriverActions.php', + 'Facebook\\WebDriver\\Interactions\\WebDriverCompositeAction' => $vendorDir . '/facebook/webdriver/lib/Interactions/WebDriverCompositeAction.php', + 'Facebook\\WebDriver\\Interactions\\WebDriverTouchActions' => $vendorDir . '/facebook/webdriver/lib/Interactions/WebDriverTouchActions.php', + 'Facebook\\WebDriver\\Internal\\WebDriverLocatable' => $vendorDir . '/facebook/webdriver/lib/Internal/WebDriverLocatable.php', + 'Facebook\\WebDriver\\JavaScriptExecutor' => $vendorDir . '/facebook/webdriver/lib/JavaScriptExecutor.php', + 'Facebook\\WebDriver\\Net\\URLChecker' => $vendorDir . '/facebook/webdriver/lib/Net/URLChecker.php', + 'Facebook\\WebDriver\\Remote\\DesiredCapabilities' => $vendorDir . '/facebook/webdriver/lib/Remote/DesiredCapabilities.php', + 'Facebook\\WebDriver\\Remote\\DriverCommand' => $vendorDir . '/facebook/webdriver/lib/Remote/DriverCommand.php', + 'Facebook\\WebDriver\\Remote\\ExecuteMethod' => $vendorDir . '/facebook/webdriver/lib/Remote/ExecuteMethod.php', + 'Facebook\\WebDriver\\Remote\\FileDetector' => $vendorDir . '/facebook/webdriver/lib/Remote/FileDetector.php', + 'Facebook\\WebDriver\\Remote\\HttpCommandExecutor' => $vendorDir . '/facebook/webdriver/lib/Remote/HttpCommandExecutor.php', + 'Facebook\\WebDriver\\Remote\\LocalFileDetector' => $vendorDir . '/facebook/webdriver/lib/Remote/LocalFileDetector.php', + 'Facebook\\WebDriver\\Remote\\RemoteExecuteMethod' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteExecuteMethod.php', + 'Facebook\\WebDriver\\Remote\\RemoteKeyboard' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteKeyboard.php', + 'Facebook\\WebDriver\\Remote\\RemoteMouse' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteMouse.php', + 'Facebook\\WebDriver\\Remote\\RemoteTargetLocator' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteTargetLocator.php', + 'Facebook\\WebDriver\\Remote\\RemoteTouchScreen' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteTouchScreen.php', + 'Facebook\\WebDriver\\Remote\\RemoteWebDriver' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteWebDriver.php', + 'Facebook\\WebDriver\\Remote\\RemoteWebElement' => $vendorDir . '/facebook/webdriver/lib/Remote/RemoteWebElement.php', + 'Facebook\\WebDriver\\Remote\\Service\\DriverCommandExecutor' => $vendorDir . '/facebook/webdriver/lib/Remote/Service/DriverCommandExecutor.php', + 'Facebook\\WebDriver\\Remote\\Service\\DriverService' => $vendorDir . '/facebook/webdriver/lib/Remote/Service/DriverService.php', + 'Facebook\\WebDriver\\Remote\\UselessFileDetector' => $vendorDir . '/facebook/webdriver/lib/Remote/UselessFileDetector.php', + 'Facebook\\WebDriver\\Remote\\WebDriverBrowserType' => $vendorDir . '/facebook/webdriver/lib/Remote/WebDriverBrowserType.php', + 'Facebook\\WebDriver\\Remote\\WebDriverCapabilityType' => $vendorDir . '/facebook/webdriver/lib/Remote/WebDriverCapabilityType.php', + 'Facebook\\WebDriver\\Remote\\WebDriverCommand' => $vendorDir . '/facebook/webdriver/lib/Remote/WebDriverCommand.php', + 'Facebook\\WebDriver\\Remote\\WebDriverResponse' => $vendorDir . '/facebook/webdriver/lib/Remote/WebDriverResponse.php', + 'Facebook\\WebDriver\\Support\\Events\\EventFiringWebDriver' => $vendorDir . '/facebook/webdriver/lib/Support/Events/EventFiringWebDriver.php', + 'Facebook\\WebDriver\\Support\\Events\\EventFiringWebDriverNavigation' => $vendorDir . '/facebook/webdriver/lib/Support/Events/EventFiringWebDriverNavigation.php', + 'Facebook\\WebDriver\\Support\\Events\\EventFiringWebElement' => $vendorDir . '/facebook/webdriver/lib/Support/Events/EventFiringWebElement.php', + 'Facebook\\WebDriver\\Support\\XPathEscaper' => $vendorDir . '/facebook/webdriver/lib/Support/XPathEscaper.php', + 'Facebook\\WebDriver\\WebDriver' => $vendorDir . '/facebook/webdriver/lib/WebDriver.php', + 'Facebook\\WebDriver\\WebDriverAction' => $vendorDir . '/facebook/webdriver/lib/WebDriverAction.php', + 'Facebook\\WebDriver\\WebDriverAlert' => $vendorDir . '/facebook/webdriver/lib/WebDriverAlert.php', + 'Facebook\\WebDriver\\WebDriverBy' => $vendorDir . '/facebook/webdriver/lib/WebDriverBy.php', + 'Facebook\\WebDriver\\WebDriverCapabilities' => $vendorDir . '/facebook/webdriver/lib/WebDriverCapabilities.php', + 'Facebook\\WebDriver\\WebDriverCommandExecutor' => $vendorDir . '/facebook/webdriver/lib/WebDriverCommandExecutor.php', + 'Facebook\\WebDriver\\WebDriverDimension' => $vendorDir . '/facebook/webdriver/lib/WebDriverDimension.php', + 'Facebook\\WebDriver\\WebDriverDispatcher' => $vendorDir . '/facebook/webdriver/lib/WebDriverDispatcher.php', + 'Facebook\\WebDriver\\WebDriverElement' => $vendorDir . '/facebook/webdriver/lib/WebDriverElement.php', + 'Facebook\\WebDriver\\WebDriverEventListener' => $vendorDir . '/facebook/webdriver/lib/WebDriverEventListener.php', + 'Facebook\\WebDriver\\WebDriverExpectedCondition' => $vendorDir . '/facebook/webdriver/lib/WebDriverExpectedCondition.php', + 'Facebook\\WebDriver\\WebDriverHasInputDevices' => $vendorDir . '/facebook/webdriver/lib/WebDriverHasInputDevices.php', + 'Facebook\\WebDriver\\WebDriverKeyboard' => $vendorDir . '/facebook/webdriver/lib/WebDriverKeyboard.php', + 'Facebook\\WebDriver\\WebDriverKeys' => $vendorDir . '/facebook/webdriver/lib/WebDriverKeys.php', + 'Facebook\\WebDriver\\WebDriverMouse' => $vendorDir . '/facebook/webdriver/lib/WebDriverMouse.php', + 'Facebook\\WebDriver\\WebDriverNavigation' => $vendorDir . '/facebook/webdriver/lib/WebDriverNavigation.php', + 'Facebook\\WebDriver\\WebDriverOptions' => $vendorDir . '/facebook/webdriver/lib/WebDriverOptions.php', + 'Facebook\\WebDriver\\WebDriverPlatform' => $vendorDir . '/facebook/webdriver/lib/WebDriverPlatform.php', + 'Facebook\\WebDriver\\WebDriverPoint' => $vendorDir . '/facebook/webdriver/lib/WebDriverPoint.php', + 'Facebook\\WebDriver\\WebDriverSearchContext' => $vendorDir . '/facebook/webdriver/lib/WebDriverSearchContext.php', + 'Facebook\\WebDriver\\WebDriverSelect' => $vendorDir . '/facebook/webdriver/lib/WebDriverSelect.php', + 'Facebook\\WebDriver\\WebDriverSelectInterface' => $vendorDir . '/facebook/webdriver/lib/WebDriverSelectInterface.php', + 'Facebook\\WebDriver\\WebDriverTargetLocator' => $vendorDir . '/facebook/webdriver/lib/WebDriverTargetLocator.php', + 'Facebook\\WebDriver\\WebDriverTimeouts' => $vendorDir . '/facebook/webdriver/lib/WebDriverTimeouts.php', + 'Facebook\\WebDriver\\WebDriverUpAction' => $vendorDir . '/facebook/webdriver/lib/WebDriverUpAction.php', + 'Facebook\\WebDriver\\WebDriverWait' => $vendorDir . '/facebook/webdriver/lib/WebDriverWait.php', + 'Facebook\\WebDriver\\WebDriverWindow' => $vendorDir . '/facebook/webdriver/lib/WebDriverWindow.php', + 'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php', + 'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php', + 'File_Iterator_Factory' => $vendorDir . '/phpunit/php-file-iterator/src/Factory.php', + 'Gumlet\\ImageResize' => $vendorDir . '/gumlet/php-image-resize/lib/ImageResize.php', + 'Gumlet\\ImageResizeException' => $vendorDir . '/gumlet/php-image-resize/lib/ImageResizeException.php', + 'GuzzleHttp\\Client' => $vendorDir . '/guzzlehttp/guzzle/src/Client.php', + 'GuzzleHttp\\ClientInterface' => $vendorDir . '/guzzlehttp/guzzle/src/ClientInterface.php', + 'GuzzleHttp\\Cookie\\CookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJar.php', + 'GuzzleHttp\\Cookie\\CookieJarInterface' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php', + 'GuzzleHttp\\Cookie\\FileCookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php', + 'GuzzleHttp\\Cookie\\SessionCookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php', + 'GuzzleHttp\\Cookie\\SetCookie' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/SetCookie.php', + 'GuzzleHttp\\Exception\\BadResponseException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/BadResponseException.php', + 'GuzzleHttp\\Exception\\ClientException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ClientException.php', + 'GuzzleHttp\\Exception\\ConnectException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ConnectException.php', + 'GuzzleHttp\\Exception\\GuzzleException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/GuzzleException.php', + 'GuzzleHttp\\Exception\\RequestException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/RequestException.php', + 'GuzzleHttp\\Exception\\SeekException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/SeekException.php', + 'GuzzleHttp\\Exception\\ServerException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ServerException.php', + 'GuzzleHttp\\Exception\\TooManyRedirectsException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php', + 'GuzzleHttp\\Exception\\TransferException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/TransferException.php', + 'GuzzleHttp\\HandlerStack' => $vendorDir . '/guzzlehttp/guzzle/src/HandlerStack.php', + 'GuzzleHttp\\Handler\\CurlFactory' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlFactory.php', + 'GuzzleHttp\\Handler\\CurlFactoryInterface' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php', + 'GuzzleHttp\\Handler\\CurlHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlHandler.php', + 'GuzzleHttp\\Handler\\CurlMultiHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php', + 'GuzzleHttp\\Handler\\EasyHandle' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/EasyHandle.php', + 'GuzzleHttp\\Handler\\MockHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/MockHandler.php', + 'GuzzleHttp\\Handler\\Proxy' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/Proxy.php', + 'GuzzleHttp\\Handler\\StreamHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/StreamHandler.php', + 'GuzzleHttp\\MessageFormatter' => $vendorDir . '/guzzlehttp/guzzle/src/MessageFormatter.php', + 'GuzzleHttp\\Middleware' => $vendorDir . '/guzzlehttp/guzzle/src/Middleware.php', + 'GuzzleHttp\\Pool' => $vendorDir . '/guzzlehttp/guzzle/src/Pool.php', + 'GuzzleHttp\\PrepareBodyMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php', + 'GuzzleHttp\\Promise\\AggregateException' => $vendorDir . '/guzzlehttp/promises/src/AggregateException.php', + 'GuzzleHttp\\Promise\\CancellationException' => $vendorDir . '/guzzlehttp/promises/src/CancellationException.php', + 'GuzzleHttp\\Promise\\Coroutine' => $vendorDir . '/guzzlehttp/promises/src/Coroutine.php', + 'GuzzleHttp\\Promise\\EachPromise' => $vendorDir . '/guzzlehttp/promises/src/EachPromise.php', + 'GuzzleHttp\\Promise\\FulfilledPromise' => $vendorDir . '/guzzlehttp/promises/src/FulfilledPromise.php', + 'GuzzleHttp\\Promise\\Promise' => $vendorDir . '/guzzlehttp/promises/src/Promise.php', + 'GuzzleHttp\\Promise\\PromiseInterface' => $vendorDir . '/guzzlehttp/promises/src/PromiseInterface.php', + 'GuzzleHttp\\Promise\\PromisorInterface' => $vendorDir . '/guzzlehttp/promises/src/PromisorInterface.php', + 'GuzzleHttp\\Promise\\RejectedPromise' => $vendorDir . '/guzzlehttp/promises/src/RejectedPromise.php', + 'GuzzleHttp\\Promise\\RejectionException' => $vendorDir . '/guzzlehttp/promises/src/RejectionException.php', + 'GuzzleHttp\\Promise\\TaskQueue' => $vendorDir . '/guzzlehttp/promises/src/TaskQueue.php', + 'GuzzleHttp\\Promise\\TaskQueueInterface' => $vendorDir . '/guzzlehttp/promises/src/TaskQueueInterface.php', + 'GuzzleHttp\\Psr7\\AppendStream' => $vendorDir . '/guzzlehttp/psr7/src/AppendStream.php', + 'GuzzleHttp\\Psr7\\BufferStream' => $vendorDir . '/guzzlehttp/psr7/src/BufferStream.php', + 'GuzzleHttp\\Psr7\\CachingStream' => $vendorDir . '/guzzlehttp/psr7/src/CachingStream.php', + 'GuzzleHttp\\Psr7\\DroppingStream' => $vendorDir . '/guzzlehttp/psr7/src/DroppingStream.php', + 'GuzzleHttp\\Psr7\\FnStream' => $vendorDir . '/guzzlehttp/psr7/src/FnStream.php', + 'GuzzleHttp\\Psr7\\InflateStream' => $vendorDir . '/guzzlehttp/psr7/src/InflateStream.php', + 'GuzzleHttp\\Psr7\\LazyOpenStream' => $vendorDir . '/guzzlehttp/psr7/src/LazyOpenStream.php', + 'GuzzleHttp\\Psr7\\LimitStream' => $vendorDir . '/guzzlehttp/psr7/src/LimitStream.php', + 'GuzzleHttp\\Psr7\\MessageTrait' => $vendorDir . '/guzzlehttp/psr7/src/MessageTrait.php', + 'GuzzleHttp\\Psr7\\MultipartStream' => $vendorDir . '/guzzlehttp/psr7/src/MultipartStream.php', + 'GuzzleHttp\\Psr7\\NoSeekStream' => $vendorDir . '/guzzlehttp/psr7/src/NoSeekStream.php', + 'GuzzleHttp\\Psr7\\PumpStream' => $vendorDir . '/guzzlehttp/psr7/src/PumpStream.php', + 'GuzzleHttp\\Psr7\\Request' => $vendorDir . '/guzzlehttp/psr7/src/Request.php', + 'GuzzleHttp\\Psr7\\Response' => $vendorDir . '/guzzlehttp/psr7/src/Response.php', + 'GuzzleHttp\\Psr7\\Rfc7230' => $vendorDir . '/guzzlehttp/psr7/src/Rfc7230.php', + 'GuzzleHttp\\Psr7\\ServerRequest' => $vendorDir . '/guzzlehttp/psr7/src/ServerRequest.php', + 'GuzzleHttp\\Psr7\\Stream' => $vendorDir . '/guzzlehttp/psr7/src/Stream.php', + 'GuzzleHttp\\Psr7\\StreamDecoratorTrait' => $vendorDir . '/guzzlehttp/psr7/src/StreamDecoratorTrait.php', + 'GuzzleHttp\\Psr7\\StreamWrapper' => $vendorDir . '/guzzlehttp/psr7/src/StreamWrapper.php', + 'GuzzleHttp\\Psr7\\UploadedFile' => $vendorDir . '/guzzlehttp/psr7/src/UploadedFile.php', + 'GuzzleHttp\\Psr7\\Uri' => $vendorDir . '/guzzlehttp/psr7/src/Uri.php', + 'GuzzleHttp\\Psr7\\UriNormalizer' => $vendorDir . '/guzzlehttp/psr7/src/UriNormalizer.php', + 'GuzzleHttp\\Psr7\\UriResolver' => $vendorDir . '/guzzlehttp/psr7/src/UriResolver.php', + 'GuzzleHttp\\RedirectMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RedirectMiddleware.php', + 'GuzzleHttp\\RequestOptions' => $vendorDir . '/guzzlehttp/guzzle/src/RequestOptions.php', + 'GuzzleHttp\\RetryMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RetryMiddleware.php', + 'GuzzleHttp\\TransferStats' => $vendorDir . '/guzzlehttp/guzzle/src/TransferStats.php', + 'GuzzleHttp\\UriTemplate' => $vendorDir . '/guzzlehttp/guzzle/src/UriTemplate.php', + 'Guzzle\\Batch\\AbstractBatchDecorator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php', + 'Guzzle\\Batch\\Batch' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/Batch.php', + 'Guzzle\\Batch\\BatchBuilder' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchBuilder.php', + 'Guzzle\\Batch\\BatchClosureDivisor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchClosureDivisor.php', + 'Guzzle\\Batch\\BatchClosureTransfer' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchClosureTransfer.php', + 'Guzzle\\Batch\\BatchCommandTransfer' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchCommandTransfer.php', + 'Guzzle\\Batch\\BatchDivisorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchDivisorInterface.php', + 'Guzzle\\Batch\\BatchInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchInterface.php', + 'Guzzle\\Batch\\BatchRequestTransfer' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchRequestTransfer.php', + 'Guzzle\\Batch\\BatchSizeDivisor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchSizeDivisor.php', + 'Guzzle\\Batch\\BatchTransferInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/BatchTransferInterface.php', + 'Guzzle\\Batch\\ExceptionBufferingBatch' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/ExceptionBufferingBatch.php', + 'Guzzle\\Batch\\Exception\\BatchTransferException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/Exception/BatchTransferException.php', + 'Guzzle\\Batch\\FlushingBatch' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/FlushingBatch.php', + 'Guzzle\\Batch\\HistoryBatch' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/HistoryBatch.php', + 'Guzzle\\Batch\\NotifyingBatch' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Batch/NotifyingBatch.php', + 'Guzzle\\Cache\\AbstractCacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/AbstractCacheAdapter.php', + 'Guzzle\\Cache\\CacheAdapterFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterFactory.php', + 'Guzzle\\Cache\\CacheAdapterInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterInterface.php', + 'Guzzle\\Cache\\ClosureCacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/ClosureCacheAdapter.php', + 'Guzzle\\Cache\\DoctrineCacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/DoctrineCacheAdapter.php', + 'Guzzle\\Cache\\NullCacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/NullCacheAdapter.php', + 'Guzzle\\Cache\\Zf1CacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/Zf1CacheAdapter.php', + 'Guzzle\\Cache\\Zf2CacheAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Cache/Zf2CacheAdapter.php', + 'Guzzle\\Common\\AbstractHasDispatcher' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/AbstractHasDispatcher.php', + 'Guzzle\\Common\\Collection' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Collection.php', + 'Guzzle\\Common\\Event' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Event.php', + 'Guzzle\\Common\\Exception\\BadMethodCallException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/BadMethodCallException.php', + 'Guzzle\\Common\\Exception\\ExceptionCollection' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/ExceptionCollection.php', + 'Guzzle\\Common\\Exception\\GuzzleException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/GuzzleException.php', + 'Guzzle\\Common\\Exception\\InvalidArgumentException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/InvalidArgumentException.php', + 'Guzzle\\Common\\Exception\\RuntimeException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/RuntimeException.php', + 'Guzzle\\Common\\Exception\\UnexpectedValueException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Exception/UnexpectedValueException.php', + 'Guzzle\\Common\\FromConfigInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php', + 'Guzzle\\Common\\HasDispatcherInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/HasDispatcherInterface.php', + 'Guzzle\\Common\\ToArrayInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/ToArrayInterface.php', + 'Guzzle\\Common\\Version' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Common/Version.php', + 'Guzzle\\Http\\AbstractEntityBodyDecorator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/AbstractEntityBodyDecorator.php', + 'Guzzle\\Http\\CachingEntityBody' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/CachingEntityBody.php', + 'Guzzle\\Http\\Client' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Client.php', + 'Guzzle\\Http\\ClientInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/ClientInterface.php', + 'Guzzle\\Http\\Curl\\CurlHandle' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/CurlHandle.php', + 'Guzzle\\Http\\Curl\\CurlMulti' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php', + 'Guzzle\\Http\\Curl\\CurlMultiInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiInterface.php', + 'Guzzle\\Http\\Curl\\CurlMultiProxy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiProxy.php', + 'Guzzle\\Http\\Curl\\CurlVersion' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/CurlVersion.php', + 'Guzzle\\Http\\Curl\\RequestMediator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Curl/RequestMediator.php', + 'Guzzle\\Http\\EntityBody' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/EntityBody.php', + 'Guzzle\\Http\\EntityBodyInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/EntityBodyInterface.php', + 'Guzzle\\Http\\Exception\\BadResponseException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php', + 'Guzzle\\Http\\Exception\\ClientErrorResponseException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/ClientErrorResponseException.php', + 'Guzzle\\Http\\Exception\\CouldNotRewindStreamException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/CouldNotRewindStreamException.php', + 'Guzzle\\Http\\Exception\\CurlException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/CurlException.php', + 'Guzzle\\Http\\Exception\\HttpException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/HttpException.php', + 'Guzzle\\Http\\Exception\\MultiTransferException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/MultiTransferException.php', + 'Guzzle\\Http\\Exception\\RequestException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/RequestException.php', + 'Guzzle\\Http\\Exception\\ServerErrorResponseException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/ServerErrorResponseException.php', + 'Guzzle\\Http\\Exception\\TooManyRedirectsException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Exception/TooManyRedirectsException.php', + 'Guzzle\\Http\\IoEmittingEntityBody' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/IoEmittingEntityBody.php', + 'Guzzle\\Http\\Message\\AbstractMessage' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/AbstractMessage.php', + 'Guzzle\\Http\\Message\\EntityEnclosingRequest' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequest.php', + 'Guzzle\\Http\\Message\\EntityEnclosingRequestInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequestInterface.php', + 'Guzzle\\Http\\Message\\Header' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header.php', + 'Guzzle\\Http\\Message\\Header\\CacheControl' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/CacheControl.php', + 'Guzzle\\Http\\Message\\Header\\HeaderCollection' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/HeaderCollection.php', + 'Guzzle\\Http\\Message\\Header\\HeaderFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/HeaderFactory.php', + 'Guzzle\\Http\\Message\\Header\\HeaderFactoryInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/HeaderFactoryInterface.php', + 'Guzzle\\Http\\Message\\Header\\HeaderInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/HeaderInterface.php', + 'Guzzle\\Http\\Message\\Header\\Link' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Header/Link.php', + 'Guzzle\\Http\\Message\\MessageInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/MessageInterface.php', + 'Guzzle\\Http\\Message\\PostFile' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/PostFile.php', + 'Guzzle\\Http\\Message\\PostFileInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/PostFileInterface.php', + 'Guzzle\\Http\\Message\\Request' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Request.php', + 'Guzzle\\Http\\Message\\RequestFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactory.php', + 'Guzzle\\Http\\Message\\RequestFactoryInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactoryInterface.php', + 'Guzzle\\Http\\Message\\RequestInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/RequestInterface.php', + 'Guzzle\\Http\\Message\\Response' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Message/Response.php', + 'Guzzle\\Http\\Mimetypes' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Mimetypes.php', + 'Guzzle\\Http\\QueryAggregator\\CommaAggregator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/CommaAggregator.php', + 'Guzzle\\Http\\QueryAggregator\\DuplicateAggregator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/DuplicateAggregator.php', + 'Guzzle\\Http\\QueryAggregator\\PhpAggregator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/PhpAggregator.php', + 'Guzzle\\Http\\QueryAggregator\\QueryAggregatorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php', + 'Guzzle\\Http\\QueryString' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/QueryString.php', + 'Guzzle\\Http\\ReadLimitEntityBody' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/ReadLimitEntityBody.php', + 'Guzzle\\Http\\RedirectPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php', + 'Guzzle\\Http\\StaticClient' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/StaticClient.php', + 'Guzzle\\Http\\Url' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Http/Url.php', + 'Guzzle\\Inflection\\Inflector' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Inflection/Inflector.php', + 'Guzzle\\Inflection\\InflectorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Inflection/InflectorInterface.php', + 'Guzzle\\Inflection\\MemoizingInflector' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Inflection/MemoizingInflector.php', + 'Guzzle\\Inflection\\PreComputedInflector' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Inflection/PreComputedInflector.php', + 'Guzzle\\Iterator\\AppendIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Iterator/AppendIterator.php', + 'Guzzle\\Iterator\\ChunkedIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Iterator/ChunkedIterator.php', + 'Guzzle\\Iterator\\FilterIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Iterator/FilterIterator.php', + 'Guzzle\\Iterator\\MapIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Iterator/MapIterator.php', + 'Guzzle\\Iterator\\MethodProxyIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Iterator/MethodProxyIterator.php', + 'Guzzle\\Log\\AbstractLogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/AbstractLogAdapter.php', + 'Guzzle\\Log\\ArrayLogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/ArrayLogAdapter.php', + 'Guzzle\\Log\\ClosureLogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/ClosureLogAdapter.php', + 'Guzzle\\Log\\LogAdapterInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php', + 'Guzzle\\Log\\MessageFormatter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/MessageFormatter.php', + 'Guzzle\\Log\\MonologLogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/MonologLogAdapter.php', + 'Guzzle\\Log\\PsrLogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/PsrLogAdapter.php', + 'Guzzle\\Log\\Zf1LogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/Zf1LogAdapter.php', + 'Guzzle\\Log\\Zf2LogAdapter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Log/Zf2LogAdapter.php', + 'Guzzle\\Parser\\Cookie\\CookieParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParser.php', + 'Guzzle\\Parser\\Cookie\\CookieParserInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParserInterface.php', + 'Guzzle\\Parser\\Message\\AbstractMessageParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Message/AbstractMessageParser.php', + 'Guzzle\\Parser\\Message\\MessageParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParser.php', + 'Guzzle\\Parser\\Message\\MessageParserInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParserInterface.php', + 'Guzzle\\Parser\\Message\\PeclHttpMessageParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Message/PeclHttpMessageParser.php', + 'Guzzle\\Parser\\ParserRegistry' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/ParserRegistry.php', + 'Guzzle\\Parser\\UriTemplate\\PeclUriTemplate' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/PeclUriTemplate.php', + 'Guzzle\\Parser\\UriTemplate\\UriTemplate' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplate.php', + 'Guzzle\\Parser\\UriTemplate\\UriTemplateInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php', + 'Guzzle\\Parser\\Url\\UrlParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParser.php', + 'Guzzle\\Parser\\Url\\UrlParserInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php', + 'Guzzle\\Plugin\\Async\\AsyncPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Async/AsyncPlugin.php', + 'Guzzle\\Plugin\\Backoff\\AbstractBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\AbstractErrorCodeBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\BackoffLogger' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffLogger.php', + 'Guzzle\\Plugin\\Backoff\\BackoffPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffPlugin.php', + 'Guzzle\\Plugin\\Backoff\\BackoffStrategyInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffStrategyInterface.php', + 'Guzzle\\Plugin\\Backoff\\CallbackBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CallbackBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\ConstantBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ConstantBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\CurlBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CurlBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\ExponentialBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ExponentialBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\HttpBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/HttpBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\LinearBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/LinearBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\ReasonPhraseBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php', + 'Guzzle\\Plugin\\Backoff\\TruncatedBackoffStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Backoff/TruncatedBackoffStrategy.php', + 'Guzzle\\Plugin\\Cache\\CacheKeyProviderInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheKeyProviderInterface.php', + 'Guzzle\\Plugin\\Cache\\CachePlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php', + 'Guzzle\\Plugin\\Cache\\CacheStorageInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheStorageInterface.php', + 'Guzzle\\Plugin\\Cache\\CallbackCanCacheStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/CallbackCanCacheStrategy.php', + 'Guzzle\\Plugin\\Cache\\CanCacheStrategyInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php', + 'Guzzle\\Plugin\\Cache\\DefaultCacheKeyProvider' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheKeyProvider.php', + 'Guzzle\\Plugin\\Cache\\DefaultCacheStorage' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php', + 'Guzzle\\Plugin\\Cache\\DefaultCanCacheStrategy' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCanCacheStrategy.php', + 'Guzzle\\Plugin\\Cache\\DefaultRevalidation' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultRevalidation.php', + 'Guzzle\\Plugin\\Cache\\DenyRevalidation' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/DenyRevalidation.php', + 'Guzzle\\Plugin\\Cache\\RevalidationInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/RevalidationInterface.php', + 'Guzzle\\Plugin\\Cache\\SkipRevalidation' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cache/SkipRevalidation.php', + 'Guzzle\\Plugin\\Cookie\\Cookie' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php', + 'Guzzle\\Plugin\\Cookie\\CookieJar\\ArrayCookieJar' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php', + 'Guzzle\\Plugin\\Cookie\\CookieJar\\CookieJarInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/CookieJarInterface.php', + 'Guzzle\\Plugin\\Cookie\\CookieJar\\FileCookieJar' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php', + 'Guzzle\\Plugin\\Cookie\\CookiePlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookiePlugin.php', + 'Guzzle\\Plugin\\Cookie\\Exception\\InvalidCookieException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Exception/InvalidCookieException.php', + 'Guzzle\\Plugin\\CurlAuth\\CurlAuthPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php', + 'Guzzle\\Plugin\\ErrorResponse\\ErrorResponseExceptionInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php', + 'Guzzle\\Plugin\\ErrorResponse\\ErrorResponsePlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponsePlugin.php', + 'Guzzle\\Plugin\\ErrorResponse\\Exception\\ErrorResponseException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php', + 'Guzzle\\Plugin\\History\\HistoryPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/History/HistoryPlugin.php', + 'Guzzle\\Plugin\\Log\\LogPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Log/LogPlugin.php', + 'Guzzle\\Plugin\\Md5\\CommandContentMd5Plugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Md5/CommandContentMd5Plugin.php', + 'Guzzle\\Plugin\\Md5\\Md5ValidatorPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php', + 'Guzzle\\Plugin\\Mock\\MockPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Mock/MockPlugin.php', + 'Guzzle\\Plugin\\Oauth\\OauthPlugin' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Plugin/Oauth/OauthPlugin.php', + 'Guzzle\\Service\\AbstractConfigLoader' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/AbstractConfigLoader.php', + 'Guzzle\\Service\\Builder\\ServiceBuilder' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilder.php', + 'Guzzle\\Service\\Builder\\ServiceBuilderInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilderInterface.php', + 'Guzzle\\Service\\Builder\\ServiceBuilderLoader' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilderLoader.php', + 'Guzzle\\Service\\CachingConfigLoader' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/CachingConfigLoader.php', + 'Guzzle\\Service\\Client' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Client.php', + 'Guzzle\\Service\\ClientInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/ClientInterface.php', + 'Guzzle\\Service\\Command\\AbstractCommand' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/AbstractCommand.php', + 'Guzzle\\Service\\Command\\ClosureCommand' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/ClosureCommand.php', + 'Guzzle\\Service\\Command\\CommandInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/CommandInterface.php', + 'Guzzle\\Service\\Command\\CreateResponseClassEvent' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/CreateResponseClassEvent.php', + 'Guzzle\\Service\\Command\\DefaultRequestSerializer' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/DefaultRequestSerializer.php', + 'Guzzle\\Service\\Command\\DefaultResponseParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/DefaultResponseParser.php', + 'Guzzle\\Service\\Command\\Factory\\AliasFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/AliasFactory.php', + 'Guzzle\\Service\\Command\\Factory\\CompositeFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/CompositeFactory.php', + 'Guzzle\\Service\\Command\\Factory\\ConcreteClassFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ConcreteClassFactory.php', + 'Guzzle\\Service\\Command\\Factory\\FactoryInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php', + 'Guzzle\\Service\\Command\\Factory\\MapFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/MapFactory.php', + 'Guzzle\\Service\\Command\\Factory\\ServiceDescriptionFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ServiceDescriptionFactory.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\AbstractRequestVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/AbstractRequestVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\BodyVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\HeaderVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/HeaderVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\JsonVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\PostFieldVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\PostFileVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFileVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\QueryVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/QueryVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\RequestVisitorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\ResponseBodyVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/ResponseBodyVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\XmlVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\AbstractResponseVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/AbstractResponseVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\BodyVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/BodyVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\HeaderVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/HeaderVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\JsonVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/JsonVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\ReasonPhraseVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\ResponseVisitorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ResponseVisitorInterface.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\StatusCodeVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/StatusCodeVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\Response\\XmlVisitor' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/XmlVisitor.php', + 'Guzzle\\Service\\Command\\LocationVisitor\\VisitorFlyweight' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/VisitorFlyweight.php', + 'Guzzle\\Service\\Command\\OperationCommand' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/OperationCommand.php', + 'Guzzle\\Service\\Command\\OperationResponseParser' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/OperationResponseParser.php', + 'Guzzle\\Service\\Command\\RequestSerializerInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php', + 'Guzzle\\Service\\Command\\ResponseClassInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/ResponseClassInterface.php', + 'Guzzle\\Service\\Command\\ResponseParserInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php', + 'Guzzle\\Service\\ConfigLoaderInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/ConfigLoaderInterface.php', + 'Guzzle\\Service\\Description\\Operation' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/Operation.php', + 'Guzzle\\Service\\Description\\OperationInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/OperationInterface.php', + 'Guzzle\\Service\\Description\\Parameter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/Parameter.php', + 'Guzzle\\Service\\Description\\SchemaFormatter' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/SchemaFormatter.php', + 'Guzzle\\Service\\Description\\SchemaValidator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/SchemaValidator.php', + 'Guzzle\\Service\\Description\\ServiceDescription' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescription.php', + 'Guzzle\\Service\\Description\\ServiceDescriptionInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescriptionInterface.php', + 'Guzzle\\Service\\Description\\ServiceDescriptionLoader' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescriptionLoader.php', + 'Guzzle\\Service\\Description\\ValidatorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Description/ValidatorInterface.php', + 'Guzzle\\Service\\Exception\\CommandException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/CommandException.php', + 'Guzzle\\Service\\Exception\\CommandTransferException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/CommandTransferException.php', + 'Guzzle\\Service\\Exception\\DescriptionBuilderException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/DescriptionBuilderException.php', + 'Guzzle\\Service\\Exception\\InconsistentClientTransferException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/InconsistentClientTransferException.php', + 'Guzzle\\Service\\Exception\\ResponseClassException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/ResponseClassException.php', + 'Guzzle\\Service\\Exception\\ServiceBuilderException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/ServiceBuilderException.php', + 'Guzzle\\Service\\Exception\\ServiceNotFoundException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/ServiceNotFoundException.php', + 'Guzzle\\Service\\Exception\\ValidationException' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Exception/ValidationException.php', + 'Guzzle\\Service\\Resource\\AbstractResourceIteratorFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php', + 'Guzzle\\Service\\Resource\\CompositeResourceIteratorFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php', + 'Guzzle\\Service\\Resource\\MapResourceIteratorFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php', + 'Guzzle\\Service\\Resource\\Model' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php', + 'Guzzle\\Service\\Resource\\ResourceIterator' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php', + 'Guzzle\\Service\\Resource\\ResourceIteratorApplyBatched' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php', + 'Guzzle\\Service\\Resource\\ResourceIteratorClassFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php', + 'Guzzle\\Service\\Resource\\ResourceIteratorFactoryInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php', + 'Guzzle\\Service\\Resource\\ResourceIteratorInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php', + 'Guzzle\\Stream\\PhpStreamRequestFactory' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Stream/PhpStreamRequestFactory.php', + 'Guzzle\\Stream\\Stream' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Stream/Stream.php', + 'Guzzle\\Stream\\StreamInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Stream/StreamInterface.php', + 'Guzzle\\Stream\\StreamRequestFactoryInterface' => $vendorDir . '/guzzle/guzzle/src/Guzzle/Stream/StreamRequestFactoryInterface.php', + 'Guzzle\\Tests\\Batch\\AbstractBatchDecoratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/AbstractBatchDecoratorTest.php', + 'Guzzle\\Tests\\Batch\\BatchBuilderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php', + 'Guzzle\\Tests\\Batch\\BatchClosureDivisorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureDivisorTest.php', + 'Guzzle\\Tests\\Batch\\BatchClosureTransferTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureTransferTest.php', + 'Guzzle\\Tests\\Batch\\BatchCommandTransferTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchCommandTransferTest.php', + 'Guzzle\\Tests\\Batch\\BatchRequestTransferTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchRequestTransferTest.php', + 'Guzzle\\Tests\\Batch\\BatchSizeDivisorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchSizeDivisorTest.php', + 'Guzzle\\Tests\\Batch\\BatchTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchTest.php', + 'Guzzle\\Tests\\Batch\\ExceptionBufferingBatchTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/ExceptionBufferingBatchTest.php', + 'Guzzle\\Tests\\Batch\\FlushingBatchTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/FlushingBatchTest.php', + 'Guzzle\\Tests\\Batch\\HistoryBatchTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/HistoryBatchTest.php', + 'Guzzle\\Tests\\Batch\\NotifyingBatchTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Batch/NotifyingBatchTest.php', + 'Guzzle\\Tests\\Cache\\CacheAdapterFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterFactoryTest.php', + 'Guzzle\\Tests\\Cache\\CacheAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterTest.php', + 'Guzzle\\Tests\\Cache\\ClosureCacheAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Cache/ClosureCacheAdapterTest.php', + 'Guzzle\\Tests\\Cache\\Zf2CacheAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf2CacheAdapterTest.php', + 'Guzzle\\Tests\\Common\\AbstractHasAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/AbstractHasDispatcherTest.php', + 'Guzzle\\Tests\\Common\\Cache\\NullCacheAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php', + 'Guzzle\\Tests\\Common\\CollectionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/CollectionTest.php', + 'Guzzle\\Tests\\Common\\EventTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/EventTest.php', + 'Guzzle\\Tests\\Common\\Exception\\BatchTransferExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php', + 'Guzzle\\Tests\\Common\\Exception\\ExceptionCollectionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/ExceptionCollectionTest.php', + 'Guzzle\\Tests\\Common\\VersionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Common/VersionTest.php', + 'Guzzle\\Tests\\GuzzleTestCase' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/GuzzleTestCase.php', + 'Guzzle\\Tests\\Http\\AbstractEntityBodyDecoratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/AbstractEntityBodyDecoratorTest.php', + 'Guzzle\\Tests\\Http\\CachingEntityBodyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/CachingEntityBodyTest.php', + 'Guzzle\\Tests\\Http\\ClientTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/ClientTest.php', + 'Guzzle\\Tests\\Http\\CommaAggregatorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/CommaAggregatorTest.php', + 'Guzzle\\Tests\\Http\\Curl\\CurlHandleTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php', + 'Guzzle\\Tests\\Http\\Curl\\CurlMultiProxyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlMultiProxyTest.php', + 'Guzzle\\Tests\\Http\\Curl\\CurlMultiTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlMultiTest.php', + 'Guzzle\\Tests\\Http\\Curl\\CurlVersionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlVersionTest.php', + 'Guzzle\\Tests\\Http\\Curl\\RequestMediatorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/RequestMediatorTest.php', + 'Guzzle\\Tests\\Http\\DuplicateAggregatorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/DuplicateAggregatorTest.php', + 'Guzzle\\Tests\\Http\\EntityBodyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/EntityBodyTest.php', + 'Guzzle\\Tests\\Http\\Exception\\CurlExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/CurlExceptionTest.php', + 'Guzzle\\Tests\\Http\\Exception\\ExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/ExceptionTest.php', + 'Guzzle\\Tests\\Http\\Exception\\MultiTransferExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/MultiTransferExceptionTest.php', + 'Guzzle\\Tests\\Http\\IoEmittingEntityBodyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/IoEmittingEntityBodyTest.php', + 'Guzzle\\Tests\\Http\\Message\\AbstractMessageTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/AbstractMessageTest.php', + 'Guzzle\\Tests\\Http\\Message\\EntityEnclosingRequestTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/EntityEnclosingRequestTest.php', + 'Guzzle\\Tests\\Http\\Message\\HeaderComparison' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderComparison.php', + 'Guzzle\\Tests\\Http\\Message\\HeaderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderTest.php', + 'Guzzle\\Tests\\Http\\Message\\Header\\HeaderFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/Header/HeaderFactoryTest.php', + 'Guzzle\\Tests\\Http\\Message\\Header\\LinkTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/Header/LinkTest.php', + 'Guzzle\\Tests\\Http\\Message\\HttpRequestFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php', + 'Guzzle\\Tests\\Http\\Message\\PostFileTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/PostFileTest.php', + 'Guzzle\\Tests\\Http\\Message\\RequestTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestTest.php', + 'Guzzle\\Tests\\Http\\MimetypesTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/MimetypesTest.php', + 'Guzzle\\Tests\\Http\\PhpAggregatorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/PhpAggregatorTest.php', + 'Guzzle\\Tests\\Http\\QueryStringTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryStringTest.php', + 'Guzzle\\Tests\\Http\\ReadLimitEntityBodyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/ReadLimitEntityBodyTest.php', + 'Guzzle\\Tests\\Http\\Server' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Server.php', + 'Guzzle\\Tests\\Http\\UrlTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/UrlTest.php', + 'Guzzle\\Tests\\Inflection\\InflectorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Inflection/InflectorTest.php', + 'Guzzle\\Tests\\Inflection\\MemoizingInflectorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Inflection/MemoizingInflectorTest.php', + 'Guzzle\\Tests\\Inflection\\PreComputedInflectorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Inflection/PreComputedInflectorTest.php', + 'Guzzle\\Tests\\Iterator\\AppendIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Iterator/AppendIteratorTest.php', + 'Guzzle\\Tests\\Iterator\\ChunkedIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Iterator/ChunkedIteratorTest.php', + 'Guzzle\\Tests\\Iterator\\FilterIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Iterator/FilterIteratorTest.php', + 'Guzzle\\Tests\\Iterator\\MapIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MapIteratorTest.php', + 'Guzzle\\Tests\\Iterator\\MethodProxyIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MethodProxyIteratorTest.php', + 'Guzzle\\Tests\\Log\\ArrayLogAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Log/ArrayLogAdapterTest.php', + 'Guzzle\\Tests\\Log\\ClosureLogAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Log/ClosureLogAdapterTest.php', + 'Guzzle\\Tests\\Log\\MessageFormatterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Log/MessageFormatterTest.php', + 'Guzzle\\Tests\\Log\\PsrLogAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Log/PsrLogAdapterTest.php', + 'Guzzle\\Tests\\Log\\Zf2LogAdapterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf2LogAdapterTest.php', + 'Guzzle\\Tests\\Message\\HeaderComparisonTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderComparisonTest.php', + 'Guzzle\\Tests\\Message\\ResponseTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php', + 'Guzzle\\Tests\\Mock\\CustomResponseModel' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php', + 'Guzzle\\Tests\\Mock\\ErrorResponseMock' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/ErrorResponseMock.php', + 'Guzzle\\Tests\\Mock\\ExceptionMock' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/ExceptionMock.php', + 'Guzzle\\Tests\\Mock\\MockMulti' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockMulti.php', + 'Guzzle\\Tests\\Mock\\MockObserver' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockObserver.php', + 'Guzzle\\Tests\\Mock\\MockSubject' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockSubject.php', + 'Guzzle\\Tests\\Parser\\Cookie\\CookieParserProvider' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/Cookie/CookieParserProvider.php', + 'Guzzle\\Tests\\Parser\\Cookie\\CookieParserTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/Cookie/CookieParserTest.php', + 'Guzzle\\Tests\\Parser\\Message\\MessageParserProvider' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserProvider.php', + 'Guzzle\\Tests\\Parser\\Message\\MessageParserTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserTest.php', + 'Guzzle\\Tests\\Parser\\Message\\PeclHttpMessageParserTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php', + 'Guzzle\\Tests\\Parser\\ParserRegistryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/ParserRegistryTest.php', + 'Guzzle\\Tests\\Parsers\\UriTemplate\\AbstractUriTemplateTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/AbstractUriTemplateTest.php', + 'Guzzle\\Tests\\Parsers\\UriTemplate\\PeclUriTemplateTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/PeclUriTemplateTest.php', + 'Guzzle\\Tests\\Parsers\\UriTemplate\\UriTemplateTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/UriTemplateTest.php', + 'Guzzle\\Tests\\Plugin\\Async\\AsyncPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Async/AsyncPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\AbstractBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/AbstractBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\BackoffLoggerTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffLoggerTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\BackoffPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\CallbackBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CallbackBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\ConstantBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ConstantBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\CurlBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CurlBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\ExponentialBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ExponentialBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\HttpBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/HttpBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\LinearBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/LinearBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\ReasonPhraseBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ReasonPhraseBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Backoff\\TruncatedBackoffStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/TruncatedBackoffStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\CachePluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CachePluginTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\CallbackCanCacheStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCanCacheStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\DefaultCacheStorageTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\DefaultCanCacheStrategyTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCanCacheStrategyTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\DefaultRevalidationTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\DenyRevalidationTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DenyRevalidationTest.php', + 'Guzzle\\Tests\\Plugin\\Cache\\SkipRevalidationTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/SkipRevalidationTest.php', + 'Guzzle\\Tests\\Plugin\\Cookie\\CookieJar\\ArrayCookieJarTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/ArrayCookieJarTest.php', + 'Guzzle\\Tests\\Plugin\\Cookie\\CookieJar\\FileCookieJarTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/FileCookieJarTest.php', + 'Guzzle\\Tests\\Plugin\\Cookie\\CookiePluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookiePluginTest.php', + 'Guzzle\\Tests\\Plugin\\Cookie\\CookieTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieTest.php', + 'Guzzle\\Tests\\Plugin\\CurlAuth\\CurlAuthPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/CurlAuth/CurlAuthPluginTest.php', + 'Guzzle\\Tests\\Plugin\\ErrorResponse\\ErrorResponsePluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/ErrorResponse/ErrorResponsePluginTest.php', + 'Guzzle\\Tests\\Plugin\\History\\HistoryPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/History/HistoryPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Log\\LogPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Log/LogPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Md5\\CommandContentMd5PluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/CommandContentMd5PluginTest.php', + 'Guzzle\\Tests\\Plugin\\Md5\\Md5ValidatorPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/Md5ValidatorPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Mock\\MockPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Oauth\\OauthPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Redirect\\RedirectPluginTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/RedirectPluginTest.php', + 'Guzzle\\Tests\\Plugin\\Redirect\\StaticClientTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Http/StaticClientTest.php', + 'Guzzle\\Tests\\Service\\AbstractConfigLoaderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/AbstractConfigLoaderTest.php', + 'Guzzle\\Tests\\Service\\Builder\\ServiceBuilderLoaderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderLoaderTest.php', + 'Guzzle\\Tests\\Service\\CachingConfigLoaderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/CachingConfigLoaderTest.php', + 'Guzzle\\Tests\\Service\\ClientTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/ClientTest.php', + 'Guzzle\\Tests\\Service\\Command\\AbstractCommandTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php', + 'Guzzle\\Tests\\Service\\Command\\AliasFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/AliasFactoryTest.php', + 'Guzzle\\Tests\\Service\\Command\\ClosureCommandTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/ClosureCommandTest.php', + 'Guzzle\\Tests\\Service\\Command\\CommandTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/CommandTest.php', + 'Guzzle\\Tests\\Service\\Command\\CompositeFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/CompositeFactoryTest.php', + 'Guzzle\\Tests\\Service\\Command\\ConcreteClassFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ConcreteClassFactoryTest.php', + 'Guzzle\\Tests\\Service\\Command\\DefaultRequestSerializerTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultRequestSerializerTest.php', + 'Guzzle\\Tests\\Service\\Command\\DefaultResponseParserTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultResponseParserTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\AbstractVisitorTestCase' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\BodyVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/BodyVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\HeaderVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/HeaderVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\JsonVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/JsonVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\PostFieldVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFieldVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\PostFileVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFileVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\QueryVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\ResponseBodyVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/ResponseBodyVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Request\\XmlVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/XmlVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\AbstractResponseVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\BodyVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\HeaderVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/HeaderVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\JsonVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/JsonVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\ReasonPhraseVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/ReasonPhraseVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\StatusCodeVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/StatusCodeVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\LocationVisitor\\Response\\XmlVisitorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php', + 'Guzzle\\Tests\\Service\\Command\\MapFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/MapFactoryTest.php', + 'Guzzle\\Tests\\Service\\Command\\OperationCommandTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationCommandTest.php', + 'Guzzle\\Tests\\Service\\Command\\OperationResponseParserTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationResponseParserTest.php', + 'Guzzle\\Tests\\Service\\Command\\ServiceDescriptionFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ServiceDescriptionFactoryTest.php', + 'Guzzle\\Tests\\Service\\Command\\VisitorFlyweightTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/VisitorFlyweightTest.php', + 'Guzzle\\Tests\\Service\\Description\\OperationTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/OperationTest.php', + 'Guzzle\\Tests\\Service\\Description\\ParameterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ParameterTest.php', + 'Guzzle\\Tests\\Service\\Description\\SchemaFormatterTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php', + 'Guzzle\\Tests\\Service\\Description\\SchemaValidatorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaValidatorTest.php', + 'Guzzle\\Tests\\Service\\Description\\ServiceDescriptionLoaderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionLoaderTest.php', + 'Guzzle\\Tests\\Service\\Description\\ServiceDescriptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionTest.php', + 'Guzzle\\Tests\\Service\\Exception\\CommandTransferExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/CommandTransferExceptionTest.php', + 'Guzzle\\Tests\\Service\\Exception\\InconsistentClientTransferExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/InconsistentClientTransferExceptionTest.php', + 'Guzzle\\Tests\\Service\\Exception\\ValidationExceptionTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php', + 'Guzzle\\Tests\\Service\\Mock\\Command\\IterableCommand' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/IterableCommand.php', + 'Guzzle\\Tests\\Service\\Mock\\Command\\MockCommand' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php', + 'Guzzle\\Tests\\Service\\Mock\\Command\\OtherCommand' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/OtherCommand.php', + 'Guzzle\\Tests\\Service\\Mock\\Command\\Sub\\Sub' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/Sub/Sub.php', + 'Guzzle\\Tests\\Service\\Mock\\MockClient' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/MockClient.php', + 'Guzzle\\Tests\\Service\\Mock\\Model\\MockCommandIterator' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php', + 'Guzzle\\Tests\\Service\\Resource\\CompositeResourceIteratorFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/CompositeResourceIteratorFactoryTest.php', + 'Guzzle\\Tests\\Service\\Resource\\MapResourceIteratorFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/MapResourceIteratorFactoryTest.php', + 'Guzzle\\Tests\\Service\\Resource\\ModelTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ModelTest.php', + 'Guzzle\\Tests\\Service\\Resource\\ResourceIteratorClassFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorClassFactoryTest.php', + 'Guzzle\\Tests\\Service\\Resource\\ResourceIteratorTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorTest.php', + 'Guzzle\\Tests\\Service\\ServiceBuilderTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderTest.php', + 'Guzzle\\Tests\\Stream\\PhpStreamRequestFactoryTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Stream/PhpStreamRequestFactoryTest.php', + 'Guzzle\\Tests\\Stream\\StreamTest' => $vendorDir . '/guzzle/guzzle/tests/Guzzle/Tests/Stream/StreamTest.php', + 'Handlebars\\Arguments' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Arguments.php', + 'Handlebars\\Autoloader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Autoloader.php', + 'Handlebars\\BaseString' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/BaseString.php', + 'Handlebars\\Cache' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Cache.php', + 'Handlebars\\Cache\\APC' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Cache/APC.php', + 'Handlebars\\Cache\\Disk' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Cache/Disk.php', + 'Handlebars\\Cache\\Dummy' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Cache/Dummy.php', + 'Handlebars\\ChildContext' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/ChildContext.php', + 'Handlebars\\Context' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Context.php', + 'Handlebars\\Handlebars' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Handlebars.php', + 'Handlebars\\Helper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper.php', + 'Handlebars\\Helper\\BindAttrHelper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper/BindAttrHelper.php', + 'Handlebars\\Helper\\EachHelper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper/EachHelper.php', + 'Handlebars\\Helper\\IfHelper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper/IfHelper.php', + 'Handlebars\\Helper\\UnlessHelper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper/UnlessHelper.php', + 'Handlebars\\Helper\\WithHelper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helper/WithHelper.php', + 'Handlebars\\Helpers' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Helpers.php', + 'Handlebars\\Loader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Loader.php', + 'Handlebars\\Loader\\ArrayLoader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Loader/ArrayLoader.php', + 'Handlebars\\Loader\\FilesystemLoader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Loader/FilesystemLoader.php', + 'Handlebars\\Loader\\InlineLoader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Loader/InlineLoader.php', + 'Handlebars\\Loader\\StringLoader' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Loader/StringLoader.php', + 'Handlebars\\Parser' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Parser.php', + 'Handlebars\\SafeString' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/SafeString.php', + 'Handlebars\\String' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/String.php', + 'Handlebars\\StringWrapper' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/StringWrapper.php', + 'Handlebars\\Template' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Template.php', + 'Handlebars\\Tokenizer' => $vendorDir . '/xamin/handlebars.php/src/Handlebars/Tokenizer.php', + 'Hautelook\\Phpass\\PasswordHash' => $vendorDir . '/hautelook/phpass/src/Hautelook/Phpass/PasswordHash.php', + 'Illuminate\\Contracts\\Auth\\Access\\Authorizable' => $vendorDir . '/illuminate/contracts/Auth/Access/Authorizable.php', + 'Illuminate\\Contracts\\Auth\\Access\\Gate' => $vendorDir . '/illuminate/contracts/Auth/Access/Gate.php', + 'Illuminate\\Contracts\\Auth\\Authenticatable' => $vendorDir . '/illuminate/contracts/Auth/Authenticatable.php', + 'Illuminate\\Contracts\\Auth\\CanResetPassword' => $vendorDir . '/illuminate/contracts/Auth/CanResetPassword.php', + 'Illuminate\\Contracts\\Auth\\Factory' => $vendorDir . '/illuminate/contracts/Auth/Factory.php', + 'Illuminate\\Contracts\\Auth\\Guard' => $vendorDir . '/illuminate/contracts/Auth/Guard.php', + 'Illuminate\\Contracts\\Auth\\MustVerifyEmail' => $vendorDir . '/illuminate/contracts/Auth/MustVerifyEmail.php', + 'Illuminate\\Contracts\\Auth\\PasswordBroker' => $vendorDir . '/illuminate/contracts/Auth/PasswordBroker.php', + 'Illuminate\\Contracts\\Auth\\PasswordBrokerFactory' => $vendorDir . '/illuminate/contracts/Auth/PasswordBrokerFactory.php', + 'Illuminate\\Contracts\\Auth\\StatefulGuard' => $vendorDir . '/illuminate/contracts/Auth/StatefulGuard.php', + 'Illuminate\\Contracts\\Auth\\SupportsBasicAuth' => $vendorDir . '/illuminate/contracts/Auth/SupportsBasicAuth.php', + 'Illuminate\\Contracts\\Auth\\UserProvider' => $vendorDir . '/illuminate/contracts/Auth/UserProvider.php', + 'Illuminate\\Contracts\\Broadcasting\\Broadcaster' => $vendorDir . '/illuminate/contracts/Broadcasting/Broadcaster.php', + 'Illuminate\\Contracts\\Broadcasting\\Factory' => $vendorDir . '/illuminate/contracts/Broadcasting/Factory.php', + 'Illuminate\\Contracts\\Broadcasting\\ShouldBroadcast' => $vendorDir . '/illuminate/contracts/Broadcasting/ShouldBroadcast.php', + 'Illuminate\\Contracts\\Broadcasting\\ShouldBroadcastNow' => $vendorDir . '/illuminate/contracts/Broadcasting/ShouldBroadcastNow.php', + 'Illuminate\\Contracts\\Bus\\Dispatcher' => $vendorDir . '/illuminate/contracts/Bus/Dispatcher.php', + 'Illuminate\\Contracts\\Bus\\QueueingDispatcher' => $vendorDir . '/illuminate/contracts/Bus/QueueingDispatcher.php', + 'Illuminate\\Contracts\\Cache\\Factory' => $vendorDir . '/illuminate/contracts/Cache/Factory.php', + 'Illuminate\\Contracts\\Cache\\Lock' => $vendorDir . '/illuminate/contracts/Cache/Lock.php', + 'Illuminate\\Contracts\\Cache\\LockProvider' => $vendorDir . '/illuminate/contracts/Cache/LockProvider.php', + 'Illuminate\\Contracts\\Cache\\LockTimeoutException' => $vendorDir . '/illuminate/contracts/Cache/LockTimeoutException.php', + 'Illuminate\\Contracts\\Cache\\Repository' => $vendorDir . '/illuminate/contracts/Cache/Repository.php', + 'Illuminate\\Contracts\\Cache\\Store' => $vendorDir . '/illuminate/contracts/Cache/Store.php', + 'Illuminate\\Contracts\\Config\\Repository' => $vendorDir . '/illuminate/contracts/Config/Repository.php', + 'Illuminate\\Contracts\\Console\\Application' => $vendorDir . '/illuminate/contracts/Console/Application.php', + 'Illuminate\\Contracts\\Console\\Kernel' => $vendorDir . '/illuminate/contracts/Console/Kernel.php', + 'Illuminate\\Contracts\\Container\\BindingResolutionException' => $vendorDir . '/illuminate/contracts/Container/BindingResolutionException.php', + 'Illuminate\\Contracts\\Container\\Container' => $vendorDir . '/illuminate/contracts/Container/Container.php', + 'Illuminate\\Contracts\\Container\\ContextualBindingBuilder' => $vendorDir . '/illuminate/contracts/Container/ContextualBindingBuilder.php', + 'Illuminate\\Contracts\\Cookie\\Factory' => $vendorDir . '/illuminate/contracts/Cookie/Factory.php', + 'Illuminate\\Contracts\\Cookie\\QueueingFactory' => $vendorDir . '/illuminate/contracts/Cookie/QueueingFactory.php', + 'Illuminate\\Contracts\\Database\\ModelIdentifier' => $vendorDir . '/illuminate/contracts/Database/ModelIdentifier.php', + 'Illuminate\\Contracts\\Debug\\ExceptionHandler' => $vendorDir . '/illuminate/contracts/Debug/ExceptionHandler.php', + 'Illuminate\\Contracts\\Encryption\\DecryptException' => $vendorDir . '/illuminate/contracts/Encryption/DecryptException.php', + 'Illuminate\\Contracts\\Encryption\\EncryptException' => $vendorDir . '/illuminate/contracts/Encryption/EncryptException.php', + 'Illuminate\\Contracts\\Encryption\\Encrypter' => $vendorDir . '/illuminate/contracts/Encryption/Encrypter.php', + 'Illuminate\\Contracts\\Events\\Dispatcher' => $vendorDir . '/illuminate/contracts/Events/Dispatcher.php', + 'Illuminate\\Contracts\\Filesystem\\Cloud' => $vendorDir . '/illuminate/contracts/Filesystem/Cloud.php', + 'Illuminate\\Contracts\\Filesystem\\Factory' => $vendorDir . '/illuminate/contracts/Filesystem/Factory.php', + 'Illuminate\\Contracts\\Filesystem\\FileExistsException' => $vendorDir . '/illuminate/contracts/Filesystem/FileExistsException.php', + 'Illuminate\\Contracts\\Filesystem\\FileNotFoundException' => $vendorDir . '/illuminate/contracts/Filesystem/FileNotFoundException.php', + 'Illuminate\\Contracts\\Filesystem\\Filesystem' => $vendorDir . '/illuminate/contracts/Filesystem/Filesystem.php', + 'Illuminate\\Contracts\\Foundation\\Application' => $vendorDir . '/illuminate/contracts/Foundation/Application.php', + 'Illuminate\\Contracts\\Hashing\\Hasher' => $vendorDir . '/illuminate/contracts/Hashing/Hasher.php', + 'Illuminate\\Contracts\\Http\\Kernel' => $vendorDir . '/illuminate/contracts/Http/Kernel.php', + 'Illuminate\\Contracts\\Mail\\MailQueue' => $vendorDir . '/illuminate/contracts/Mail/MailQueue.php', + 'Illuminate\\Contracts\\Mail\\Mailable' => $vendorDir . '/illuminate/contracts/Mail/Mailable.php', + 'Illuminate\\Contracts\\Mail\\Mailer' => $vendorDir . '/illuminate/contracts/Mail/Mailer.php', + 'Illuminate\\Contracts\\Notifications\\Dispatcher' => $vendorDir . '/illuminate/contracts/Notifications/Dispatcher.php', + 'Illuminate\\Contracts\\Notifications\\Factory' => $vendorDir . '/illuminate/contracts/Notifications/Factory.php', + 'Illuminate\\Contracts\\Pagination\\LengthAwarePaginator' => $vendorDir . '/illuminate/contracts/Pagination/LengthAwarePaginator.php', + 'Illuminate\\Contracts\\Pagination\\Paginator' => $vendorDir . '/illuminate/contracts/Pagination/Paginator.php', + 'Illuminate\\Contracts\\Pipeline\\Hub' => $vendorDir . '/illuminate/contracts/Pipeline/Hub.php', + 'Illuminate\\Contracts\\Pipeline\\Pipeline' => $vendorDir . '/illuminate/contracts/Pipeline/Pipeline.php', + 'Illuminate\\Contracts\\Queue\\EntityNotFoundException' => $vendorDir . '/illuminate/contracts/Queue/EntityNotFoundException.php', + 'Illuminate\\Contracts\\Queue\\EntityResolver' => $vendorDir . '/illuminate/contracts/Queue/EntityResolver.php', + 'Illuminate\\Contracts\\Queue\\Factory' => $vendorDir . '/illuminate/contracts/Queue/Factory.php', + 'Illuminate\\Contracts\\Queue\\Job' => $vendorDir . '/illuminate/contracts/Queue/Job.php', + 'Illuminate\\Contracts\\Queue\\Monitor' => $vendorDir . '/illuminate/contracts/Queue/Monitor.php', + 'Illuminate\\Contracts\\Queue\\Queue' => $vendorDir . '/illuminate/contracts/Queue/Queue.php', + 'Illuminate\\Contracts\\Queue\\QueueableCollection' => $vendorDir . '/illuminate/contracts/Queue/QueueableCollection.php', + 'Illuminate\\Contracts\\Queue\\QueueableEntity' => $vendorDir . '/illuminate/contracts/Queue/QueueableEntity.php', + 'Illuminate\\Contracts\\Queue\\ShouldQueue' => $vendorDir . '/illuminate/contracts/Queue/ShouldQueue.php', + 'Illuminate\\Contracts\\Redis\\Connection' => $vendorDir . '/illuminate/contracts/Redis/Connection.php', + 'Illuminate\\Contracts\\Redis\\Factory' => $vendorDir . '/illuminate/contracts/Redis/Factory.php', + 'Illuminate\\Contracts\\Redis\\LimiterTimeoutException' => $vendorDir . '/illuminate/contracts/Redis/LimiterTimeoutException.php', + 'Illuminate\\Contracts\\Routing\\BindingRegistrar' => $vendorDir . '/illuminate/contracts/Routing/BindingRegistrar.php', + 'Illuminate\\Contracts\\Routing\\Registrar' => $vendorDir . '/illuminate/contracts/Routing/Registrar.php', + 'Illuminate\\Contracts\\Routing\\ResponseFactory' => $vendorDir . '/illuminate/contracts/Routing/ResponseFactory.php', + 'Illuminate\\Contracts\\Routing\\UrlGenerator' => $vendorDir . '/illuminate/contracts/Routing/UrlGenerator.php', + 'Illuminate\\Contracts\\Routing\\UrlRoutable' => $vendorDir . '/illuminate/contracts/Routing/UrlRoutable.php', + 'Illuminate\\Contracts\\Session\\Session' => $vendorDir . '/illuminate/contracts/Session/Session.php', + 'Illuminate\\Contracts\\Support\\Arrayable' => $vendorDir . '/illuminate/contracts/Support/Arrayable.php', + 'Illuminate\\Contracts\\Support\\DeferrableProvider' => $vendorDir . '/illuminate/contracts/Support/DeferrableProvider.php', + 'Illuminate\\Contracts\\Support\\Htmlable' => $vendorDir . '/illuminate/contracts/Support/Htmlable.php', + 'Illuminate\\Contracts\\Support\\Jsonable' => $vendorDir . '/illuminate/contracts/Support/Jsonable.php', + 'Illuminate\\Contracts\\Support\\MessageBag' => $vendorDir . '/illuminate/contracts/Support/MessageBag.php', + 'Illuminate\\Contracts\\Support\\MessageProvider' => $vendorDir . '/illuminate/contracts/Support/MessageProvider.php', + 'Illuminate\\Contracts\\Support\\Renderable' => $vendorDir . '/illuminate/contracts/Support/Renderable.php', + 'Illuminate\\Contracts\\Support\\Responsable' => $vendorDir . '/illuminate/contracts/Support/Responsable.php', + 'Illuminate\\Contracts\\Translation\\HasLocalePreference' => $vendorDir . '/illuminate/contracts/Translation/HasLocalePreference.php', + 'Illuminate\\Contracts\\Translation\\Loader' => $vendorDir . '/illuminate/contracts/Translation/Loader.php', + 'Illuminate\\Contracts\\Translation\\Translator' => $vendorDir . '/illuminate/contracts/Translation/Translator.php', + 'Illuminate\\Contracts\\Validation\\Factory' => $vendorDir . '/illuminate/contracts/Validation/Factory.php', + 'Illuminate\\Contracts\\Validation\\ImplicitRule' => $vendorDir . '/illuminate/contracts/Validation/ImplicitRule.php', + 'Illuminate\\Contracts\\Validation\\Rule' => $vendorDir . '/illuminate/contracts/Validation/Rule.php', + 'Illuminate\\Contracts\\Validation\\ValidatesWhenResolved' => $vendorDir . '/illuminate/contracts/Validation/ValidatesWhenResolved.php', + 'Illuminate\\Contracts\\Validation\\Validator' => $vendorDir . '/illuminate/contracts/Validation/Validator.php', + 'Illuminate\\Contracts\\View\\Engine' => $vendorDir . '/illuminate/contracts/View/Engine.php', + 'Illuminate\\Contracts\\View\\Factory' => $vendorDir . '/illuminate/contracts/View/Factory.php', + 'Illuminate\\Contracts\\View\\View' => $vendorDir . '/illuminate/contracts/View/View.php', + 'Illuminate\\Support\\AggregateServiceProvider' => $vendorDir . '/illuminate/support/AggregateServiceProvider.php', + 'Illuminate\\Support\\Arr' => $vendorDir . '/illuminate/support/Arr.php', + 'Illuminate\\Support\\Carbon' => $vendorDir . '/illuminate/support/Carbon.php', + 'Illuminate\\Support\\Collection' => $vendorDir . '/illuminate/support/Collection.php', + 'Illuminate\\Support\\Composer' => $vendorDir . '/illuminate/support/Composer.php', + 'Illuminate\\Support\\DateFactory' => $vendorDir . '/illuminate/support/DateFactory.php', + 'Illuminate\\Support\\Facades\\App' => $vendorDir . '/illuminate/support/Facades/App.php', + 'Illuminate\\Support\\Facades\\Artisan' => $vendorDir . '/illuminate/support/Facades/Artisan.php', + 'Illuminate\\Support\\Facades\\Auth' => $vendorDir . '/illuminate/support/Facades/Auth.php', + 'Illuminate\\Support\\Facades\\Blade' => $vendorDir . '/illuminate/support/Facades/Blade.php', + 'Illuminate\\Support\\Facades\\Broadcast' => $vendorDir . '/illuminate/support/Facades/Broadcast.php', + 'Illuminate\\Support\\Facades\\Bus' => $vendorDir . '/illuminate/support/Facades/Bus.php', + 'Illuminate\\Support\\Facades\\Cache' => $vendorDir . '/illuminate/support/Facades/Cache.php', + 'Illuminate\\Support\\Facades\\Config' => $vendorDir . '/illuminate/support/Facades/Config.php', + 'Illuminate\\Support\\Facades\\Cookie' => $vendorDir . '/illuminate/support/Facades/Cookie.php', + 'Illuminate\\Support\\Facades\\Crypt' => $vendorDir . '/illuminate/support/Facades/Crypt.php', + 'Illuminate\\Support\\Facades\\DB' => $vendorDir . '/illuminate/support/Facades/DB.php', + 'Illuminate\\Support\\Facades\\Date' => $vendorDir . '/illuminate/support/Facades/Date.php', + 'Illuminate\\Support\\Facades\\Event' => $vendorDir . '/illuminate/support/Facades/Event.php', + 'Illuminate\\Support\\Facades\\Facade' => $vendorDir . '/illuminate/support/Facades/Facade.php', + 'Illuminate\\Support\\Facades\\File' => $vendorDir . '/illuminate/support/Facades/File.php', + 'Illuminate\\Support\\Facades\\Gate' => $vendorDir . '/illuminate/support/Facades/Gate.php', + 'Illuminate\\Support\\Facades\\Hash' => $vendorDir . '/illuminate/support/Facades/Hash.php', + 'Illuminate\\Support\\Facades\\Input' => $vendorDir . '/illuminate/support/Facades/Input.php', + 'Illuminate\\Support\\Facades\\Lang' => $vendorDir . '/illuminate/support/Facades/Lang.php', + 'Illuminate\\Support\\Facades\\Log' => $vendorDir . '/illuminate/support/Facades/Log.php', + 'Illuminate\\Support\\Facades\\Mail' => $vendorDir . '/illuminate/support/Facades/Mail.php', + 'Illuminate\\Support\\Facades\\Notification' => $vendorDir . '/illuminate/support/Facades/Notification.php', + 'Illuminate\\Support\\Facades\\Password' => $vendorDir . '/illuminate/support/Facades/Password.php', + 'Illuminate\\Support\\Facades\\Queue' => $vendorDir . '/illuminate/support/Facades/Queue.php', + 'Illuminate\\Support\\Facades\\Redirect' => $vendorDir . '/illuminate/support/Facades/Redirect.php', + 'Illuminate\\Support\\Facades\\Redis' => $vendorDir . '/illuminate/support/Facades/Redis.php', + 'Illuminate\\Support\\Facades\\Request' => $vendorDir . '/illuminate/support/Facades/Request.php', + 'Illuminate\\Support\\Facades\\Response' => $vendorDir . '/illuminate/support/Facades/Response.php', + 'Illuminate\\Support\\Facades\\Route' => $vendorDir . '/illuminate/support/Facades/Route.php', + 'Illuminate\\Support\\Facades\\Schema' => $vendorDir . '/illuminate/support/Facades/Schema.php', + 'Illuminate\\Support\\Facades\\Session' => $vendorDir . '/illuminate/support/Facades/Session.php', + 'Illuminate\\Support\\Facades\\Storage' => $vendorDir . '/illuminate/support/Facades/Storage.php', + 'Illuminate\\Support\\Facades\\URL' => $vendorDir . '/illuminate/support/Facades/URL.php', + 'Illuminate\\Support\\Facades\\Validator' => $vendorDir . '/illuminate/support/Facades/Validator.php', + 'Illuminate\\Support\\Facades\\View' => $vendorDir . '/illuminate/support/Facades/View.php', + 'Illuminate\\Support\\Fluent' => $vendorDir . '/illuminate/support/Fluent.php', + 'Illuminate\\Support\\HigherOrderCollectionProxy' => $vendorDir . '/illuminate/support/HigherOrderCollectionProxy.php', + 'Illuminate\\Support\\HigherOrderTapProxy' => $vendorDir . '/illuminate/support/HigherOrderTapProxy.php', + 'Illuminate\\Support\\HtmlString' => $vendorDir . '/illuminate/support/HtmlString.php', + 'Illuminate\\Support\\InteractsWithTime' => $vendorDir . '/illuminate/support/InteractsWithTime.php', + 'Illuminate\\Support\\Manager' => $vendorDir . '/illuminate/support/Manager.php', + 'Illuminate\\Support\\MessageBag' => $vendorDir . '/illuminate/support/MessageBag.php', + 'Illuminate\\Support\\NamespacedItemResolver' => $vendorDir . '/illuminate/support/NamespacedItemResolver.php', + 'Illuminate\\Support\\Optional' => $vendorDir . '/illuminate/support/Optional.php', + 'Illuminate\\Support\\Pluralizer' => $vendorDir . '/illuminate/support/Pluralizer.php', + 'Illuminate\\Support\\ProcessUtils' => $vendorDir . '/illuminate/support/ProcessUtils.php', + 'Illuminate\\Support\\ServiceProvider' => $vendorDir . '/illuminate/support/ServiceProvider.php', + 'Illuminate\\Support\\Str' => $vendorDir . '/illuminate/support/Str.php', + 'Illuminate\\Support\\Testing\\Fakes\\BusFake' => $vendorDir . '/illuminate/support/Testing/Fakes/BusFake.php', + 'Illuminate\\Support\\Testing\\Fakes\\EventFake' => $vendorDir . '/illuminate/support/Testing/Fakes/EventFake.php', + 'Illuminate\\Support\\Testing\\Fakes\\MailFake' => $vendorDir . '/illuminate/support/Testing/Fakes/MailFake.php', + 'Illuminate\\Support\\Testing\\Fakes\\NotificationFake' => $vendorDir . '/illuminate/support/Testing/Fakes/NotificationFake.php', + 'Illuminate\\Support\\Testing\\Fakes\\PendingMailFake' => $vendorDir . '/illuminate/support/Testing/Fakes/PendingMailFake.php', + 'Illuminate\\Support\\Testing\\Fakes\\QueueFake' => $vendorDir . '/illuminate/support/Testing/Fakes/QueueFake.php', + 'Illuminate\\Support\\Traits\\CapsuleManagerTrait' => $vendorDir . '/illuminate/support/Traits/CapsuleManagerTrait.php', + 'Illuminate\\Support\\Traits\\ForwardsCalls' => $vendorDir . '/illuminate/support/Traits/ForwardsCalls.php', + 'Illuminate\\Support\\Traits\\Localizable' => $vendorDir . '/illuminate/support/Traits/Localizable.php', + 'Illuminate\\Support\\Traits\\Macroable' => $vendorDir . '/illuminate/support/Traits/Macroable.php', + 'Illuminate\\Support\\ViewErrorBag' => $vendorDir . '/illuminate/support/ViewErrorBag.php', + 'JsonSchema\\Constraints\\BaseConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php', + 'JsonSchema\\Constraints\\CollectionConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/CollectionConstraint.php', + 'JsonSchema\\Constraints\\Constraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php', + 'JsonSchema\\Constraints\\ConstraintInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php', + 'JsonSchema\\Constraints\\EnumConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/EnumConstraint.php', + 'JsonSchema\\Constraints\\Factory' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php', + 'JsonSchema\\Constraints\\FormatConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/FormatConstraint.php', + 'JsonSchema\\Constraints\\NumberConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/NumberConstraint.php', + 'JsonSchema\\Constraints\\ObjectConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php', + 'JsonSchema\\Constraints\\SchemaConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php', + 'JsonSchema\\Constraints\\StringConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/StringConstraint.php', + 'JsonSchema\\Constraints\\TypeCheck\\LooseTypeCheck' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/LooseTypeCheck.php', + 'JsonSchema\\Constraints\\TypeCheck\\StrictTypeCheck' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php', + 'JsonSchema\\Constraints\\TypeCheck\\TypeCheckInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/TypeCheckInterface.php', + 'JsonSchema\\Constraints\\TypeConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php', + 'JsonSchema\\Constraints\\UndefinedConstraint' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php', + 'JsonSchema\\Entity\\JsonPointer' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php', + 'JsonSchema\\Exception\\ExceptionInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/ExceptionInterface.php', + 'JsonSchema\\Exception\\InvalidArgumentException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidArgumentException.php', + 'JsonSchema\\Exception\\InvalidConfigException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php', + 'JsonSchema\\Exception\\InvalidSchemaException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php', + 'JsonSchema\\Exception\\InvalidSchemaMediaTypeException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php', + 'JsonSchema\\Exception\\InvalidSourceUriException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSourceUriException.php', + 'JsonSchema\\Exception\\JsonDecodingException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/JsonDecodingException.php', + 'JsonSchema\\Exception\\ResourceNotFoundException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/ResourceNotFoundException.php', + 'JsonSchema\\Exception\\RuntimeException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/RuntimeException.php', + 'JsonSchema\\Exception\\UnresolvableJsonPointerException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/UnresolvableJsonPointerException.php', + 'JsonSchema\\Exception\\UriResolverException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/UriResolverException.php', + 'JsonSchema\\Exception\\ValidationException' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Exception/ValidationException.php', + 'JsonSchema\\Iterator\\ObjectIterator' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Iterator/ObjectIterator.php', + 'JsonSchema\\Rfc3339' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Rfc3339.php', + 'JsonSchema\\SchemaStorage' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php', + 'JsonSchema\\SchemaStorageInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php', + 'JsonSchema\\UriResolverInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/UriResolverInterface.php', + 'JsonSchema\\UriRetrieverInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.php', + 'JsonSchema\\Uri\\Retrievers\\AbstractRetriever' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php', + 'JsonSchema\\Uri\\Retrievers\\Curl' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php', + 'JsonSchema\\Uri\\Retrievers\\FileGetContents' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php', + 'JsonSchema\\Uri\\Retrievers\\PredefinedArray' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php', + 'JsonSchema\\Uri\\Retrievers\\UriRetrieverInterface' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/UriRetrieverInterface.php', + 'JsonSchema\\Uri\\UriResolver' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/UriResolver.php', + 'JsonSchema\\Uri\\UriRetriever' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php', + 'JsonSchema\\Validator' => $vendorDir . '/justinrainbow/json-schema/src/JsonSchema/Validator.php', + 'MikeMcLin\\WpPassword\\Contracts\\WpPassword' => $vendorDir . '/mikemclin/laravel-wp-password/src/Contracts/WpPassword.php', + 'MikeMcLin\\WpPassword\\Facades\\WpPassword' => $vendorDir . '/mikemclin/laravel-wp-password/src/Facades/WpPassword.php', + 'MikeMcLin\\WpPassword\\WpPassword' => $vendorDir . '/mikemclin/laravel-wp-password/src/WpPassword.php', + 'MikeMcLin\\WpPassword\\WpPasswordProvider' => $vendorDir . '/mikemclin/laravel-wp-password/src/WpPasswordProvider.php', + 'Mustache_Autoloader' => $vendorDir . '/mustache/mustache/src/Mustache/Autoloader.php', + 'Mustache_Cache' => $vendorDir . '/mustache/mustache/src/Mustache/Cache.php', + 'Mustache_Cache_AbstractCache' => $vendorDir . '/mustache/mustache/src/Mustache/Cache/AbstractCache.php', + 'Mustache_Cache_FilesystemCache' => $vendorDir . '/mustache/mustache/src/Mustache/Cache/FilesystemCache.php', + 'Mustache_Cache_NoopCache' => $vendorDir . '/mustache/mustache/src/Mustache/Cache/NoopCache.php', + 'Mustache_Compiler' => $vendorDir . '/mustache/mustache/src/Mustache/Compiler.php', + 'Mustache_Context' => $vendorDir . '/mustache/mustache/src/Mustache/Context.php', + 'Mustache_Engine' => $vendorDir . '/mustache/mustache/src/Mustache/Engine.php', + 'Mustache_Exception' => $vendorDir . '/mustache/mustache/src/Mustache/Exception.php', + 'Mustache_Exception_InvalidArgumentException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/InvalidArgumentException.php', + 'Mustache_Exception_LogicException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/LogicException.php', + 'Mustache_Exception_RuntimeException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/RuntimeException.php', + 'Mustache_Exception_SyntaxException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/SyntaxException.php', + 'Mustache_Exception_UnknownFilterException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/UnknownFilterException.php', + 'Mustache_Exception_UnknownHelperException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/UnknownHelperException.php', + 'Mustache_Exception_UnknownTemplateException' => $vendorDir . '/mustache/mustache/src/Mustache/Exception/UnknownTemplateException.php', + 'Mustache_HelperCollection' => $vendorDir . '/mustache/mustache/src/Mustache/HelperCollection.php', + 'Mustache_LambdaHelper' => $vendorDir . '/mustache/mustache/src/Mustache/LambdaHelper.php', + 'Mustache_Loader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader.php', + 'Mustache_Loader_ArrayLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/ArrayLoader.php', + 'Mustache_Loader_CascadingLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/CascadingLoader.php', + 'Mustache_Loader_FilesystemLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/FilesystemLoader.php', + 'Mustache_Loader_InlineLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/InlineLoader.php', + 'Mustache_Loader_MutableLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/MutableLoader.php', + 'Mustache_Loader_ProductionFilesystemLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/ProductionFilesystemLoader.php', + 'Mustache_Loader_StringLoader' => $vendorDir . '/mustache/mustache/src/Mustache/Loader/StringLoader.php', + 'Mustache_Logger' => $vendorDir . '/mustache/mustache/src/Mustache/Logger.php', + 'Mustache_Logger_AbstractLogger' => $vendorDir . '/mustache/mustache/src/Mustache/Logger/AbstractLogger.php', + 'Mustache_Logger_StreamLogger' => $vendorDir . '/mustache/mustache/src/Mustache/Logger/StreamLogger.php', + 'Mustache_Parser' => $vendorDir . '/mustache/mustache/src/Mustache/Parser.php', + 'Mustache_Source' => $vendorDir . '/mustache/mustache/src/Mustache/Source.php', + 'Mustache_Source_FilesystemSource' => $vendorDir . '/mustache/mustache/src/Mustache/Source/FilesystemSource.php', + 'Mustache_Template' => $vendorDir . '/mustache/mustache/src/Mustache/Template.php', + 'Mustache_Tokenizer' => $vendorDir . '/mustache/mustache/src/Mustache/Tokenizer.php', + 'Mustangostang\\Spyc' => $vendorDir . '/wp-cli/mustangostang-spyc/src/Spyc.php', + 'MySQLDump' => $vendorDir . '/dg/mysql-dump/src/MySQLDump.php', + 'MySQLImport' => $vendorDir . '/dg/mysql-dump/src/MySQLImport.php', + 'Oxymel' => $vendorDir . '/nb/oxymel/Oxymel.php', + 'OxymelException' => $vendorDir . '/nb/oxymel/Oxymel.php', + 'OxymelTest' => $vendorDir . '/nb/oxymel/OxymelTest.php', + 'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php', + 'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php', + 'PHPUnit\\Framework\\AssertionFailedError' => $vendorDir . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', + 'PHPUnit\\Framework\\BaseTestListener' => $vendorDir . '/phpunit/phpunit/src/Framework/BaseTestListener.php', + 'PHPUnit\\Framework\\CodeCoverageException' => $vendorDir . '/phpunit/phpunit/src/Framework/CodeCoverageException.php', + 'PHPUnit\\Framework\\Constraint\\ArrayHasKey' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php', + 'PHPUnit\\Framework\\Constraint\\ArraySubset' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php', + 'PHPUnit\\Framework\\Constraint\\Attribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php', + 'PHPUnit\\Framework\\Constraint\\Callback' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Callback.php', + 'PHPUnit\\Framework\\Constraint\\ClassHasAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php', + 'PHPUnit\\Framework\\Constraint\\ClassHasStaticAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php', + 'PHPUnit\\Framework\\Constraint\\Composite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Composite.php', + 'PHPUnit\\Framework\\Constraint\\Constraint' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Constraint.php', + 'PHPUnit\\Framework\\Constraint\\Count' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Count.php', + 'PHPUnit\\Framework\\Constraint\\DirectoryExists' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/DirectoryExists.php', + 'PHPUnit\\Framework\\Constraint\\Exception' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Exception.php', + 'PHPUnit\\Framework\\Constraint\\ExceptionCode' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php', + 'PHPUnit\\Framework\\Constraint\\ExceptionMessage' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php', + 'PHPUnit\\Framework\\Constraint\\ExceptionMessageRegularExpression' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegularExpression.php', + 'PHPUnit\\Framework\\Constraint\\FileExists' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php', + 'PHPUnit\\Framework\\Constraint\\GreaterThan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php', + 'PHPUnit\\Framework\\Constraint\\IsAnything' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php', + 'PHPUnit\\Framework\\Constraint\\IsEmpty' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php', + 'PHPUnit\\Framework\\Constraint\\IsEqual' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php', + 'PHPUnit\\Framework\\Constraint\\IsFalse' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php', + 'PHPUnit\\Framework\\Constraint\\IsFinite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsFinite.php', + 'PHPUnit\\Framework\\Constraint\\IsIdentical' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php', + 'PHPUnit\\Framework\\Constraint\\IsInfinite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsInfinite.php', + 'PHPUnit\\Framework\\Constraint\\IsInstanceOf' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php', + 'PHPUnit\\Framework\\Constraint\\IsJson' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php', + 'PHPUnit\\Framework\\Constraint\\IsNan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsNan.php', + 'PHPUnit\\Framework\\Constraint\\IsNull' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php', + 'PHPUnit\\Framework\\Constraint\\IsReadable' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsReadable.php', + 'PHPUnit\\Framework\\Constraint\\IsTrue' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php', + 'PHPUnit\\Framework\\Constraint\\IsType' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsType.php', + 'PHPUnit\\Framework\\Constraint\\IsWritable' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsWritable.php', + 'PHPUnit\\Framework\\Constraint\\JsonMatches' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php', + 'PHPUnit\\Framework\\Constraint\\JsonMatchesErrorMessageProvider' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/JsonMatchesErrorMessageProvider.php', + 'PHPUnit\\Framework\\Constraint\\LessThan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php', + 'PHPUnit\\Framework\\Constraint\\LogicalAnd' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalAnd.php', + 'PHPUnit\\Framework\\Constraint\\LogicalNot' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalNot.php', + 'PHPUnit\\Framework\\Constraint\\LogicalOr' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalOr.php', + 'PHPUnit\\Framework\\Constraint\\LogicalXor' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalXor.php', + 'PHPUnit\\Framework\\Constraint\\ObjectHasAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php', + 'PHPUnit\\Framework\\Constraint\\RegularExpression' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/RegularExpression.php', + 'PHPUnit\\Framework\\Constraint\\SameSize' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php', + 'PHPUnit\\Framework\\Constraint\\StringContains' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php', + 'PHPUnit\\Framework\\Constraint\\StringEndsWith' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php', + 'PHPUnit\\Framework\\Constraint\\StringMatchesFormatDescription' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringMatchesFormatDescription.php', + 'PHPUnit\\Framework\\Constraint\\StringStartsWith' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php', + 'PHPUnit\\Framework\\Constraint\\TraversableContains' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php', + 'PHPUnit\\Framework\\Constraint\\TraversableContainsOnly' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php', + 'PHPUnit\\Framework\\CoveredCodeNotExecutedException' => $vendorDir . '/phpunit/phpunit/src/Framework/CoveredCodeNotExecutedException.php', + 'PHPUnit\\Framework\\DataProviderTestSuite' => $vendorDir . '/phpunit/phpunit/src/Framework/DataProviderTestSuite.php', + 'PHPUnit\\Framework\\Error\\Deprecated' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Deprecated.php', + 'PHPUnit\\Framework\\Error\\Error' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Error.php', + 'PHPUnit\\Framework\\Error\\Notice' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Notice.php', + 'PHPUnit\\Framework\\Error\\Warning' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Warning.php', + 'PHPUnit\\Framework\\Exception' => $vendorDir . '/phpunit/phpunit/src/Framework/Exception.php', + 'PHPUnit\\Framework\\ExceptionWrapper' => $vendorDir . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php', + 'PHPUnit\\Framework\\ExpectationFailedException' => $vendorDir . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php', + 'PHPUnit\\Framework\\IncompleteTest' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTest.php', + 'PHPUnit\\Framework\\IncompleteTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php', + 'PHPUnit\\Framework\\IncompleteTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTestError.php', + 'PHPUnit\\Framework\\InvalidCoversTargetException' => $vendorDir . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php', + 'PHPUnit\\Framework\\MissingCoversAnnotationException' => $vendorDir . '/phpunit/phpunit/src/Framework/MissingCoversAnnotationException.php', + 'PHPUnit\\Framework\\MockObject\\BadMethodCallException' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/BadMethodCallException.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\Identity' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Identity.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\InvocationMocker' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/InvocationMocker.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\Match' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Match.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\MethodNameMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/MethodNameMatch.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\NamespaceMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/NamespaceMatch.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\ParametersMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/ParametersMatch.php', + 'PHPUnit\\Framework\\MockObject\\Builder\\Stub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Stub.php', + 'PHPUnit\\Framework\\MockObject\\Exception' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/Exception.php', + 'PHPUnit\\Framework\\MockObject\\Generator' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Generator.php', + 'PHPUnit\\Framework\\MockObject\\Invocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/Invocation.php', + 'PHPUnit\\Framework\\MockObject\\InvocationMocker' => $vendorDir . '/phpunit/phpunit-mock-objects/src/InvocationMocker.php', + 'PHPUnit\\Framework\\MockObject\\Invocation\\ObjectInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/ObjectInvocation.php', + 'PHPUnit\\Framework\\MockObject\\Invocation\\StaticInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/StaticInvocation.php', + 'PHPUnit\\Framework\\MockObject\\Invokable' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invokable.php', + 'PHPUnit\\Framework\\MockObject\\Matcher' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\AnyInvokedCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/AnyInvokedCount.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\AnyParameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/AnyParameters.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\ConsecutiveParameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/ConsecutiveParameters.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\Invocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/Invocation.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtIndex' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtIndex.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastCount.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastOnce' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastOnce.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtMostCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtMostCount.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedCount.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedRecorder' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedRecorder.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\MethodName' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/MethodName.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\Parameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/Parameters.php', + 'PHPUnit\\Framework\\MockObject\\Matcher\\StatelessInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/StatelessInvocation.php', + 'PHPUnit\\Framework\\MockObject\\MockBuilder' => $vendorDir . '/phpunit/phpunit-mock-objects/src/MockBuilder.php', + 'PHPUnit\\Framework\\MockObject\\MockObject' => $vendorDir . '/phpunit/phpunit-mock-objects/src/ForwardCompatibility/MockObject.php', + 'PHPUnit\\Framework\\MockObject\\RuntimeException' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/RuntimeException.php', + 'PHPUnit\\Framework\\MockObject\\Stub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ConsecutiveCalls' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ConsecutiveCalls.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\Exception' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/Exception.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\MatcherCollection' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/MatcherCollection.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnArgument' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnArgument.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnCallback' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnCallback.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnReference' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnReference.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnSelf' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnSelf.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnStub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnStub.php', + 'PHPUnit\\Framework\\MockObject\\Stub\\ReturnValueMap' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnValueMap.php', + 'PHPUnit\\Framework\\MockObject\\Verifiable' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Verifiable.php', + 'PHPUnit\\Framework\\OutputError' => $vendorDir . '/phpunit/phpunit/src/Framework/OutputError.php', + 'PHPUnit\\Framework\\RiskyTest' => $vendorDir . '/phpunit/phpunit/src/Framework/RiskyTest.php', + 'PHPUnit\\Framework\\RiskyTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/RiskyTestError.php', + 'PHPUnit\\Framework\\SelfDescribing' => $vendorDir . '/phpunit/phpunit/src/Framework/SelfDescribing.php', + 'PHPUnit\\Framework\\SkippedTest' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTest.php', + 'PHPUnit\\Framework\\SkippedTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestCase.php', + 'PHPUnit\\Framework\\SkippedTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestError.php', + 'PHPUnit\\Framework\\SkippedTestSuiteError' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php', + 'PHPUnit\\Framework\\SyntheticError' => $vendorDir . '/phpunit/phpunit/src/Framework/SyntheticError.php', + 'PHPUnit\\Framework\\Test' => $vendorDir . '/phpunit/phpunit/src/Framework/Test.php', + 'PHPUnit\\Framework\\TestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/TestCase.php', + 'PHPUnit\\Framework\\TestFailure' => $vendorDir . '/phpunit/phpunit/src/Framework/TestFailure.php', + 'PHPUnit\\Framework\\TestListener' => $vendorDir . '/phpunit/phpunit/src/Framework/TestListener.php', + 'PHPUnit\\Framework\\TestListenerDefaultImplementation' => $vendorDir . '/phpunit/phpunit/src/Framework/TestListenerDefaultImplementation.php', + 'PHPUnit\\Framework\\TestResult' => $vendorDir . '/phpunit/phpunit/src/Framework/TestResult.php', + 'PHPUnit\\Framework\\TestSuite' => $vendorDir . '/phpunit/phpunit/src/Framework/TestSuite.php', + 'PHPUnit\\Framework\\TestSuiteIterator' => $vendorDir . '/phpunit/phpunit/src/Framework/TestSuiteIterator.php', + 'PHPUnit\\Framework\\UnintentionallyCoveredCodeError' => $vendorDir . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php', + 'PHPUnit\\Framework\\Warning' => $vendorDir . '/phpunit/phpunit/src/Framework/Warning.php', + 'PHPUnit\\Framework\\WarningTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/WarningTestCase.php', + 'PHPUnit\\Runner\\BaseTestRunner' => $vendorDir . '/phpunit/phpunit/src/Runner/BaseTestRunner.php', + 'PHPUnit\\Runner\\Exception' => $vendorDir . '/phpunit/phpunit/src/Runner/Exception.php', + 'PHPUnit\\Runner\\Filter\\ExcludeGroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/ExcludeGroupFilterIterator.php', + 'PHPUnit\\Runner\\Filter\\Factory' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/Factory.php', + 'PHPUnit\\Runner\\Filter\\GroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/GroupFilterIterator.php', + 'PHPUnit\\Runner\\Filter\\IncludeGroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/IncludeGroupFilterIterator.php', + 'PHPUnit\\Runner\\Filter\\NameFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/NameFilterIterator.php', + 'PHPUnit\\Runner\\PhptTestCase' => $vendorDir . '/phpunit/phpunit/src/Runner/PhptTestCase.php', + 'PHPUnit\\Runner\\StandardTestSuiteLoader' => $vendorDir . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php', + 'PHPUnit\\Runner\\TestSuiteLoader' => $vendorDir . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php', + 'PHPUnit\\Runner\\Version' => $vendorDir . '/phpunit/phpunit/src/Runner/Version.php', + 'PHPUnit\\TextUI\\Command' => $vendorDir . '/phpunit/phpunit/src/TextUI/Command.php', + 'PHPUnit\\TextUI\\ResultPrinter' => $vendorDir . '/phpunit/phpunit/src/TextUI/ResultPrinter.php', + 'PHPUnit\\TextUI\\TestRunner' => $vendorDir . '/phpunit/phpunit/src/TextUI/TestRunner.php', + 'PHPUnit\\Util\\Blacklist' => $vendorDir . '/phpunit/phpunit/src/Util/Blacklist.php', + 'PHPUnit\\Util\\Configuration' => $vendorDir . '/phpunit/phpunit/src/Util/Configuration.php', + 'PHPUnit\\Util\\ConfigurationGenerator' => $vendorDir . '/phpunit/phpunit/src/Util/ConfigurationGenerator.php', + 'PHPUnit\\Util\\ErrorHandler' => $vendorDir . '/phpunit/phpunit/src/Util/ErrorHandler.php', + 'PHPUnit\\Util\\Fileloader' => $vendorDir . '/phpunit/phpunit/src/Util/Fileloader.php', + 'PHPUnit\\Util\\Filesystem' => $vendorDir . '/phpunit/phpunit/src/Util/Filesystem.php', + 'PHPUnit\\Util\\Filter' => $vendorDir . '/phpunit/phpunit/src/Util/Filter.php', + 'PHPUnit\\Util\\Getopt' => $vendorDir . '/phpunit/phpunit/src/Util/Getopt.php', + 'PHPUnit\\Util\\GlobalState' => $vendorDir . '/phpunit/phpunit/src/Util/GlobalState.php', + 'PHPUnit\\Util\\InvalidArgumentHelper' => $vendorDir . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php', + 'PHPUnit\\Util\\Json' => $vendorDir . '/phpunit/phpunit/src/Util/Json.php', + 'PHPUnit\\Util\\Log\\JUnit' => $vendorDir . '/phpunit/phpunit/src/Util/Log/JUnit.php', + 'PHPUnit\\Util\\Log\\TeamCity' => $vendorDir . '/phpunit/phpunit/src/Util/Log/TeamCity.php', + 'PHPUnit\\Util\\PHP\\AbstractPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/AbstractPhpProcess.php', + 'PHPUnit\\Util\\PHP\\DefaultPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/DefaultPhpProcess.php', + 'PHPUnit\\Util\\PHP\\WindowsPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/WindowsPhpProcess.php', + 'PHPUnit\\Util\\Printer' => $vendorDir . '/phpunit/phpunit/src/Util/Printer.php', + 'PHPUnit\\Util\\RegularExpression' => $vendorDir . '/phpunit/phpunit/src/Util/RegularExpression.php', + 'PHPUnit\\Util\\Test' => $vendorDir . '/phpunit/phpunit/src/Util/Test.php', + 'PHPUnit\\Util\\TestDox\\HtmlResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/HtmlResultPrinter.php', + 'PHPUnit\\Util\\TestDox\\NamePrettifier' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php', + 'PHPUnit\\Util\\TestDox\\ResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php', + 'PHPUnit\\Util\\TestDox\\TextResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/TextResultPrinter.php', + 'PHPUnit\\Util\\TestDox\\XmlResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/XmlResultPrinter.php', + 'PHPUnit\\Util\\TextTestListRenderer' => $vendorDir . '/phpunit/phpunit/src/Util/TextTestListRenderer.php', + 'PHPUnit\\Util\\Type' => $vendorDir . '/phpunit/phpunit/src/Util/Type.php', + 'PHPUnit\\Util\\Xml' => $vendorDir . '/phpunit/phpunit/src/Util/Xml.php', + 'PHPUnit\\Util\\XmlTestListRenderer' => $vendorDir . '/phpunit/phpunit/src/Util/XmlTestListRenderer.php', + 'PHPUnit_Framework_MockObject_MockObject' => $vendorDir . '/phpunit/phpunit-mock-objects/src/MockObject.php', + 'PHP_Timer' => $vendorDir . '/phpunit/php-timer/src/Timer.php', + 'PHP_Token' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_TokenWithScope' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_TokenWithScopeAndVisibility' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ABSTRACT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_AMPERSAND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_AND_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ARRAY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ARRAY_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_AS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ASYNC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_AT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_AWAIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BACKTICK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BAD_CHARACTER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BOOLEAN_AND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BOOLEAN_OR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BOOL_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_BREAK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CALLABLE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CARET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CASE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CATCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CHARACTER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLASS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLASS_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLASS_NAME_CONSTANT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLONE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLOSE_BRACKET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLOSE_CURLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLOSE_SQUARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CLOSE_TAG' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_COALESCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_COLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_COMMA' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_COMMENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_COMPILER_HALT_OFFSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CONCAT_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CONST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CONSTANT_ENCAPSED_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CONTINUE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_CURLY_OPEN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DEC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DECLARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DEFAULT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DIR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DIV' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DIV_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DNUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOC_COMMENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOLLAR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOUBLE_ARROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOUBLE_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOUBLE_COLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_DOUBLE_QUOTES' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ECHO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ELLIPSIS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ELSE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ELSEIF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EMPTY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENCAPSED_AND_WHITESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDDECLARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDFOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDFOREACH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDIF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDSWITCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENDWHILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_END_HEREDOC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ENUM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EQUALS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EVAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EXCLAMATION_MARK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EXIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_EXTENDS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FINAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FINALLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FOREACH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FUNCTION' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_FUNC_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_GLOBAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_GOTO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_HALT_COMPILER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IMPLEMENTS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INCLUDE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INCLUDE_ONCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INLINE_HTML' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INSTANCEOF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INSTEADOF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INTERFACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_INT_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ISSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_GREATER_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_IDENTICAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_NOT_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_NOT_IDENTICAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_IS_SMALLER_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_Includes' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_JOIN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LAMBDA_ARROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LAMBDA_CP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LAMBDA_OP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LINE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LIST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LNUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LOGICAL_AND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LOGICAL_OR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LOGICAL_XOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_METHOD_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_MINUS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_MINUS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_MOD_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_MULT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_MUL_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NAMESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NEW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NS_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NS_SEPARATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_NUM_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OBJECT_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OBJECT_OPERATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_ONUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OPEN_BRACKET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OPEN_CURLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OPEN_SQUARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OPEN_TAG' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OPEN_TAG_WITH_ECHO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PERCENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PIPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PLUS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PLUS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_POW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_POW_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PRINT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PRIVATE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PROTECTED' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_PUBLIC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_QUESTION_MARK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_REQUIRE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_REQUIRE_ONCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_RETURN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SEMICOLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SHAPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SL_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SPACESHIP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_START_HEREDOC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_STATIC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_STRING_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_STRING_VARNAME' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SUPER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_SWITCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_Stream' => $vendorDir . '/phpunit/php-token-stream/src/Token/Stream.php', + 'PHP_Token_Stream_CachingFactory' => $vendorDir . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php', + 'PHP_Token_THROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TILDE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TRAIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TRAIT_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TRY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TYPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TYPELIST_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_TYPELIST_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_UNSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_UNSET_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_USE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_USE_FUNCTION' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_VAR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_VARIABLE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_WHERE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_WHILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_WHITESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_ATTRIBUTE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_CATEGORY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_CATEGORY_LABEL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_CHILDREN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_LABEL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_REQUIRED' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_TAG_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_TAG_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XHP_TEXT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_XOR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_YIELD' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PHP_Token_YIELD_FROM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', + 'PharIo\\Manifest\\Application' => $vendorDir . '/phar-io/manifest/src/values/Application.php', + 'PharIo\\Manifest\\ApplicationName' => $vendorDir . '/phar-io/manifest/src/values/ApplicationName.php', + 'PharIo\\Manifest\\Author' => $vendorDir . '/phar-io/manifest/src/values/Author.php', + 'PharIo\\Manifest\\AuthorCollection' => $vendorDir . '/phar-io/manifest/src/values/AuthorCollection.php', + 'PharIo\\Manifest\\AuthorCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/AuthorCollectionIterator.php', + 'PharIo\\Manifest\\AuthorElement' => $vendorDir . '/phar-io/manifest/src/xml/AuthorElement.php', + 'PharIo\\Manifest\\AuthorElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/AuthorElementCollection.php', + 'PharIo\\Manifest\\BundledComponent' => $vendorDir . '/phar-io/manifest/src/values/BundledComponent.php', + 'PharIo\\Manifest\\BundledComponentCollection' => $vendorDir . '/phar-io/manifest/src/values/BundledComponentCollection.php', + 'PharIo\\Manifest\\BundledComponentCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/BundledComponentCollectionIterator.php', + 'PharIo\\Manifest\\BundlesElement' => $vendorDir . '/phar-io/manifest/src/xml/BundlesElement.php', + 'PharIo\\Manifest\\ComponentElement' => $vendorDir . '/phar-io/manifest/src/xml/ComponentElement.php', + 'PharIo\\Manifest\\ComponentElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ComponentElementCollection.php', + 'PharIo\\Manifest\\ContainsElement' => $vendorDir . '/phar-io/manifest/src/xml/ContainsElement.php', + 'PharIo\\Manifest\\CopyrightElement' => $vendorDir . '/phar-io/manifest/src/xml/CopyrightElement.php', + 'PharIo\\Manifest\\CopyrightInformation' => $vendorDir . '/phar-io/manifest/src/values/CopyrightInformation.php', + 'PharIo\\Manifest\\ElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ElementCollection.php', + 'PharIo\\Manifest\\Email' => $vendorDir . '/phar-io/manifest/src/values/Email.php', + 'PharIo\\Manifest\\Exception' => $vendorDir . '/phar-io/manifest/src/exceptions/Exception.php', + 'PharIo\\Manifest\\ExtElement' => $vendorDir . '/phar-io/manifest/src/xml/ExtElement.php', + 'PharIo\\Manifest\\ExtElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ExtElementCollection.php', + 'PharIo\\Manifest\\Extension' => $vendorDir . '/phar-io/manifest/src/values/Extension.php', + 'PharIo\\Manifest\\ExtensionElement' => $vendorDir . '/phar-io/manifest/src/xml/ExtensionElement.php', + 'PharIo\\Manifest\\InvalidApplicationNameException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php', + 'PharIo\\Manifest\\InvalidEmailException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidEmailException.php', + 'PharIo\\Manifest\\InvalidUrlException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidUrlException.php', + 'PharIo\\Manifest\\Library' => $vendorDir . '/phar-io/manifest/src/values/Library.php', + 'PharIo\\Manifest\\License' => $vendorDir . '/phar-io/manifest/src/values/License.php', + 'PharIo\\Manifest\\LicenseElement' => $vendorDir . '/phar-io/manifest/src/xml/LicenseElement.php', + 'PharIo\\Manifest\\Manifest' => $vendorDir . '/phar-io/manifest/src/values/Manifest.php', + 'PharIo\\Manifest\\ManifestDocument' => $vendorDir . '/phar-io/manifest/src/xml/ManifestDocument.php', + 'PharIo\\Manifest\\ManifestDocumentException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestDocumentException.php', + 'PharIo\\Manifest\\ManifestDocumentLoadingException' => $vendorDir . '/phar-io/manifest/src/xml/ManifestDocumentLoadingException.php', + 'PharIo\\Manifest\\ManifestDocumentMapper' => $vendorDir . '/phar-io/manifest/src/ManifestDocumentMapper.php', + 'PharIo\\Manifest\\ManifestDocumentMapperException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php', + 'PharIo\\Manifest\\ManifestElement' => $vendorDir . '/phar-io/manifest/src/xml/ManifestElement.php', + 'PharIo\\Manifest\\ManifestElementException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestElementException.php', + 'PharIo\\Manifest\\ManifestLoader' => $vendorDir . '/phar-io/manifest/src/ManifestLoader.php', + 'PharIo\\Manifest\\ManifestLoaderException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestLoaderException.php', + 'PharIo\\Manifest\\ManifestSerializer' => $vendorDir . '/phar-io/manifest/src/ManifestSerializer.php', + 'PharIo\\Manifest\\PhpElement' => $vendorDir . '/phar-io/manifest/src/xml/PhpElement.php', + 'PharIo\\Manifest\\PhpExtensionRequirement' => $vendorDir . '/phar-io/manifest/src/values/PhpExtensionRequirement.php', + 'PharIo\\Manifest\\PhpVersionRequirement' => $vendorDir . '/phar-io/manifest/src/values/PhpVersionRequirement.php', + 'PharIo\\Manifest\\Requirement' => $vendorDir . '/phar-io/manifest/src/values/Requirement.php', + 'PharIo\\Manifest\\RequirementCollection' => $vendorDir . '/phar-io/manifest/src/values/RequirementCollection.php', + 'PharIo\\Manifest\\RequirementCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/RequirementCollectionIterator.php', + 'PharIo\\Manifest\\RequiresElement' => $vendorDir . '/phar-io/manifest/src/xml/RequiresElement.php', + 'PharIo\\Manifest\\Type' => $vendorDir . '/phar-io/manifest/src/values/Type.php', + 'PharIo\\Manifest\\Url' => $vendorDir . '/phar-io/manifest/src/values/Url.php', + 'PharIo\\Version\\AbstractVersionConstraint' => $vendorDir . '/phar-io/version/src/AbstractVersionConstraint.php', + 'PharIo\\Version\\AndVersionConstraintGroup' => $vendorDir . '/phar-io/version/src/AndVersionConstraintGroup.php', + 'PharIo\\Version\\AnyVersionConstraint' => $vendorDir . '/phar-io/version/src/AnyVersionConstraint.php', + 'PharIo\\Version\\ExactVersionConstraint' => $vendorDir . '/phar-io/version/src/ExactVersionConstraint.php', + 'PharIo\\Version\\Exception' => $vendorDir . '/phar-io/version/src/Exception.php', + 'PharIo\\Version\\GreaterThanOrEqualToVersionConstraint' => $vendorDir . '/phar-io/version/src/GreaterThanOrEqualToVersionConstraint.php', + 'PharIo\\Version\\InvalidVersionException' => $vendorDir . '/phar-io/version/src/InvalidVersionException.php', + 'PharIo\\Version\\OrVersionConstraintGroup' => $vendorDir . '/phar-io/version/src/OrVersionConstraintGroup.php', + 'PharIo\\Version\\PreReleaseSuffix' => $vendorDir . '/phar-io/version/src/PreReleaseSuffix.php', + 'PharIo\\Version\\SpecificMajorAndMinorVersionConstraint' => $vendorDir . '/phar-io/version/src/SpecificMajorAndMinorVersionConstraint.php', + 'PharIo\\Version\\SpecificMajorVersionConstraint' => $vendorDir . '/phar-io/version/src/SpecificMajorVersionConstraint.php', + 'PharIo\\Version\\UnsupportedVersionConstraintException' => $vendorDir . '/phar-io/version/src/UnsupportedVersionConstraintException.php', + 'PharIo\\Version\\Version' => $vendorDir . '/phar-io/version/src/Version.php', + 'PharIo\\Version\\VersionConstraint' => $vendorDir . '/phar-io/version/src/VersionConstraint.php', + 'PharIo\\Version\\VersionConstraintParser' => $vendorDir . '/phar-io/version/src/VersionConstraintParser.php', + 'PharIo\\Version\\VersionConstraintValue' => $vendorDir . '/phar-io/version/src/VersionConstraintValue.php', + 'PharIo\\Version\\VersionNumber' => $vendorDir . '/phar-io/version/src/VersionNumber.php', + 'PhpOption\\LazyOption' => $vendorDir . '/phpoption/phpoption/src/PhpOption/LazyOption.php', + 'PhpOption\\None' => $vendorDir . '/phpoption/phpoption/src/PhpOption/None.php', + 'PhpOption\\Option' => $vendorDir . '/phpoption/phpoption/src/PhpOption/Option.php', + 'PhpOption\\Some' => $vendorDir . '/phpoption/phpoption/src/PhpOption/Some.php', + 'Prophecy\\Argument' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument.php', + 'Prophecy\\Argument\\ArgumentsWildcard' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/ArgumentsWildcard.php', + 'Prophecy\\Argument\\Token\\AnyValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValueToken.php', + 'Prophecy\\Argument\\Token\\AnyValuesToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValuesToken.php', + 'Prophecy\\Argument\\Token\\ApproximateValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ApproximateValueToken.php', + 'Prophecy\\Argument\\Token\\ArrayCountToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayCountToken.php', + 'Prophecy\\Argument\\Token\\ArrayEntryToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php', + 'Prophecy\\Argument\\Token\\ArrayEveryEntryToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEveryEntryToken.php', + 'Prophecy\\Argument\\Token\\CallbackToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/CallbackToken.php', + 'Prophecy\\Argument\\Token\\ExactValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php', + 'Prophecy\\Argument\\Token\\IdenticalValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php', + 'Prophecy\\Argument\\Token\\LogicalAndToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalAndToken.php', + 'Prophecy\\Argument\\Token\\LogicalNotToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php', + 'Prophecy\\Argument\\Token\\ObjectStateToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ObjectStateToken.php', + 'Prophecy\\Argument\\Token\\StringContainsToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php', + 'Prophecy\\Argument\\Token\\TokenInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/TokenInterface.php', + 'Prophecy\\Argument\\Token\\TypeToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/TypeToken.php', + 'Prophecy\\Call\\Call' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Call/Call.php', + 'Prophecy\\Call\\CallCenter' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Call/CallCenter.php', + 'Prophecy\\Comparator\\ClosureComparator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/ClosureComparator.php', + 'Prophecy\\Comparator\\Factory' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/Factory.php', + 'Prophecy\\Comparator\\ProphecyComparator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/ProphecyComparator.php', + 'Prophecy\\Doubler\\CachedDoubler' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/CachedDoubler.php', + 'Prophecy\\Doubler\\ClassPatch\\ClassPatchInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php', + 'Prophecy\\Doubler\\ClassPatch\\DisableConstructorPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\HhvmExceptionPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\KeywordPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\MagicCallPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\ProphecySubjectPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\ReflectionClassNewInstancePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php', + 'Prophecy\\Doubler\\ClassPatch\\SplFileInfoPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\ThrowablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php', + 'Prophecy\\Doubler\\ClassPatch\\TraversablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php', + 'Prophecy\\Doubler\\DoubleInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php', + 'Prophecy\\Doubler\\Doubler' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php', + 'Prophecy\\Doubler\\Generator\\ClassCodeGenerator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCodeGenerator.php', + 'Prophecy\\Doubler\\Generator\\ClassCreator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php', + 'Prophecy\\Doubler\\Generator\\ClassMirror' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassMirror.php', + 'Prophecy\\Doubler\\Generator\\Node\\ArgumentNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php', + 'Prophecy\\Doubler\\Generator\\Node\\ClassNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php', + 'Prophecy\\Doubler\\Generator\\Node\\MethodNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php', + 'Prophecy\\Doubler\\Generator\\ReflectionInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ReflectionInterface.php', + 'Prophecy\\Doubler\\Generator\\TypeHintReference' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/TypeHintReference.php', + 'Prophecy\\Doubler\\LazyDouble' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php', + 'Prophecy\\Doubler\\NameGenerator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/NameGenerator.php', + 'Prophecy\\Exception\\Call\\UnexpectedCallException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php', + 'Prophecy\\Exception\\Doubler\\ClassCreatorException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassCreatorException.php', + 'Prophecy\\Exception\\Doubler\\ClassMirrorException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassMirrorException.php', + 'Prophecy\\Exception\\Doubler\\ClassNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassNotFoundException.php', + 'Prophecy\\Exception\\Doubler\\DoubleException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoubleException.php', + 'Prophecy\\Exception\\Doubler\\DoublerException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoublerException.php', + 'Prophecy\\Exception\\Doubler\\InterfaceNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/InterfaceNotFoundException.php', + 'Prophecy\\Exception\\Doubler\\MethodNotExtendableException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php', + 'Prophecy\\Exception\\Doubler\\MethodNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php', + 'Prophecy\\Exception\\Doubler\\ReturnByReferenceException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ReturnByReferenceException.php', + 'Prophecy\\Exception\\Exception' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Exception.php', + 'Prophecy\\Exception\\InvalidArgumentException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/InvalidArgumentException.php', + 'Prophecy\\Exception\\Prediction\\AggregateException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php', + 'Prophecy\\Exception\\Prediction\\FailedPredictionException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/FailedPredictionException.php', + 'Prophecy\\Exception\\Prediction\\NoCallsException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/NoCallsException.php', + 'Prophecy\\Exception\\Prediction\\PredictionException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/PredictionException.php', + 'Prophecy\\Exception\\Prediction\\UnexpectedCallsCountException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php', + 'Prophecy\\Exception\\Prediction\\UnexpectedCallsException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php', + 'Prophecy\\Exception\\Prophecy\\MethodProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php', + 'Prophecy\\Exception\\Prophecy\\ObjectProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php', + 'Prophecy\\Exception\\Prophecy\\ProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ProphecyException.php', + 'Prophecy\\PhpDocumentor\\ClassAndInterfaceTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php', + 'Prophecy\\PhpDocumentor\\ClassTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassTagRetriever.php', + 'Prophecy\\PhpDocumentor\\LegacyClassTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/LegacyClassTagRetriever.php', + 'Prophecy\\PhpDocumentor\\MethodTagRetrieverInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php', + 'Prophecy\\Prediction\\CallPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php', + 'Prophecy\\Prediction\\CallTimesPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallTimesPrediction.php', + 'Prophecy\\Prediction\\CallbackPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallbackPrediction.php', + 'Prophecy\\Prediction\\NoCallsPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/NoCallsPrediction.php', + 'Prophecy\\Prediction\\PredictionInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/PredictionInterface.php', + 'Prophecy\\Promise\\CallbackPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/CallbackPromise.php', + 'Prophecy\\Promise\\PromiseInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php', + 'Prophecy\\Promise\\ReturnArgumentPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ReturnArgumentPromise.php', + 'Prophecy\\Promise\\ReturnPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php', + 'Prophecy\\Promise\\ThrowPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ThrowPromise.php', + 'Prophecy\\Prophecy\\MethodProphecy' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php', + 'Prophecy\\Prophecy\\ObjectProphecy' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php', + 'Prophecy\\Prophecy\\ProphecyInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecyInterface.php', + 'Prophecy\\Prophecy\\ProphecySubjectInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php', + 'Prophecy\\Prophecy\\Revealer' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/Revealer.php', + 'Prophecy\\Prophecy\\RevealerInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/RevealerInterface.php', + 'Prophecy\\Prophet' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophet.php', + 'Prophecy\\Util\\ExportUtil' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Util/ExportUtil.php', + 'Prophecy\\Util\\StringUtil' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Util/StringUtil.php', + 'Psr\\Container\\ContainerExceptionInterface' => $vendorDir . '/psr/container/src/ContainerExceptionInterface.php', + 'Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', + 'Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', + 'Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php', + 'Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php', + 'Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php', + 'Psr\\Http\\Message\\ServerRequestInterface' => $vendorDir . '/psr/http-message/src/ServerRequestInterface.php', + 'Psr\\Http\\Message\\StreamInterface' => $vendorDir . '/psr/http-message/src/StreamInterface.php', + 'Psr\\Http\\Message\\UploadedFileInterface' => $vendorDir . '/psr/http-message/src/UploadedFileInterface.php', + 'Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php', + 'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php', + 'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php', + 'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/Psr/Log/LogLevel.php', + 'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareInterface.php', + 'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareTrait.php', + 'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php', + 'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php', + 'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php', + 'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php', + 'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php', + 'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php', + 'Psr\\SimpleCache\\CacheException' => $vendorDir . '/psr/simple-cache/src/CacheException.php', + 'Psr\\SimpleCache\\CacheInterface' => $vendorDir . '/psr/simple-cache/src/CacheInterface.php', + 'Psr\\SimpleCache\\InvalidArgumentException' => $vendorDir . '/psr/simple-cache/src/InvalidArgumentException.php', + 'Requests' => $vendorDir . '/rmccue/requests/library/Requests.php', + 'Requests_Auth' => $vendorDir . '/rmccue/requests/library/Requests/Auth.php', + 'Requests_Auth_Basic' => $vendorDir . '/rmccue/requests/library/Requests/Auth/Basic.php', + 'Requests_Cookie' => $vendorDir . '/rmccue/requests/library/Requests/Cookie.php', + 'Requests_Cookie_Jar' => $vendorDir . '/rmccue/requests/library/Requests/Cookie/Jar.php', + 'Requests_Exception' => $vendorDir . '/rmccue/requests/library/Requests/Exception.php', + 'Requests_Exception_HTTP' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP.php', + 'Requests_Exception_HTTP_304' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/304.php', + 'Requests_Exception_HTTP_305' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/305.php', + 'Requests_Exception_HTTP_306' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/306.php', + 'Requests_Exception_HTTP_400' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/400.php', + 'Requests_Exception_HTTP_401' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/401.php', + 'Requests_Exception_HTTP_402' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/402.php', + 'Requests_Exception_HTTP_403' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/403.php', + 'Requests_Exception_HTTP_404' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/404.php', + 'Requests_Exception_HTTP_405' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/405.php', + 'Requests_Exception_HTTP_406' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/406.php', + 'Requests_Exception_HTTP_407' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/407.php', + 'Requests_Exception_HTTP_408' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/408.php', + 'Requests_Exception_HTTP_409' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/409.php', + 'Requests_Exception_HTTP_410' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/410.php', + 'Requests_Exception_HTTP_411' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/411.php', + 'Requests_Exception_HTTP_412' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/412.php', + 'Requests_Exception_HTTP_413' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/413.php', + 'Requests_Exception_HTTP_414' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/414.php', + 'Requests_Exception_HTTP_415' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/415.php', + 'Requests_Exception_HTTP_416' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/416.php', + 'Requests_Exception_HTTP_417' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/417.php', + 'Requests_Exception_HTTP_418' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/418.php', + 'Requests_Exception_HTTP_428' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/428.php', + 'Requests_Exception_HTTP_429' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/429.php', + 'Requests_Exception_HTTP_431' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/431.php', + 'Requests_Exception_HTTP_500' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/500.php', + 'Requests_Exception_HTTP_501' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/501.php', + 'Requests_Exception_HTTP_502' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/502.php', + 'Requests_Exception_HTTP_503' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/503.php', + 'Requests_Exception_HTTP_504' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/504.php', + 'Requests_Exception_HTTP_505' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/505.php', + 'Requests_Exception_HTTP_511' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/511.php', + 'Requests_Exception_HTTP_Unknown' => $vendorDir . '/rmccue/requests/library/Requests/Exception/HTTP/Unknown.php', + 'Requests_Exception_Transport' => $vendorDir . '/rmccue/requests/library/Requests/Exception/Transport.php', + 'Requests_Exception_Transport_cURL' => $vendorDir . '/rmccue/requests/library/Requests/Exception/Transport/cURL.php', + 'Requests_Hooker' => $vendorDir . '/rmccue/requests/library/Requests/Hooker.php', + 'Requests_Hooks' => $vendorDir . '/rmccue/requests/library/Requests/Hooks.php', + 'Requests_IDNAEncoder' => $vendorDir . '/rmccue/requests/library/Requests/IDNAEncoder.php', + 'Requests_IPv6' => $vendorDir . '/rmccue/requests/library/Requests/IPv6.php', + 'Requests_IRI' => $vendorDir . '/rmccue/requests/library/Requests/IRI.php', + 'Requests_Proxy' => $vendorDir . '/rmccue/requests/library/Requests/Proxy.php', + 'Requests_Proxy_HTTP' => $vendorDir . '/rmccue/requests/library/Requests/Proxy/HTTP.php', + 'Requests_Response' => $vendorDir . '/rmccue/requests/library/Requests/Response.php', + 'Requests_Response_Headers' => $vendorDir . '/rmccue/requests/library/Requests/Response/Headers.php', + 'Requests_SSL' => $vendorDir . '/rmccue/requests/library/Requests/SSL.php', + 'Requests_Session' => $vendorDir . '/rmccue/requests/library/Requests/Session.php', + 'Requests_Transport' => $vendorDir . '/rmccue/requests/library/Requests/Transport.php', + 'Requests_Transport_cURL' => $vendorDir . '/rmccue/requests/library/Requests/Transport/cURL.php', + 'Requests_Transport_fsockopen' => $vendorDir . '/rmccue/requests/library/Requests/Transport/fsockopen.php', + 'Requests_Utility_CaseInsensitiveDictionary' => $vendorDir . '/rmccue/requests/library/Requests/Utility/CaseInsensitiveDictionary.php', + 'Requests_Utility_FilteredIterator' => $vendorDir . '/rmccue/requests/library/Requests/Utility/FilteredIterator.php', + 'Satooshi\\Bundle\\CoverallsBundle\\Console\\Application' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsBundle/Console/Application.php', + 'Satooshi\\Bundle\\CoverallsBundle\\CoverallsBundle' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsBundle/CoverallsBundle.php', + 'Satooshi\\Bundle\\CoverallsBundle\\Entity\\ArrayConvertable' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsBundle/Entity/ArrayConvertable.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Api\\CoverallsApi' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Api/CoverallsApi.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Api\\Jobs' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Api/Jobs.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Collector\\CiEnvVarsCollector' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Collector/CiEnvVarsCollector.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Collector\\CloverXmlCoverageCollector' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Collector/CloverXmlCoverageCollector.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Collector\\GitInfoCollector' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollector.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Command\\CoverallsV1JobsCommand' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Command/CoverallsV1JobsCommand.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Config\\Configuration' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Config/Configuration.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Config\\Configurator' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Config/Configurator.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Config\\CoverallsConfiguration' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Config/CoverallsConfiguration.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\CoverallsV1Bundle' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/CoverallsV1Bundle.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Coveralls' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Coveralls.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Exception\\RequirementsNotSatisfiedException' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Exception/RequirementsNotSatisfiedException.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Git\\Commit' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/Commit.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Git\\Git' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/Git.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Git\\Remote' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/Remote.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\JsonFile' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/JsonFile.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\Metrics' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Metrics.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Entity\\SourceFile' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/SourceFile.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Repository\\JobsRepository' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Repository/JobsRepository.php', + 'Satooshi\\Bundle\\CoverallsV1Bundle\\Version' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Version.php', + 'Satooshi\\Component\\File\\Path' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/File/Path.php', + 'Satooshi\\Component\\Log\\ConsoleLogger' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/Log/ConsoleLogger.php', + 'Satooshi\\Component\\System\\Git\\GitCommand' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/System/Git/GitCommand.php', + 'Satooshi\\Component\\System\\SystemCommand' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/System/SystemCommand.php', + 'Satooshi\\Component\\System\\SystemCommandExecutor' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/System/SystemCommandExecutor.php', + 'Satooshi\\Component\\System\\SystemCommandExecutorInterface' => $vendorDir . '/satooshi/php-coveralls/src/Satooshi/Component/System/SystemCommandExecutorInterface.php', + 'SebastianBergmann\\CodeCoverage\\CodeCoverage' => $vendorDir . '/phpunit/php-code-coverage/src/CodeCoverage.php', + 'SebastianBergmann\\CodeCoverage\\CoveredCodeNotExecutedException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/CoveredCodeNotExecutedException.php', + 'SebastianBergmann\\CodeCoverage\\Driver\\Driver' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/Driver.php', + 'SebastianBergmann\\CodeCoverage\\Driver\\HHVM' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/HHVM.php', + 'SebastianBergmann\\CodeCoverage\\Driver\\PHPDBG' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/PHPDBG.php', + 'SebastianBergmann\\CodeCoverage\\Driver\\Xdebug' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/Xdebug.php', + 'SebastianBergmann\\CodeCoverage\\Exception' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/Exception.php', + 'SebastianBergmann\\CodeCoverage\\Filter' => $vendorDir . '/phpunit/php-code-coverage/src/Filter.php', + 'SebastianBergmann\\CodeCoverage\\InvalidArgumentException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php', + 'SebastianBergmann\\CodeCoverage\\MissingCoversAnnotationException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/MissingCoversAnnotationException.php', + 'SebastianBergmann\\CodeCoverage\\Node\\AbstractNode' => $vendorDir . '/phpunit/php-code-coverage/src/Node/AbstractNode.php', + 'SebastianBergmann\\CodeCoverage\\Node\\Builder' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Builder.php', + 'SebastianBergmann\\CodeCoverage\\Node\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Directory.php', + 'SebastianBergmann\\CodeCoverage\\Node\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Node/File.php', + 'SebastianBergmann\\CodeCoverage\\Node\\Iterator' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Iterator.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Clover' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Clover.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Crap4j' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Crap4j.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Html\\Dashboard' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Dashboard.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Html\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Html\\Facade' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Facade.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Html\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Html\\Renderer' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer.php', + 'SebastianBergmann\\CodeCoverage\\Report\\PHP' => $vendorDir . '/phpunit/php-code-coverage/src/Report/PHP.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Text' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Text.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\BuildInformation' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/BuildInformation.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Coverage' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Coverage.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Directory.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Facade' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Facade.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/File.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Method' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Method.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Node' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Node.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Project' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Project.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Report' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Report.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Source' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Source.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Tests' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Tests.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Totals' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Totals.php', + 'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Unit' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Unit.php', + 'SebastianBergmann\\CodeCoverage\\RuntimeException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/RuntimeException.php', + 'SebastianBergmann\\CodeCoverage\\UnintentionallyCoveredCodeException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php', + 'SebastianBergmann\\CodeCoverage\\Util' => $vendorDir . '/phpunit/php-code-coverage/src/Util.php', + 'SebastianBergmann\\CodeCoverage\\Version' => $vendorDir . '/phpunit/php-code-coverage/src/Version.php', + 'SebastianBergmann\\CodeUnitReverseLookup\\Wizard' => $vendorDir . '/sebastian/code-unit-reverse-lookup/src/Wizard.php', + 'SebastianBergmann\\Comparator\\ArrayComparator' => $vendorDir . '/sebastian/comparator/src/ArrayComparator.php', + 'SebastianBergmann\\Comparator\\Comparator' => $vendorDir . '/sebastian/comparator/src/Comparator.php', + 'SebastianBergmann\\Comparator\\ComparisonFailure' => $vendorDir . '/sebastian/comparator/src/ComparisonFailure.php', + 'SebastianBergmann\\Comparator\\DOMNodeComparator' => $vendorDir . '/sebastian/comparator/src/DOMNodeComparator.php', + 'SebastianBergmann\\Comparator\\DateTimeComparator' => $vendorDir . '/sebastian/comparator/src/DateTimeComparator.php', + 'SebastianBergmann\\Comparator\\DoubleComparator' => $vendorDir . '/sebastian/comparator/src/DoubleComparator.php', + 'SebastianBergmann\\Comparator\\ExceptionComparator' => $vendorDir . '/sebastian/comparator/src/ExceptionComparator.php', + 'SebastianBergmann\\Comparator\\Factory' => $vendorDir . '/sebastian/comparator/src/Factory.php', + 'SebastianBergmann\\Comparator\\MockObjectComparator' => $vendorDir . '/sebastian/comparator/src/MockObjectComparator.php', + 'SebastianBergmann\\Comparator\\NumericComparator' => $vendorDir . '/sebastian/comparator/src/NumericComparator.php', + 'SebastianBergmann\\Comparator\\ObjectComparator' => $vendorDir . '/sebastian/comparator/src/ObjectComparator.php', + 'SebastianBergmann\\Comparator\\ResourceComparator' => $vendorDir . '/sebastian/comparator/src/ResourceComparator.php', + 'SebastianBergmann\\Comparator\\ScalarComparator' => $vendorDir . '/sebastian/comparator/src/ScalarComparator.php', + 'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => $vendorDir . '/sebastian/comparator/src/SplObjectStorageComparator.php', + 'SebastianBergmann\\Comparator\\TypeComparator' => $vendorDir . '/sebastian/comparator/src/TypeComparator.php', + 'SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php', + 'SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php', + 'SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php', + 'SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php', + 'SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php', + 'SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php', + 'SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', + 'SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', + 'SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', + 'SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', + 'SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', + 'SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php', + 'SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'SebastianBergmann\\Environment\\Console' => $vendorDir . '/sebastian/environment/src/Console.php', + 'SebastianBergmann\\Environment\\OperatingSystem' => $vendorDir . '/sebastian/environment/src/OperatingSystem.php', + 'SebastianBergmann\\Environment\\Runtime' => $vendorDir . '/sebastian/environment/src/Runtime.php', + 'SebastianBergmann\\Exporter\\Exporter' => $vendorDir . '/sebastian/exporter/src/Exporter.php', + 'SebastianBergmann\\FinderFacade\\Configuration' => $vendorDir . '/sebastian/finder-facade/src/Configuration.php', + 'SebastianBergmann\\FinderFacade\\FinderFacade' => $vendorDir . '/sebastian/finder-facade/src/FinderFacade.php', + 'SebastianBergmann\\GlobalState\\Blacklist' => $vendorDir . '/sebastian/global-state/src/Blacklist.php', + 'SebastianBergmann\\GlobalState\\CodeExporter' => $vendorDir . '/sebastian/global-state/src/CodeExporter.php', + 'SebastianBergmann\\GlobalState\\Exception' => $vendorDir . '/sebastian/global-state/src/exceptions/Exception.php', + 'SebastianBergmann\\GlobalState\\Restorer' => $vendorDir . '/sebastian/global-state/src/Restorer.php', + 'SebastianBergmann\\GlobalState\\RuntimeException' => $vendorDir . '/sebastian/global-state/src/exceptions/RuntimeException.php', + 'SebastianBergmann\\GlobalState\\Snapshot' => $vendorDir . '/sebastian/global-state/src/Snapshot.php', + 'SebastianBergmann\\ObjectEnumerator\\Enumerator' => $vendorDir . '/sebastian/object-enumerator/src/Enumerator.php', + 'SebastianBergmann\\ObjectEnumerator\\Exception' => $vendorDir . '/sebastian/object-enumerator/src/Exception.php', + 'SebastianBergmann\\ObjectEnumerator\\InvalidArgumentException' => $vendorDir . '/sebastian/object-enumerator/src/InvalidArgumentException.php', + 'SebastianBergmann\\ObjectReflector\\Exception' => $vendorDir . '/sebastian/object-reflector/src/Exception.php', + 'SebastianBergmann\\ObjectReflector\\InvalidArgumentException' => $vendorDir . '/sebastian/object-reflector/src/InvalidArgumentException.php', + 'SebastianBergmann\\ObjectReflector\\ObjectReflector' => $vendorDir . '/sebastian/object-reflector/src/ObjectReflector.php', + 'SebastianBergmann\\PHPCOV\\Application' => $vendorDir . '/phpunit/phpcov/src/Application.php', + 'SebastianBergmann\\PHPCOV\\BaseCommand' => $vendorDir . '/phpunit/phpcov/src/BaseCommand.php', + 'SebastianBergmann\\PHPCOV\\ExecuteCommand' => $vendorDir . '/phpunit/phpcov/src/ExecuteCommand.php', + 'SebastianBergmann\\PHPCOV\\MergeCommand' => $vendorDir . '/phpunit/phpcov/src/MergeCommand.php', + 'SebastianBergmann\\PHPCOV\\PatchCoverage' => $vendorDir . '/phpunit/phpcov/src/PatchCoverage.php', + 'SebastianBergmann\\PHPCOV\\PatchCoverageCommand' => $vendorDir . '/phpunit/phpcov/src/PatchCoverageCommand.php', + 'SebastianBergmann\\RecursionContext\\Context' => $vendorDir . '/sebastian/recursion-context/src/Context.php', + 'SebastianBergmann\\RecursionContext\\Exception' => $vendorDir . '/sebastian/recursion-context/src/Exception.php', + 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => $vendorDir . '/sebastian/recursion-context/src/InvalidArgumentException.php', + 'SebastianBergmann\\ResourceOperations\\ResourceOperations' => $vendorDir . '/sebastian/resource-operations/src/ResourceOperations.php', + 'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php', + 'Seld\\JsonLint\\DuplicateKeyException' => $vendorDir . '/seld/jsonlint/src/Seld/JsonLint/DuplicateKeyException.php', + 'Seld\\JsonLint\\JsonParser' => $vendorDir . '/seld/jsonlint/src/Seld/JsonLint/JsonParser.php', + 'Seld\\JsonLint\\Lexer' => $vendorDir . '/seld/jsonlint/src/Seld/JsonLint/Lexer.php', + 'Seld\\JsonLint\\ParsingException' => $vendorDir . '/seld/jsonlint/src/Seld/JsonLint/ParsingException.php', + 'Seld\\JsonLint\\Undefined' => $vendorDir . '/seld/jsonlint/src/Seld/JsonLint/Undefined.php', + 'Seld\\PharUtils\\Timestamps' => $vendorDir . '/seld/phar-utils/src/Timestamps.php', + 'Symfony\\Component\\BrowserKit\\Client' => $vendorDir . '/symfony/browser-kit/Client.php', + 'Symfony\\Component\\BrowserKit\\Cookie' => $vendorDir . '/symfony/browser-kit/Cookie.php', + 'Symfony\\Component\\BrowserKit\\CookieJar' => $vendorDir . '/symfony/browser-kit/CookieJar.php', + 'Symfony\\Component\\BrowserKit\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/browser-kit/Exception/BadMethodCallException.php', + 'Symfony\\Component\\BrowserKit\\History' => $vendorDir . '/symfony/browser-kit/History.php', + 'Symfony\\Component\\BrowserKit\\Request' => $vendorDir . '/symfony/browser-kit/Request.php', + 'Symfony\\Component\\BrowserKit\\Response' => $vendorDir . '/symfony/browser-kit/Response.php', + 'Symfony\\Component\\Config\\ConfigCache' => $vendorDir . '/symfony/config/ConfigCache.php', + 'Symfony\\Component\\Config\\ConfigCacheFactory' => $vendorDir . '/symfony/config/ConfigCacheFactory.php', + 'Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => $vendorDir . '/symfony/config/ConfigCacheFactoryInterface.php', + 'Symfony\\Component\\Config\\ConfigCacheInterface' => $vendorDir . '/symfony/config/ConfigCacheInterface.php', + 'Symfony\\Component\\Config\\Definition\\ArrayNode' => $vendorDir . '/symfony/config/Definition/ArrayNode.php', + 'Symfony\\Component\\Config\\Definition\\BaseNode' => $vendorDir . '/symfony/config/Definition/BaseNode.php', + 'Symfony\\Component\\Config\\Definition\\BooleanNode' => $vendorDir . '/symfony/config/Definition/BooleanNode.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ExprBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/MergeBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NodeBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => $vendorDir . '/symfony/config/Definition/Builder/NodeParentInterface.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NormalizationBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => $vendorDir . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/TreeBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ValidationBuilder.php', + 'Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', + 'Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => $vendorDir . '/symfony/config/Definition/ConfigurationInterface.php', + 'Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', + 'Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', + 'Symfony\\Component\\Config\\Definition\\EnumNode' => $vendorDir . '/symfony/config/Definition/EnumNode.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => $vendorDir . '/symfony/config/Definition/Exception/DuplicateKeyException.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\Exception' => $vendorDir . '/symfony/config/Definition/Exception/Exception.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => $vendorDir . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidTypeException.php', + 'Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => $vendorDir . '/symfony/config/Definition/Exception/UnsetKeyException.php', + 'Symfony\\Component\\Config\\Definition\\FloatNode' => $vendorDir . '/symfony/config/Definition/FloatNode.php', + 'Symfony\\Component\\Config\\Definition\\IntegerNode' => $vendorDir . '/symfony/config/Definition/IntegerNode.php', + 'Symfony\\Component\\Config\\Definition\\NodeInterface' => $vendorDir . '/symfony/config/Definition/NodeInterface.php', + 'Symfony\\Component\\Config\\Definition\\NumericNode' => $vendorDir . '/symfony/config/Definition/NumericNode.php', + 'Symfony\\Component\\Config\\Definition\\Processor' => $vendorDir . '/symfony/config/Definition/Processor.php', + 'Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => $vendorDir . '/symfony/config/Definition/PrototypeNodeInterface.php', + 'Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => $vendorDir . '/symfony/config/Definition/PrototypedArrayNode.php', + 'Symfony\\Component\\Config\\Definition\\ScalarNode' => $vendorDir . '/symfony/config/Definition/ScalarNode.php', + 'Symfony\\Component\\Config\\Definition\\VariableNode' => $vendorDir . '/symfony/config/Definition/VariableNode.php', + 'Symfony\\Component\\Config\\DependencyInjection\\ConfigCachePass' => $vendorDir . '/symfony/config/DependencyInjection/ConfigCachePass.php', + 'Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => $vendorDir . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', + 'Symfony\\Component\\Config\\Exception\\FileLoaderLoadException' => $vendorDir . '/symfony/config/Exception/FileLoaderLoadException.php', + 'Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => $vendorDir . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', + 'Symfony\\Component\\Config\\FileLocator' => $vendorDir . '/symfony/config/FileLocator.php', + 'Symfony\\Component\\Config\\FileLocatorInterface' => $vendorDir . '/symfony/config/FileLocatorInterface.php', + 'Symfony\\Component\\Config\\Loader\\DelegatingLoader' => $vendorDir . '/symfony/config/Loader/DelegatingLoader.php', + 'Symfony\\Component\\Config\\Loader\\FileLoader' => $vendorDir . '/symfony/config/Loader/FileLoader.php', + 'Symfony\\Component\\Config\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/config/Loader/GlobFileLoader.php', + 'Symfony\\Component\\Config\\Loader\\Loader' => $vendorDir . '/symfony/config/Loader/Loader.php', + 'Symfony\\Component\\Config\\Loader\\LoaderInterface' => $vendorDir . '/symfony/config/Loader/LoaderInterface.php', + 'Symfony\\Component\\Config\\Loader\\LoaderResolver' => $vendorDir . '/symfony/config/Loader/LoaderResolver.php', + 'Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => $vendorDir . '/symfony/config/Loader/LoaderResolverInterface.php', + 'Symfony\\Component\\Config\\ResourceCheckerConfigCache' => $vendorDir . '/symfony/config/ResourceCheckerConfigCache.php', + 'Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => $vendorDir . '/symfony/config/ResourceCheckerConfigCacheFactory.php', + 'Symfony\\Component\\Config\\ResourceCheckerInterface' => $vendorDir . '/symfony/config/ResourceCheckerInterface.php', + 'Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => $vendorDir . '/symfony/config/Resource/ClassExistenceResource.php', + 'Symfony\\Component\\Config\\Resource\\ComposerResource' => $vendorDir . '/symfony/config/Resource/ComposerResource.php', + 'Symfony\\Component\\Config\\Resource\\DirectoryResource' => $vendorDir . '/symfony/config/Resource/DirectoryResource.php', + 'Symfony\\Component\\Config\\Resource\\FileExistenceResource' => $vendorDir . '/symfony/config/Resource/FileExistenceResource.php', + 'Symfony\\Component\\Config\\Resource\\FileResource' => $vendorDir . '/symfony/config/Resource/FileResource.php', + 'Symfony\\Component\\Config\\Resource\\GlobResource' => $vendorDir . '/symfony/config/Resource/GlobResource.php', + 'Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', + 'Symfony\\Component\\Config\\Resource\\ReflectionMethodHhvmWrapper' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', + 'Symfony\\Component\\Config\\Resource\\ReflectionParameterHhvmWrapper' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', + 'Symfony\\Component\\Config\\Resource\\ResourceInterface' => $vendorDir . '/symfony/config/Resource/ResourceInterface.php', + 'Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceChecker.php', + 'Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceInterface.php', + 'Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => $vendorDir . '/symfony/config/Util/Exception/InvalidXmlException.php', + 'Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => $vendorDir . '/symfony/config/Util/Exception/XmlParsingException.php', + 'Symfony\\Component\\Config\\Util\\XmlUtils' => $vendorDir . '/symfony/config/Util/XmlUtils.php', + 'Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', + 'Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', + 'Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/ContainerCommandLoader.php', + 'Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/FactoryCommandLoader.php', + 'Symfony\\Component\\Console\\Command\\Command' => $vendorDir . '/symfony/console/Command/Command.php', + 'Symfony\\Component\\Console\\Command\\HelpCommand' => $vendorDir . '/symfony/console/Command/HelpCommand.php', + 'Symfony\\Component\\Console\\Command\\ListCommand' => $vendorDir . '/symfony/console/Command/ListCommand.php', + 'Symfony\\Component\\Console\\Command\\LockableTrait' => $vendorDir . '/symfony/console/Command/LockableTrait.php', + 'Symfony\\Component\\Console\\ConsoleEvents' => $vendorDir . '/symfony/console/ConsoleEvents.php', + 'Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => $vendorDir . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', + 'Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => $vendorDir . '/symfony/console/Descriptor/ApplicationDescription.php', + 'Symfony\\Component\\Console\\Descriptor\\Descriptor' => $vendorDir . '/symfony/console/Descriptor/Descriptor.php', + 'Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => $vendorDir . '/symfony/console/Descriptor/DescriptorInterface.php', + 'Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => $vendorDir . '/symfony/console/Descriptor/JsonDescriptor.php', + 'Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => $vendorDir . '/symfony/console/Descriptor/MarkdownDescriptor.php', + 'Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => $vendorDir . '/symfony/console/Descriptor/TextDescriptor.php', + 'Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => $vendorDir . '/symfony/console/Descriptor/XmlDescriptor.php', + 'Symfony\\Component\\Console\\EventListener\\ErrorListener' => $vendorDir . '/symfony/console/EventListener/ErrorListener.php', + 'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', + 'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', + 'Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', + 'Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent' => $vendorDir . '/symfony/console/Event/ConsoleExceptionEvent.php', + 'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', + 'Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', + 'Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', + 'Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', + 'Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', + 'Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', + 'Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', + 'Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', + 'Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyle.php', + 'Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', + 'Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleStack.php', + 'Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => $vendorDir . '/symfony/console/Helper/DebugFormatterHelper.php', + 'Symfony\\Component\\Console\\Helper\\DescriptorHelper' => $vendorDir . '/symfony/console/Helper/DescriptorHelper.php', + 'Symfony\\Component\\Console\\Helper\\FormatterHelper' => $vendorDir . '/symfony/console/Helper/FormatterHelper.php', + 'Symfony\\Component\\Console\\Helper\\Helper' => $vendorDir . '/symfony/console/Helper/Helper.php', + 'Symfony\\Component\\Console\\Helper\\HelperInterface' => $vendorDir . '/symfony/console/Helper/HelperInterface.php', + 'Symfony\\Component\\Console\\Helper\\HelperSet' => $vendorDir . '/symfony/console/Helper/HelperSet.php', + 'Symfony\\Component\\Console\\Helper\\InputAwareHelper' => $vendorDir . '/symfony/console/Helper/InputAwareHelper.php', + 'Symfony\\Component\\Console\\Helper\\ProcessHelper' => $vendorDir . '/symfony/console/Helper/ProcessHelper.php', + 'Symfony\\Component\\Console\\Helper\\ProgressBar' => $vendorDir . '/symfony/console/Helper/ProgressBar.php', + 'Symfony\\Component\\Console\\Helper\\ProgressIndicator' => $vendorDir . '/symfony/console/Helper/ProgressIndicator.php', + 'Symfony\\Component\\Console\\Helper\\QuestionHelper' => $vendorDir . '/symfony/console/Helper/QuestionHelper.php', + 'Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', + 'Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', + 'Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', + 'Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', + 'Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', + 'Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', + 'Symfony\\Component\\Console\\Input\\ArrayInput' => $vendorDir . '/symfony/console/Input/ArrayInput.php', + 'Symfony\\Component\\Console\\Input\\Input' => $vendorDir . '/symfony/console/Input/Input.php', + 'Symfony\\Component\\Console\\Input\\InputArgument' => $vendorDir . '/symfony/console/Input/InputArgument.php', + 'Symfony\\Component\\Console\\Input\\InputAwareInterface' => $vendorDir . '/symfony/console/Input/InputAwareInterface.php', + 'Symfony\\Component\\Console\\Input\\InputDefinition' => $vendorDir . '/symfony/console/Input/InputDefinition.php', + 'Symfony\\Component\\Console\\Input\\InputInterface' => $vendorDir . '/symfony/console/Input/InputInterface.php', + 'Symfony\\Component\\Console\\Input\\InputOption' => $vendorDir . '/symfony/console/Input/InputOption.php', + 'Symfony\\Component\\Console\\Input\\StreamableInputInterface' => $vendorDir . '/symfony/console/Input/StreamableInputInterface.php', + 'Symfony\\Component\\Console\\Input\\StringInput' => $vendorDir . '/symfony/console/Input/StringInput.php', + 'Symfony\\Component\\Console\\Logger\\ConsoleLogger' => $vendorDir . '/symfony/console/Logger/ConsoleLogger.php', + 'Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', + 'Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', + 'Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', + 'Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', + 'Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', + 'Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', + 'Symfony\\Component\\Console\\Output\\StreamOutput' => $vendorDir . '/symfony/console/Output/StreamOutput.php', + 'Symfony\\Component\\Console\\Question\\ChoiceQuestion' => $vendorDir . '/symfony/console/Question/ChoiceQuestion.php', + 'Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => $vendorDir . '/symfony/console/Question/ConfirmationQuestion.php', + 'Symfony\\Component\\Console\\Question\\Question' => $vendorDir . '/symfony/console/Question/Question.php', + 'Symfony\\Component\\Console\\Style\\OutputStyle' => $vendorDir . '/symfony/console/Style/OutputStyle.php', + 'Symfony\\Component\\Console\\Style\\StyleInterface' => $vendorDir . '/symfony/console/Style/StyleInterface.php', + 'Symfony\\Component\\Console\\Style\\SymfonyStyle' => $vendorDir . '/symfony/console/Style/SymfonyStyle.php', + 'Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', + 'Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', + 'Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', + 'Symfony\\Component\\CssSelector\\CssSelectorConverter' => $vendorDir . '/symfony/css-selector/CssSelectorConverter.php', + 'Symfony\\Component\\CssSelector\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/css-selector/Exception/ExceptionInterface.php', + 'Symfony\\Component\\CssSelector\\Exception\\ExpressionErrorException' => $vendorDir . '/symfony/css-selector/Exception/ExpressionErrorException.php', + 'Symfony\\Component\\CssSelector\\Exception\\InternalErrorException' => $vendorDir . '/symfony/css-selector/Exception/InternalErrorException.php', + 'Symfony\\Component\\CssSelector\\Exception\\ParseException' => $vendorDir . '/symfony/css-selector/Exception/ParseException.php', + 'Symfony\\Component\\CssSelector\\Exception\\SyntaxErrorException' => $vendorDir . '/symfony/css-selector/Exception/SyntaxErrorException.php', + 'Symfony\\Component\\CssSelector\\Node\\AbstractNode' => $vendorDir . '/symfony/css-selector/Node/AbstractNode.php', + 'Symfony\\Component\\CssSelector\\Node\\AttributeNode' => $vendorDir . '/symfony/css-selector/Node/AttributeNode.php', + 'Symfony\\Component\\CssSelector\\Node\\ClassNode' => $vendorDir . '/symfony/css-selector/Node/ClassNode.php', + 'Symfony\\Component\\CssSelector\\Node\\CombinedSelectorNode' => $vendorDir . '/symfony/css-selector/Node/CombinedSelectorNode.php', + 'Symfony\\Component\\CssSelector\\Node\\ElementNode' => $vendorDir . '/symfony/css-selector/Node/ElementNode.php', + 'Symfony\\Component\\CssSelector\\Node\\FunctionNode' => $vendorDir . '/symfony/css-selector/Node/FunctionNode.php', + 'Symfony\\Component\\CssSelector\\Node\\HashNode' => $vendorDir . '/symfony/css-selector/Node/HashNode.php', + 'Symfony\\Component\\CssSelector\\Node\\NegationNode' => $vendorDir . '/symfony/css-selector/Node/NegationNode.php', + 'Symfony\\Component\\CssSelector\\Node\\NodeInterface' => $vendorDir . '/symfony/css-selector/Node/NodeInterface.php', + 'Symfony\\Component\\CssSelector\\Node\\PseudoNode' => $vendorDir . '/symfony/css-selector/Node/PseudoNode.php', + 'Symfony\\Component\\CssSelector\\Node\\SelectorNode' => $vendorDir . '/symfony/css-selector/Node/SelectorNode.php', + 'Symfony\\Component\\CssSelector\\Node\\Specificity' => $vendorDir . '/symfony/css-selector/Node/Specificity.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\CommentHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/CommentHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' => $vendorDir . '/symfony/css-selector/Parser/Handler/HandlerInterface.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\HashHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/HashHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\IdentifierHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/IdentifierHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\NumberHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/NumberHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\StringHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/StringHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Handler\\WhitespaceHandler' => $vendorDir . '/symfony/css-selector/Parser/Handler/WhitespaceHandler.php', + 'Symfony\\Component\\CssSelector\\Parser\\Parser' => $vendorDir . '/symfony/css-selector/Parser/Parser.php', + 'Symfony\\Component\\CssSelector\\Parser\\ParserInterface' => $vendorDir . '/symfony/css-selector/Parser/ParserInterface.php', + 'Symfony\\Component\\CssSelector\\Parser\\Reader' => $vendorDir . '/symfony/css-selector/Parser/Reader.php', + 'Symfony\\Component\\CssSelector\\Parser\\Shortcut\\ClassParser' => $vendorDir . '/symfony/css-selector/Parser/Shortcut/ClassParser.php', + 'Symfony\\Component\\CssSelector\\Parser\\Shortcut\\ElementParser' => $vendorDir . '/symfony/css-selector/Parser/Shortcut/ElementParser.php', + 'Symfony\\Component\\CssSelector\\Parser\\Shortcut\\EmptyStringParser' => $vendorDir . '/symfony/css-selector/Parser/Shortcut/EmptyStringParser.php', + 'Symfony\\Component\\CssSelector\\Parser\\Shortcut\\HashParser' => $vendorDir . '/symfony/css-selector/Parser/Shortcut/HashParser.php', + 'Symfony\\Component\\CssSelector\\Parser\\Token' => $vendorDir . '/symfony/css-selector/Parser/Token.php', + 'Symfony\\Component\\CssSelector\\Parser\\TokenStream' => $vendorDir . '/symfony/css-selector/Parser/TokenStream.php', + 'Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\Tokenizer' => $vendorDir . '/symfony/css-selector/Parser/Tokenizer/Tokenizer.php', + 'Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\TokenizerEscaping' => $vendorDir . '/symfony/css-selector/Parser/Tokenizer/TokenizerEscaping.php', + 'Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\TokenizerPatterns' => $vendorDir . '/symfony/css-selector/Parser/Tokenizer/TokenizerPatterns.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\AbstractExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/AbstractExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\AttributeMatchingExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/AttributeMatchingExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\CombinationExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/CombinationExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/css-selector/XPath/Extension/ExtensionInterface.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\FunctionExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/FunctionExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\HtmlExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/HtmlExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\NodeExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/NodeExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Extension\\PseudoClassExtension' => $vendorDir . '/symfony/css-selector/XPath/Extension/PseudoClassExtension.php', + 'Symfony\\Component\\CssSelector\\XPath\\Translator' => $vendorDir . '/symfony/css-selector/XPath/Translator.php', + 'Symfony\\Component\\CssSelector\\XPath\\TranslatorInterface' => $vendorDir . '/symfony/css-selector/XPath/TranslatorInterface.php', + 'Symfony\\Component\\CssSelector\\XPath\\XPathExpr' => $vendorDir . '/symfony/css-selector/XPath/XPathExpr.php', + 'Symfony\\Component\\Debug\\BufferingLogger' => $vendorDir . '/symfony/debug/BufferingLogger.php', + 'Symfony\\Component\\Debug\\Debug' => $vendorDir . '/symfony/debug/Debug.php', + 'Symfony\\Component\\Debug\\DebugClassLoader' => $vendorDir . '/symfony/debug/DebugClassLoader.php', + 'Symfony\\Component\\Debug\\ErrorHandler' => $vendorDir . '/symfony/debug/ErrorHandler.php', + 'Symfony\\Component\\Debug\\ExceptionHandler' => $vendorDir . '/symfony/debug/ExceptionHandler.php', + 'Symfony\\Component\\Debug\\Exception\\ClassNotFoundException' => $vendorDir . '/symfony/debug/Exception/ClassNotFoundException.php', + 'Symfony\\Component\\Debug\\Exception\\ContextErrorException' => $vendorDir . '/symfony/debug/Exception/ContextErrorException.php', + 'Symfony\\Component\\Debug\\Exception\\FatalErrorException' => $vendorDir . '/symfony/debug/Exception/FatalErrorException.php', + 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError' => $vendorDir . '/symfony/debug/Exception/FatalThrowableError.php', + 'Symfony\\Component\\Debug\\Exception\\FlattenException' => $vendorDir . '/symfony/debug/Exception/FlattenException.php', + 'Symfony\\Component\\Debug\\Exception\\OutOfMemoryException' => $vendorDir . '/symfony/debug/Exception/OutOfMemoryException.php', + 'Symfony\\Component\\Debug\\Exception\\SilencedErrorContext' => $vendorDir . '/symfony/debug/Exception/SilencedErrorContext.php', + 'Symfony\\Component\\Debug\\Exception\\UndefinedFunctionException' => $vendorDir . '/symfony/debug/Exception/UndefinedFunctionException.php', + 'Symfony\\Component\\Debug\\Exception\\UndefinedMethodException' => $vendorDir . '/symfony/debug/Exception/UndefinedMethodException.php', + 'Symfony\\Component\\Debug\\FatalErrorHandler\\ClassNotFoundFatalErrorHandler' => $vendorDir . '/symfony/debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php', + 'Symfony\\Component\\Debug\\FatalErrorHandler\\FatalErrorHandlerInterface' => $vendorDir . '/symfony/debug/FatalErrorHandler/FatalErrorHandlerInterface.php', + 'Symfony\\Component\\Debug\\FatalErrorHandler\\UndefinedFunctionFatalErrorHandler' => $vendorDir . '/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php', + 'Symfony\\Component\\Debug\\FatalErrorHandler\\UndefinedMethodFatalErrorHandler' => $vendorDir . '/symfony/debug/FatalErrorHandler/UndefinedMethodFatalErrorHandler.php', + 'Symfony\\Component\\DependencyInjection\\Alias' => $vendorDir . '/symfony/dependency-injection/Alias.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => $vendorDir . '/symfony/dependency-injection/Argument/ArgumentInterface.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => $vendorDir . '/symfony/dependency-injection/Argument/BoundArgument.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/IteratorArgument.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => $vendorDir . '/symfony/dependency-injection/Argument/RewindableGenerator.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', + 'Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', + 'Symfony\\Component\\DependencyInjection\\ChildDefinition' => $vendorDir . '/symfony/dependency-injection/ChildDefinition.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AutowireExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireExceptionPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowirePass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => $vendorDir . '/symfony/dependency-injection/Compiler/Compiler.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\FactoryReturnTypePass' => $vendorDir . '/symfony/dependency-injection/Compiler/FactoryReturnTypePass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\LoggingFormatter' => $vendorDir . '/symfony/dependency-injection/Compiler/LoggingFormatter.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationContainerBuilder' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationParameterBag' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => $vendorDir . '/symfony/dependency-injection/Compiler/PassConfig.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => $vendorDir . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RepeatablePassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/RepeatablePassInterface.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\RepeatedPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RepeatedPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDefinitionTemplatesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveDefinitionTemplatesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolvePrivatesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', + 'Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', + 'Symfony\\Component\\DependencyInjection\\Config\\AutowireServiceResource' => $vendorDir . '/symfony/dependency-injection/Config/AutowireServiceResource.php', + 'Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResource.php', + 'Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', + 'Symfony\\Component\\DependencyInjection\\Container' => $vendorDir . '/symfony/dependency-injection/Container.php', + 'Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => $vendorDir . '/symfony/dependency-injection/ContainerAwareInterface.php', + 'Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => $vendorDir . '/symfony/dependency-injection/ContainerAwareTrait.php', + 'Symfony\\Component\\DependencyInjection\\ContainerBuilder' => $vendorDir . '/symfony/dependency-injection/ContainerBuilder.php', + 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => $vendorDir . '/symfony/dependency-injection/ContainerInterface.php', + 'Symfony\\Component\\DependencyInjection\\Definition' => $vendorDir . '/symfony/dependency-injection/Definition.php', + 'Symfony\\Component\\DependencyInjection\\DefinitionDecorator' => $vendorDir . '/symfony/dependency-injection/DefinitionDecorator.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => $vendorDir . '/symfony/dependency-injection/Dumper/Dumper.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/Dumper/DumperInterface.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/PhpDumper.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/XmlDumper.php', + 'Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/YamlDumper.php', + 'Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessor.php', + 'Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessorInterface.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => $vendorDir . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/dependency-injection/Exception/BadMethodCallException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvParameterException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/dependency-injection/Exception/ExceptionInterface.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => $vendorDir . '/symfony/dependency-injection/Exception/LogicException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => $vendorDir . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => $vendorDir . '/symfony/dependency-injection/Exception/RuntimeException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', + 'Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', + 'Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguage.php', + 'Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguageProvider.php', + 'Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', + 'Symfony\\Component\\DependencyInjection\\Extension\\Extension' => $vendorDir . '/symfony/dependency-injection/Extension/Extension.php', + 'Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ExtensionInterface.php', + 'Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', + 'Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', + 'Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', + 'Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', + 'Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', + 'Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => $vendorDir . '/symfony/dependency-injection/Loader/ClosureLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => $vendorDir . '/symfony/dependency-injection/Loader/DirectoryLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/FileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/GlobFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/IniFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\ProtectedPhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/XmlFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/YamlFileLoader.php', + 'Symfony\\Component\\DependencyInjection\\Parameter' => $vendorDir . '/symfony/dependency-injection/Parameter.php', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', + 'Symfony\\Component\\DependencyInjection\\Reference' => $vendorDir . '/symfony/dependency-injection/Reference.php', + 'Symfony\\Component\\DependencyInjection\\ResettableContainerInterface' => $vendorDir . '/symfony/dependency-injection/ResettableContainerInterface.php', + 'Symfony\\Component\\DependencyInjection\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/ServiceLocator.php', + 'Symfony\\Component\\DependencyInjection\\ServiceSubscriberInterface' => $vendorDir . '/symfony/dependency-injection/ServiceSubscriberInterface.php', + 'Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => $vendorDir . '/symfony/dependency-injection/TaggedContainerInterface.php', + 'Symfony\\Component\\DependencyInjection\\TypedReference' => $vendorDir . '/symfony/dependency-injection/TypedReference.php', + 'Symfony\\Component\\DependencyInjection\\Variable' => $vendorDir . '/symfony/dependency-injection/Variable.php', + 'Symfony\\Component\\DomCrawler\\AbstractUriElement' => $vendorDir . '/symfony/dom-crawler/AbstractUriElement.php', + 'Symfony\\Component\\DomCrawler\\Crawler' => $vendorDir . '/symfony/dom-crawler/Crawler.php', + 'Symfony\\Component\\DomCrawler\\Field\\ChoiceFormField' => $vendorDir . '/symfony/dom-crawler/Field/ChoiceFormField.php', + 'Symfony\\Component\\DomCrawler\\Field\\FileFormField' => $vendorDir . '/symfony/dom-crawler/Field/FileFormField.php', + 'Symfony\\Component\\DomCrawler\\Field\\FormField' => $vendorDir . '/symfony/dom-crawler/Field/FormField.php', + 'Symfony\\Component\\DomCrawler\\Field\\InputFormField' => $vendorDir . '/symfony/dom-crawler/Field/InputFormField.php', + 'Symfony\\Component\\DomCrawler\\Field\\TextareaFormField' => $vendorDir . '/symfony/dom-crawler/Field/TextareaFormField.php', + 'Symfony\\Component\\DomCrawler\\Form' => $vendorDir . '/symfony/dom-crawler/Form.php', + 'Symfony\\Component\\DomCrawler\\FormFieldRegistry' => $vendorDir . '/symfony/dom-crawler/FormFieldRegistry.php', + 'Symfony\\Component\\DomCrawler\\Image' => $vendorDir . '/symfony/dom-crawler/Image.php', + 'Symfony\\Component\\DomCrawler\\Link' => $vendorDir . '/symfony/dom-crawler/Link.php', + 'Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher' => $vendorDir . '/symfony/event-dispatcher/ContainerAwareEventDispatcher.php', + 'Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher' => $vendorDir . '/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php', + 'Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcherInterface' => $vendorDir . '/symfony/event-dispatcher/Debug/TraceableEventDispatcherInterface.php', + 'Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener' => $vendorDir . '/symfony/event-dispatcher/Debug/WrappedListener.php', + 'Symfony\\Component\\EventDispatcher\\DependencyInjection\\ExtractingEventDispatcher' => $vendorDir . '/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php', + 'Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass' => $vendorDir . '/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php', + 'Symfony\\Component\\EventDispatcher\\Event' => $vendorDir . '/symfony/event-dispatcher/Event.php', + 'Symfony\\Component\\EventDispatcher\\EventDispatcher' => $vendorDir . '/symfony/event-dispatcher/EventDispatcher.php', + 'Symfony\\Component\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/symfony/event-dispatcher/EventDispatcherInterface.php', + 'Symfony\\Component\\EventDispatcher\\EventSubscriberInterface' => $vendorDir . '/symfony/event-dispatcher/EventSubscriberInterface.php', + 'Symfony\\Component\\EventDispatcher\\GenericEvent' => $vendorDir . '/symfony/event-dispatcher/GenericEvent.php', + 'Symfony\\Component\\EventDispatcher\\ImmutableEventDispatcher' => $vendorDir . '/symfony/event-dispatcher/ImmutableEventDispatcher.php', + 'Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/filesystem/Exception/FileNotFoundException.php', + 'Symfony\\Component\\Filesystem\\Exception\\IOException' => $vendorDir . '/symfony/filesystem/Exception/IOException.php', + 'Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/IOExceptionInterface.php', + 'Symfony\\Component\\Filesystem\\Filesystem' => $vendorDir . '/symfony/filesystem/Filesystem.php', + 'Symfony\\Component\\Filesystem\\LockHandler' => $vendorDir . '/symfony/filesystem/LockHandler.php', + 'Symfony\\Component\\Finder\\Comparator\\Comparator' => $vendorDir . '/symfony/finder/Comparator/Comparator.php', + 'Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', + 'Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', + 'Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', + 'Symfony\\Component\\Finder\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/finder/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', + 'Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', + 'Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DateRangeFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => $vendorDir . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\FilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', + 'Symfony\\Component\\Finder\\Iterator\\SortableIterator' => $vendorDir . '/symfony/finder/Iterator/SortableIterator.php', + 'Symfony\\Component\\Finder\\SplFileInfo' => $vendorDir . '/symfony/finder/SplFileInfo.php', + 'Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', + 'Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', + 'Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', + 'Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', + 'Symfony\\Component\\Process\\InputStream' => $vendorDir . '/symfony/process/InputStream.php', + 'Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', + 'Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', + 'Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', + 'Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', + 'Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', + 'Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', + 'Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', + 'Symfony\\Component\\Process\\ProcessBuilder' => $vendorDir . '/symfony/process/ProcessBuilder.php', + 'Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', + 'Symfony\\Component\\Stopwatch\\Section' => $vendorDir . '/symfony/stopwatch/Section.php', + 'Symfony\\Component\\Stopwatch\\Stopwatch' => $vendorDir . '/symfony/stopwatch/Stopwatch.php', + 'Symfony\\Component\\Stopwatch\\StopwatchEvent' => $vendorDir . '/symfony/stopwatch/StopwatchEvent.php', + 'Symfony\\Component\\Stopwatch\\StopwatchPeriod' => $vendorDir . '/symfony/stopwatch/StopwatchPeriod.php', + 'Symfony\\Component\\Translation\\Catalogue\\AbstractOperation' => $vendorDir . '/symfony/translation/Catalogue/AbstractOperation.php', + 'Symfony\\Component\\Translation\\Catalogue\\MergeOperation' => $vendorDir . '/symfony/translation/Catalogue/MergeOperation.php', + 'Symfony\\Component\\Translation\\Catalogue\\OperationInterface' => $vendorDir . '/symfony/translation/Catalogue/OperationInterface.php', + 'Symfony\\Component\\Translation\\Catalogue\\TargetOperation' => $vendorDir . '/symfony/translation/Catalogue/TargetOperation.php', + 'Symfony\\Component\\Translation\\Command\\XliffLintCommand' => $vendorDir . '/symfony/translation/Command/XliffLintCommand.php', + 'Symfony\\Component\\Translation\\DataCollectorTranslator' => $vendorDir . '/symfony/translation/DataCollectorTranslator.php', + 'Symfony\\Component\\Translation\\DataCollector\\TranslationDataCollector' => $vendorDir . '/symfony/translation/DataCollector/TranslationDataCollector.php', + 'Symfony\\Component\\Translation\\DependencyInjection\\TranslationDumperPass' => $vendorDir . '/symfony/translation/DependencyInjection/TranslationDumperPass.php', + 'Symfony\\Component\\Translation\\DependencyInjection\\TranslationExtractorPass' => $vendorDir . '/symfony/translation/DependencyInjection/TranslationExtractorPass.php', + 'Symfony\\Component\\Translation\\DependencyInjection\\TranslatorPass' => $vendorDir . '/symfony/translation/DependencyInjection/TranslatorPass.php', + 'Symfony\\Component\\Translation\\Dumper\\CsvFileDumper' => $vendorDir . '/symfony/translation/Dumper/CsvFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\DumperInterface' => $vendorDir . '/symfony/translation/Dumper/DumperInterface.php', + 'Symfony\\Component\\Translation\\Dumper\\FileDumper' => $vendorDir . '/symfony/translation/Dumper/FileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper' => $vendorDir . '/symfony/translation/Dumper/IcuResFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\IniFileDumper' => $vendorDir . '/symfony/translation/Dumper/IniFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\JsonFileDumper' => $vendorDir . '/symfony/translation/Dumper/JsonFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\MoFileDumper' => $vendorDir . '/symfony/translation/Dumper/MoFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\PhpFileDumper' => $vendorDir . '/symfony/translation/Dumper/PhpFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\PoFileDumper' => $vendorDir . '/symfony/translation/Dumper/PoFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\QtFileDumper' => $vendorDir . '/symfony/translation/Dumper/QtFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\XliffFileDumper' => $vendorDir . '/symfony/translation/Dumper/XliffFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\YamlFileDumper' => $vendorDir . '/symfony/translation/Dumper/YamlFileDumper.php', + 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/translation/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Translation\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/translation/Exception/InvalidArgumentException.php', + 'Symfony\\Component\\Translation\\Exception\\InvalidResourceException' => $vendorDir . '/symfony/translation/Exception/InvalidResourceException.php', + 'Symfony\\Component\\Translation\\Exception\\LogicException' => $vendorDir . '/symfony/translation/Exception/LogicException.php', + 'Symfony\\Component\\Translation\\Exception\\NotFoundResourceException' => $vendorDir . '/symfony/translation/Exception/NotFoundResourceException.php', + 'Symfony\\Component\\Translation\\Exception\\RuntimeException' => $vendorDir . '/symfony/translation/Exception/RuntimeException.php', + 'Symfony\\Component\\Translation\\Extractor\\AbstractFileExtractor' => $vendorDir . '/symfony/translation/Extractor/AbstractFileExtractor.php', + 'Symfony\\Component\\Translation\\Extractor\\ChainExtractor' => $vendorDir . '/symfony/translation/Extractor/ChainExtractor.php', + 'Symfony\\Component\\Translation\\Extractor\\ExtractorInterface' => $vendorDir . '/symfony/translation/Extractor/ExtractorInterface.php', + 'Symfony\\Component\\Translation\\Extractor\\PhpExtractor' => $vendorDir . '/symfony/translation/Extractor/PhpExtractor.php', + 'Symfony\\Component\\Translation\\Extractor\\PhpStringTokenParser' => $vendorDir . '/symfony/translation/Extractor/PhpStringTokenParser.php', + 'Symfony\\Component\\Translation\\Formatter\\ChoiceMessageFormatterInterface' => $vendorDir . '/symfony/translation/Formatter/ChoiceMessageFormatterInterface.php', + 'Symfony\\Component\\Translation\\Formatter\\MessageFormatter' => $vendorDir . '/symfony/translation/Formatter/MessageFormatter.php', + 'Symfony\\Component\\Translation\\Formatter\\MessageFormatterInterface' => $vendorDir . '/symfony/translation/Formatter/MessageFormatterInterface.php', + 'Symfony\\Component\\Translation\\IdentityTranslator' => $vendorDir . '/symfony/translation/IdentityTranslator.php', + 'Symfony\\Component\\Translation\\Interval' => $vendorDir . '/symfony/translation/Interval.php', + 'Symfony\\Component\\Translation\\Loader\\ArrayLoader' => $vendorDir . '/symfony/translation/Loader/ArrayLoader.php', + 'Symfony\\Component\\Translation\\Loader\\CsvFileLoader' => $vendorDir . '/symfony/translation/Loader/CsvFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\FileLoader' => $vendorDir . '/symfony/translation/Loader/FileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IcuDatFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuDatFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IcuResFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuResFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IniFileLoader' => $vendorDir . '/symfony/translation/Loader/IniFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\JsonFileLoader' => $vendorDir . '/symfony/translation/Loader/JsonFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\LoaderInterface' => $vendorDir . '/symfony/translation/Loader/LoaderInterface.php', + 'Symfony\\Component\\Translation\\Loader\\MoFileLoader' => $vendorDir . '/symfony/translation/Loader/MoFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/translation/Loader/PhpFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\PoFileLoader' => $vendorDir . '/symfony/translation/Loader/PoFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\QtFileLoader' => $vendorDir . '/symfony/translation/Loader/QtFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader' => $vendorDir . '/symfony/translation/Loader/XliffFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/translation/Loader/YamlFileLoader.php', + 'Symfony\\Component\\Translation\\LoggingTranslator' => $vendorDir . '/symfony/translation/LoggingTranslator.php', + 'Symfony\\Component\\Translation\\MessageCatalogue' => $vendorDir . '/symfony/translation/MessageCatalogue.php', + 'Symfony\\Component\\Translation\\MessageCatalogueInterface' => $vendorDir . '/symfony/translation/MessageCatalogueInterface.php', + 'Symfony\\Component\\Translation\\MessageSelector' => $vendorDir . '/symfony/translation/MessageSelector.php', + 'Symfony\\Component\\Translation\\MetadataAwareInterface' => $vendorDir . '/symfony/translation/MetadataAwareInterface.php', + 'Symfony\\Component\\Translation\\PluralizationRules' => $vendorDir . '/symfony/translation/PluralizationRules.php', + 'Symfony\\Component\\Translation\\Reader\\TranslationReader' => $vendorDir . '/symfony/translation/Reader/TranslationReader.php', + 'Symfony\\Component\\Translation\\Reader\\TranslationReaderInterface' => $vendorDir . '/symfony/translation/Reader/TranslationReaderInterface.php', + 'Symfony\\Component\\Translation\\Translator' => $vendorDir . '/symfony/translation/Translator.php', + 'Symfony\\Component\\Translation\\TranslatorBagInterface' => $vendorDir . '/symfony/translation/TranslatorBagInterface.php', + 'Symfony\\Component\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/translation/TranslatorInterface.php', + 'Symfony\\Component\\Translation\\Util\\ArrayConverter' => $vendorDir . '/symfony/translation/Util/ArrayConverter.php', + 'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => $vendorDir . '/symfony/translation/Writer/TranslationWriter.php', + 'Symfony\\Component\\Translation\\Writer\\TranslationWriterInterface' => $vendorDir . '/symfony/translation/Writer/TranslationWriterInterface.php', + 'Symfony\\Component\\Yaml\\Command\\LintCommand' => $vendorDir . '/symfony/yaml/Command/LintCommand.php', + 'Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php', + 'Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php', + 'Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php', + 'Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/yaml/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Yaml\\Exception\\ParseException' => $vendorDir . '/symfony/yaml/Exception/ParseException.php', + 'Symfony\\Component\\Yaml\\Exception\\RuntimeException' => $vendorDir . '/symfony/yaml/Exception/RuntimeException.php', + 'Symfony\\Component\\Yaml\\Inline' => $vendorDir . '/symfony/yaml/Inline.php', + 'Symfony\\Component\\Yaml\\Parser' => $vendorDir . '/symfony/yaml/Parser.php', + 'Symfony\\Component\\Yaml\\Tag\\TaggedValue' => $vendorDir . '/symfony/yaml/Tag/TaggedValue.php', + 'Symfony\\Component\\Yaml\\Unescaper' => $vendorDir . '/symfony/yaml/Unescaper.php', + 'Symfony\\Component\\Yaml\\Yaml' => $vendorDir . '/symfony/yaml/Yaml.php', + 'Symfony\\Contracts\\Cache\\CacheInterface' => $vendorDir . '/symfony/contracts/Cache/CacheInterface.php', + 'Symfony\\Contracts\\Cache\\CacheTrait' => $vendorDir . '/symfony/contracts/Cache/CacheTrait.php', + 'Symfony\\Contracts\\Cache\\CallbackInterface' => $vendorDir . '/symfony/contracts/Cache/CallbackInterface.php', + 'Symfony\\Contracts\\Cache\\ItemInterface' => $vendorDir . '/symfony/contracts/Cache/ItemInterface.php', + 'Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => $vendorDir . '/symfony/contracts/Cache/TagAwareCacheInterface.php', + 'Symfony\\Contracts\\Service\\ResetInterface' => $vendorDir . '/symfony/contracts/Service/ResetInterface.php', + 'Symfony\\Contracts\\Service\\ServiceLocatorTrait' => $vendorDir . '/symfony/contracts/Service/ServiceLocatorTrait.php', + 'Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberInterface.php', + 'Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberTrait.php', + 'Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'Symfony\\Contracts\\Tests\\Cache\\TestPool' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'Symfony\\Contracts\\Tests\\Service\\ChildTestService' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'Symfony\\Contracts\\Tests\\Service\\ParentTestService' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'Symfony\\Contracts\\Tests\\Service\\ServiceLocatorTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceLocatorTest.php', + 'Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'Symfony\\Contracts\\Tests\\Service\\TestService' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'Symfony\\Contracts\\Tests\\Translation\\TranslatorTest' => $vendorDir . '/symfony/contracts/Tests/Translation/TranslatorTest.php', + 'Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/contracts/Translation/LocaleAwareInterface.php', + 'Symfony\\Contracts\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatorInterface.php', + 'Symfony\\Contracts\\Translation\\TranslatorTrait' => $vendorDir . '/symfony/contracts/Translation/TranslatorTrait.php', + 'Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', + 'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', + 'Text_Template' => $vendorDir . '/phpunit/php-text-template/src/Template.php', + 'TheSeer\\Tokenizer\\Exception' => $vendorDir . '/theseer/tokenizer/src/Exception.php', + 'TheSeer\\Tokenizer\\NamespaceUri' => $vendorDir . '/theseer/tokenizer/src/NamespaceUri.php', + 'TheSeer\\Tokenizer\\NamespaceUriException' => $vendorDir . '/theseer/tokenizer/src/NamespaceUriException.php', + 'TheSeer\\Tokenizer\\Token' => $vendorDir . '/theseer/tokenizer/src/Token.php', + 'TheSeer\\Tokenizer\\TokenCollection' => $vendorDir . '/theseer/tokenizer/src/TokenCollection.php', + 'TheSeer\\Tokenizer\\TokenCollectionException' => $vendorDir . '/theseer/tokenizer/src/TokenCollectionException.php', + 'TheSeer\\Tokenizer\\Tokenizer' => $vendorDir . '/theseer/tokenizer/src/Tokenizer.php', + 'TheSeer\\Tokenizer\\XMLSerializer' => $vendorDir . '/theseer/tokenizer/src/XMLSerializer.php', + 'TheSeer\\fDOM\\CSS\\DollarEqualRule' => $vendorDir . '/theseer/fdomdocument/src/css/DollarEqualRule.php', + 'TheSeer\\fDOM\\CSS\\NotRule' => $vendorDir . '/theseer/fdomdocument/src/css/NotRule.php', + 'TheSeer\\fDOM\\CSS\\NthChildRule' => $vendorDir . '/theseer/fdomdocument/src/css/NthChildRule.php', + 'TheSeer\\fDOM\\CSS\\RegexRule' => $vendorDir . '/theseer/fdomdocument/src/css/RegexRule.php', + 'TheSeer\\fDOM\\CSS\\RuleInterface' => $vendorDir . '/theseer/fdomdocument/src/css/RuleInterface.php', + 'TheSeer\\fDOM\\CSS\\Translator' => $vendorDir . '/theseer/fdomdocument/src/css/Translator.php', + 'TheSeer\\fDOM\\XPathQuery' => $vendorDir . '/theseer/fdomdocument/src/XPathQuery.php', + 'TheSeer\\fDOM\\XPathQueryException' => $vendorDir . '/theseer/fdomdocument/src/XPathQueryException.php', + 'TheSeer\\fDOM\\fDOMDocument' => $vendorDir . '/theseer/fdomdocument/src/fDOMDocument.php', + 'TheSeer\\fDOM\\fDOMDocumentFragment' => $vendorDir . '/theseer/fdomdocument/src/fDOMDocumentFragment.php', + 'TheSeer\\fDOM\\fDOMElement' => $vendorDir . '/theseer/fdomdocument/src/fDOMElement.php', + 'TheSeer\\fDOM\\fDOMException' => $vendorDir . '/theseer/fdomdocument/src/fDOMException.php', + 'TheSeer\\fDOM\\fDOMNode' => $vendorDir . '/theseer/fdomdocument/src/fDOMNode.php', + 'TheSeer\\fDOM\\fDOMXPath' => $vendorDir . '/theseer/fdomdocument/src/fDOMXPath.php', 'WPGraphQL\\ACF\\ACF' => $baseDir . '/src/class-acf.php', 'WPGraphQL\\ACF\\ACF_Settings' => $baseDir . '/src/class-acfsettings.php', 'WPGraphQL\\ACF\\Config' => $baseDir . '/src/class-config.php', + 'WP_CLI' => $vendorDir . '/wp-cli/wp-cli/php/class-wp-cli.php', + 'WP_CLI\\AutoloadSplitter' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/AutoloadSplitter.php', + 'WP_CLI\\AutoloadSplitter\\AutoloadGenerator' => $vendorDir . '/wp-cli/autoload-splitter/src/AutoloadGenerator.php', + 'WP_CLI\\AutoloadSplitter\\ComposerPlugin' => $vendorDir . '/wp-cli/autoload-splitter/src/ComposerPlugin.php', + 'WP_CLI\\Autoloader' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Autoloader.php', + 'WP_CLI\\Bootstrap\\AutoloaderStep' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/AutoloaderStep.php', + 'WP_CLI\\Bootstrap\\BootstrapState' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/BootstrapState.php', + 'WP_CLI\\Bootstrap\\BootstrapStep' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/BootstrapStep.php', + 'WP_CLI\\Bootstrap\\ConfigureRunner' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/ConfigureRunner.php', + 'WP_CLI\\Bootstrap\\DeclareAbstractBaseCommand' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/DeclareAbstractBaseCommand.php', + 'WP_CLI\\Bootstrap\\DeclareMainClass' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/DeclareMainClass.php', + 'WP_CLI\\Bootstrap\\DefineProtectedCommands' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/DefineProtectedCommands.php', + 'WP_CLI\\Bootstrap\\IncludeBundledAutoloader' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeBundledAutoloader.php', + 'WP_CLI\\Bootstrap\\IncludeFallbackAutoloader' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeFallbackAutoloader.php', + 'WP_CLI\\Bootstrap\\IncludeFrameworkAutoloader' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeFrameworkAutoloader.php', + 'WP_CLI\\Bootstrap\\IncludePackageAutoloader' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludePackageAutoloader.php', + 'WP_CLI\\Bootstrap\\InitializeColorization' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeColorization.php', + 'WP_CLI\\Bootstrap\\InitializeLogger' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeLogger.php', + 'WP_CLI\\Bootstrap\\LaunchRunner' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php', + 'WP_CLI\\Bootstrap\\LoadDispatcher' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadDispatcher.php', + 'WP_CLI\\Bootstrap\\LoadRequiredCommand' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadRequiredCommand.php', + 'WP_CLI\\Bootstrap\\LoadUtilityFunctions' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadUtilityFunctions.php', + 'WP_CLI\\Bootstrap\\RegisterDeferredCommands' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/RegisterDeferredCommands.php', + 'WP_CLI\\Bootstrap\\RegisterFrameworkCommands' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/RegisterFrameworkCommands.php', + 'WP_CLI\\Bootstrap\\RunnerInstance' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Bootstrap/RunnerInstance.php', + 'WP_CLI\\Completions' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Completions.php', + 'WP_CLI\\ComposerIO' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/ComposerIO.php', + 'WP_CLI\\Configurator' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Configurator.php', + 'WP_CLI\\Dispatcher\\CommandAddition' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandAddition.php', + 'WP_CLI\\Dispatcher\\CommandFactory' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php', + 'WP_CLI\\Dispatcher\\CommandNamespace' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandNamespace.php', + 'WP_CLI\\Dispatcher\\CompositeCommand' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php', + 'WP_CLI\\Dispatcher\\RootCommand' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/RootCommand.php', + 'WP_CLI\\Dispatcher\\Subcommand' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php', + 'WP_CLI\\DocParser' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/DocParser.php', + 'WP_CLI\\ExitException' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/ExitException.php', + 'WP_CLI\\Extractor' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Extractor.php', + 'WP_CLI\\Fetchers\\Base' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Fetchers/Base.php', + 'WP_CLI\\FileCache' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/FileCache.php', + 'WP_CLI\\Formatter' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Formatter.php', + 'WP_CLI\\Iterators\\CSV' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Iterators/CSV.php', + 'WP_CLI\\Iterators\\Exception' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Iterators/Exception.php', + 'WP_CLI\\Iterators\\Query' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Iterators/Query.php', + 'WP_CLI\\Iterators\\Table' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Iterators/Table.php', + 'WP_CLI\\Iterators\\Transform' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Iterators/Transform.php', + 'WP_CLI\\Loggers\\Base' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php', + 'WP_CLI\\Loggers\\Execution' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Loggers/Execution.php', + 'WP_CLI\\Loggers\\Quiet' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Loggers/Quiet.php', + 'WP_CLI\\Loggers\\Regular' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php', + 'WP_CLI\\NoOp' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/NoOp.php', + 'WP_CLI\\PackageManagerEventSubscriber' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/PackageManagerEventSubscriber.php', + 'WP_CLI\\Process' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Process.php', + 'WP_CLI\\ProcessRun' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/ProcessRun.php', + 'WP_CLI\\Runner' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/Runner.php', + 'WP_CLI\\SynopsisParser' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/SynopsisParser.php', + 'WP_CLI\\SynopsisValidator' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/SynopsisValidator.php', + 'WP_CLI\\UpgraderSkin' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php', + 'WP_CLI\\WpHttpCacheManager' => $vendorDir . '/wp-cli/wp-cli/php/WP_CLI/WpHttpCacheManager.php', + 'WP_CLI_Command' => $vendorDir . '/wp-cli/wp-cli/php/class-wp-cli-command.php', + 'Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', + 'cli\\Arguments' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Arguments.php', + 'cli\\Colors' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Colors.php', + 'cli\\Memoize' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Memoize.php', + 'cli\\Notify' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Notify.php', + 'cli\\Progress' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Progress.php', + 'cli\\Shell' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Shell.php', + 'cli\\Streams' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Streams.php', + 'cli\\Table' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Table.php', + 'cli\\Tree' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/Tree.php', + 'cli\\arguments\\Argument' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/arguments/Argument.php', + 'cli\\arguments\\HelpScreen' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/arguments/HelpScreen.php', + 'cli\\arguments\\InvalidArguments' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/arguments/InvalidArguments.php', + 'cli\\arguments\\Lexer' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php', + 'cli\\notify\\Dots' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/notify/Dots.php', + 'cli\\notify\\Spinner' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/notify/Spinner.php', + 'cli\\progress\\Bar' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/progress/Bar.php', + 'cli\\table\\Ascii' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/table/Ascii.php', + 'cli\\table\\Renderer' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/table/Renderer.php', + 'cli\\table\\Tabular' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/table/Tabular.php', + 'cli\\tree\\Ascii' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/tree/Ascii.php', + 'cli\\tree\\Markdown' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/tree/Markdown.php', + 'cli\\tree\\Renderer' => $vendorDir . '/wp-cli/php-cli-tools/lib/cli/tree/Renderer.php', + 'phpDocumentor\\Reflection\\DocBlock' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock.php', + 'phpDocumentor\\Reflection\\DocBlockFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlockFactory.php', + 'phpDocumentor\\Reflection\\DocBlockFactoryInterface' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php', + 'phpDocumentor\\Reflection\\DocBlock\\Description' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Description.php', + 'phpDocumentor\\Reflection\\DocBlock\\DescriptionFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php', + 'phpDocumentor\\Reflection\\DocBlock\\ExampleFinder' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php', + 'phpDocumentor\\Reflection\\DocBlock\\Serializer' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php', + 'phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tag' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php', + 'phpDocumentor\\Reflection\\DocBlock\\TagFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Author' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\BaseTag' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Covers' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Deprecated' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Example' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Factory\\StaticMethod' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Factory\\Strategy' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/Strategy.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\AlignFormatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\PassthroughFormatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Generic' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Link' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Method' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Param' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Property' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyRead' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyWrite' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Fqsen' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Reference' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Url' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Return_' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\See' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Since' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Source' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Throws' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Uses' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Var_' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php', + 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Version' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php', + 'phpDocumentor\\Reflection\\Element' => $vendorDir . '/phpdocumentor/reflection-common/src/Element.php', + 'phpDocumentor\\Reflection\\File' => $vendorDir . '/phpdocumentor/reflection-common/src/File.php', + 'phpDocumentor\\Reflection\\Fqsen' => $vendorDir . '/phpdocumentor/reflection-common/src/Fqsen.php', + 'phpDocumentor\\Reflection\\FqsenResolver' => $vendorDir . '/phpdocumentor/type-resolver/src/FqsenResolver.php', + 'phpDocumentor\\Reflection\\Location' => $vendorDir . '/phpdocumentor/reflection-common/src/Location.php', + 'phpDocumentor\\Reflection\\Project' => $vendorDir . '/phpdocumentor/reflection-common/src/Project.php', + 'phpDocumentor\\Reflection\\ProjectFactory' => $vendorDir . '/phpdocumentor/reflection-common/src/ProjectFactory.php', + 'phpDocumentor\\Reflection\\Type' => $vendorDir . '/phpdocumentor/type-resolver/src/Type.php', + 'phpDocumentor\\Reflection\\TypeResolver' => $vendorDir . '/phpdocumentor/type-resolver/src/TypeResolver.php', + 'phpDocumentor\\Reflection\\Types\\Array_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Array_.php', + 'phpDocumentor\\Reflection\\Types\\Boolean' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Boolean.php', + 'phpDocumentor\\Reflection\\Types\\Callable_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Callable_.php', + 'phpDocumentor\\Reflection\\Types\\Compound' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Compound.php', + 'phpDocumentor\\Reflection\\Types\\Context' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Context.php', + 'phpDocumentor\\Reflection\\Types\\ContextFactory' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/ContextFactory.php', + 'phpDocumentor\\Reflection\\Types\\Float_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Float_.php', + 'phpDocumentor\\Reflection\\Types\\Integer' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Integer.php', + 'phpDocumentor\\Reflection\\Types\\Iterable_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Iterable_.php', + 'phpDocumentor\\Reflection\\Types\\Mixed_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Mixed_.php', + 'phpDocumentor\\Reflection\\Types\\Null_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Null_.php', + 'phpDocumentor\\Reflection\\Types\\Nullable' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Nullable.php', + 'phpDocumentor\\Reflection\\Types\\Object_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Object_.php', + 'phpDocumentor\\Reflection\\Types\\Parent_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Parent_.php', + 'phpDocumentor\\Reflection\\Types\\Resource_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Resource_.php', + 'phpDocumentor\\Reflection\\Types\\Scalar' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Scalar.php', + 'phpDocumentor\\Reflection\\Types\\Self_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Self_.php', + 'phpDocumentor\\Reflection\\Types\\Static_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Static_.php', + 'phpDocumentor\\Reflection\\Types\\String_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/String_.php', + 'phpDocumentor\\Reflection\\Types\\This' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/This.php', + 'phpDocumentor\\Reflection\\Types\\Void_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Void_.php', + 'tad\\WPBrowser\\Adapters\\WP' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Adapters/WP.php', + 'tad\\WPBrowser\\Connector\\WordPress' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Connector/WordPress.php', + 'tad\\WPBrowser\\Environment\\Constants' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Environment/Constants.php', + 'tad\\WPBrowser\\Environment\\Executor' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Environment/Executor.php', + 'tad\\WPBrowser\\Environment\\System' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Environment/System.php', + 'tad\\WPBrowser\\Extension\\Copier' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Extension/Copier.php', + 'tad\\WPBrowser\\Extension\\Symlinker' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Extension/Symlinker.php', + 'tad\\WPBrowser\\Filesystem\\FileReplacers\\AbstractFileReplacer' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Filesystem/FileReplacers/AbstractFileReplacer.php', + 'tad\\WPBrowser\\Filesystem\\FileReplacers\\HtaccesReplacer' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Filesystem/FileReplacers/HtaccesReplacer.php', + 'tad\\WPBrowser\\Filesystem\\FileReplacers\\WPConfigReplacer' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Filesystem/FileReplacers/WPConfigReplacer.php', + 'tad\\WPBrowser\\Filesystem\\Filesystem' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Filesystem/Filesystem.php', + 'tad\\WPBrowser\\Filesystem\\Utils' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Filesystem/Utils.php', + 'tad\\WPBrowser\\Generators\\Blog' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Blog.php', + 'tad\\WPBrowser\\Generators\\Comment' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Comment.php', + 'tad\\WPBrowser\\Generators\\Date' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Date.php', + 'tad\\WPBrowser\\Generators\\Links' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Links.php', + 'tad\\WPBrowser\\Generators\\Post' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Post.php', + 'tad\\WPBrowser\\Generators\\RedirectingWPConfig' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/RedirectingWPConfig.php', + 'tad\\WPBrowser\\Generators\\SubdomainHtaccess' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/SubdomainHtaccess.php', + 'tad\\WPBrowser\\Generators\\SubfolderHtaccess' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/SubfolderHtaccess.php', + 'tad\\WPBrowser\\Generators\\Tables' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/Tables.php', + 'tad\\WPBrowser\\Generators\\TemplateProviderInterface' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/TemplateProviderInterface.php', + 'tad\\WPBrowser\\Generators\\User' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/User.php', + 'tad\\WPBrowser\\Generators\\User\\Roles' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/User/Roles.php', + 'tad\\WPBrowser\\Generators\\WpPassword' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Generators/WpPassword.php', + 'tad\\WPBrowser\\Iterators\\Filters\\ActionsQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/ActionsQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\ClassMethodQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/ClassMethodQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\FactoryQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/FactoryQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\FiltersQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/FiltersQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\FunctionQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/FunctionQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\MainStatementQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/MainStatementQueriesFilter.php', + 'tad\\WPBrowser\\Iterators\\Filters\\QueriesCallerBasedFilterIterator' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/QueriesCallerBasedFilterIterator.php', + 'tad\\WPBrowser\\Iterators\\Filters\\QueriesCallerBasedKeepingFilterIterator' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/QueriesCallerBasedKeepingFilterIterator.php', + 'tad\\WPBrowser\\Iterators\\Filters\\SetupTearDownQueriesFilter' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Iterators/Filters/SetupTearDownQueriesFilter.php', + 'tad\\WPBrowser\\Module\\Support\\DbDump' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Module/Support/DbDump.php', + 'tad\\WPBrowser\\Module\\Support\\UriToIndexMapper' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Module/Support/UriToIndexMapper.php', + 'tad\\WPBrowser\\Module\\WPLoader\\FactoryStore' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Module/WPLoader/FactoryStore.php', + 'tad\\WPBrowser\\Module\\WPLoader\\Filters' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Module/WPLoader/Filters.php', + 'tad\\WPBrowser\\Module\\WPLoader\\FiltersGroup' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Module/WPLoader/FiltersGroup.php', + 'tad\\WPBrowser\\Services\\Db\\MySQLDumpFactory' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Services/Db/MySQLDumpFactory.php', + 'tad\\WPBrowser\\Services\\Db\\MySQLDumpFactoryInterface' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Services/Db/MySQLDumpFactoryInterface.php', + 'tad\\WPBrowser\\Services\\Db\\MySQLDumpInterface' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Services/Db/MySQLDumpInterface.php', + 'tad\\WPBrowser\\Services\\WP\\Bootstrapper' => $vendorDir . '/lucatume/wp-browser-commons/src/tad/WPBrowser/Services/WP/Bootstrapper.php', + 'tad\\WPBrowser\\Template\\Data' => $vendorDir . '/lucatume/wp-browser/src/tad/WPBrowser/Template/Data.php', ); diff --git a/wp-graphql-acf.php b/wp-graphql-acf.php index 439df3e..6fcb15a 100644 --- a/wp-graphql-acf.php +++ b/wp-graphql-acf.php @@ -7,7 +7,7 @@ * Author URI: https://www.wpgraphql.com * Text Domain: wp-graphql-acf * Domain Path: /languages - * Version: 0.1.7 + * Version: 0.2.0 * * @package WPGraphQL_ACF */ @@ -20,58 +20,6 @@ require_once( __DIR__ . '/vendor/autoload.php' ); -/** - * Configure Freemius SDK - */ -if ( ! function_exists( 'wga_fs' ) ) { - /** - * Create a helper function for easy SDK access. - * - * @return mixed|WP_Error|freemius - */ - function wga_fs() { - global $wga_fs; - - if ( ! isset( $wga_fs ) ) { - - require_once dirname( __FILE__ ) . '/freemius/start.php'; - - try { - $wga_fs = fs_dynamic_init( - [ - 'id' => '3289', - 'slug' => 'wp-graphql-acf', - 'premium_slug' => 'wp-graphql-acf', - 'type' => 'plugin', - 'public_key' => 'pk_66dc1cb99818841a8fa76276565cd', - 'is_premium' => true, - 'is_premium_only' => true, - 'has_addons' => false, - 'has_paid_plans' => true, - 'is_org_compliant' => false, - 'has_affiliation' => 'selected', - 'menu' => [ - 'first-path' => 'plugins.php', - 'support' => false, - ], - ] - ); - } catch ( \Freemius_Exception $e ) { - return new \WP_Error( $e->getMessage() ); - } - } - - return $wga_fs; - } - - // Init Freemius. - wga_fs(); - // Signal that SDK was initiated. - do_action( 'wga_fs_loaded' ); -} - - - /** * Initialize the plugin *