diff --git a/src/wp-admin/term.php b/src/wp-admin/term.php index 48932209e0..fd7d276bb3 100644 --- a/src/wp-admin/term.php +++ b/src/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 {