[wp-trac] [WordPress Trac] #43506: Ensure a network's `notoptions` cache is an array to reduce lookup overhead

WordPress Trac noreply at wordpress.org
Mon Mar 12 10:36:42 UTC 2018


#43506: Ensure a network's `notoptions` cache is an array to reduce lookup overhead
--------------------------------------+------------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.0
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------

Comment (by spacedmonkey):

 @flixos90 At WordCamp US, the meeting of the multisite, team we all agreed
 that moving to the moving the meta api for network options was a good
 idea. What we didn't agree to was having the meta function, like
 get_network_meta in core. This doesn't stop us as from going ahead with
 #37181 , which does not functionality change anything and can be seen as a
 simple refactor of the code.

 If you spend your time on this ticket, you will have to write unit tests
 which then will be removed once #37181 goes in. It feels like a massive
 waste of time. Why not use that time to work on #37181 , write a unit
 test, that proves that if issue is not a there in that.

 If this goes in, then it will delay #37181 , blocking it's release in
 5.0.0.

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


More information about the wp-trac mailing list