Make WordPress Core

Changeset 17412


Ignore:
Timestamp:
02/07/2011 07:12:00 PM (13 years ago)
Author:
markjaquith
Message:

A little escaping paranoia, just to be safe. (Already sanitized, higher up). for 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/template.php

    r17397 r17412  
    11931193    <div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div>
    11941194    <div class="post_author">' . $post->post_author . '</div>
    1195     <div class="comment_status">' . $post->comment_status . '</div>
    1196     <div class="ping_status">' . $post->ping_status . '</div>
    1197     <div class="_status">' . $post->post_status . '</div>
     1195    <div class="comment_status">' . esc_html( $post->comment_status ) . '</div>
     1196    <div class="ping_status">' . esc_html( $post->ping_status ) . '</div>
     1197    <div class="_status">' . esc_html( $post->post_status ) . '</div>
    11981198    <div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div>
    11991199    <div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div>
Note: See TracChangeset for help on using the changeset viewer.