[wp-trac] [WordPress Trac] #37517: additional argument for GET_OPTION and UPDATE_OPTION

WordPress Trac noreply at wordpress.org
Sat Jul 30 01:59:44 UTC 2016


#37517: additional argument for GET_OPTION and UPDATE_OPTION
--------------------------------+------------------------------
 Reporter:  tazotodua           |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by dd32):

 This shouldn't be needed, as `update_option()` will update the cache that
 `get_option()` uses.

 However, there is a race condition that can cause that not to be so, for
 example #25623 which is getting fixed via #31245. That should only happen
 for people using cache dropins (such as Memcache or Redis) so shouldn't be
 affected.

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


More information about the wp-trac mailing list