Ticket #37050: 37050.diff
File 37050.diff, 610 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-network.php
28 28 * A numeric string, for compatibility reasons. 29 29 * 30 30 * @since 4.4.0 31 * @since 4.6.0 Type changed from string to int. 31 32 * @access public 32 * @var string33 * @var int 33 34 */ 34 35 public $id; 35 36 … … 156 157 return $this->blog_id; 157 158 case 'site_id': 158 159 return (int) $this->blog_id; 160 case 'id'; 161 return (int) $this->id; 159 162 } 160 163 161 164 return null;