[wp-trac] [WordPress Trac] #22846: Site transient autoload even when they have expiry time

WordPress Trac noreply at wordpress.org
Sat Apr 16 18:46:33 UTC 2016


#22846: Site transient autoload even when they have expiry time
--------------------------------+-------------------------------------
 Reporter:  mark-k              |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  reviewing
 Priority:  normal              |   Milestone:  4.6
Component:  Options, Meta APIs  |     Version:  3.4.2
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite, performance
--------------------------------+-------------------------------------
Changes (by jeremyfelt):

 * keywords:  needs-unit-tests has-patch needs-testing => has-patch
 * owner:   => jeremyfelt
 * status:  new => reviewing
 * milestone:  Future Release => 4.6


Comment:

 Replying to [comment:9 thomaswm]:
 > Alternatively, the code in `add_network_option()` could be changed so
 that in single-site installations, it falls back to `add_option()`, but it
 sets the `$autoload` parameter to 'no'. That way, single-site and
 multisite installations would show the same behaviour. They both wouldn't
 autoload network options (and transients).

 +1 Much easier. :)

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


More information about the wp-trac mailing list