Changeset 37923 for trunk/src/wp-includes/class-wp-site.php
- Timestamp:
- 06/29/2016 10:07:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-site.php
r37918 r37923 27 27 * 28 28 * @since 4.5.0 29 * @since 4.6.0 Converted from public to private to explicitly enable more intuitive 30 * access via magic methods. 31 * @access private 32 * @var string 33 */ 34 private $blog_id; 29 * @access public 30 * @var string 31 */ 32 public $blog_id; 35 33 36 34 /** … … 61 59 * 62 60 * @since 4.5.0 63 * @since 4.6.0 Converted from public to private to explicitly enable more intuitive 64 * access via magic methods. 65 * @access private 66 * @var string 67 */ 68 private $site_id = '0'; 61 * @access public 62 * @var string 63 */ 64 public $site_id = '0'; 69 65 70 66 /** … … 235 231 case 'id': 236 232 return (int) $this->blog_id; 237 case 'blog_id':238 return $this->blog_id;239 case 'site_id':240 return $this->site_id;241 233 case 'network_id': 242 234 return (int) $this->site_id; … … 270 262 switch ( $key ) { 271 263 case 'id': 272 case 'blog_id':273 case 'site_id':274 264 case 'network_id': 275 265 return true; … … 301 291 switch ( $key ) { 302 292 case 'id': 303 case 'blog_id':304 293 $this->blog_id = (string) $value; 305 294 break; 306 case 'site_id':307 295 case 'network_id': 308 296 $this->site_id = (string) $value;
Note: See TracChangeset
for help on using the changeset viewer.