| @@ -132,8 +132,9 @@ | ||
| 132 | 132 | $this->add_group_control( |
| 133 | 133 | Group_Control_Image_Size::get_type(), |
| 134 | 134 | [ |
| 135 | 135 | 'name' => 'primary_thumbnail', |
| 136 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 136 | 137 | 'exclude' => ['custom'], |
| 137 | 138 | 'default' => 'medium', |
| 138 | 139 | ] |
| 139 | 140 | ); |
| @@ -894,15 +895,15 @@ | ||
| 894 | 895 | <?php if ($settings['show_author'] or $settings['show_date'] or $settings['show_reading_time']) : ?> |
| 895 | 896 | <div class="upk-meta"> |
| 896 | 897 | <?php $this->render_author(); ?> |
| 897 | 898 | <?php if ($settings['show_date']) : ?> |
| 898 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 899 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 899 | 900 | <?php $this->render_date(); ?> |
| 900 | 901 | </div> |
| 901 | 902 | <?php endif; ?> |
| 902 | 903 | <?php if (_is_upk_pro_activated()) : |
| 903 | 904 | if ('yes' === $settings['show_reading_time']) : ?> |
| 904 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 905 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 905 | 906 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 906 | 907 | </div> |
| 907 | 908 | <?php endif; ?> |
| 908 | 909 | <?php endif; ?> |