From d639bd43f02a3e6353e3c71405cf476f0240bb02 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Wed, 25 Sep 2019 23:37:31 +0000 Subject: [PATCH] General: Further phpcs cleanup. In [46312] we attempted to do some `phpcs` cleanup. This commit cleans up three issues that were introduced in [46309]. Fixes #48142. Props whyisjake, garrett-eclipse. git-svn-id: https://develop.svn.wordpress.org/trunk@46313 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-links-list-table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php index b1cf980e5d..89204d3421 100644 --- a/src/wp-admin/includes/class-wp-links-list-table.php +++ b/src/wp-admin/includes/class-wp-links-list-table.php @@ -58,7 +58,7 @@ class WP_Links_List_Table extends WP_List_Table { 'hide_empty' => 0, ); - if ( 'all' != $cat_id ) { + if ( 'all' !== $cat_id ) { $args['category'] = $cat_id; } if ( ! empty( $s ) ) { @@ -97,7 +97,7 @@ class WP_Links_List_Table extends WP_List_Table { protected function extra_tablenav( $which ) { global $cat_id; - if ( 'top' != $which ) { + if ( 'top' !== $which ) { return; } ?> @@ -228,7 +228,7 @@ class WP_Links_List_Table extends WP_List_Table { echo $cat->get_error_message(); } $cat_name = $cat->name; - if ( $cat_id != $category ) { + if ( $cat_id !== $category ) { $cat_name = "$cat_name"; } $cat_names[] = $cat_name;