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.


git-svn-id: https://develop.svn.wordpress.org/trunk@36340 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2016-01-18 02:58:22 +00:00
parent 2da13dda2e
commit e62a20e5b6

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 = '';