[wp-trac] [WordPress Trac] #55802: Store main site of network in network options

WordPress Trac noreply at wordpress.org
Tue May 24 10:48:06 UTC 2022


#55802: Store main site of network in network options
------------------------------------+-----------------------------
 Reporter:  spacedmonkey            |      Owner:  spacedmonkey
     Type:  defect (bug)            |     Status:  assigned
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Networks and Sites      |    Version:  4.9
 Severity:  normal                  |   Keywords:  needs-patch
  Focuses:  multisite, performance  |
------------------------------------+-----------------------------
 Instead of doing a live lookup for main site on network in WP_Network
 class, store / cache the value in network options, to save a database
 lookup.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55802>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list