5 | 5 | > [https://github.com/WordPress/wordpress-develop/blob/a8d12183f23694718756c9e84338e12342b2fcb9/src/wp-includes/class-wp-network.php#L31-L33 Since version 4.6], the network ID has been an `int`, and enforced as such by the [https://github.com/WordPress/wordpress-develop/blob/a8d12183f23694718756c9e84338e12342b2fcb9/src/wp-includes/class-wp-network.php#L153-L154 getter]/[https://github.com/WordPress/wordpress-develop/blob/a8d12183f23694718756c9e84338e12342b2fcb9/src/wp-includes/class-wp-network.php#L197-L199 setter]. In the updated code, `$this->id` shouldn't be a string ([https://github.com/WordPress/wordpress-develop/blob/a8d12183f23694718756c9e84338e12342b2fcb9/src/wp-includes/class-wp-network.php#L65 compared with] `$this->blog_id` which is still a string for backward compat). |