PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / 1.7.7
Image Optimizer – Compress Images and Convert to WebP or AVIF v1.7.7
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | modules/core/components/user-feedback.php +9 -9 1.5.01.7.7 View file →
@@ -99,17 +99,17 @@
99 99 ); ?>
100 100 </b>
101 101
102 102 <span>
103 - <?php printf(
103 + <?php echo wp_kses_post( sprintf(
104 104 __(
105 - 'If you enjoyed using Image Optimizer, consider leaving a <a href="%1$s" aria-label="%2$s" target="_blank"
105 + 'If you enjoyed using Image Optimization, consider leaving a <a href="%1$s" aria-label="%2$s" target="_blank"
106 106 rel="noopener noreferrer">★★★★★</a> review to spread the word.',
107 107 'image-optimization'
108 108 ),
109 109 esc_url( self::NOTICE_FEEDBACK_LINK ),
110 110 esc_attr__( 'Five stars', 'image-optimization' )
111 - ); ?>
111 + ) ); ?>
112 112 </span>
113 113 </p>
114 114 </div>
115 115
@@ -165,15 +165,15 @@
165 165 data-notice-slug="<?php echo esc_attr( self::THIRD_OF_IMAGES_OPTIMIZED_FEEDBACK_SLUG ); ?>">
166 166 <p>
167 167 <b>
168 168 <?php esc_html_e(
169 - 'Thanks for using Image Optimizer!',
169 + 'Thanks for using Image Optimization!',
170 170 'image-optimization'
171 171 ); ?>
172 172 </b>
173 173
174 174 <span>
175 - <?php printf(
175 + <?php echo wp_kses_post( sprintf(
176 176 __(
177 177 'If you\'ve enjoyed it, consider leaving a <a href="%1$s" aria-label="%2$s" target="_blank"
178 178 rel="noopener noreferrer">★★★★★</a> review to spread the word.',
179 179 'image-optimization'
@@ -179,9 +179,9 @@
179 179 'image-optimization'
180 180 ),
181 181 esc_url( self::NOTICE_FEEDBACK_LINK ),
182 182 esc_attr__( 'Five stars', 'image-optimization' )
183 - ); ?>
183 + ) ); ?>
184 184 </span>
185 185 </p>
186 186 </div>
187 187
@@ -231,16 +231,16 @@
231 231 *
232 232 * @return void
233 233 */
234 234 public function add_leave_feedback_footer_text(): void {
235 - printf(
236 - __( '<b>Found Image Optimizer helpful?</b> Leave us a <a href="%1$s" aria-label="%2$s" target="_blank"
235 + echo wp_kses_post( sprintf(
236 + __( '<b>Found Image Optimization helpful?</b> Leave us a <a href="%1$s" aria-label="%2$s" target="_blank"
237 237 rel="noopener noreferrer">★★★★★</a> rating!',
238 238 'image-optimization'
239 239 ),
240 240 esc_url( self::FOOTER_FEEDBACK_LINK ),
241 241 esc_attr__( 'Five stars', 'image-optimization' )
242 - );
242 + ) );
243 243 }
244 244
245 245 public function __construct() {
246 246 add_action('current_screen', function () {