Skip to content

Commit ac47170

Browse files
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
1 parent 495f4f7 commit ac47170

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-admin/includes/class-wp-debug-data.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,8 @@ static function debug_data() {
14641464
*
14651465
* @since 5.9.0
14661466
*
1467+
* @global wpdb $wpdb WordPress database abstraction object.
1468+
*
14671469
* @param string $var Name of the MySQL variable.
14681470
* @return string|null The variable value on success. Null if the variable does not exist.
14691471
*/

0 commit comments

Comments
 (0)