[wp-trac] [WordPress Trac] #41507: Replace $wpdb->siteid with get_current_network_id()

WordPress Trac noreply at wordpress.org
Tue Aug 1 18:38:57 UTC 2017


#41507: Replace $wpdb->siteid with get_current_network_id()
----------------------------------------+------------------------------
 Reporter:  spacedmonkey                |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Networks and Sites          |     Version:  4.6
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  multisite
----------------------------------------+------------------------------

Comment (by sathyapulse):

 @spacedmonkey I have attached the
 [https://core.trac.wordpress.org/attachment/ticket/41507/41507.diff patch]
 file with the ticket which addresses the replace of `$wpdb->siteid` with
 `get_current_network_id()` in the functions mentioned. Additionally I
 found the usage in the function `wp_load_core_site_options` and replaced
 it. Could you please check the patch and let me know your thoughts?

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


More information about the wp-trac mailing list