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:
parent
9c4b151ba2
commit
0f6329b74f
|
@ -518,7 +518,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||||
$find_main_page = (int) $parent->post_parent;
|
$find_main_page = (int) $parent->post_parent;
|
||||||
|
|
||||||
if ( !isset( $parent_name ) )
|
if ( !isset( $parent_name ) )
|
||||||
$parent_name = $parent->post_title;
|
$parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue