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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-04-22 18:20:49 +00:00
parent f9b418a2f9
commit 26989db5d4
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>