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

WordPress Trac noreply at wordpress.org
Wed Aug 2 17:36:54 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 sathyapulse):

 @spacedmonkey I have created a new
 [https://core.trac.wordpress.org/attachment/ticket/41507/41507.1.diff
 patch] file by removing the global references. I am not sure about the
 changes in the phpunit tests. It's mostly in the assignment. Could you
 please be clear what needs to be removed? All the 7 occurrences?

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


More information about the wp-trac mailing list