Changeset 47231
- Timestamp:
- 02/10/2020 03:32:57 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r47198 r47231 16 16 define( 'WPINC', 'wp-includes' ); 17 17 18 /* 18 /** 19 * Version information for the current WordPress release. 20 * 19 21 * These can't be directly globalized in version.php. When updating, 20 22 * we're including version.php from another installation and don't want 21 23 * these values to be overridden if already set. 24 * 25 * @global string $wp_version The WordPress version string. 26 * @global int $wp_db_version WordPress database version. 27 * @global string $tinymce_version TinyMCE version. 28 * @global string $required_php_version The required PHP version string. 29 * @global string $required_mysql_version The required MySQL version string. 30 * @global string $wp_local_package Locale code of the package. 22 31 */ 23 32 global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package; … … 109 118 require ABSPATH . WPINC . '/pomo/mo.php'; 110 119 120 /** 121 * @global wpdb $wpdb WordPress database abstraction object. 122 * @since 0.71 123 */ 124 global $wpdb; 111 125 // Include the wpdb class and, if present, a db.php database drop-in. 112 global $wpdb;113 126 require_wp_db(); 114 127 … … 487 500 488 501 /** 489 * 502 * WordPress Locale Switcher object for switching locales. 490 503 * 491 504 * @since 4.7.0
Note: See TracChangeset
for help on using the changeset viewer.