| @@ -105,8 +105,9 @@ | ||
| 105 | 105 | array( |
| 106 | 106 | 'home_url' => home_url(), |
| 107 | 107 | 'site_url' => get_site_url(), |
| 108 | 108 | 'plugin_url' => HOSTINGER_PLUGIN_URL, |
| 109 | + 'hplatform' => !empty( $_SERVER['H_PLATFORM'] ) ? 1 : 0, | |
| 109 | 110 | 'translations' => array( |
| 110 | 111 | 'routes_hostinger_tools' => __( 'Hostinger Tools', 'hostinger' ), |
| 111 | 112 | 'hostinger_tools_disable_public_access' => __( 'Disable public access to the site (WordPress admins will still be able to access)', 'hostinger' ), |
| 112 | 113 | 'hostinger_tools_skip_link_maintenance_mode' => __( 'Skip-link that bypasses the maintenance mode', 'hostinger' ), |
| @@ -112,9 +113,9 @@ | ||
| 112 | 113 | 'hostinger_tools_skip_link_maintenance_mode' => __( 'Skip-link that bypasses the maintenance mode', 'hostinger' ), |
| 113 | 114 | 'hostinger_tools_reset_link' => __( 'Reset link', 'hostinger' ), |
| 114 | 115 | 'hostinger_tools_disable_xml_rpc' => __( 'Disable XML-RPC', 'hostinger' ), |
| 115 | 116 | 'hostinger_tools_xml_rpc_description' => __( 'XML-RPC allows apps to connect to your WordPress site, but might expose your site\'s security. Disable this feature if you don\'t need it', 'hostinger' ), |
| 116 | - 'hostinger_tools_force_https' => __( 'Force HTTPs', 'hostinger' ), | |
| 117 | + 'hostinger_tools_force_https' => __( 'Force HTTPS', 'hostinger' ), | |
| 117 | 118 | 'hostinger_tools_force_https_description' => __( 'Redirects all HTTP URLs to HTTPS sites', 'hostinger' ), |
| 118 | 119 | 'hostinger_tools_force_www' => __( 'Force WWW', 'hostinger' ), |
| 119 | 120 | 'hostinger_tools_force_www_description' => __( 'Redirects all WWW URLs to non-WWW ones', 'hostinger' ), |
| 120 | 121 | 'hostinger_tools_force_www_description_not_available' => __( 'WWW and non-WWW domain records are not pointing to the same host. Redirect not possible.', 'hostinger' ), |
| @@ -122,8 +123,9 @@ | ||
| 122 | 123 | 'hostinger_tools_wordpress_version' => __( 'WordPress version', 'hostinger' ), |
| 123 | 124 | 'hostinger_tools_php_version_description' => __( 'Various updates and fixes available in the newest version.', 'hostinger' ), |
| 124 | 125 | 'hostinger_tools_running_latest_version' => __( 'Running the latest version', 'hostinger' ), |
| 125 | 126 | 'hostinger_tools_update_to' => __( 'Update to', 'hostinger' ), |
| 127 | + 'hostinger_tools_update_to_recommended' => __( 'is recommended', 'hostinger' ), | |
| 126 | 128 | 'hostinger_tools_update_to_wordpress_version_description' => __( 'For improved security, ensure you use the latest version of WordPress', 'hostinger' ), |
| 127 | 129 | 'hostinger_tools_maintenance' => __( 'Maintenance', 'hostinger' ), |
| 128 | 130 | 'hostinger_tools_preview_my_website' => __( 'Preview my website', 'hostinger' ), |
| 129 | 131 | 'hostinger_tools_security' => __( 'Security', 'hostinger' ), |