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

WordPress Trac noreply at wordpress.org
Tue Aug 1 19:24:29 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:  good-first-bug has-patch  |     Focuses:  multisite
--------------------------------------+------------------------------

Comment (by spacedmonkey):

 @sathyapulse Great work.

 Couple of things. Can you make sure to remove the `global $wpdb`
 references and update the docs.

 There are also 7 references in the phpunit tests to `$wpdb->siteid` that
 should be replaced.

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


More information about the wp-trac mailing list