PluginProbe
Polylang / trunk
Polylang vtrunk
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
← All changes | src/modules/wizard/view-wizard-step-home-page.php +3 -3 3.8.3 → trunk View file →
@@ -32,9 +32,9 @@
32 32 <?php
33 33 printf(
34 34 /* translators: %s is the language of the front page ( flag, native name and locale ) */
35 35 esc_html__( 'Its language is : %s.', 'polylang' ),
36 - $home_page_language->flag . ' <strong>' . esc_html( $home_page_language->name ) . ' ' . esc_html( $home_page_language->locale ) . '</strong>' //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
36 + $home_page_language->get_admin_flag( 'aria-hidden' ) . ' <strong>' . esc_html( $home_page_language->name ) . ' ' . esc_html( $home_page_language->locale ) . '</strong>' //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
37 37 );
38 38 ?>
39 39 <br />
40 40 <?php esc_html_e( 'For your site to work correctly, this page must be translated in all available languages.', 'polylang' ); ?>
@@ -59,9 +59,9 @@
59 59 ?>
60 60 <tr>
61 61 <td>
62 62 <?php
63 - echo $language->flag; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
63 + echo $language->get_admin_flag( 'aria-hidden' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
64 64 echo ' ' . esc_html( $language->name ) . ' ' . esc_html( $language->locale ) . ' ';
65 65 ?>
66 66 <?php if ( $language->is_default ) : ?>
67 67 <span class="icon-default-lang">
@@ -104,9 +104,9 @@
104 104 ?>
105 105 <tr>
106 106 <td>
107 107 <?php
108 - echo $lg->flag; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
108 + echo $lg->get_admin_flag( 'aria-hidden' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
109 109 echo ' ' . esc_html( $lg->name ) . ' ' . esc_html( $lg->locale ) . ' ';
110 110 ?>
111 111 <?php if ( $lg->is_default ) : ?>
112 112 <span class="icon-default-lang">