Docs: Move the hook doc for the `the_title` filter in `Walker_Page::start_el()` to directly precede the `apply_filters()` line.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36175 git-svn-id: http://core.svn.wordpress.org/trunk@36142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b6c5744dc
commit
0929025aea
|
@ -131,12 +131,12 @@ class Walker_Page extends Walker {
|
||||||
$args['link_before'] = empty( $args['link_before'] ) ? '' : $args['link_before'];
|
$args['link_before'] = empty( $args['link_before'] ) ? '' : $args['link_before'];
|
||||||
$args['link_after'] = empty( $args['link_after'] ) ? '' : $args['link_after'];
|
$args['link_after'] = empty( $args['link_after'] ) ? '' : $args['link_after'];
|
||||||
|
|
||||||
/** This filter is documented in wp-includes/post-template.php */
|
|
||||||
$output .= $indent . sprintf(
|
$output .= $indent . sprintf(
|
||||||
'<li class="%s"><a href="%s">%s%s%s</a>',
|
'<li class="%s"><a href="%s">%s%s%s</a>',
|
||||||
$css_classes,
|
$css_classes,
|
||||||
get_permalink( $page->ID ),
|
get_permalink( $page->ID ),
|
||||||
$args['link_before'],
|
$args['link_before'],
|
||||||
|
/** This filter is documented in wp-includes/post-template.php */
|
||||||
apply_filters( 'the_title', $page->post_title, $page->ID ),
|
apply_filters( 'the_title', $page->post_title, $page->ID ),
|
||||||
$args['link_after']
|
$args['link_after']
|
||||||
);
|
);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36174';
|
$wp_version = '4.5-alpha-36175';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue