| @@ -148,8 +148,9 @@ | ||
| 148 | 148 | $this->add_group_control( |
| 149 | 149 | Group_Control_Image_Size::get_type(), |
| 150 | 150 | [ |
| 151 | 151 | 'name' => 'primary_thumbnail', |
| 152 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 152 | 153 | 'exclude' => ['custom'], |
| 153 | 154 | 'default' => 'medium', |
| 154 | 155 | ] |
| 155 | 156 | ); |
| @@ -1197,9 +1198,9 @@ | ||
| 1197 | 1198 | <div class="upk-meta"> |
| 1198 | 1199 | <?php $this->render_author(); ?> |
| 1199 | 1200 | |
| 1200 | 1201 | <?php if ($settings['show_date'] == 'yes') : ?> |
| 1201 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1202 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1202 | 1203 | <?php $this->render_date(); ?> |
| 1203 | 1204 | </div> |
| 1204 | 1205 | <?php endif; ?> |
| 1205 | 1206 | |
| @@ -1204,9 +1205,9 @@ | ||
| 1204 | 1205 | <?php endif; ?> |
| 1205 | 1206 | |
| 1206 | 1207 | <?php if (_is_upk_pro_activated()) : |
| 1207 | 1208 | if ('yes' === $settings['show_reading_time']) : ?> |
| 1208 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1209 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1209 | 1210 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 1210 | 1211 | </div> |
| 1211 | 1212 | <?php endif; ?> |
| 1212 | 1213 | <?php endif; ?> |