Changeset 34961
- Timestamp:
- 10/08/2015 09:44:11 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r34912 r34961 12 12 * 13 13 * @since 3.0.0 14 * 15 * @global int $blog_id 14 16 */ 15 17 function wp_initial_constants() { … … 29 31 } 30 32 31 /**32 * The $blog_id global, which you can change in the config allows you to create a simple33 * multiple blog installation using just one WordPress and changing $blog_id around.34 *35 * @global int $blog_id36 * @since 2.0.037 */38 33 if ( ! isset($blog_id) ) 39 34 $blog_id = 1; -
trunk/src/wp-settings.php
r34928 r34961 29 29 global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version; 30 30 require( ABSPATH . WPINC . '/version.php' ); 31 32 /** 33 * If not already configured, `$blog_id` will default to 1 in a single site 34 * configuration. In multisite, it will be overridden by default in ms-settings.php. 35 * 36 * @global int $blog_id 37 * @since 2.0.0 38 */ 39 global $blog_id; 31 40 32 41 // Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, SCRIPT_DEBUG, WP_CONTENT_DIR and WP_CACHE.
Note: See TracChangeset
for help on using the changeset viewer.