| @@ -128,8 +128,9 @@ | ||
| 128 | 128 | $this->add_group_control( |
| 129 | 129 | Group_Control_Image_Size::get_type(), |
| 130 | 130 | [ |
| 131 | 131 | 'name' => 'primary_thumbnail', |
| 132 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 132 | 133 | 'exclude' => ['custom'], |
| 133 | 134 | 'default' => 'medium', |
| 134 | 135 | ] |
| 135 | 136 | ); |
| @@ -171,9 +172,9 @@ | ||
| 171 | 172 | |
| 172 | 173 | $this->start_controls_section( |
| 173 | 174 | 'section_content_additional', |
| 174 | 175 | [ |
| 175 | - 'label' => esc_html__('Additional', 'ultimate-post-kit'), | |
| 176 | + 'label' => esc_html__('Additional Options', 'ultimate-post-kit'), | |
| 176 | 177 | ] |
| 177 | 178 | ); |
| 178 | 179 | |
| 179 | 180 | $this->add_control( |
| @@ -567,9 +568,9 @@ | ||
| 567 | 568 | [ |
| 568 | 569 | 'label' => esc_html__('Hover Color', 'ultimate-post-kit'), |
| 569 | 570 | 'type' => Controls_Manager::COLOR, |
| 570 | 571 | 'selectors' => [ |
| 571 | - '{{WRAPPER}} .upk-harold-carousel .upk-meta .upk-author a:hover' => 'color: {{VALUE}};', | |
| 572 | + '{{WRAPPER}} .upk-harold-carousel .upk-meta .upk-author a:hover *' => 'color: {{VALUE}};', | |
| 572 | 573 | ], |
| 573 | 574 | ] |
| 574 | 575 | ); |
| 575 | 576 | |
| @@ -611,9 +612,9 @@ | ||
| 611 | 612 | Group_Control_Typography::get_type(), |
| 612 | 613 | [ |
| 613 | 614 | 'name' => 'meta_typography', |
| 614 | 615 | 'label' => esc_html__('Typography', 'ultimate-post-kit'), |
| 615 | - 'selector' => '{{WRAPPER}} .upk-harold-carousel .upk-meta', | |
| 616 | + 'selector' => '{{WRAPPER}} .upk-harold-carousel .upk-meta, {{WRAPPER}} .upk-harold-carousel .upk-meta *', | |
| 616 | 617 | ] |
| 617 | 618 | ); |
| 618 | 619 | |
| 619 | 620 | $this->end_controls_section(); |
| @@ -844,9 +845,9 @@ | ||
| 844 | 845 | } |
| 845 | 846 | |
| 846 | 847 | ?> |
| 847 | 848 | |
| 848 | - <img class="upk-harold-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_html(get_the_title()); ?>"> | |
| 849 | + <img class="upk-harold-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_attr(get_the_title()); ?>"> | |
| 849 | 850 | |
| 850 | 851 | <?php |
| 851 | 852 | } |
| 852 | 853 | |
| @@ -935,15 +936,15 @@ | ||
| 935 | 936 | <?php if ($settings['show_author'] or $settings['show_date'] or $settings['show_reading_time']) : ?> |
| 936 | 937 | <div class="upk-meta"> |
| 937 | 938 | <?php $this->render_author(); ?> |
| 938 | 939 | <?php if ($settings['show_date']) : ?> |
| 939 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 940 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 940 | 941 | <?php $this->render_date(); ?> |
| 941 | 942 | </div> |
| 942 | 943 | <?php endif; ?> |
| 943 | 944 | <?php if (_is_upk_pro_activated()) : |
| 944 | 945 | if ('yes' === $settings['show_reading_time']) : ?> |
| 945 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 946 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 946 | 947 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 947 | 948 | </div> |
| 948 | 949 | <?php endif; ?> |
| 949 | 950 | <?php endif; ?> |