| @@ -148,8 +148,9 @@ | ||
| 148 | 148 | $this->add_group_control( |
| 149 | 149 | Group_Control_Image_Size::get_type(), |
| 150 | 150 | [ |
| 151 | 151 | 'name' => 'primary_thumbnail', |
| 152 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 152 | 153 | 'exclude' => ['custom'], |
| 153 | 154 | 'default' => 'full', |
| 154 | 155 | ] |
| 155 | 156 | ); |
| @@ -2148,9 +2149,9 @@ | ||
| 2148 | 2149 | |
| 2149 | 2150 | <div class="upk-author-role"> |
| 2150 | 2151 | <?php |
| 2151 | 2152 | $aid = get_the_author_meta('ID'); |
| 2152 | - echo get_user_role($aid); | |
| 2153 | + echo esc_html( get_user_role( $aid ) ); | |
| 2153 | 2154 | ?> |
| 2154 | 2155 | </div> |
| 2155 | 2156 | </div> |
| 2156 | 2157 | </div> |