Make WordPress Core


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

    r47170 r47219  
    269269            $rtl_tag = apply_filters( 'style_loader_tag', $rtl_tag, $handle, $rtl_href, $media );
    270270
    271             if ( $obj->extra['rtl'] === 'replace' ) {
     271            if ( 'replace' === $obj->extra['rtl'] ) {
    272272                $tag = $rtl_tag;
    273273            } else {
Note: See TracChangeset for help on using the changeset viewer.