From 8ff32f52df44b0e2f2d52351013edbae0aa0df3f Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 18 Nov 2010 02:23:05 +0000 Subject: [PATCH] Add list_pages filter. props johnjamesjacoby, fixes #13668. git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index e078803df..1d0e39e03 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -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 .= "\n"; }