[wp-testers] Add Option and uninstall

due chiacchiere info at duechiacchiere.it
Wed Mar 24 19:13:15 UTC 2010


Thank you, that solved the issue. I'll post my question about the 
uninstall thing on the wp-hackers list, even if I managed to make it 
work using the uninstall.php file, instead of the hook ;)

On 3/24/2010 2:52 PM, Andrew Nacin wrote:
> 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.
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>    


More information about the wp-testers mailing list