Docs: Correctly specify the `$page` parameter of `list_pages` filter as a `WP_Post`.

Props ianbelanger.
Fixes #44398.
Built from https://develop.svn.wordpress.org/trunk@44355


git-svn-id: http://core.svn.wordpress.org/trunk@44185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2018-12-20 20:04:50 +00:00
parent 7e99487473
commit b3a7877017
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ class Walker_PageDropdown extends Walker {
* @since 3.1.0 * @since 3.1.0
* *
* @param string $title Page title. * @param string $title Page title.
* @param object $page Page data object. * @param WP_Post $page Page data object.
*/ */
$title = apply_filters( 'list_pages', $title, $page ); $title = apply_filters( 'list_pages', $title, $page );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.1-alpha-44354'; $wp_version = '5.1-alpha-44355';
/** /**
* 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.