← All changes
|
modules/buzz-list-carousel/widgets/buzz-list-carousel.php
+2
-1
4.1.18
→
4.5.6
View file →
| @@ -113,8 +113,9 @@ | ||
| 113 | 113 | $this->add_group_control( |
| 114 | 114 | Group_Control_Image_Size::get_type(), |
| 115 | 115 | [ |
| 116 | 116 | 'name' => 'primary_thumbnail', |
| 117 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 117 | 118 | 'exclude' => ['custom'], |
| 118 | 119 | 'default' => 'medium', |
| 119 | 120 | ] |
| 120 | 121 | ); |
| @@ -949,9 +950,9 @@ | ||
| 949 | 950 | <div class="upk-img-wrap"> |
| 950 | 951 | <?php $this->render_image(get_post_thumbnail_id($post_id), $image_size); ?> |
| 951 | 952 | </div> |
| 952 | 953 | <div class="upk-content"> |
| 953 | - <div class="upk-count"><?php printf("%2d", $slide_index); ?></div> | |
| 954 | + <div class="upk-count"><?php printf("%2d", esc_attr($slide_index)); ?></div> | |
| 954 | 955 | <div class="upk-inner"> |
| 955 | 956 | <?php $this->render_category(); ?> |
| 956 | 957 | <?php $this->render_title(substr($this->get_name(), 4)); ?> |
| 957 | 958 | <?php if ($settings['show_author'] or $settings['show_comments'] or $settings['show_date'] or $settings['show_reading_time']) : ?> |