PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | views/notice-wrong-api-key.php +15 -9 1.10 → trunk View file →
@@ -1,11 +1,14 @@
1 1 <?php
2 -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
2 +defined( 'ABSPATH' ) || exit;
3 3
4 -$this->print_template( 'notice-header', array(
5 - 'title' => __( 'Your API key isn\'t valid!', 'imagify' ),
6 - 'classes' => array( 'error' ),
7 -) );
4 +$this->print_template(
5 + 'notice-header',
6 + [
7 + 'title' => esc_html__( 'Your API key isn\'t valid!', 'imagify' ),
8 + 'classes' => [ 'error' ],
9 + ]
10 +);
8 11 ?>
9 12 <p>
10 13 <?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?>
11 14 <?php
@@ -10,9 +13,9 @@
10 13 <?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?>
11 14 <?php
12 15 printf(
13 16 /* translators: 1 and 2 are link tag starts, 3 is a link tag end. */
14 - __( 'Go to your Imagify account page to get your API Key and specify it on %1$syour settings%3$s or %2$screate an account for free%3$s if you don\'t have one yet.', 'imagify' ),
17 + esc_html__( 'Go to your Imagify account page to get your API Key and specify it on %1$syour settings%3$s or %2$screate an account for free%3$s if you don\'t have one yet.', 'imagify' ),
15 18 '<a href="' . esc_url( get_imagify_admin_url() ) . '">',
16 19 '<a id="imagify-signup" target="_blank" href="' . esc_url( imagify_get_external_url( 'register' ) ) . '">',
17 20 '</a>'
18 21 );
@@ -18,7 +21,10 @@
18 21 );
19 22 ?>
20 23 </p>
21 24 <?php
22 -$this->print_template( 'notice-footer', array(
23 - 'dismissible' => 'wrong-api-key',
24 -) );
25 +$this->print_template(
26 + 'notice-footer',
27 + [
28 + 'dismissible' => 'wrong-api-key',
29 + ]
30 +);