| @@ -132,8 +132,9 @@ | ||
| 132 | 132 | $this->add_group_control( |
| 133 | 133 | Group_Control_Image_Size::get_type(), |
| 134 | 134 | [ |
| 135 | 135 | 'name' => 'primary_thumbnail', |
| 136 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 136 | 137 | 'exclude' => ['custom'], |
| 137 | 138 | 'default' => 'medium', |
| 138 | 139 | ] |
| 139 | 140 | ); |
| @@ -545,9 +546,9 @@ | ||
| 545 | 546 | [ |
| 546 | 547 | 'label' => esc_html__('Hover Color', 'ultimate-post-kit'), |
| 547 | 548 | 'type' => Controls_Manager::COLOR, |
| 548 | 549 | 'selectors' => [ |
| 549 | - '{{WRAPPER}} .upk-harold-list .upk-item .upk-item-box .upk-content .upk-meta .upk-author a:hover' => 'color: {{VALUE}};', | |
| 550 | + '{{WRAPPER}} .upk-harold-list .upk-item .upk-item-box .upk-content .upk-meta .upk-author a:hover *' => 'color: {{VALUE}};', | |
| 550 | 551 | ], |
| 551 | 552 | ] |
| 552 | 553 | ); |
| 553 | 554 | |
| @@ -589,9 +590,9 @@ | ||
| 589 | 590 | Group_Control_Typography::get_type(), |
| 590 | 591 | [ |
| 591 | 592 | 'name' => 'meta_typography', |
| 592 | 593 | 'label' => esc_html__('Typography', 'ultimate-post-kit'), |
| 593 | - 'selector' => '{{WRAPPER}} .upk-harold-list .upk-item .upk-item-box .upk-content .upk-meta', | |
| 594 | + 'selector' => '{{WRAPPER}} .upk-harold-list .upk-item .upk-item-box .upk-content .upk-meta, {{WRAPPER}} .upk-harold-list .upk-item .upk-item-box .upk-content .upk-meta *', | |
| 594 | 595 | ] |
| 595 | 596 | ); |
| 596 | 597 | |
| 597 | 598 | $this->end_controls_section(); |
| @@ -894,15 +895,15 @@ | ||
| 894 | 895 | <?php if ($settings['show_author'] or $settings['show_date'] or $settings['show_reading_time']) : ?> |
| 895 | 896 | <div class="upk-meta"> |
| 896 | 897 | <?php $this->render_author(); ?> |
| 897 | 898 | <?php if ($settings['show_date']) : ?> |
| 898 | - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 899 | + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 899 | 900 | <?php $this->render_date(); ?> |
| 900 | 901 | </div> |
| 901 | 902 | <?php endif; ?> |
| 902 | 903 | <?php if (_is_upk_pro_activated()) : |
| 903 | 904 | if ('yes' === $settings['show_reading_time']) : ?> |
| 904 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 905 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 905 | 906 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 906 | 907 | </div> |
| 907 | 908 | <?php endif; ?> |
| 908 | 909 | <?php endif; ?> |