[wp-trac] [WordPress Trac] #12203: Delete options with a wildcard

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 12 05:33:57 UTC 2010


#12203: Delete options with a wildcard
--------------------------+-------------------------------------------------
 Reporter:  technosailor  |       Owner:     
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  General       |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by nacin):

 The second patch is better but then it kind of highlights why this doesn't
 need to be in core. Aren't we encouraging option proliferation by giving
 plugin authors an API to remove in bulk all of their options that have a
 prefix? For the most part they should be using a single option (or two, if
 not all should be autoloaded).

 I see a purpose here if you want to clear all transients, that's about it
 though. Can you share a use case?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12203#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list