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

Props vinita29.
Fixes #48983.
Built from https://develop.svn.wordpress.org/trunk@46961


git-svn-id: http://core.svn.wordpress.org/trunk@46761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-12-15 09:45:01 +00:00
parent 35b29f11b3
commit 087282e810
2 changed files with 4 additions and 4 deletions

View File

@ -52,10 +52,10 @@ if ( empty( $post_type ) ) {
$post_type = reset( $tax->object_type );
}
if ( 'post' != $post_type ) {
$parent_file = ( 'attachment' == $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type";
if ( 'post' !== $post_type ) {
$parent_file = ( 'attachment' === $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type";
$submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type";
} elseif ( 'link_category' == $taxonomy ) {
} elseif ( 'link_category' === $taxonomy ) {
$parent_file = 'link-manager.php';
$submenu_file = 'edit-tags.php?taxonomy=link_category';
} else {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-46960';
$wp_version = '5.4-alpha-46961';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.