PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | modules/widgets/eu-cookie-law/form.php +9 -3 12.7.316.3-a.1 View file →
@@ -1,14 +1,20 @@
1 1 <?php
2 2 /**
3 3 * EU Cookie Law Widget form.
4 4 *
5 + * @html-template Jetpack_EU_Cookie_Law_Widget::form
5 6 * @package automattic/jetpack
6 7 */
7 8
8 9 use Automattic\Jetpack\Redirect;
9 10
10 -// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
11 +if ( ! defined( 'ABSPATH' ) ) {
12 + exit( 0 );
13 +}
14 +
15 +// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- HTML template, let Phan handle it.
16 +
11 17 ?>
12 18 <p>
13 19 <strong>
14 20 <?php esc_html_e( 'Banner text', 'jetpack' ); ?>
@@ -145,9 +151,9 @@
145 151 <hr />
146 152
147 153 <p>
148 154 <strong>
149 - <?php esc_html_x( 'Capture consent & hide the banner', 'action', 'jetpack' ); ?>
155 + <?php echo esc_html_x( 'Capture consent & hide the banner', 'action', 'jetpack' ); ?>
150 156 </strong>
151 157 <ul>
152 158 <li>
153 159 <label>
@@ -207,9 +213,9 @@
207 213 <hr />
208 214
209 215 <p>
210 216 <strong>
211 - <?php esc_html_x( 'Consent expires after', 'action', 'jetpack' ); ?>
217 + <?php echo esc_html_x( 'Consent expires after', 'action', 'jetpack' ); ?>
212 218 </strong>
213 219 <ul>
214 220 <li>
215 221 <input