Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218.

git-svn-id: https://develop.svn.wordpress.org/trunk@17682 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-04-22 18:20:49 +00:00
parent d48d7451c6
commit d4aad7cf1e
1 changed files with 0 additions and 1 deletions

View File

@ -522,7 +522,6 @@ class WP_Posts_List_Table extends WP_List_Table {
}
}
$post->post_title = esc_html( $post->post_title );
$pad = str_repeat( '— ', $level );
?>
<td <?php echo $attributes ?>><strong><?php if ( $can_edit_post && $post->post_status != 'trash' ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $title ) ); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states( $post ); echo isset( $parent_name ) ? ' | ' . $post_type_object->labels->parent_item_colon . ' ' . esc_html( $parent_name ) : ''; ?></strong>