WordPress.org

Make WordPress Core

Changeset 46313


Ignore:
Timestamp:
09/25/2019 11:37:31 PM (4 weeks ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-links-list-table.php

    r46312 r46313  
    5959        );
    6060
    61         if ( 'all' != $cat_id ) {
     61        if ( 'all' !== $cat_id ) {
    6262            $args['category'] = $cat_id;
    6363        }
     
    9898        global $cat_id;
    9999
    100         if ( 'top' != $which ) {
     100        if ( 'top' !== $which ) {
    101101            return;
    102102        }
     
    229229            }
    230230            $cat_name = $cat->name;
    231             if ( $cat_id != $category ) {
     231            if ( $cat_id !== $category ) {
    232232                $cat_name = "<a href='link-manager.php?cat_id=$category'>$cat_name</a>";
    233233            }
Note: See TracChangeset for help on using the changeset viewer.