mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
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:
parent
d48d7451c6
commit
d4aad7cf1e
@ -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 “%s”' ), $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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user