Changeset 11380 for trunk/xmlrpc.php
- Timestamp:
- 05/18/2009 03:11:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc.php
r11323 r11380 884 884 $struct['count'] = $tag->count; 885 885 $struct['slug'] = $tag->slug; 886 $struct['html_url'] = wp_specialchars( get_tag_link( $tag->term_id ) );887 $struct['rss_url'] = wp_specialchars( get_tag_feed_link( $tag->term_id ) );886 $struct['html_url'] = esc_html( get_tag_link( $tag->term_id ) ); 887 $struct['rss_url'] = esc_html( get_tag_feed_link( $tag->term_id ) ); 888 888 889 889 $tags[] = $struct; … … 2791 2791 $struct['categoryDescription'] = $cat->description; 2792 2792 $struct['categoryName'] = $cat->name; 2793 $struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id));2794 $struct['rssUrl'] = wp_specialchars(get_category_feed_link($cat->term_id, 'rss2'));2793 $struct['htmlUrl'] = esc_html(get_category_link($cat->term_id)); 2794 $struct['rssUrl'] = esc_html(get_category_feed_link($cat->term_id, 'rss2')); 2795 2795 2796 2796 $categories_struct[] = $struct; … … 3328 3328 $pagelinkedfrom = str_replace('&', '&', $pagelinkedfrom); 3329 3329 3330 $context = '[...] ' . wp_specialchars( $excerpt ) . ' [...]';3330 $context = '[...] ' . esc_html( $excerpt ) . ' [...]'; 3331 3331 $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom ); 3332 3332
Note: See TracChangeset
for help on using the changeset viewer.