Docs: Fix type documentation for `WP_Network` properties.
* `$cookie_domain` was incorrectly documented as an `int`. * `$id` and `$blog_id`, though numeric, are provided as strings and should be documented as such. Fixes #35404. Built from https://develop.svn.wordpress.org/trunk@36340 git-svn-id: http://core.svn.wordpress.org/trunk@36307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9065794462
commit
fcd674ca6c
|
@ -23,9 +23,11 @@ class WP_Network {
|
||||||
/**
|
/**
|
||||||
* Network ID.
|
* Network ID.
|
||||||
*
|
*
|
||||||
|
* A numeric string, for compatibility reasons.
|
||||||
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
* @access public
|
* @access public
|
||||||
* @var int
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
@ -53,9 +55,11 @@ class WP_Network {
|
||||||
* Named "blog" vs. "site" for legacy reasons. A main site is mapped to
|
* Named "blog" vs. "site" for legacy reasons. A main site is mapped to
|
||||||
* the network when the network is created.
|
* the network when the network is created.
|
||||||
*
|
*
|
||||||
|
* A numeric string, for compatibility reasons.
|
||||||
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
* @access public
|
* @access public
|
||||||
* @var int
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $blog_id = 0;
|
public $blog_id = 0;
|
||||||
|
|
||||||
|
@ -64,7 +68,7 @@ class WP_Network {
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
* @access public
|
* @access public
|
||||||
* @var int
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $cookie_domain = '';
|
public $cookie_domain = '';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-1453085412976';
|
$wp_version = '4.5-alpha-1453085953122';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue