Changeset 3066915 for wp-letsencrypt-ssl
- Timestamp:
- 04/08/2024 12:19:29 PM (13 months ago)
- Location:
- wp-letsencrypt-ssl
- Files:
-
- 293 added
- 9 edited
-
tags/7.1.0 (added)
-
tags/7.1.0/admin (added)
-
tags/7.1.0/admin/assets (added)
-
tags/7.1.0/admin/assets/1-year-ssl.png (added)
-
tags/7.1.0/admin/assets/Certificate.png (added)
-
tags/7.1.0/admin/assets/DNS.png (added)
-
tags/7.1.0/admin/assets/Install.png (added)
-
tags/7.1.0/admin/assets/backup-bolt.png (added)
-
tags/7.1.0/admin/assets/banner-left.png (added)
-
tags/7.1.0/admin/assets/bg.png (added)
-
tags/7.1.0/admin/assets/cookieless-analytics.png (added)
-
tags/7.1.0/admin/assets/firewall-shield-firewall.png (added)
-
tags/7.1.0/admin/assets/firewall-shield-pro.png (added)
-
tags/7.1.0/admin/assets/go-viral.jpg (added)
-
tags/7.1.0/admin/assets/goviral-logo.png (added)
-
tags/7.1.0/admin/assets/icon.png (added)
-
tags/7.1.0/admin/assets/limited-offer.png (added)
-
tags/7.1.0/admin/assets/loader.png (added)
-
tags/7.1.0/admin/assets/logo.png (added)
-
tags/7.1.0/admin/assets/modern-addons.png (added)
-
tags/7.1.0/admin/assets/modernaddons-logo.png (added)
-
tags/7.1.0/admin/assets/multisite.png (added)
-
tags/7.1.0/admin/assets/renewal.png (added)
-
tags/7.1.0/admin/assets/shield.png (added)
-
tags/7.1.0/admin/assets/symbol.png (added)
-
tags/7.1.0/admin/assets/tls.png (added)
-
tags/7.1.0/admin/assets/verified.png (added)
-
tags/7.1.0/admin/assets/warning.png (added)
-
tags/7.1.0/admin/assets/wildcard.png (added)
-
tags/7.1.0/admin/assets/wordmagic.png (added)
-
tags/7.1.0/admin/css (added)
-
tags/7.1.0/admin/css/le-admin.css (added)
-
tags/7.1.0/admin/css/le-admin.css.map (added)
-
tags/7.1.0/admin/css/le-admin.min.css (added)
-
tags/7.1.0/admin/css/le-admin.min.css.map (added)
-
tags/7.1.0/admin/index.php (added)
-
tags/7.1.0/admin/js (added)
-
tags/7.1.0/admin/js/le-admin.js (added)
-
tags/7.1.0/admin/js/popper.min.js (added)
-
tags/7.1.0/admin/js/tippy-bundle.iife.min.js (added)
-
tags/7.1.0/admin/le_admin.php (added)
-
tags/7.1.0/admin/le_admin_page_wrapper.php (added)
-
tags/7.1.0/admin/le_admin_pages.php (added)
-
tags/7.1.0/admin/le_ajax.php (added)
-
tags/7.1.0/admin/le_handlers.php (added)
-
tags/7.1.0/admin/pricing (added)
-
tags/7.1.0/admin/pricing/dist (added)
-
tags/7.1.0/cabundle (added)
-
tags/7.1.0/cabundle/ca.crt (added)
-
tags/7.1.0/cabundle/index.php (added)
-
tags/7.1.0/classes (added)
-
tags/7.1.0/classes/index.php (added)
-
tags/7.1.0/classes/le-activator.php (added)
-
tags/7.1.0/classes/le-advanced-scanner.php (added)
-
tags/7.1.0/classes/le-core.php (added)
-
tags/7.1.0/classes/le-deactivator.php (added)
-
tags/7.1.0/classes/le-forcessl.php (added)
-
tags/7.1.0/classes/le-scanner.php (added)
-
tags/7.1.0/classes/le-security.php (added)
-
tags/7.1.0/classes/le-subdir-challenge.php (added)
-
tags/7.1.0/classes/le-trait.php (added)
-
tags/7.1.0/freemius (added)
-
tags/7.1.0/freemius/LICENSE.txt (added)
-
tags/7.1.0/freemius/assets (added)
-
tags/7.1.0/freemius/assets/css (added)
-
tags/7.1.0/freemius/assets/css/admin (added)
-
tags/7.1.0/freemius/assets/css/admin/account.css (added)
-
tags/7.1.0/freemius/assets/css/admin/add-ons.css (added)
-
tags/7.1.0/freemius/assets/css/admin/affiliation.css (added)
-
tags/7.1.0/freemius/assets/css/admin/checkout.css (added)
-
tags/7.1.0/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/7.1.0/freemius/assets/css/admin/common.css (added)
-
tags/7.1.0/freemius/assets/css/admin/connect.css (added)
-
tags/7.1.0/freemius/assets/css/admin/debug.css (added)
-
tags/7.1.0/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/7.1.0/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/7.1.0/freemius/assets/css/admin/index.php (added)
-
tags/7.1.0/freemius/assets/css/admin/optout.css (added)
-
tags/7.1.0/freemius/assets/css/admin/plugins.css (added)
-
tags/7.1.0/freemius/assets/css/customizer.css (added)
-
tags/7.1.0/freemius/assets/css/index.php (added)
-
tags/7.1.0/freemius/assets/img (added)
-
tags/7.1.0/freemius/assets/img/index.php (added)
-
tags/7.1.0/freemius/assets/img/plugin-icon.png (added)
-
tags/7.1.0/freemius/assets/img/theme-icon.png (added)
-
tags/7.1.0/freemius/assets/index.php (added)
-
tags/7.1.0/freemius/assets/js (added)
-
tags/7.1.0/freemius/assets/js/index.php (added)
-
tags/7.1.0/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/7.1.0/freemius/assets/js/nojquery.ba-postmessage.min.js (added)
-
tags/7.1.0/freemius/assets/js/postmessage.js (added)
-
tags/7.1.0/freemius/config.php (added)
-
tags/7.1.0/freemius/includes (added)
-
tags/7.1.0/freemius/includes/class-freemius-abstract.php (added)
-
tags/7.1.0/freemius/includes/class-freemius.php (added)
-
tags/7.1.0/freemius/includes/class-fs-admin-notices.php (added)
-
tags/7.1.0/freemius/includes/class-fs-api.php (added)
-
tags/7.1.0/freemius/includes/class-fs-garbage-collector.php (added)
-
tags/7.1.0/freemius/includes/class-fs-lock.php (added)
-
tags/7.1.0/freemius/includes/class-fs-logger.php (added)
-
tags/7.1.0/freemius/includes/class-fs-options.php (added)
-
tags/7.1.0/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/7.1.0/freemius/includes/class-fs-security.php (added)
-
tags/7.1.0/freemius/includes/class-fs-storage.php (added)
-
tags/7.1.0/freemius/includes/class-fs-user-lock.php (added)
-
tags/7.1.0/freemius/includes/customizer (added)
-
tags/7.1.0/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/7.1.0/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/7.1.0/freemius/includes/customizer/index.php (added)
-
tags/7.1.0/freemius/includes/debug (added)
-
tags/7.1.0/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/7.1.0/freemius/includes/debug/debug-bar-start.php (added)
-
tags/7.1.0/freemius/includes/debug/index.php (added)
-
tags/7.1.0/freemius/includes/entities (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-billing.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-entity.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-payment.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-site.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/7.1.0/freemius/includes/entities/class-fs-user.php (added)
-
tags/7.1.0/freemius/includes/entities/index.php (added)
-
tags/7.1.0/freemius/includes/fs-core-functions.php (added)
-
tags/7.1.0/freemius/includes/fs-essential-functions.php (added)
-
tags/7.1.0/freemius/includes/fs-html-escaping-functions.php (added)
-
tags/7.1.0/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/7.1.0/freemius/includes/index.php (added)
-
tags/7.1.0/freemius/includes/l10n.php (added)
-
tags/7.1.0/freemius/includes/managers (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/7.1.0/freemius/includes/managers/index.php (added)
-
tags/7.1.0/freemius/includes/sdk (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/7.1.0/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/7.1.0/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/7.1.0/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/7.1.0/freemius/includes/sdk/LICENSE.txt (added)
-
tags/7.1.0/freemius/includes/sdk/index.php (added)
-
tags/7.1.0/freemius/includes/supplements (added)
-
tags/7.1.0/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/7.1.0/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/7.1.0/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/7.1.0/freemius/includes/supplements/index.php (added)
-
tags/7.1.0/freemius/index.php (added)
-
tags/7.1.0/freemius/languages (added)
-
tags/7.1.0/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/7.1.0/freemius/languages/freemius-da_DK.mo (added)
-
tags/7.1.0/freemius/languages/freemius-de_DE.mo (added)
-
tags/7.1.0/freemius/languages/freemius-en.mo (added)
-
tags/7.1.0/freemius/languages/freemius-es_ES.mo (added)
-
tags/7.1.0/freemius/languages/freemius-fr_FR.mo (added)
-
tags/7.1.0/freemius/languages/freemius-he_IL.mo (added)
-
tags/7.1.0/freemius/languages/freemius-hu_HU.mo (added)
-
tags/7.1.0/freemius/languages/freemius-it_IT.mo (added)
-
tags/7.1.0/freemius/languages/freemius-ja.mo (added)
-
tags/7.1.0/freemius/languages/freemius-nl_NL.mo (added)
-
tags/7.1.0/freemius/languages/freemius-ru_RU.mo (added)
-
tags/7.1.0/freemius/languages/freemius-ta.mo (added)
-
tags/7.1.0/freemius/languages/freemius-zh_CN.mo (added)
-
tags/7.1.0/freemius/languages/freemius.pot (added)
-
tags/7.1.0/freemius/languages/index.php (added)
-
tags/7.1.0/freemius/require.php (added)
-
tags/7.1.0/freemius/start.php (added)
-
tags/7.1.0/freemius/templates (added)
-
tags/7.1.0/freemius/templates/account (added)
-
tags/7.1.0/freemius/templates/account.php (added)
-
tags/7.1.0/freemius/templates/account/billing.php (added)
-
tags/7.1.0/freemius/templates/account/index.php (added)
-
tags/7.1.0/freemius/templates/account/partials (added)
-
tags/7.1.0/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/7.1.0/freemius/templates/account/partials/addon.php (added)
-
tags/7.1.0/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/7.1.0/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/7.1.0/freemius/templates/account/partials/index.php (added)
-
tags/7.1.0/freemius/templates/account/partials/site.php (added)
-
tags/7.1.0/freemius/templates/account/payments.php (added)
-
tags/7.1.0/freemius/templates/add-ons.php (added)
-
tags/7.1.0/freemius/templates/add-trial-to-pricing.php (added)
-
tags/7.1.0/freemius/templates/admin-notice.php (added)
-
tags/7.1.0/freemius/templates/ajax-loader.php (added)
-
tags/7.1.0/freemius/templates/api-connectivity-message-js.php (added)
-
tags/7.1.0/freemius/templates/auto-installation.php (added)
-
tags/7.1.0/freemius/templates/checkout.php (added)
-
tags/7.1.0/freemius/templates/clone-resolution-js.php (added)
-
tags/7.1.0/freemius/templates/connect (added)
-
tags/7.1.0/freemius/templates/connect.php (added)
-
tags/7.1.0/freemius/templates/connect/index.php (added)
-
tags/7.1.0/freemius/templates/connect/permission.php (added)
-
tags/7.1.0/freemius/templates/connect/permissions-group.php (added)
-
tags/7.1.0/freemius/templates/contact.php (added)
-
tags/7.1.0/freemius/templates/debug (added)
-
tags/7.1.0/freemius/templates/debug.php (added)
-
tags/7.1.0/freemius/templates/debug/api-calls.php (added)
-
tags/7.1.0/freemius/templates/debug/index.php (added)
-
tags/7.1.0/freemius/templates/debug/logger.php (added)
-
tags/7.1.0/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/7.1.0/freemius/templates/debug/scheduled-crons.php (added)
-
tags/7.1.0/freemius/templates/email.php (added)
-
tags/7.1.0/freemius/templates/forms (added)
-
tags/7.1.0/freemius/templates/forms/affiliation.php (added)
-
tags/7.1.0/freemius/templates/forms/data-debug-mode.php (added)
-
tags/7.1.0/freemius/templates/forms/deactivation (added)
-
tags/7.1.0/freemius/templates/forms/deactivation/contact.php (added)
-
tags/7.1.0/freemius/templates/forms/deactivation/form.php (added)
-
tags/7.1.0/freemius/templates/forms/deactivation/index.php (added)
-
tags/7.1.0/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/7.1.0/freemius/templates/forms/email-address-update.php (added)
-
tags/7.1.0/freemius/templates/forms/index.php (added)
-
tags/7.1.0/freemius/templates/forms/license-activation.php (added)
-
tags/7.1.0/freemius/templates/forms/optout.php (added)
-
tags/7.1.0/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/7.1.0/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/7.1.0/freemius/templates/forms/resend-key.php (added)
-
tags/7.1.0/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/7.1.0/freemius/templates/forms/trial-start.php (added)
-
tags/7.1.0/freemius/templates/forms/user-change.php (added)
-
tags/7.1.0/freemius/templates/gdpr-optin-js.php (added)
-
tags/7.1.0/freemius/templates/index.php (added)
-
tags/7.1.0/freemius/templates/js (added)
-
tags/7.1.0/freemius/templates/js/index.php (added)
-
tags/7.1.0/freemius/templates/js/jquery.content-change.php (added)
-
tags/7.1.0/freemius/templates/js/open-license-activation.php (added)
-
tags/7.1.0/freemius/templates/js/permissions.php (added)
-
tags/7.1.0/freemius/templates/js/style-premium-theme.php (added)
-
tags/7.1.0/freemius/templates/partials (added)
-
tags/7.1.0/freemius/templates/partials/index.php (added)
-
tags/7.1.0/freemius/templates/partials/network-activation.php (added)
-
tags/7.1.0/freemius/templates/plugin-icon.php (added)
-
tags/7.1.0/freemius/templates/plugin-info (added)
-
tags/7.1.0/freemius/templates/plugin-info/description.php (added)
-
tags/7.1.0/freemius/templates/plugin-info/features.php (added)
-
tags/7.1.0/freemius/templates/plugin-info/index.php (added)
-
tags/7.1.0/freemius/templates/plugin-info/screenshots.php (added)
-
tags/7.1.0/freemius/templates/powered-by.php (added)
-
tags/7.1.0/freemius/templates/pricing.php (added)
-
tags/7.1.0/freemius/templates/secure-https-header.php (added)
-
tags/7.1.0/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/7.1.0/freemius/templates/tabs-capture-js.php (added)
-
tags/7.1.0/freemius/templates/tabs.php (added)
-
tags/7.1.0/index.php (added)
-
tags/7.1.0/lib (added)
-
tags/7.1.0/lib/Exceptions (added)
-
tags/7.1.0/lib/Exceptions/LEAccountException.php (added)
-
tags/7.1.0/lib/Exceptions/LEAuthorizationException.php (added)
-
tags/7.1.0/lib/Exceptions/LEClientException.php (added)
-
tags/7.1.0/lib/Exceptions/LEConnectorException.php (added)
-
tags/7.1.0/lib/Exceptions/LEException.php (added)
-
tags/7.1.0/lib/Exceptions/LEFunctionsException.php (added)
-
tags/7.1.0/lib/Exceptions/LEOrderException.php (added)
-
tags/7.1.0/lib/LEAccount.php (added)
-
tags/7.1.0/lib/LEAuthorization.php (added)
-
tags/7.1.0/lib/LEClient.php (added)
-
tags/7.1.0/lib/LEConnector.php (added)
-
tags/7.1.0/lib/LEFunctions.php (added)
-
tags/7.1.0/lib/LEOrder.php (added)
-
tags/7.1.0/license.txt (added)
-
tags/7.1.0/readme.txt (added)
-
tags/7.1.0/vendor (added)
-
tags/7.1.0/vendor/autoload.php (added)
-
tags/7.1.0/vendor/composer (added)
-
tags/7.1.0/vendor/composer/ClassLoader.php (added)
-
tags/7.1.0/vendor/composer/LICENSE (added)
-
tags/7.1.0/vendor/composer/autoload_classmap.php (added)
-
tags/7.1.0/vendor/composer/autoload_namespaces.php (added)
-
tags/7.1.0/vendor/composer/autoload_psr4.php (added)
-
tags/7.1.0/vendor/composer/autoload_real.php (added)
-
tags/7.1.0/vendor/composer/autoload_static.php (added)
-
tags/7.1.0/vendor/composer/installed.json (added)
-
tags/7.1.0/vendor/composer/platform_check.php (added)
-
tags/7.1.0/wp-letsencrypt.php (added)
-
trunk/admin/le_admin.php (modified) (8 diffs)
-
trunk/admin/le_admin_pages.php (modified) (1 diff)
-
trunk/admin/le_ajax.php (modified) (2 diffs)
-
trunk/admin/le_handlers.php (modified) (1 diff)
-
trunk/classes/le-core.php (modified) (10 diffs)
-
trunk/classes/le-deactivator.php (modified) (2 diffs)
-
trunk/classes/le-trait.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-letsencrypt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-letsencrypt-ssl/trunk/admin/le_admin.php
r3063695 r3066915 505 505 public function wple_rateus() 506 506 { 507 $cert = ABSPATH . 'keys/certificate.crt';507 $cert = WPLE_Trait::wple_cert_directory() . 'certificate.crt'; 508 508 509 509 if ( file_exists( $cert ) ) { … … 736 736 <li>'; 737 737 WPLE_Trait::wple_copy_and_download( $html ); 738 $nonroot_instruction = sprintf( 739 __( "If you have root SSH access, edit your server config file and point your SSL paths to %scertificate.crt%s & %sprivate.pem%s files located in %s folder. If you don't have either cPanel or root SSH access, Upgrade to %sPRO%s version for automatic SSL installation and automatic SSL renewal.", 'wp-letsencrypt-ssl' ), 740 '<strong>', 741 '</strong>', 742 '<strong>', 743 '</strong>', 744 '<strong>' . WPLE_Trait::wple_cert_directory() . '</strong>', 745 '<a href="' . admin_url( '/admin.php?page=wp_encryption-pricing&checkout=true&plan_id=8210&plan_name=pro&billing_cycle=annual&pricing_id=7965¤cy=usd' ) . '"><strong>', 746 '</strong></a>' 747 ); 748 if ( !get_option( 'wple_parent_reachable' ) ) { 749 $nonroot_instruction = sprintf( 750 __( "If you have root SSH access, download certificate.crt & private.pem files from above and upload them onto a secure folder on your server. Then edit your server config file and point the SSL paths to uploaded %scertificate.crt%s & %sprivate.pem%s files. If you don't have either cPanel or root SSH access, Upgrade to %sPRO%s version for automatic SSL installation and automatic SSL renewal.", 'wp-letsencrypt-ssl' ), 751 '<strong>', 752 '</strong>', 753 '<strong>', 754 '</strong>', 755 '<a href="' . admin_url( '/admin.php?page=wp_encryption-pricing&checkout=true&plan_id=8210&plan_name=pro&billing_cycle=annual&pricing_id=7965¤cy=usd' ) . '"><strong>', 756 '</strong></a>' 757 ); 758 } 738 759 $html .= '</li> 739 760 <li>5. ' . sprintf( __( 'Click on %sInstall certificate%s', 'wp-letsencrypt-ssl' ), '<strong>', '</strong>' ) . '</li> … … 747 768 <div> 748 769 <h3>' . esc_html__( "Don't have cPanel?", 'wp-letsencrypt-ssl' ) . '</h3> 749 <p>' . esc_html__( "cPanel link goes to 404 not found page?. ", 'wp-letsencrypt-ssl' ) . sprintf( 750 __( "If you have root SSH access, edit your server config file and point your SSL paths to %scertificate.crt%s & %sprivate.pem%s files in %skeys/%s folder. If you don't have either cPanel or root SSH access, Upgrade to %sPRO%s version for automatic SSL installation and automatic SSL renewal.", 'wp-letsencrypt-ssl' ), 751 '<strong>', 752 '</strong>', 753 '<strong>', 754 '</strong>', 755 '<strong>', 756 '</strong>', 757 '<a href="' . admin_url( '/admin.php?page=wp_encryption-pricing&checkout=true&plan_id=8210&plan_name=pro&billing_cycle=annual&pricing_id=7965¤cy=usd' ) . '"><strong>', 758 '</strong></a>' 759 ) . '<br><br><span style="display:none">' . sprintf( __( 'You can also upgrade to our %sCDN%s plan to avail fully automatic SSL + Fastest CDN + Firewall Security.', 'wp-letsencrypt-ssl' ), '<a href="https://wpencryption.com/cdn-firewall/" target="_blank">', '</a>' ) . '</span></p> 770 <p>' . esc_html__( "cPanel link goes to 404 not found page?. ", 'wp-letsencrypt-ssl' ) . $nonroot_instruction . '<br><br><span style="display:none">' . sprintf( __( 'You can also upgrade to our %sCDN%s plan to avail fully automatic SSL + Fastest CDN + Firewall Security.', 'wp-letsencrypt-ssl' ), '<a href="https://wpencryption.com/cdn-firewall/" target="_blank">', '</a>' ) . '</span></p> 760 771 </div> 761 772 <div> … … 813 824 $generic .= '<p class="firepro">' . $thirdparty . ' ' . $firerec . '</p>'; 814 825 } else { 815 if ( file_exists( ABSPATH . 'keys/certificate.crt' ) ) {826 if ( file_exists( WPLE_Trait::wple_cert_directory() . 'certificate.crt' ) ) { 816 827 $generic .= '<br><br>' . WPLE_Trait::wple_kses( __( 'You already seem to have certificate generated and stored. Please try downloading certs from <strong>Download SSL Certificates</strong> page and open in a text editor like notepad to check if certificate is not empty.', 'wp-letsencrypt-ssl' ) ); 817 828 } … … 870 881 exit( 'No Trespassing Allowed' ); 871 882 } 872 $keys = ABSPATH . 'keys/';883 $keys = WPLE_Trait::wple_cert_directory(); 873 884 $files = array( 874 885 $keys . 'public.pem', … … 1041 1052 ?></h2> 1042 1053 1043 <h4 class="pricing-intro-subhead">Purchase once and use for lifetime - Trusted Globally by <b> 110,000+</b> WordPress Users (Looking for <a href="<?php1054 <h4 class="pricing-intro-subhead">Purchase once and use for lifetime - Trusted Globally by <b>250,000+</b> WordPress Users (Looking for <a href="<?php 1044 1055 echo admin_url( '/admin.php?page=wp_encryption&gopro=3' ) ; 1045 1056 ?>">Annual</a> | <a href="<?php … … 1138 1149 1139 1150 <h2 class="pricing-intro-head">FLAWLESS SSL SOLUTION FOR LOWEST PRICE EVER <small>(Limited Offer)</small></h2> 1140 <h4 class="pricing-intro-subhead">Upgrade to PRO today for <strong>Fully automatic SSL</strong> & get automatic <strong>CDN + Security</strong> for FREE! - Trusted Globally by <b> 110,000+</b> WordPress Users <span class="dashicons dashicons-editor-help wple-tooltip" data-tippy="A complete bundle worth $360!"></span></h4>1151 <h4 class="pricing-intro-subhead">Upgrade to PRO today for <strong>Fully automatic SSL</strong> & get automatic <strong>CDN + Security</strong> for FREE! - Trusted Globally by <b>250,000+</b> WordPress Users <span class="dashicons dashicons-editor-help wple-tooltip" data-tippy="A complete bundle worth $360!"></span></h4> 1141 1152 1142 1153 <div style="text-align:center"> … … 1212 1223 { 1213 1224 $html .= WPLE_Trait::wple_progress_bar(); 1214 ///$cert = ABSPATH . 'keys/certificate.crt';1215 1225 $leopts = get_option( 'wple_opts' ); 1216 1226 $future = strtotime( $leopts['expiry'] ); -
wp-letsencrypt-ssl/trunk/admin/le_admin_pages.php
r3063695 r3066915 403 403 public function wple_download_page() 404 404 { 405 $cert = ABSPATH . 'keys/certificate.crt';405 $cert = WPLE_Trait::wple_cert_directory() . 'certificate.crt'; 406 406 $forced_completion = get_option( 'wple_backend' ); 407 407 $html = '<div class="download-certs" data-update="' . wp_create_nonce( 'wpledownloadpage' ) . '">'; -
wp-letsencrypt-ssl/trunk/admin/le_ajax.php
r3043670 r3066915 295 295 $ftype = $_GET['gettype']; 296 296 $output = ''; 297 $keypath = ABSPATH . 'keys/';297 $keypath = WPLE_Trait::wple_cert_directory(); 298 298 299 299 switch ($ftype) { … … 302 302 break; 303 303 case 'key': 304 if (file_exists($keypath . 'private.pem')) $output = file_get_contents($keypath . 'private.pem');304 $output = WPLE_Trait::wple_get_private_key(); 305 305 break; 306 306 case 'cabundle': -
wp-letsencrypt-ssl/trunk/admin/le_handlers.php
r2995858 r3066915 133 133 case '1': 134 134 $file = uniqid() . '-cert.crt'; 135 file_put_contents( $file, file_get_contents( ABSPATH . 'keys/certificate.crt' ) );135 file_put_contents( $file, file_get_contents( WPLE_Trait::wple_cert_directory() . 'certificate.crt' ) ); 136 136 break; 137 137 case '2': 138 138 $file = uniqid() . '-key.pem'; 139 file_put_contents( $file, file_get_contents( ABSPATH . 'keys/private.pem') );139 file_put_contents( $file, WPLE_Trait::wple_get_private_key() ); 140 140 break; 141 141 case '3': -
wp-letsencrypt-ssl/trunk/classes/le-core.php
r3063695 r3066915 140 140 } 141 141 142 $storage = 'WEB'; 143 /** 144 * Set certificate storage path 145 * Re-check permission each time 146 * @since 7.1.0 147 */ 148 $keys_above_root = dirname( ABSPATH, 1 ) . '/ssl/' . sanitize_file_name( WPLE_Trait::get_root_domain() ); 149 150 if ( file_exists( $keys_above_root ) && is_writable( $keys_above_root ) ) { 151 //already created 152 $storage = 'ROOT'; 153 update_option( 'wple_parent_reachable', true ); 154 } else { 155 156 if ( @mkdir( $keys_above_root, 0755, true ) ) { 157 //directory creation success 158 $testfile = $keys_above_root . '/testfile'; 159 @file_put_contents( $testfile, 'test123' ); 160 161 if ( file_exists( $testfile ) && file_get_contents( $testfile ) == 'test123' ) { 162 //file creation possible 163 unlink( $testfile ); 164 update_option( 'wple_parent_reachable', true ); 165 $storage = 'ROOT'; 166 } else { 167 //file creation not possible 168 update_option( 'wple_parent_reachable', false ); 169 } 170 171 } else { 172 update_option( 'wple_parent_reachable', false ); 173 } 174 175 } 176 142 177 $PRO = ( wple_fs()->can_use_premium_code__premium_only() ? 'PRO' : '' ); 143 178 $PRO .= ( $this->wcard ? ' WILDCARD SSL ' : ' SINGLE DOMAIN SSL ' ); … … 149 184 } 150 185 $PRO .= $cpanel; 151 $this->wple_log( '<b>' . WPLE_PLUGIN_VER . ' ' . $PRO . ' - ' . esc_html( site_url() ) . ' </b>', 'success', 'w' );186 $this->wple_log( '<b>' . WPLE_PLUGIN_VER . ' ' . $PRO . ' - ' . esc_html( site_url() ) . ' - ' . esc_html( $storage ) . '</b>', 'success', 'w' ); 152 187 $this->wple_log( "Domain covered:\n" . json_encode( $this->domains ) . "\n" ); 153 188 } … … 195 230 { 196 231 try { 197 $keydir = ABSPATH . 'keys/';232 $keydir = WPLE_Trait::wple_cert_directory(); 198 233 $sourceIP = get_option( 'wple_sourceip' ); 234 //since 7.1 restore account key from option 235 $acckey_path = $keydir . '__account/private.pem'; 236 237 if ( !file_exists( $acckey_path ) ) { 238 $acckey = ( get_option( 'wple_acc_key' ) ? get_option( 'wple_acc_key' ) : '' ); 239 file_put_contents( $acckey_path, preg_replace( '#<br\\s*/?>#i', "", $acckey ) ); 240 } 241 199 242 $this->client = new LEClient( 200 243 $this->email, … … 307 350 308 351 delete_option( 'wple_hold_cron' ); 309 $cert = ABSPATH . 'keys/certificate.crt';352 $cert = WPLE_Trait::wple_cert_directory() . 'certificate.crt'; 310 353 311 354 if ( file_exists( $cert ) ) { … … 324 367 $this->wple_send_usage_data(); 325 368 } 369 /** 370 * Case: Couldn't store above web root dir 371 * Delete private key and store in option 372 * Delete account key and store in option 373 * @since 7.0.0 374 */ 375 376 if ( !get_option( 'wple_parent_reachable' ) ) { 377 $priv_key = WPLE_Trait::wple_cert_directory() . 'private.pem'; 378 $acc_key = WPLE_Trait::wple_cert_directory() . '__account/private.pem'; 379 380 if ( file_exists( $priv_key ) ) { 381 $priv_key_content = sanitize_textarea_field( file_get_contents( $priv_key ) ); 382 $priv_key_content = nl2br( $priv_key_content ); 383 update_option( 'wple_priv_key', $priv_key_content ); 384 unlink( $priv_key ); 385 $acc_key_content = sanitize_textarea_field( file_get_contents( $acc_key ) ); 386 $acc_key_content = nl2br( $acc_key_content ); 387 update_option( 'wple_acc_key', $acc_key_content ); 388 unlink( $acc_key ); 389 $this->wple_log( "Stored private key as option" ); 390 } 391 392 } 393 326 394 wp_redirect( admin_url( '/admin.php?page=wp_encryption' ), 302 ); 327 395 exit; … … 377 445 public function wple_save_expiry_date() 378 446 { 379 $certfile = ABSPATH . 'keys/certificate.crt';447 $certfile = WPLE_Trait::wple_cert_directory() . 'certificate.crt'; 380 448 //TODO: expiry saved separately on each mapped site? 381 449 … … 454 522 $srvr = array( 455 523 'challenge_folder_exists' => '', 456 'certificate_exists' => file_exists( ABSPATH . 'keys/certificate.crt' ),524 'certificate_exists' => file_exists( WPLE_Trait::wple_cert_directory() . 'certificate.crt' ), 457 525 'server_software' => $_SERVER['SERVER_SOFTWARE'], 458 526 'http_host' => site_url(), … … 617 685 618 686 if ( get_option( 'wple_email_certs' ) == true ) { 619 $certificate = ABSPATH . 'keys/certificate.crt';687 $certificate = WPLE_Trait::wple_cert_directory() . 'certificate.crt'; 620 688 if ( class_exists( 'ZipArchive' ) ) { 621 689 … … 623 691 $this->wple_log( 'Emailing certs as attachment' ); 624 692 $zip = new ZipArchive(); 625 $zip->open( ABSPATH . 'keys/certificates.zip', ZipArchive::CREATE );693 $zip->open( WPLE_Trait::wple_cert_directory() . 'certificates.zip', ZipArchive::CREATE ); 626 694 $zip->addFile( $certificate, 'certificate.crt' ); 627 695 $ret = $this->wple_parseCertificate( $certificate ); 628 696 $certexpirydate = date( 'd-m-Y', $ret['validTo_time_t'] ); 629 $pemfile = ABSPATH . 'keys/private.pem';697 $pemfile = WPLE_Trait::wple_cert_directory() . 'private.pem'; 630 698 $zip->addFile( $pemfile, 'private.pem' ); 631 699 $cabundle = WPLE_DIR . 'cabundle/ca.crt'; … … 642 710 $body, 643 711 $headers, 644 array( ABSPATH . 'keys/certificates.zip' )712 array( WPLE_Trait::wple_cert_directory() . 'certificates.zip' ) 645 713 ); 646 714 } 647 unlink( ABSPATH . 'keys/certificates.zip' );715 unlink( WPLE_Trait::wple_cert_directory() . 'certificates.zip' ); 648 716 } else { 649 717 $this->wple_log( 'Emailing certs skipped as certificate.crt not found.' ); -
wp-letsencrypt-ssl/trunk/classes/le-deactivator.php
r3063695 r3066915 35 35 $opts['force_ssl'] = 0; 36 36 update_option( 'wple_opts', $opts ); 37 // retained - wple_opts, wple_show_reminder, wple_send_usage, wple_error, wple_complete, wple_failed_verification, wple_mixed_issues 37 // retained - wple_opts, wple_show_reminder, wple_send_usage, wple_error, wple_complete, wple_failed_verification, wple_mixed_issues, wple_priv_key 38 38 $opts_to_delete = array( 39 39 'wple_backup_suggested', … … 60 60 'wple_sourceip', 61 61 'wple_order_refreshed', 62 'wple_sourceip_enable' 62 'wple_sourceip_enable', 63 'wple_parent_reachable' 63 64 ); 64 65 foreach ( $opts_to_delete as $optname ) { -
wp-letsencrypt-ssl/trunk/classes/le-trait.php
r3063695 r3066915 212 212 $srvr = array( 213 213 'challenge_folder_exists' => '', 214 'certificate_exists' => file_exists( ABSPATH . 'keys/certificate.crt' ),214 'certificate_exists' => file_exists( WPLE_Trait::wple_cert_directory() . 'certificate.crt' ), 215 215 'server_software' => $_SERVER['SERVER_SOFTWARE'], 216 216 'http_host' => $_SERVER['HTTP_HOST'], … … 949 949 950 950 } 951 952 /** 953 * Returns cert directory 954 * 955 * @since 7.0.0 956 */ 957 public static function wple_cert_directory() 958 { 959 960 if ( get_option( 'wple_parent_reachable' ) ) { 961 $dir = dirname( ABSPATH, 1 ) . '/ssl/' . sanitize_file_name( WPLE_Trait::get_root_domain() ) . '/'; 962 } else { 963 $dir = ABSPATH . 'keys/'; 964 } 965 966 return $dir; 967 } 968 969 public static function wple_get_private_key() 970 { 971 $keypath = WPLE_Trait::wple_cert_directory(); 972 $pkey = get_option( 'wple_priv_key' ); 973 974 if ( file_exists( $keypath . 'private.pem' ) ) { 975 return file_get_contents( $keypath . 'private.pem' ); 976 } elseif ( $pkey !== false ) { 977 return preg_replace( '#<br\\s*/?>#i', "", $pkey ); 978 } else { 979 return ''; 980 } 981 982 } 951 983 952 984 } -
wp-letsencrypt-ssl/trunk/readme.txt
r3063695 r3066915 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 7. 0.08 Stable tag: 7.1.0 9 9 10 10 Lifetime SSL solution & Security - Install free SSL certificate & enable HTTPS redirect, HTTPS mail, fix SSL errors, SSL score, SSL details & monitoring. … … 176 176 == Changelog == 177 177 178 = 7.1.0 = 179 * Free Version - Store SSL certificate & key in ssl/domain.com/ directory above web root to avoid public access in case htaccess is not supported 180 * Store keys as option if root dir access is restricted 181 178 182 = 7.0.0 = 179 183 * PRO - CERT PANEL improvements … … 182 186 183 187 = 6.6.0 = 184 * Freemius sdk update185 188 * http file names correction 186 189 * SSL labs scan improvements 190 * Freemius SDK update to 2.6.2 191 * Fixed issue with http verification file names 187 192 188 193 = 6.5.0 = -
wp-letsencrypt-ssl/trunk/wp-letsencrypt.php
r3063695 r3066915 8 8 * Plugin URI: https://wpencryption.com 9 9 * Description: Secure your WordPress site with free SSL certificate and force HTTPS. Enable HTTPS padlock. Just activating this plugin won't help! - Please run the SSL install form of WP Encryption found on left panel. 10 * Version: 7. 0.010 * Version: 7.1.0 11 11 * Author: WP Encryption SSL HTTPS 12 12 * Author URI: https://wpencryption.com … … 35 35 */ 36 36 if ( !defined( 'WPLE_PLUGIN_VER' ) ) { 37 define( 'WPLE_PLUGIN_VER', '7. 0.0' );37 define( 'WPLE_PLUGIN_VER', '7.1.0' ); 38 38 } 39 39 if ( !defined( 'WPLE_BASE' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.