mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b3ddf631e
commit
8ff32f52df
@ -1098,6 +1098,7 @@ class Walker_PageDropdown extends Walker {
|
||||
$output .= ' selected="selected"';
|
||||
$output .= '>';
|
||||
$title = esc_html($page->post_title);
|
||||
$title = apply_filters( 'list_pages', $page->post_title );
|
||||
$output .= "$pad$title";
|
||||
$output .= "</option>\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user