[wp-trac] [WordPress Trac] #41510: Rename site_id to network_id in multisite functions

WordPress Trac noreply at wordpress.org
Wed Aug 2 10:20:22 UTC 2017


#41510: Rename site_id to network_id in multisite functions
----------------------------------------+------------------------------
 Reporter:  spacedmonkey                |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Networks and Sites          |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs, multisite
----------------------------------------+------------------------------

Comment (by lemacarl):

 @spacedmonkey It looks like this bug also extends to the DB because the
 column name `site_id` is also used instead of `network_id` which is how it
 is used by `insert_blog` in multisite functions. In fact the
 [https://codex.wordpress.org/Database_Description#Table:_wp_blogs Codex]
 explicitly states that the `the site_id identifies the network`. In which
 case this bug would cover the entire problem. How do I proceed?

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


More information about the wp-trac mailing list