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

See #32246.

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


git-svn-id: http://core.svn.wordpress.org/trunk@34786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-05 02:29:26 +00:00
parent a285a1cf22
commit 1f1c2335ad
2 changed files with 14 additions and 14 deletions

View File

@ -69,15 +69,15 @@ function get_udims( $width, $height ) {
} }
/** /**
* {@internal Missing Short Description}} * Legacy function used to generate the categories checklist control.
* *
* @since 0.71 * @since 0.71
* @deprecated 2.6.0 Use wp_category_checklist() * @deprecated 2.6.0 Use wp_category_checklist()
* @see wp_category_checklist() * @see wp_category_checklist()
* *
* @param int $default * @param int $default Unused.
* @param int $parent * @param int $parent Unused.
* @param array $popular_ids * @param array $popular_ids Unused.
*/ */
function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) { function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) {
_deprecated_function( __FUNCTION__, '2.6', 'wp_category_checklist()' ); _deprecated_function( __FUNCTION__, '2.6', 'wp_category_checklist()' );
@ -86,13 +86,13 @@ function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array()
} }
/** /**
* {@internal Missing Short Description}} * Legacy function used to generate a link categories checklist control.
* *
* @since 2.1.0 * @since 2.1.0
* @deprecated 2.6.0 Use wp_link_category_checklist() * @deprecated 2.6.0 Use wp_link_category_checklist()
* @see wp_link_category_checklist() * @see wp_link_category_checklist()
* *
* @param int $default * @param int $default Unused.
*/ */
function dropdown_link_categories( $default = 0 ) { function dropdown_link_categories( $default = 0 ) {
_deprecated_function( __FUNCTION__, '2.6', 'wp_link_category_checklist()' ); _deprecated_function( __FUNCTION__, '2.6', 'wp_link_category_checklist()' );
@ -117,18 +117,18 @@ function get_real_file_to_edit( $file ) {
} }
/** /**
* {@internal Missing Short Description}} * Legacy function used for generating a categories drop-down control.
* *
* @since 1.2.0 * @since 1.2.0
* @deprecated 3.0.0 Use wp_dropdown_categories() * @deprecated 3.0.0 Use wp_dropdown_categories()
* @see wp_dropdown_categories() * @see wp_dropdown_categories()
* *
* @param int $currentcat * @param int $currentcat Optional. ID of the current category. Default 0.
* @param int $currentparent * @param int $currentparent Optional. Current parent category ID. Default 0.
* @param int $parent * @param int $parent Optional. Parent ID to retrieve categories for. Default 0.
* @param int $level * @param int $level Optional. Number of levels deep to display. Default 0.
* @param array $categories * @param array $categories Optional. Categories to include in the control. Default 0.
* @return bool|null * @return bool|null False if no categories were found.
*/ */
function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 ) { function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 ) {
_deprecated_function( __FUNCTION__, '3.0', 'wp_dropdown_categories()' ); _deprecated_function( __FUNCTION__, '3.0', 'wp_dropdown_categories()' );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34820'; $wp_version = '4.4-alpha-34821';
/** /**
* 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.