| @@ -119,8 +119,9 @@ | ||
| 119 | 119 | $this->add_group_control( |
| 120 | 120 | Group_Control_Image_Size::get_type(), |
| 121 | 121 | [ |
| 122 | 122 | 'name' => 'primary_thumbnail', |
| 123 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 123 | 124 | 'exclude' => ['custom'], |
| 124 | 125 | 'default' => 'medium', |
| 125 | 126 | ] |
| 126 | 127 | ); |
| @@ -1188,20 +1189,20 @@ | ||
| 1188 | 1189 | <?php if ($settings['show_author']) : ?> |
| 1189 | 1190 | <?php $this->render_author(); ?> |
| 1190 | 1191 | <?php endif; ?> |
| 1191 | 1192 | <?php if ($settings['show_date']) : ?> |
| 1192 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1193 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1193 | 1194 | <?php $this->render_date(); ?> |
| 1194 | 1195 | </div> |
| 1195 | 1196 | <?php endif; ?> |
| 1196 | 1197 | <?php if ($settings['show_comments']) : ?> |
| 1197 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1198 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1198 | 1199 | <?php $this->render_comments($post_id); ?> |
| 1199 | 1200 | </div> |
| 1200 | 1201 | <?php endif; ?> |
| 1201 | 1202 | <?php if (_is_upk_pro_activated()) : |
| 1202 | 1203 | if ('yes' === $settings['show_reading_time']) : ?> |
| 1203 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1204 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1204 | 1205 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 1205 | 1206 | </div> |
| 1206 | 1207 | <?php endif; ?> |
| 1207 | 1208 | <?php endif; ?> |