WordPress.org

Make WordPress Core

Ticket #13668: list_pages.patch

File list_pages.patch, 406 bytes (added by johnjamesjacoby, 4 years ago)
  • classes.php

     
    12681268                        $output .= ' selected="selected"'; 
    12691269                $output .= '>'; 
    12701270                $title = esc_html($page->post_title); 
     1271                $title = apply_filters( 'list_pages', $page->post_title ); 
    12711272                $output .= "$pad$title"; 
    12721273                $output .= "</option>\n"; 
    12731274        }