PluginProbe
Polylang / 2.7.3
Polylang v2.7.3
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / modules / wizard / html-wizard-notice.php

html-wizard-notice.php in Polylang 2.7.3, at modules/wizard/html-wizard-notice.php

49 lines 928 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Displays the wizard notice content
5 *
6 * @since 2.7
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Don't access directly.
11 };
12
13 $wizard_url = add_query_arg(
14 array(
15 'page' => 'mlang_wizard',
16 ),
17 admin_url( 'admin.php' )
18 );
19 ?>
20 <p>
21 <strong>
22 <?php
23 printf(
24 /* translators: %s is the plugin name */
25 esc_html__( 'Welcome to %s', 'polylang' ),
26 esc_html( POLYLANG )
27 );
28 ?>
29 </strong>
30 <?php
31 echo ' &#8211; ';
32 esc_html_e( 'You&lsquo;re almost ready to translate your contents!', 'polylang' );
33 ?>
34 </p>
35 <p class="buttons">
36 <a
37 href="<?php echo esc_url( $wizard_url ); ?>"
38 class="button button-primary"
39 >
40 <?php esc_html_e( 'Run the Setup Wizard', 'polylang' ); ?>
41 </a>
42 <a
43 class="button button-secondary skip"
44 href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'pll-hide-notice', 'wizard' ), 'wizard', '_pll_notice_nonce' ) ); ?>"
45 >
46 <?php esc_html_e( 'Skip setup', 'polylang' ); ?>
47 </a>
48 </p>
49