Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1869 closed defect (bug) (fixed)

get_option() does not work at install time

Reported by: johnjosephbachir's profile johnjosephbachir Owned by: ryan's profile ryan
Milestone: Priority: highest omg bbq
Severity: critical Version: 1.6
Component: Administration Keywords:
Focuses: Cc:

Description

installation creates a wp_user_role entry per add_role and add_cap call

after vanilla install of 3053:

SELECT COUNT( * ) FROM wp_options WHERE option_name = 'wp_user_roles'

67

Change History (5)

#1 @johnjosephbachir
19 years ago

  • Summary changed from installation creates a wp_user_role entry per add_role and add_cap call to get_option() does not work at install time

also:

mysql> SELECT option_value FROM wp_options WHERE option_name = 'fileupload_url';
+--------------+
| option_value |
+--------------+
| /wp-content |
+--------------+

#2 @johnjosephbachir
19 years ago

sorry about the formatting...

mysql> SELECT `option_value`  FROM `wp_options` WHERE `option_name` = 'fileupload_url';
+--------------+
| option_value |
+--------------+
| /wp-content  |
+--------------+

#3 @matt
19 years ago

  • Owner changed from anonymous to ryan
  • Priority changed from high to highest
  • Severity changed from major to critical

#4 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3067]) Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869

#5 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.