Run parent title through 'the_title'. Props garyc40. Fixes #13968

git-svn-id: http://svn.automattic.com/wordpress/trunk@16908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-12-14 10:22:06 +00:00
parent 9c4b151ba2
commit 0f6329b74f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}