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
This commit is contained in:
parent
38dc032e66
commit
d53b773a47
|
@ -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 = "<a href='link-manager.php?cat_id=$category'>$cat_name</a>";
|
||||
}
|
||||
$cat_names[] = $cat_name;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue