Changeset 41241 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 08/12/2017 12:47:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r41162 r41241 894 894 * 895 895 * @param int $blog_id 896 * @param int $ site_id Optional.896 * @param int $network_id Optional. 897 897 * @return int previous blog id 898 898 */ 899 public function set_blog_id( $blog_id, $site_id = 0 ) { 900 if ( ! empty( $site_id ) ) 901 $this->siteid = $site_id; 899 public function set_blog_id( $blog_id, $network_id = 0 ) { 900 if ( ! empty( $network_id ) ) { 901 $this->siteid = $network_id; 902 } 902 903 903 904 $old_blog_id = $this->blogid;
Note: See TracChangeset
for help on using the changeset viewer.