From da0400e273491480b4bb8a49e68dc3d527f85d21 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 13 Jun 2015 14:42:26 +0000 Subject: [PATCH] In `WP_Posts_List_Table::column_title()`, use `is_post_type_hierarchical()` instead of `$this->hierarchical_display` in the logic to determine whether `the_excerpt()` should be called. Fixes #32187. Built from https://develop.svn.wordpress.org/trunk@32749 git-svn-id: http://core.svn.wordpress.org/trunk@32720 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index fedb696e9d..7dfe27ff5f 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -768,7 +768,7 @@ class WP_Posts_List_Table extends WP_List_Table { echo '
' . $locked_avatar . ' ' . $locked_text . "
\n"; } - if ( ! $this->hierarchical_display && 'excerpt' == $mode && current_user_can( 'read_post', $post->ID ) ) { + if ( ! is_post_type_hierarchical( $this->screen->post_type ) && 'excerpt' == $mode && current_user_can( 'read_post', $post->ID ) ) { the_excerpt(); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6cda89c98d..1a7e043a57 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32748'; +$wp_version = '4.3-alpha-32749'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.