| @@ -155,8 +155,9 @@ | ||
| 155 | 155 | $this->add_group_control( |
| 156 | 156 | Group_Control_Image_Size::get_type(), |
| 157 | 157 | [ |
| 158 | 158 | 'name' => 'primary_thumbnail', |
| 159 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 159 | 160 | 'exclude' => ['custom'], |
| 160 | 161 | 'default' => 'medium', |
| 161 | 162 | ] |
| 162 | 163 | ); |
| @@ -895,14 +896,14 @@ | ||
| 895 | 896 | <div class="upk-meta upk-flex-inline upk-flex-middle"> |
| 896 | 897 | <?php $this->render_date(); ?> |
| 897 | 898 | <?php if (_is_upk_pro_activated()) : |
| 898 | 899 | if ('yes' === $settings['show_reading_time']) : ?> |
| 899 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 900 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 900 | 901 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 901 | 902 | </div> |
| 902 | 903 | <?php endif; ?> |
| 903 | 904 | <?php endif; ?> |
| 904 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 905 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 905 | 906 | <?php $this->render_comments($post_id); ?> |
| 906 | 907 | </div> |
| 907 | 908 | </div> |
| 908 | 909 | <?php endif; ?> |