Make WordPress Core


Ignore:
Timestamp:
05/12/2020 06:30:03 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in some wp-admin files.

Props pikamander2, mukesh27, SergeyBiryukov.
Fixes #49239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/load-styles.php

    r47550 r47785  
    3838}
    3939
    40 $rtl            = ( isset( $_GET['dir'] ) && 'rtl' == $_GET['dir'] );
     40$rtl            = ( isset( $_GET['dir'] ) && 'rtl' === $_GET['dir'] );
    4141$expires_offset = 31536000; // 1 year.
    4242$out            = '';
Note: See TracChangeset for help on using the changeset viewer.