From a8ad040d3cb15de610b45e4b90305c6c8895c106 Mon Sep 17 00:00:00 2001 From: scribu Date: Tue, 14 Dec 2010 10:22:06 +0000 Subject: [PATCH] Run parent title through 'the_title'. Props garyc40. Fixes #13968 git-svn-id: https://develop.svn.wordpress.org/trunk@16908 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-posts-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 696b911ed6..eebaa8522d 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -518,7 +518,7 @@ class WP_Posts_List_Table extends WP_List_Table { $find_main_page = (int) $parent->post_parent; if ( !isset( $parent_name ) ) - $parent_name = $parent->post_title; + $parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID ); } }