Docs: The page object type in use in Walker_Page is WP_Post.

See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-03-22 18:04:06 +00:00
parent c7d05cff99
commit b44910599c

View File

@ -83,7 +83,7 @@ class Walker_Page extends Walker {
* @access public * @access public
* *
* @param string $output Passed by reference. Used to append additional content. * @param string $output Passed by reference. Used to append additional content.
* @param object $page Page data object. * @param WP_Post $page Page data object.
* @param int $depth Depth of page. Used for padding. * @param int $depth Depth of page. Used for padding.
* @param array $args Optional arguments. * @param array $args Optional arguments.
* @param int $current_page Page ID. * @param int $current_page Page ID.
@ -170,7 +170,7 @@ class Walker_Page extends Walker {
* @see Walker::end_el() * @see Walker::end_el()
* *
* @param string $output Passed by reference. Used to append additional content. * @param string $output Passed by reference. Used to append additional content.
* @param object $page Page data object. Not used. * @param WP_Post $page Page data object. Not used.
* @param int $depth Depth of page. Not Used. * @param int $depth Depth of page. Not Used.
* @param array $args * @param array $args
*/ */