WordPress.org

Make WordPress Core

Changeset 37045


Ignore:
Timestamp:
03/22/2016 05:21:20 PM (6 years ago)
Author:
DrewAPicture
Message:

Docs: Improve inline documentation in property and method DocBlocks for Walker_CategoryDropdown.

Props ramiy for the initial patch.
See #36300.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-category-dropdown.php

    r35926 r37045  
    1616 */
    1717class Walker_CategoryDropdown extends Walker {
     18
    1819    /**
     20     * What the class handles.
     21     *
     22     * @since 2.1.0
     23     * @access private
     24     * @var string
     25     *
    1926     * @see Walker::$tree_type
    20      * @since 2.1.0
    21      * @var string
    2227     */
    2328    public $tree_type = 'category';
    2429
    2530    /**
    26      * @see Walker::$db_fields
     31     * Database fields to use.
     32     *
    2733     * @since 2.1.0
     34     * @access public
    2835     * @todo Decouple this
    2936     * @var array
     37     *
     38     * @see Walker::$db_fields
    3039     */
    3140    public $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
    3241
    3342    /**
    34      * Start the element output.
     43     * Starts the element output.
     44     *
     45     * @since 2.1.0
     46     * @access public
    3547     *
    3648     * @see Walker::start_el()
    37      * @since 2.1.0
    3849     *
    3950     * @param string $output   Passed by reference. Used to append additional content.
     
    4152     * @param int    $depth    Depth of category. Used for padding.
    4253     * @param array  $args     Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
    43      *                         See {@see wp_dropdown_categories()}.
     54     *                         See wp_dropdown_categories().
    4455     * @param int    $id       Optional. ID of the current category. Default 0 (unused).
    4556     */
Note: See TracChangeset for help on using the changeset viewer.