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/part-settings-library.php +5 -4 1.10 → trunk View file →
@@ -1,6 +1,6 @@
1 1 <?php
2 -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
2 +defined( 'ABSPATH' ) || exit;
3 3
4 4 $settings = Imagify_Settings::get_instance();
5 5 $options = Imagify_Options::get_instance();
6 6 $option_name = $options->get_option_name();
@@ -29,9 +29,9 @@
29 29 $resize_larger_w = $options->get( 'resize_larger_w' );
30 30 printf(
31 31 /* translators: 1 is a text input for a number of pixels (don't use %d). */
32 32 esc_html__( 'to maximum %s pixels width', 'imagify' ),
33 - '<input type="number" id="imagify_resize_larger_w" min="' . $max_sizes['width'] . '" name="' . $option_name . '[resize_larger_w]" value="' . ( $resize_larger_w ? $resize_larger_w : '' ) . '" size="5">'
33 + '<input type="number" id="imagify_resize_larger_w" min="' . esc_attr( $max_sizes['width'] ) . '" name="' . esc_attr( $option_name . '[resize_larger_w]' ) . '" value="' . esc_attr( $resize_larger_w ? $resize_larger_w : '' ) . '" size="5">'
34 34 );
35 35 ?>
36 36 </label>
37 37 </span>
@@ -41,9 +41,9 @@
41 41 <?php
42 42 printf(
43 43 /* translators: 1 is a number of pixels. */
44 44 esc_html__( 'This option is recommended to reduce larger images. You can save up to 80%% after resizing. The new width should not be less than your largest thumbnail width, which is actually %dpx.', 'imagify' ),
45 - $max_sizes['width']
45 + esc_html( $max_sizes['width'] )
46 46 );
47 47 echo ' ';
48 48
49 49 if ( function_exists( 'wp_get_original_image_path' ) ) {
@@ -70,9 +70,10 @@
70 70 <?php
71 71 printf(
72 72 /* translators: 1 is a "bold" tag start, 2 is the "bold" tag end. */
73 73 esc_html__( 'The %1$soriginal size%2$s is %1$sautomatically optimized%2$s by Imagify.', 'imagify' ),
74 - '<strong>', '</strong>'
74 + '<strong>',
75 + '</strong>'
75 76 );
76 77 ?>
77 78 <br>
78 79 <span class="imagify-success">