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

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

See #54728.
Built from https://develop.svn.wordpress.org/trunk@52538


git-svn-id: http://core.svn.wordpress.org/trunk@52128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-01-07 16:47:00 +00:00
parent 286e4fa9b0
commit 10e842a662
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52537';
$wp_version = '6.0-alpha-52538';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.