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-welcome-steps.php +15 -15 1.10 → trunk View file →
@@ -2,36 +2,36 @@
2 2 defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
3 3 ?>
4 4 <div class="imagify-welcome">
5 5 <div class="imagify-title">
6 - <img class="imagify-logo" src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>imagify-logo.png" width="225" height="26" alt="Imagify" />
6 + <img class="imagify-logo" src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL ); ?>imagify-logo.png" width="225" height="26" alt="Imagify" />
7 7 <span class="baseline">
8 - <?php _e( 'Welcome to Imagify, the best way to easily optimize your images!', 'imagify' ); ?>
8 + <?php esc_html_e( 'Welcome to Imagify, the best way to easily optimize your images!', 'imagify' ); ?>
9 9 </span>
10 - <a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'welcome-steps' ) ); ?>" class="imagify-notice-dismiss imagify-welcome-remove" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="dashicons dashicons-dismiss"></span><span class="screen-reader-text"><?php _e( 'Dismiss this notice', 'imagify' ); ?></span></a>
10 + <a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'welcome-steps' ) ); ?>" class="imagify-notice-dismiss imagify-welcome-remove" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="dashicons dashicons-dismiss"></span><span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'imagify' ); ?></span></a>
11 11 </div>
12 12 <div class="imagify-settings-section">
13 13 <div class="imagify-columns counter">
14 14 <div class="col-1-3">
15 - <img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>user.svg" width="48" height="48" alt="">
15 + <img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL ); ?>user.svg" width="48" height="48" alt="">
16 16 <div class="imagify-col-content">
17 - <p class="imagify-col-title"><?php _e( 'Create an Account', 'imagify' ); ?></p>
18 - <p class="imagify-col-desc"><?php _e( 'Don\'t have an Imagify account yet? Optimize your images by creating an account in a few seconds!', 'imagify' ); ?></p>
17 + <p class="imagify-col-title"><?php esc_html_e( 'Create an Account', 'imagify' ); ?></p>
18 + <p class="imagify-col-desc"><?php esc_html_e( 'Don\'t have an Imagify account yet? Optimize your images by creating an account in a few seconds!', 'imagify' ); ?></p>
19 19 <p>
20 20 <?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?>
21 - <a id="imagify-signup" target="_blank" href="<?php echo esc_url( imagify_get_external_url( 'register' ) ); ?>" class="button button-primary"><?php _e( 'Sign up, It\'s FREE!', 'imagify' ); ?></a>
21 + <a id="imagify-signup" target="_blank" href="<?php echo esc_url( imagify_get_external_url( 'register' ) ); ?>" class="button button-primary"><?php esc_html_e( 'Sign up, It\'s FREE!', 'imagify' ); ?></a>
22 22 </p>
23 23 </div>
24 24 </div>
25 25 <div class="col-1-3">
26 - <img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>key.svg" width="48" height="48" alt="">
26 + <img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL ); ?>key.svg" width="48" height="48" alt="">
27 27 <div class="imagify-col-content">
28 - <p class="imagify-col-title"><?php _e( 'Enter your API Key', 'imagify' ); ?></p>
28 + <p class="imagify-col-title"><?php esc_html_e( 'Enter your API Key', 'imagify' ); ?></p>
29 29 <p class="imagify-col-desc">
30 30 <?php
31 31 printf(
32 32 /* translators: 1 is a link tag start, 2 is the link tag end. */
33 - __( 'Save your API Key you have received by email or you can get it on your %1$sImagify account page%2$s.', 'imagify' ),
33 + esc_html__( 'Save your API Key you have received by email or you can get it on your %1$sImagify account page%2$s.', 'imagify' ),
34 34 '<a target="_blank" href="' . esc_url( imagify_get_external_url( 'get-api-key' ) ) . '">',
35 35 '</a>'
36 36 );
37 37 ?>
@@ -37,18 +37,18 @@
37 37 ?>
38 38 </p>
39 39 <p>
40 40 <?php wp_nonce_field( 'imagify-check-api-key', 'imagifycheckapikeynonce', false ); ?>
41 - <a id="imagify-save-api-key" href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php _e( 'I have my API key', 'imagify' ); ?></a>
41 + <a id="imagify-save-api-key" href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php esc_html_e( 'I have my API key', 'imagify' ); ?></a>
42 42 </p>
43 43 </div>
44 44 </div>
45 45 <div class="col-1-3">
46 - <img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>gear.svg" width="48" height="48" alt="">
46 + <img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL ); ?>gear.svg" width="48" height="48" alt="">
47 47 <div class="imagify-col-content">
48 - <p class="imagify-col-title"><?php _e( 'Configure it', 'imagify' ); ?></p>
49 - <p class="imagify-col-desc"><?php _e( 'It’s almost done! You have just to configure your optimization settings.', 'imagify' ); ?></p>
50 - <p><a href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php _e( 'Go to Settings', 'imagify' ); ?></a></p>
48 + <p class="imagify-col-title"><?php esc_html_e( 'Configure it', 'imagify' ); ?></p>
49 + <p class="imagify-col-desc"><?php esc_html_e( 'It’s almost done! You have just to configure your optimization settings.', 'imagify' ); ?></p>
50 + <p><a href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php esc_html_e( 'Go to Settings', 'imagify' ); ?></a></p>
51 51 </div>
52 52 </div>
53 53 </div>
54 54 </div>