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:
Jeremy Felt 2016-01-18 02:59:27 +00:00
parent 9065794462
commit fcd674ca6c
2 changed files with 8 additions and 4 deletions

View File

@ -23,9 +23,11 @@ class WP_Network {
/**
* Network ID.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @access public
* @var int
* @var string
*/
public $id;
@ -53,9 +55,11 @@ class WP_Network {
* Named "blog" vs. "site" for legacy reasons. A main site is mapped to
* the network when the network is created.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @access public
* @var int
* @var string
*/
public $blog_id = 0;
@ -64,7 +68,7 @@ class WP_Network {
*
* @since 4.4.0
* @access public
* @var int
* @var string
*/
public $cookie_domain = '';

View File

@ -4,7 +4,7 @@
*
* @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.