| @@ -105,9 +105,11 @@ | ||
| 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 | + 'hplatform' => !empty( $_SERVER['H_PLATFORM'] ) ? 1 : 0, | |
| 110 | + 'plugin_split_notice' => $this->helper->should_plugin_split_notice_shown() ? 1 : 0, | |
| 111 | + 'hts_close_plugin_split_nonce' => wp_create_nonce( 'hts_close_plugin_split' ), | |
| 110 | 112 | 'translations' => array( |
| 111 | 113 | 'routes_hostinger_tools' => __( 'Hostinger Tools', 'hostinger' ), |
| 112 | 114 | 'hostinger_tools_disable_public_access' => __( 'Disable public access to the site (WordPress admins will still be able to access)', 'hostinger' ), |
| 113 | 115 | 'hostinger_tools_skip_link_maintenance_mode' => __( 'Skip-link that bypasses the maintenance mode', 'hostinger' ), |
| @@ -131,8 +133,11 @@ | ||
| 131 | 133 | 'hostinger_tools_security' => __( 'Security', 'hostinger' ), |
| 132 | 134 | 'hostinger_tools_redirects' => __( 'Redirects', 'hostinger' ), |
| 133 | 135 | 'hostinger_tools_maintenance_mode' => __( 'Maintenance mode', 'hostinger' ), |
| 134 | 136 | 'hostinger_tools_bypass_link' => __( 'Bypass link', 'hostinger' ), |
| 137 | + 'hostinger_tools_split_title' => __( 'We’re splitting Hostinger plugin into two: Hostinger Tools and Hostinger Easy Onboarding', 'hostinger' ), | |
| 138 | + 'hostinger_tools_split_body' => __( 'Hostinger Tools will offer new tools to simplify your site management. And Hostinger Easy Onboarding will guide you through the steps of building a website.', 'hostinger' ), | |
| 139 | + 'hostinger_tools_split_got_it' => __( 'Got it', 'hostinger' ), | |
| 135 | 140 | 'xml_security_modal_description' => __( ' Turning on XML-RPC might make your site less secure. Do you want to proceed?', 'hostinger' ), |
| 136 | 141 | 'xml_security_modal_title' => __( 'Disclaimer', 'hostinger' ), |
| 137 | 142 | 'xml_security_modal_cancel' => __( 'Cancel', 'hostinger' ), |
| 138 | 143 | 'xml_security_modal_proceed_anyway' => __( 'Proceed anyway', 'hostinger' ), |