Make WordPress Core


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

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

Follow-up to [7913], [12751].

See #54728.

File:
1 edited

Legend:

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

    r51499 r52538  
    127127
    128128// This is so that the correct "Edit" menu item is selected.
    129 if ( ! empty( $post->post_type ) && 'post' != $post->post_type ) {
     129if ( ! empty( $post->post_type ) && 'post' !== $post->post_type ) {
    130130    $parent_file = 'edit.php?post_type=' . $post->post_type;
    131131} else {
Note: See TracChangeset for help on using the changeset viewer.