Changeset 398 for trunk/wp-admin/upgrade-071-to-072.php
- Timestamp:
- 09/29/2003 11:13:59 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/upgrade-071-to-072.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-071-to-072.php
r346 r398 387 387 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(3,'blogname', 3, 'my weblog', 'blogname is the name of your blog', 8, 20)", 388 388 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(4,'blogdescription', 3, 'babblings!', 'blogdescription is the description of your blog', 8, 40)", 389 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(6,'search_engine_friendly_urls', 2, '0', 'Querystring Configuration ** (don\'t change if you don\'t know what you\'re doing)', 8, 20)",389 //"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(6,'search_engine_friendly_urls', 2, '0', 'Querystring Configuration ** (don\'t change if you don\'t know what you\'re doing)', 8, 20)", 390 390 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(7,'new_users_can_blog', 2, '0', 'whether you want new users to be able to post entries once they have registered', 8, 20)", 391 391 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(8,'users_can_register', 2, '1', 'whether you want to allow users to register on your blog', 8, 20)", … … 393 393 // general blog setup 394 394 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(9 ,'start_of_week', 5, '1', 'day at the start of the week', 8, 20)", 395 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(10,'use_preview', 2, '1', 'Do you want to use the \'preview\' function', 8, 20)",395 //"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(10,'use_preview', 2, '1', 'Do you want to use the \'preview\' function', 8, 20)", 396 396 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(11,'use_bbcode', 2, '0', 'use BBCode, like [b]bold[/b]', 8, 20)", 397 397 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(12,'use_gmcode', 2, '0', 'use GreyMatter-styles: **bold** \\\\italic\\\\ __underline__', 8, 20)", … … 453 453 "INSERT INTO $tableoptiongroups (group_id, group_name, group_desc) VALUES(2, 'General blog settings', 'Things you\'ll probably want to tweak')", 454 454 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(2,9 ,1 )", 455 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(2,10,2 )",455 //"INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(2,10,2 )", 456 456 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(2,11,3 )", 457 457 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(2,12,4 )", … … 503 503 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,3,3)", 504 504 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,4,4)", 505 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,6,5)",505 //"INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,6,5)", 506 506 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,7,6)", 507 507 "INSERT INTO $tableoptiongroup_options (group_id, option_id, seq) VALUES(6,8,7)", … … 722 722 $query = "UPDATE $tableoptions SET option_value='".addslashes($users_can_register )."' WHERE option_id=8"; $q = $wpdb->query($query); 723 723 $query = "UPDATE $tableoptions SET option_value='".addslashes($start_of_week )."' WHERE option_id=9"; $q = $wpdb->query($query); 724 $query = "UPDATE $tableoptions SET option_value='".addslashes($use_preview )."' WHERE option_id=10"; $q = $wpdb->query($query);724 //$query = "UPDATE $tableoptions SET option_value='".addslashes($use_preview )."' WHERE option_id=10"; $q = $wpdb->query($query); 725 725 $query = "UPDATE $tableoptions SET option_value='".addslashes($use_bbcode )."' WHERE option_id=11"; $q = $wpdb->query($query); 726 726 $query = "UPDATE $tableoptions SET option_value='".addslashes($use_gmcode )."' WHERE option_id=12"; $q = $wpdb->query($query);
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)