From 087282e8105572412d109b1de7580ae401889ab9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 15 Dec 2019 09:45:01 +0000 Subject: [PATCH] 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 --- wp-admin/term.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/term.php b/wp-admin/term.php index 48932209e0..fd7d276bb3 100644 --- a/wp-admin/term.php +++ b/wp-admin/term.php @@ -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 { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4734c99cc1..eae7e37b6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.