[wp-trac] [WordPress Trac] #41510: Rename site_id to network_id in multisite functions
WordPress Trac
noreply at wordpress.org
Tue Aug 8 13:42:16 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 flixos90):
Replying to [comment:13 spacedmonkey]:
> ms-settings.php
> $site_id = $current_blog->site_id;
> wp_load_core_site_options( $site_id );
Careful: That occurrence must not be changed, since it globalizes the
variable. Changing this is part of #41285.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41510#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list