Changeset 7848
- Timestamp:
- 04/28/2008 07:55:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r7796 r7848 157 157 $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; 158 158 $guessurl = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 159 160 do_action('populate_options'); 161 159 162 add_option('siteurl', $guessurl); 160 163 add_option('blogname', __('My Blog'));
Note: See TracChangeset
for help on using the changeset viewer.