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

Props ianbelanger.
Fixes #44398.

git-svn-id: https://develop.svn.wordpress.org/trunk@44355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2018-12-20 20:04:00 +00:00
parent 691f79b76b
commit 54debcd452
1 changed files with 2 additions and 2 deletions

View File

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