| @@ -128,8 +128,9 @@ | ||
| 128 | 128 | $this->add_group_control( |
| 129 | 129 | Group_Control_Image_Size::get_type(), |
| 130 | 130 | [ |
| 131 | 131 | 'name' => 'primary_thumbnail', |
| 132 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 132 | 133 | 'exclude' => ['custom'], |
| 133 | 134 | 'default' => 'medium', |
| 134 | 135 | ] |
| 135 | 136 | ); |
| @@ -884,9 +885,9 @@ | ||
| 884 | 885 | <?php $this->render_author(); ?> |
| 885 | 886 | <?php endif; ?> |
| 886 | 887 | |
| 887 | 888 | <?php if ($settings['show_date']) : ?> |
| 888 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 889 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 889 | 890 | <?php $this->render_date(); ?> |
| 890 | 891 | </div> |
| 891 | 892 | <?php endif; ?> |
| 892 | 893 | |
| @@ -891,9 +892,9 @@ | ||
| 891 | 892 | <?php endif; ?> |
| 892 | 893 | |
| 893 | 894 | <?php if (_is_upk_pro_activated()) : |
| 894 | 895 | if ('yes' === $settings['show_reading_time']) : ?> |
| 895 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 896 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 896 | 897 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 897 | 898 | </div> |
| 898 | 899 | <?php endif; ?> |
| 899 | 900 | <?php endif; ?> |
| @@ -898,9 +899,9 @@ | ||
| 898 | 899 | <?php endif; ?> |
| 899 | 900 | <?php endif; ?> |
| 900 | 901 | |
| 901 | 902 | <?php if ($settings['show_comments']) : ?> |
| 902 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 903 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 903 | 904 | <?php $this->render_comments($post_id); ?> |
| 904 | 905 | </div> |
| 905 | 906 | <?php endif; ?> |
| 906 | 907 | |