Docs: Improve inline documentation in property and method DocBlocks for `Walker_CategoryDropdown`.
Props ramiy for the initial patch. See #36300. Built from https://develop.svn.wordpress.org/trunk@37045 git-svn-id: http://core.svn.wordpress.org/trunk@37012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6bf505595
commit
51e322e0ef
|
@ -15,32 +15,43 @@
|
||||||
* @see Walker
|
* @see Walker
|
||||||
*/
|
*/
|
||||||
class Walker_CategoryDropdown extends Walker {
|
class Walker_CategoryDropdown extends Walker {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see Walker::$tree_type
|
* What the class handles.
|
||||||
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
|
* @access private
|
||||||
* @var string
|
* @var string
|
||||||
|
*
|
||||||
|
* @see Walker::$tree_type
|
||||||
*/
|
*/
|
||||||
public $tree_type = 'category';
|
public $tree_type = 'category';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see Walker::$db_fields
|
* Database fields to use.
|
||||||
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
|
* @access public
|
||||||
* @todo Decouple this
|
* @todo Decouple this
|
||||||
* @var array
|
* @var array
|
||||||
|
*
|
||||||
|
* @see Walker::$db_fields
|
||||||
*/
|
*/
|
||||||
public $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
|
public $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start the element output.
|
* Starts the element output.
|
||||||
|
*
|
||||||
|
* @since 2.1.0
|
||||||
|
* @access public
|
||||||
*
|
*
|
||||||
* @see Walker::start_el()
|
* @see Walker::start_el()
|
||||||
* @since 2.1.0
|
|
||||||
*
|
*
|
||||||
* @param string $output Passed by reference. Used to append additional content.
|
* @param string $output Passed by reference. Used to append additional content.
|
||||||
* @param object $category Category data object.
|
* @param object $category Category data object.
|
||||||
* @param int $depth Depth of category. Used for padding.
|
* @param int $depth Depth of category. Used for padding.
|
||||||
* @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
|
* @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
|
||||||
* See {@see wp_dropdown_categories()}.
|
* See wp_dropdown_categories().
|
||||||
* @param int $id Optional. ID of the current category. Default 0 (unused).
|
* @param int $id Optional. ID of the current category. Default 0 (unused).
|
||||||
*/
|
*/
|
||||||
public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
|
public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta4-37044';
|
$wp_version = '4.5-beta4-37045';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue