| @@ -98,8 +98,9 @@ | ||
| 98 | 98 | ], |
| 99 | 99 | ] |
| 100 | 100 | ); |
| 101 | 101 | |
| 102 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- established hook name relied on across the plugin family; renaming would break integration. | |
| 102 | 103 | $column_size = apply_filters('upk_column_size', ''); |
| 103 | 104 | |
| 104 | 105 | $this->add_responsive_control( |
| 105 | 106 | 'columns', |
| @@ -212,8 +213,9 @@ | ||
| 212 | 213 | $this->add_group_control( |
| 213 | 214 | Group_Control_Image_Size::get_type(), |
| 214 | 215 | [ |
| 215 | 216 | 'name' => 'primary_thumbnail', |
| 217 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 216 | 218 | 'exclude' => ['custom'], |
| 217 | 219 | 'default' => 'medium', |
| 218 | 220 | ] |
| 219 | 221 | ); |
| @@ -1316,9 +1318,9 @@ | ||
| 1316 | 1318 | <?php $this->render_author(); ?> |
| 1317 | 1319 | <?php endif; ?> |
| 1318 | 1320 | |
| 1319 | 1321 | <?php if ($settings['show_date'] == 'yes') : ?> |
| 1320 | - <div class="upk-blog-date" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1322 | + <div class="upk-blog-date" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1321 | 1323 | <div class="upk-blog-date"> |
| 1322 | 1324 | <a class="date" href="#"> |
| 1323 | 1325 | <i class="upk-icon-calendar" aria-hidden="true"></i><?php $this->render_date(); ?> |
| 1324 | 1326 | </a> |
| @@ -1334,9 +1336,9 @@ | ||
| 1334 | 1336 | <?php endif; ?> |
| 1335 | 1337 | |
| 1336 | 1338 | <?php if (_is_upk_pro_activated()) : |
| 1337 | 1339 | if ('yes' === $settings['show_reading_time']) : ?> |
| 1338 | - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>"> | |
| 1340 | + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>"> | |
| 1339 | 1341 | <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?> |
| 1340 | 1342 | </div> |
| 1341 | 1343 | <?php endif; ?> |
| 1342 | 1344 | <?php endif; ?> |