WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1869 closed defect (bug) (fixed)

get_option() does not work at install time

Reported by: johnjosephbachir Owned by: 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)

comment:1 johnjosephbachir8 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 |
+--------------+

comment:2 johnjosephbachir8 years ago

sorry about the formatting...

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

comment:3 matt8 years ago

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

comment:4 ryan8 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

comment:5 anonymous7 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.