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:
parent
421888d9f4
commit
8cde06c4e4
|
@ -63,7 +63,7 @@ class WP_Network {
|
||||||
* @access private
|
* @access private
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $blog_id = 0;
|
private $blog_id = '0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Domain used to set cookies for this network.
|
* Domain used to set cookies for this network.
|
||||||
|
|
Loading…
Reference in New Issue