[wp-testers] Add Option and uninstall

Andrew Nacin wp at andrewnacin.com
Wed Mar 24 18:52:20 UTC 2010


Your post here is probably more suited for the wp-hackers list or, more so,
the support forums. wp-testers is for announcements regarding alpha/beta
releases and what we need tested (and discussions over whether something is
a bug before actually posting it to Trac).

Briefly, one of your questions:


> Why calling add_option('myoption', array(), 'no') creates a new entry that
> has the 'autoload' field set to YES in the database? Am I doing something
> wrong?


Autoload for add_option() is the fourth argument, not the third. The third
doesn't do anything. Turn on WP_DEBUG and you'll get a notice that you're
using a deprecated argument.


More information about the wp-testers mailing list