Multisite: Fix `switch(` spacing after [37657]

Fixes #36717.

Built from https://develop.svn.wordpress.org/trunk@37658


git-svn-id: http://core.svn.wordpress.org/trunk@37624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2016-06-08 04:48:27 +00:00
parent b885fe6761
commit 4cce2ca14f
3 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ class WP_Network {
* @return bool Whether the property is set. * @return bool Whether the property is set.
*/ */
public function __isset( $key ) { public function __isset( $key ) {
switch( $key ) { switch ( $key ) {
case 'blog_id': case 'blog_id':
case 'site_id': case 'site_id':
return true; return true;
@ -194,7 +194,7 @@ class WP_Network {
* @param mixed $value Value to assign to the property. * @param mixed $value Value to assign to the property.
*/ */
public function __set( $key, $value ) { public function __set( $key, $value ) {
switch( $key ) { switch ( $key ) {
case 'blog_id': case 'blog_id':
case 'site_id': case 'site_id':
$this->blog_id = (string) $value; $this->blog_id = (string) $value;

View File

@ -275,7 +275,7 @@ final class WP_Site {
* @param mixed $value Value to assign to the property. * @param mixed $value Value to assign to the property.
*/ */
public function __set( $key, $value ) { public function __set( $key, $value ) {
switch( $key ) { switch ( $key ) {
case 'id': case 'id':
case 'blog_id': case 'blog_id':
$this->blog_id = (string) $value; $this->blog_id = (string) $value;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37657'; $wp_version = '4.6-alpha-37658';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.