Make WordPress Core


Ignore:
Timestamp:
07/04/2017 09:51:25 AM (7 years ago)
Author:
SergeyBiryukov
Message:

General: Always use colon instead of a semicolon in switch() control structures.

Props jrf.
Fixes #41234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-network.php

    r40102 r40997  
    155155    public function __get( $key ) {
    156156        switch ( $key ) {
    157             case 'id';
     157            case 'id':
    158158                return (int) $this->id;
    159159            case 'blog_id':
Note: See TracChangeset for help on using the changeset viewer.