WordPress.org

Make WordPress Core

Changeset 34821


Ignore:
Timestamp:
10/05/2015 02:28:33 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing summaries for three deprecated admin functions: dropdown_categories(), dropdown_link_categories(), and wp_dropdown_cats().

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/deprecated.php

    r34348 r34821  
    7070
    7171/**
    72  * {@internal Missing Short Description}}
     72 * Legacy function used to generate the categories checklist control.
    7373 *
    7474 * @since 0.71
     
    7676 * @see wp_category_checklist()
    7777 *
    78  * @param int $default
    79  * @param int $parent
    80  * @param array $popular_ids
     78 * @param int $default       Unused.
     79 * @param int $parent        Unused.
     80 * @param array $popular_ids Unused.
    8181 */
    8282function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) {
     
    8787
    8888/**
    89  * {@internal Missing Short Description}}
     89 * Legacy function used to generate a link categories checklist control.
    9090 *
    9191 * @since 2.1.0
     
    9393 * @see wp_link_category_checklist()
    9494 *
    95  * @param int $default
     95 * @param int $default Unused.
    9696 */
    9797function dropdown_link_categories( $default = 0 ) {
     
    118118
    119119/**
    120  * {@internal Missing Short Description}}
     120 * Legacy function used for generating a categories drop-down control.
    121121 *
    122122 * @since 1.2.0
     
    124124 * @see wp_dropdown_categories()
    125125 *
    126  * @param int $currentcat
    127  * @param int $currentparent
    128  * @param int $parent
    129  * @param int $level
    130  * @param array $categories
    131  * @return bool|null
     126 * @param int $currentcat    Optional. ID of the current category. Default 0.
     127 * @param int $currentparent Optional. Current parent category ID. Default 0.
     128 * @param int $parent        Optional. Parent ID to retrieve categories for. Default 0.
     129 * @param int $level         Optional. Number of levels deep to display. Default 0.
     130 * @param array $categories  Optional. Categories to include in the control. Default 0.
     131 * @return bool|null False if no categories were found.
    132132 */
    133133function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.