Make WordPress Core

Changeset 52428


Ignore:
Timestamp:
01/02/2022 04:45:34 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-admin/options-reading.php.

Follow-up to [16816].

See #53359.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-reading.php

    r52422 r52428  
    7474<table class="form-table" role="presentation">
    7575    <?php
    76     if ( 'posts' != get_option( 'show_on_front' ) ) :
     76    if ( 'posts' !== get_option( 'show_on_front' ) ) :
    7777        update_option( 'show_on_front', 'posts' );
    7878    endif;
Note: See TracChangeset for help on using the changeset viewer.