Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1861 closed defect (bug) (fixed)

add_option does not work even for Changeset 3026

Reported by: filosofo Owned by:
Priority: highest omg bbq Milestone:
Component: Administration Version: 1.6
Severity: critical Keywords: add_option options settings get_option functions.php
Cc: Focuses:

Description

add_option does not add new options, because it checks to see if get_option does not return 'false' on the option, when it should check that get_option does not return 'null' (see attached diff file for the solution).

I apologize if this isn't considered "critical," but it seemed critical to me, as I can't get a number of plugins to work only because of it.

Attachments (1)

functions.php.diff (386 bytes ) - added by filosofo 21 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
21 years ago

Removing old cache files will put things back in order.

#2 @filosofo
21 years ago

  • Resolutionfixed
  • Status newclosed

Looks like ryan fixed this another way in changeset:3028

Note: See TracTickets for help on using tickets.