From 63582d4ecbe072cd4c5259aefdf449ae90cdab80 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 22 Mar 2016 17:51:27 +0000 Subject: [PATCH] Docs: Improve inline documentation for properties and methods in `Walker_PageDropdown`. Props raimy for the initial patch. See #36300. Built from https://develop.svn.wordpress.org/trunk@37053 git-svn-id: http://core.svn.wordpress.org/trunk@37020 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-walker-page-dropdown.php | 18 ++++++++++++------ wp-includes/version.php | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/wp-includes/class-walker-page-dropdown.php b/wp-includes/class-walker-page-dropdown.php index be8382fdd8..5954be9093 100644 --- a/wp-includes/class-walker-page-dropdown.php +++ b/wp-includes/class-walker-page-dropdown.php @@ -15,29 +15,35 @@ * @see Walker */ class Walker_PageDropdown extends Walker { + /** - * Walker tree type. + * What the class handles. * * @since 2.1.0 - * @see Walker::$tree_type + * @access public * @var string + * + * @see Walker::$tree_type */ public $tree_type = 'page'; /** - * Database fields. + * Database fields to use. * * @since 2.1.0 + * @access public + * @var array + * * @see Walker::$db_fields * @todo Decouple this - * @var array */ - public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); + public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' ); /** * Starts the element output. * * @since 2.1.0 + * @access public * * @see Walker::start_el() * @@ -47,7 +53,7 @@ class Walker_PageDropdown extends Walker { * Default 0. * @param array $args Optional. Uses 'selected' argument for selected page to set selected HTML * attribute for option element. Uses 'value_field' argument to fill "value" - * attribute. See {@see wp_dropdown_pages()}. Default empty array. + * attribute. See wp_dropdown_pages(). Default empty array. * @param int $id Optional. ID of the current page. Default 0 (unused). */ public function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index dc3b6f21ab..19f0f3a828 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta4-37052'; +$wp_version = '4.5-beta4-37053'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.