| @@ -156,8 +156,9 @@ | ||
| 156 | 156 | $this->add_group_control( |
| 157 | 157 | Group_Control_Image_Size::get_type(), |
| 158 | 158 | [ |
| 159 | 159 | 'name' => 'primary_thumbnail', |
| 160 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 160 | 161 | 'exclude' => ['custom'], |
| 161 | 162 | 'default' => 'medium', |
| 162 | 163 | ] |
| 163 | 164 | ); |
| @@ -886,9 +887,9 @@ | ||
| 886 | 887 | [ |
| 887 | 888 | 'label' => esc_html__('Arrow Size', 'ultimate-post-kit'), |
| 888 | 889 | 'type' => Controls_Manager::SLIDER, |
| 889 | 890 | 'selectors' => [ |
| 890 | - '{{WRAPPER}} ul.upk-pagination li a svg' => 'height: {{SIZE}}px; width: auto;', | |
| 891 | + '{{WRAPPER}} ul.upk-pagination li a i' => 'font-size: {{SIZE}}px;', | |
| 891 | 892 | ], |
| 892 | 893 | ] |
| 893 | 894 | ); |
| 894 | 895 | |
| @@ -1059,14 +1060,14 @@ | ||
| 1059 | 1060 | <div class="upk-meta upk-flex-inline upk-flex-middle"> |
| 1060 | 1061 | <?php $this->render_date();?> |
| 1061 | 1062 | <?php if (_is_upk_pro_activated()): |
| 1062 | 1063 | if ('yes' === $settings['show_reading_time']): ?> |
| 1063 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1064 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1064 | 1065 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) );?> |
| 1065 | 1066 | </div> |
| 1066 | 1067 | <?php endif;?> |
| 1067 | 1068 | <?php endif;?> |
| 1068 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1069 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1069 | 1070 | <?php $this->render_comments($post_id);?> |
| 1070 | 1071 | </div> |
| 1071 | 1072 | </div> |
| 1072 | 1073 | <?php endif;?> |