| @@ -133,8 +133,9 @@ | ||
| 133 | 133 | $this->add_group_control( |
| 134 | 134 | Group_Control_Image_Size::get_type(), |
| 135 | 135 | [ |
| 136 | 136 | 'name' => 'primary_thumbnail', |
| 137 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 137 | 138 | 'exclude' => ['custom'], |
| 138 | 139 | 'default' => 'medium', |
| 139 | 140 | ] |
| 140 | 141 | ); |
| @@ -1237,9 +1238,9 @@ | ||
| 1237 | 1238 | <?php if ($settings['show_author']) : ?> |
| 1238 | 1239 | <?php $this->render_author(); ?> |
| 1239 | 1240 | <?php endif; ?> |
| 1240 | 1241 | <?php if ($settings['show_comments']) : ?> |
| 1241 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1242 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1242 | 1243 | <?php $this->render_comments($post_id); ?> |
| 1243 | 1244 | </div> |
| 1244 | 1245 | <?php endif; ?> |
| 1245 | 1246 | |
| @@ -1244,9 +1245,9 @@ | ||
| 1244 | 1245 | <?php endif; ?> |
| 1245 | 1246 | |
| 1246 | 1247 | <?php if (_is_upk_pro_activated()) : |
| 1247 | 1248 | if ('yes' === $settings['show_reading_time']) : ?> |
| 1248 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1249 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1249 | 1250 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 1250 | 1251 | </div> |
| 1251 | 1252 | <?php endif; ?> |
| 1252 | 1253 | <?php endif; ?> |