Changeset 25396 for trunk/src/wp-admin/setup-config.php
- Timestamp:
- 09/12/2013 06:56:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/setup-config.php
r25173 r25396 55 55 // Turn register_globals off. 56 56 wp_unregister_GLOBALS(); 57 58 // Standardize $_SERVER variables across setups. 59 wp_fix_server_vars(); 57 60 58 61 require_once(ABSPATH . WPINC . '/compat.php'); … … 199 202 require_once( ABSPATH . WPINC . '/class-http.php' ); 200 203 require_once( ABSPATH . WPINC . '/http.php' ); 201 wp_fix_server_vars();202 204 /**#@+ 203 205 * @ignore 204 206 */ 205 207 function get_bloginfo() { 206 return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . str_replace( $_SERVER['PHP_SELF'], '/wp-admin/setup-config.php', '' ));208 return wp_guess_url(); 207 209 } 208 210 /**#@-*/
Note: See TracChangeset
for help on using the changeset viewer.