| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | ?> |
| 59 | 59 | <li class="featured_list<?php echo esc_attr( $class ); ?><?php echo apply_filters( 'usces_filter_featured_list_class', null, $list_index, $num ); ?>"> |
| 60 | 60 | <?php |
| 61 | 61 | $list = '<div class="thumimg"><a href="' . get_permalink( $post_id ) . '">' . usces_the_itemImage( 0, 150, 150, $post, 'return' ) . '</a></div>'; |
| 62 | - $list .= '<div class="thumtitle"><a href="' . get_permalink( $post_id ) . '" rel="bookmark">' . $usces->getItemName( $post_id ) . ' (' . $usces->getItemCode( $post_id ) . ')</a></div>'; | |
| 62 | + $list .= '<div class="thumtitle"><a href="' . get_permalink( $post_id ) . '" rel="bookmark">' . esc_html( $usces->getItemName( $post_id ) ) . ' (' . esc_html( $usces->getItemCode( $post_id ) ) . ')</a></div>'; | |
| 63 | 63 | echo apply_filters( 'usces_filter_featured_widget', $list, $post, $list_index, $instance ); |
| 64 | 64 | ?> |
| 65 | 65 | </li> |
| 66 | 66 | <?php |