From d53b773a47f77d401cd2a97a80440ab01acf64fb Mon Sep 17 00:00:00 2001 From: whyisjake Date: Wed, 25 Sep 2019 23:38:57 +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. Built from https://develop.svn.wordpress.org/trunk@46313 git-svn-id: http://core.svn.wordpress.org/trunk@46112 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-links-list-table.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-links-list-table.php b/wp-admin/includes/class-wp-links-list-table.php index b1cf980e5d..89204d3421 100644 --- a/wp-admin/includes/class-wp-links-list-table.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index a46fe6b086..395d75f9e4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta1-46312'; +$wp_version = '5.3-beta1-46313'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.