mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 11:14:28 +00:00
Multisite: Set WP_Network blog_id property default to string as expected.
The `blog_id` property is always returned (and expected) as a string, so we should set it as one by default. Props flixos90. See #36717. git-svn-id: https://develop.svn.wordpress.org/trunk@37871 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -63,7 +63,7 @@ class WP_Network {
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
private $blog_id = 0;
|
||||
private $blog_id = '0';
|
||||
|
||||
/**
|
||||
* Domain used to set cookies for this network.
|
||||
|
||||
Reference in New Issue
Block a user