From 10e842a662df0ac2c59a16dd1a68b8f54ce788ef Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 7 Jan 2022 16:47:00 +0000 Subject: [PATCH] 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 --- wp-admin/revision.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/revision.php b/wp-admin/revision.php index 96268eaaa4..62ac5bbda3 100644 --- a/wp-admin/revision.php +++ b/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'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 462a968b3a..46ec9c43a2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.