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

WordPress Trac noreply at wordpress.org
Tue Aug 8 13:08:53 UTC 2017


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

Comment (by spacedmonkey):

 Place that were missed.

 wp-db.php
 public function set_blog_id( $blog_id, $site_id = 0 ) {
  if ( ! empty( $site_id ) )
    $this->siteid = $site_id;

 can_edit_network( $site_id )

 ms-settings.php
         $site_id = $current_blog->site_id;
         wp_load_core_site_options( $site_id );
 option.php
 wp_load_core_site_options
 ms-deprecated.php
 get_admin_users_for_domain

 @lemacarl do you want to update the patch with these other places.

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


More information about the wp-trac mailing list