From 98269351984478e32653ad015b44392b0e90fbbd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 24 Jan 2021 13:58:17 +0000 Subject: [PATCH] Docs: Document globals in `dropdown_categories()` and `dropdown_link_categories()`. Props umangvaghela123, pawki07. Fixes #41504. git-svn-id: https://develop.svn.wordpress.org/trunk@50008 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/deprecated.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index c5c141c779..da725f8ccd 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -75,6 +75,8 @@ function get_udims( $width, $height ) { * @deprecated 2.6.0 Use wp_category_checklist() * @see wp_category_checklist() * + * @global int $post_ID + * * @param int $default Unused. * @param int $parent Unused. * @param array $popular_ids Unused. @@ -92,6 +94,8 @@ function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() * @deprecated 2.6.0 Use wp_link_category_checklist() * @see wp_link_category_checklist() * + * @global int $link_id + * * @param int $default Unused. */ function dropdown_link_categories( $default = 0 ) {