mirror of
git://develop.git.wordpress.org/
synced 2025-04-27 23:53:02 +02:00
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
This commit is contained in:
parent
d831c042d6
commit
25073cf976
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user