[wp-trac] Re: [WordPress Trac] #5702: update_option should accept $autoload parameter

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 17 05:25:46 GMT 2008


#5702: update_option should accept $autoload parameter
------------------------+---------------------------------------------------
 Reporter:  adamrbrown  |        Owner:  jacobsantos
     Type:  defect      |       Status:  new        
 Priority:  normal      |    Milestone:  2.9        
Component:  General     |      Version:  2.3.2      
 Severity:  normal      |   Resolution:             
 Keywords:  has-patch   |  
------------------------+---------------------------------------------------
Changes (by jacobsantos):

  * owner:  anonymous => jacobsantos

Comment:

 After thinking about this, it should be possible to set an option to
 autoload after the option has been created. In order to do it now, you
 would have to get the option, delete the option and then readd it if you
 want to autoload the contents. The SQL queries aren't very efficient in
 the amount of queries it would take. Instead one should be given to set an
 existing option to be autoloaded after it has been created.

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


More information about the wp-trac mailing list