mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
Docs: Move the hook doc for the the_title filter in Walker_Page::start_el() to directly precede the apply_filters() line.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -131,12 +131,12 @@ class Walker_Page extends Walker {
|
||||
$args['link_before'] = empty( $args['link_before'] ) ? '' : $args['link_before'];
|
||||
$args['link_after'] = empty( $args['link_after'] ) ? '' : $args['link_after'];
|
||||
|
||||
/** This filter is documented in wp-includes/post-template.php */
|
||||
$output .= $indent . sprintf(
|
||||
'<li class="%s"><a href="%s">%s%s%s</a>',
|
||||
$css_classes,
|
||||
get_permalink( $page->ID ),
|
||||
$args['link_before'],
|
||||
/** This filter is documented in wp-includes/post-template.php */
|
||||
apply_filters( 'the_title', $page->post_title, $page->ID ),
|
||||
$args['link_after']
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user