From ac47170bb5c26855bb40cdbf3c79cceba8cdde9b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Aug 2021 14:03:09 +0000 Subject: [PATCH] Docs: Document the `$wpdb` global in `WP_Debug_Data::get_mysql_var()`. Follow-up to [51522]. See #53845. git-svn-id: https://develop.svn.wordpress.org/trunk@51523 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index a044414789..2b07093365 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -1464,6 +1464,8 @@ class WP_Debug_Data { * * @since 5.9.0 * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param string $var Name of the MySQL variable. * @return string|null The variable value on success. Null if the variable does not exist. */