Docs: Add missing property and method summaries in DocBlocks for `Walker_PageDropdown`.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35961


git-svn-id: http://core.svn.wordpress.org/trunk@35926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-16 16:36:28 +00:00
parent 1acedc542f
commit d057c51893
2 changed files with 12 additions and 4 deletions

View File

@ -16,24 +16,31 @@
*/
class Walker_PageDropdown extends Walker {
/**
* @see Walker::$tree_type
* Walker tree type.
*
* @since 2.1.0
* @see Walker::$tree_type
* @var string
*/
public $tree_type = 'page';
/**
* @see Walker::$db_fields
* Database fields.
*
* @since 2.1.0
* @see Walker::$db_fields
* @todo Decouple this
* @var array
*/
public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID');
/**
* @see Walker::start_el()
* Starts the element output.
*
* @since 2.1.0
*
* @see Walker::start_el()
*
* @param string $output Passed by reference. Used to append additional content.
* @param object $page Page data object.
* @param int $depth Optional. Depth of page in reference to parent pages. Used for padding.
@ -70,6 +77,7 @@ class Walker_PageDropdown extends Walker {
* @param object $page Page data object.
*/
$title = apply_filters( 'list_pages', $title, $page );
$output .= $pad . esc_html( $title );
$output .= "</option>\n";
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-35960';
$wp_version = '4.5-alpha-35961';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.