| @@ -131,8 +131,9 @@ | ||
| 131 | 131 | $this->add_group_control( |
| 132 | 132 | Group_Control_Image_Size::get_type(), |
| 133 | 133 | [ |
| 134 | 134 | 'name' => 'primary_thumbnail', |
| 135 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 135 | 136 | 'exclude' => ['custom'], |
| 136 | 137 | 'default' => 'medium', |
| 137 | 138 | ] |
| 138 | 139 | ); |
| @@ -1145,9 +1146,9 @@ | ||
| 1145 | 1146 | |
| 1146 | 1147 | <span class="author-depertment"> |
| 1147 | 1148 | <?php |
| 1148 | 1149 | $aid = get_the_author_meta('ID'); |
| 1149 | - echo get_user_role($aid); | |
| 1150 | + echo esc_html( get_user_role( $aid ) ); | |
| 1150 | 1151 | ?> |
| 1151 | 1152 | </span> |
| 1152 | 1153 | </div> |
| 1153 | 1154 | </div> |