Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (7 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/option.php

    r47157 r47219  
    22282228
    22292229        $pos = array_search( $option_name, (array) $new_whitelist_options[ $option_group ] );
    2230         if ( $pos !== false ) {
     2230        if ( false !== $pos ) {
    22312231                unset( $new_whitelist_options[ $option_group ][ $pos ] );
    22322232        }
Note: See TracChangeset for help on using the changeset viewer.