From 963dd5f06d4de7c5d2dcf3581ee5a39e69d5074f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Aug 2021 14:04:56 +0000 Subject: [PATCH] Docs: Document the `$wpdb` global in `WP_Debug_Data::get_mysql_var()`. Follow-up to [51522]. See #53845. Built from https://develop.svn.wordpress.org/trunk@51523 git-svn-id: http://core.svn.wordpress.org/trunk@51134 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-debug-data.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index a044414789..2b07093365 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 24eccc05eb..f456c53adc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51522'; +$wp_version = '5.9-alpha-51523'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.