Skip to content
Open
3 changes: 3 additions & 0 deletions src/wp-admin/includes/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ function wp_make_plugin_file_tree( $plugin_editable_files ) {
* @since 4.9.0
* @access private
*
* @global string $file Path to the file being edited.
* @global string $plugin Path to the plugin file relative to the plugins directory.
*
* @param array|string $tree List of file/folder paths, or filename.
* @param string $label Name of file or folder to print.
* @param int $level The aria-level for the current iteration.
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/includes/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* Declare these as global in case schema.php is included from a function.
*
* @global wpdb $wpdb WordPress database abstraction object.
* @global array $wp_queries
* @global string $charset_collate
* @global array $wp_queries Global database queries array.
* @global string $charset_collate Database charset and collation.
*/
global $wpdb, $wp_queries, $charset_collate;

Expand Down
1 change: 1 addition & 0 deletions src/wp-admin/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ function display_setup_form( $error = null ) {
/**
* @global string $wp_local_package Locale code of the package.
* @global WP_Locale $wp_locale WordPress date and time locale object.
* @global wpdb $wpdb WordPress database abstraction object.
*/
$language = '';
if ( ! empty( $_REQUEST['language'] ) ) {
Expand Down
2 changes: 2 additions & 0 deletions src/wp-includes/abilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ function wp_register_core_ability_categories(): void {
*
* @since 6.9.0
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return void
*/
function wp_register_core_abilities(): void {
Expand Down
Loading