Changeset 11380 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 05/18/2009 03:11:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r11375 r11380 582 582 $type = ucwords( $comment->comment_type ); 583 583 endswitch; 584 $type = wp_specialchars( $type );584 $type = esc_html( $type ); 585 585 ?> 586 586 <div class="dashboard-comment-wrap"> … … 647 647 $site_link = clean_url( strip_tags( $author->get_link() ) ); 648 648 649 if ( !$publisher = wp_specialchars( strip_tags( $author->get_name() ) ) )649 if ( !$publisher = esc_html( strip_tags( $author->get_name() ) ) ) 650 650 $publisher = __( 'Somebody' ); 651 651 if ( $site_link ) … … 668 668 /* translators: incoming links feed, %4$s is the date */ 669 669 $text .= ' ' . __( 'on %4$s' ); 670 $date = wp_specialchars( strip_tags( $item->get_date() ) );670 $date = esc_html( strip_tags( $item->get_date() ) ); 671 671 $date = strtotime( $date ); 672 672 $date = gmdate( get_option( 'date_format' ), $date ); … … 814 814 else // but let's make it forward compatible if things change 815 815 $title = $item->get_title(); 816 $title = wp_specialchars( $title );817 818 $description = wp_specialchars( strip_tags(@html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))) );816 $title = esc_html( $title ); 817 818 $description = esc_html( strip_tags(@html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))) ); 819 819 820 820 $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) .
Note: See TracChangeset
for help on using the changeset viewer.