@@ -269,9 +269,8 @@ function es_optimizer_render_checkbox_option($options, $option_name, $title, $de
269269 ?>
270270 <tr valign="top">
271271 <th scope="row"><?php
272- // Using esc_html_e for internationalization and secure output of titles
273- // This properly escapes the output while also supporting translations
274- esc_html_e ($ title , 'simple-wp-optimizer-enginescript ' );
272+ // Using esc_html for secure output of titles
273+ echo esc_html ( $ title );
275274 ?> </th>
276275 <td>
277276 <label>
@@ -286,9 +285,8 @@ function es_optimizer_render_checkbox_option($options, $option_name, $title, $de
286285 ?> " value="1"
287286 <?php checked (1 , isset ($ options [$ option_name ]) ? $ options [$ option_name ] : 0 ); ?> />
288287 <?php
289- // Using esc_html_e for internationalization and secure output of descriptions
290- // This ensures the text is properly escaped while supporting translations
291- esc_html_e ($ description , 'simple-wp-optimizer-enginescript ' );
288+ // Using esc_html for secure output of descriptions
289+ echo esc_html ( $ description );
292290 ?>
293291 </label>
294292 </td>
@@ -313,15 +311,13 @@ function es_optimizer_render_textarea_option($options, $option_name, $title, $de
313311 ?>
314312 <tr valign="top">
315313 <th scope="row"><?php
316- // Using esc_html_e for internationalization and secure output of titles
317- // This properly escapes the output while also supporting translations
318- esc_html_e ($ title , 'simple-wp-optimizer-enginescript ' );
314+ // Using esc_html for secure output of titles
315+ echo esc_html ( $ title );
319316 ?> </th>
320317 <td>
321318 <p><small><?php
322- // Using esc_html_e for internationalization and secure output of descriptions
323- // This ensures the text is properly escaped while supporting translations
324- esc_html_e ($ description , 'simple-wp-optimizer-enginescript ' );
319+ // Using esc_html for secure output of descriptions
320+ echo esc_html ( $ description );
325321 ?> </small></p>
326322 <textarea name="<?php
327323 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -475,7 +471,7 @@ function disable_emojis_tinymce($plugins) {
475471 * @return array Difference betwen the two arrays.
476472 */
477473function disable_emojis_remove_dns_prefetch ($ urls , $ relation_type ) {
478- if ('dns-prefetch ' == $ relation_type ) {
474+ if ('dns-prefetch ' === $ relation_type ) {
479475 $ emoji_svg_url = apply_filters ('emoji_svg_url ' , 'https://s.w.org/images/core/emoji/2/svg/ ' );
480476 $ urls = array_diff ($ urls , array ($ emoji_svg_url ));
481477 }
@@ -500,7 +496,7 @@ function remove_jquery_migrate($scripts) {
500496 }
501497
502498 if (!is_admin () && isset ($ scripts ->registered ['jquery ' ])) {
503- $ script = $ scripts ->registered ['jquery ' ];
499+ $ script = $ scripts ->registered ['jquery ' ];
504500
505501 // Remove jquery-migrate from jquery dependencies
506502 if ($ script ->deps ) {
0 commit comments