Changeset 6039 for trunk/wp-admin/includes/schema.php
- Timestamp:
- 09/05/2007 07:20:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r5825 r6039 78 78 blog_id int(11) NOT NULL default '0', 79 79 option_name varchar(64) NOT NULL default '', 80 option_can_override enum('Y','N') NOT NULL default 'Y',81 option_type int(11) NOT NULL default '1',82 80 option_value longtext NOT NULL, 83 option_width int(11) NOT NULL default '20',84 option_height int(11) NOT NULL default '8',85 option_description tinytext NOT NULL,86 option_admin_level int(11) NOT NULL default '1',87 81 autoload enum('yes','no') NOT NULL default 'yes', 88 82 PRIMARY KEY (option_id,blog_id,option_name), … … 156 150 $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; 157 151 $guessurl = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 158 add_option('siteurl', $guessurl , __('WordPress web address'));159 add_option('blogname', __('My Blog') , __('Blog title'));160 add_option('blogdescription', __('Just another WordPress weblog') , __('Short tagline'));152 add_option('siteurl', $guessurl); 153 add_option('blogname', __('My Blog')); 154 add_option('blogdescription', __('Just another WordPress weblog')); 161 155 add_option('new_users_can_blog', 0); 162 156 add_option('users_can_register', 0); … … 204 198 add_option('gmt_offset', date('Z') / 3600); 205 199 // 1.5 206 add_option('default_email_category', 1 , __('Posts by email go to this category'));200 add_option('default_email_category', 1); 207 201 add_option('recently_edited'); 208 202 add_option('use_linksupdate', 0);
Note: See TracChangeset
for help on using the changeset viewer.