mirror of
git://develop.git.wordpress.org/
synced 2025-02-21 15:15:14 +01:00
Posts, Post Types: When using Excerpt mode on the Posts list table, ensure the excerpt output matches what was manually entered into the Excerpt field.
Merges [39956] to the 4.6 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.6@39970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6560b993e3
commit
421c804e79
@ -939,7 +939,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
if ( ! is_post_type_hierarchical( $this->screen->post_type ) && 'excerpt' === $mode && current_user_can( 'read_post', $post->ID ) ) {
|
||||
the_excerpt();
|
||||
echo esc_html( get_the_excerpt() );
|
||||
}
|
||||
|
||||
get_inline_data( $post );
|
||||
|
Loading…
x
Reference in New Issue
Block a user