WordPress.org

Make WordPress Core

Ticket #14323: do-not-filter-editable-title.14323.diff

File do-not-filter-editable-title.14323.diff, 473 bytes (added by filosofo, 8 years ago)
  • wp-admin/includes/template.php

     
    11841184        if ( ! current_user_can($post_type_object->cap->edit_post, $post->ID) )
    11851185                return;
    11861186
    1187         $title = esc_attr( get_the_title( $post->ID ) );
     1187        $title = esc_attr( $post->post_title );
    11881188
    11891189        echo '
    11901190<div class="hidden" id="inline_' . $post->ID . '">