General: Always use colon instead of a semicolon in `switch()` control structures.
Props jrf. Fixes #41234. Built from https://develop.svn.wordpress.org/trunk@40997 git-svn-id: http://core.svn.wordpress.org/trunk@40847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c47285f4e
commit
c6ab84c4c4
|
@ -154,7 +154,7 @@ class WP_Network {
|
||||||
*/
|
*/
|
||||||
public function __get( $key ) {
|
public function __get( $key ) {
|
||||||
switch ( $key ) {
|
switch ( $key ) {
|
||||||
case 'id';
|
case 'id':
|
||||||
return (int) $this->id;
|
return (int) $this->id;
|
||||||
case 'blog_id':
|
case 'blog_id':
|
||||||
return $this->blog_id;
|
return $this->blog_id;
|
||||||
|
|
|
@ -845,7 +845,7 @@ class WP_Date_Query {
|
||||||
|
|
||||||
return $value[0] . ' AND ' . $value[1];
|
return $value[0] . ' AND ' . $value[1];
|
||||||
|
|
||||||
default;
|
default:
|
||||||
if ( ! is_numeric( $value ) ) {
|
if ( ! is_numeric( $value ) ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-40996';
|
$wp_version = '4.9-alpha-40997';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue