Changeset 48971 for trunk/src/wp-includes/default-constants.php
- Timestamp:
- 09/12/2020 12:10:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r48372 r48971 17 17 */ 18 18 function wp_initial_constants() { 19 global $blog_id ;19 global $blog_id, $wp_version; 20 20 21 21 /**#@+ … … 100 100 // non-concatenated scripts and stylesheets. 101 101 if ( ! defined( 'SCRIPT_DEBUG' ) ) { 102 if ( ! empty( $ GLOBALS['wp_version']) ) {103 $develop_src = false !== strpos( $ GLOBALS['wp_version'], '-src' );102 if ( ! empty( $wp_version ) ) { 103 $develop_src = false !== strpos( $wp_version, '-src' ); 104 104 } else { 105 105 $develop_src = false;
Note: See TracChangeset
for help on using the changeset viewer.