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
This commit is contained in:
scribu 2010-12-14 10:22:06 +00:00
parent 01a2da49e1
commit a8ad040d3c

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