[wp-trac] [WordPress Trac] #26394: In update_option if option is missing add the option with autoload no

WordPress Trac noreply at wordpress.org
Sun Aug 7 13:06:02 UTC 2016


#26394: In update_option if option is missing add the option with autoload no
-----------------------------------+---------------------------
 Reporter:  codix                  |       Owner:  boonebgorges
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:  4.2
Component:  Options, Meta APIs     |     Version:  3.7
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:  performance
-----------------------------------+---------------------------
Changes (by theode):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I want to know why we not set update_option()'s $autload parameter to
 "false" by default? because it broke the #WordPress after 260'000 entries
 in wp_options with $autoload = true, simply because developer forgot to
 set it to false.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26394#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list