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)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Removing old cache files will put things back in order.