[wp-trac] [WordPress Trac] #16964: New function network_delete_option($option) to help keep option clutter to a minimum
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 24 23:36:12 UTC 2011
#16964: New function network_delete_option($option) to help keep option clutter to
a minimum
-------------------------------------+------------------------------
Reporter: philipwalton | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch |
-------------------------------------+------------------------------
Comment (by philipwalton):
Nacin, thanks for the feedback.
I don't know if this matters, but where I'm currently using this function
is not in a deactivation hook, but rather in the uninstall.php file. I've
tested it on my multisite blog, and it does seem to work well. Are you
recommending not running the code I've posted?
As far as putting the onus on super admins to clean up options, while it
would be nice, it doesn't seem reliable. How are they to know specifically
what options each plugin they activate is saving to the database?
It seems to me that the onus should be on the plugin developers.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16964#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list