From 25073cf976f716a1d1b3ceee9c92707cd209e014 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 7 Jan 2022 16:45:24 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wp-admin/revision.php`. Follow-up to [7913], [12751]. See #54728. git-svn-id: https://develop.svn.wordpress.org/trunk@52538 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/revision.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/revision.php b/src/wp-admin/revision.php index 96268eaaa4..62ac5bbda3 100644 --- a/src/wp-admin/revision.php +++ b/src/wp-admin/revision.php @@ -126,7 +126,7 @@ if ( ! empty( $redirect ) ) { } // This is so that the correct "Edit" menu item is selected. -if ( ! empty( $post->post_type ) && 'post' != $post->post_type ) { +if ( ! empty( $post->post_type ) && 'post' !== $post->post_type ) { $parent_file = 'edit.php?post_type=' . $post->post_type; } else { $parent_file = 'edit.php';