[wp-trac] Re: [WordPress Trac] #8949: WP creates duplicate options

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 2 11:48:48 GMT 2009


#8949: WP creates duplicate options
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  defect (bug)       |       Status:  new      
 Priority:  low                |    Milestone:  2.8      
Component:  Optimization       |      Version:  2.7      
 Severity:  minor              |   Resolution:           
 Keywords:  needs-patch        |  
-------------------------------+--------------------------------------------
Comment (by DD32):

 >(it's in the upgrade_130() function)

 That code would only run if you upgraded from WP <1.3.. Surely you don't
 do those?

 Duplicate options should not be possible if your server setup is set
 correctly, WP trys a get_option first.. and there should only be 1 process
 running at a time bulk adding options.. hopefully..

 Eitherway, A Unique index on the options table, if only for optimization
 purposes, seems like a good thing..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8949#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list