Skip to content

Commit

Permalink
Posts, Post Types: When using Excerpt mode on the Posts list table, e…
Browse files Browse the repository at this point in the history
…nsure the excerpt output matches what was manually entered into the Excerpt field.

Built from https://develop.svn.wordpress.org/trunk@39956


git-svn-id: http://core.svn.wordpress.org/trunk@39893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
johnbillion committed Jan 26, 2017
1 parent e357195 commit 4482f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wp-admin/includes/class-wp-posts-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ public function column_title( $post ) {
echo "</strong>\n";

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 );
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39954';
$wp_version = '4.8-alpha-39956';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

2 comments on commit 4482f92

@allyelyas
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, anyone knows the POC(proof of concept) on this one ?

@johnbillion
Copy link
Member Author

@johnbillion johnbillion commented on 4482f92 Jan 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The WordPress project practices responsible disclosure, so no PoC will be published.

Please sign in to comment.