Changeset 8242 for branches/crazyhorse/wp-admin/includes/schema.php
- Timestamp:
- 07/02/2008 11:07:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/includes/schema.php
r8151 r8242 154 154 function populate_options() { 155 155 global $wpdb, $wp_db_version; 156 157 $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; 158 $guessurl = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 156 157 $guessurl = wp_guess_url(); 159 158 160 159 do_action('populate_options'); … … 256 255 // 2.6 257 256 add_option('avatar_default', 'mystery'); 258 add_option('enable_app', 0);259 add_option('enable_xmlrpc', 0);257 add_option('enable_app', 0); 258 add_option('enable_xmlrpc', 0); 260 259 261 260 // Delete unused options
Note: See TracChangeset
for help on using the changeset viewer.