mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
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:
parent
286e4fa9b0
commit
10e842a662
@ -126,7 +126,7 @@ if ( ! empty( $redirect ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is so that the correct "Edit" menu item is selected.
|
// 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;
|
$parent_file = 'edit.php?post_type=' . $post->post_type;
|
||||||
} else {
|
} else {
|
||||||
$parent_file = 'edit.php';
|
$parent_file = 'edit.php';
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user