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:
parent
01a2da49e1
commit
a8ad040d3c
@ -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
Block a user