Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r47199 r47219  
    597597    static $suffixes;
    598598
    599     if ( $suffixes === null ) {
     599    if ( null === $suffixes ) {
    600600        // Include an unmodified $wp_version.
    601601        require ABSPATH . WPINC . '/version.php';
     
    615615    }
    616616
    617     if ( $type === 'dev' ) {
     617    if ( 'dev' === $type ) {
    618618        return $suffixes['dev_suffix'];
    619619    }
Note: See TracChangeset for help on using the changeset viewer.