From 671d2caa29fd1dd13aa64be610f3b503d303685b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 4 Apr 2022 18:41:13 +0000 Subject: [PATCH] Docs: Add missing description for `$taxnow` global in various functions. Follow-up to [53060], [53061]. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53062 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin.php | 2 +- src/wp-admin/includes/class-wp-screen.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/admin.php b/src/wp-admin/admin.php index 40154857a1..3718b47c3c 100644 --- a/src/wp-admin/admin.php +++ b/src/wp-admin/admin.php @@ -125,7 +125,7 @@ wp_enqueue_script( 'common' ); * @global string $hook_suffix * @global string $plugin_page * @global string $typenow The post type of the current screen. - * @global string $taxnow + * @global string $taxnow The taxonomy of the current screen. */ global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow; diff --git a/src/wp-admin/includes/class-wp-screen.php b/src/wp-admin/includes/class-wp-screen.php index 0760e436b7..155c54f88d 100644 --- a/src/wp-admin/includes/class-wp-screen.php +++ b/src/wp-admin/includes/class-wp-screen.php @@ -403,7 +403,7 @@ final class WP_Screen { * * @global WP_Screen $current_screen WordPress current screen object. * @global string $typenow The post type of the current screen. - * @global string $taxnow + * @global string $taxnow The taxonomy of the current screen. */ public function set_current_screen() { global $current_screen, $taxnow, $typenow;