[wp-trac] [WordPress Trac] #58423: Avoid an extra database query in populate_network()

WordPress Trac noreply at wordpress.org
Tue May 30 05:23:29 UTC 2023


#58423: Avoid an extra database query in populate_network()
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch good-first-bug needs-      |     Focuses:  multisite,
  testing                                        |  performance
-------------------------------------------------+-------------------------
Changes (by nihar007):

 * Attachment "58423-2.diff" added.

 I made one more changes for this ticket. Removed extra get_userdata
 function call & moved the query inside is_multisite condition block

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


More information about the wp-trac mailing list