mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00: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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user