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
This commit is contained in:
Sergey Biryukov
2021-01-24 13:58:17 +00:00
parent 15c8166424
commit 9826935198

View File

@@ -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 ) {