Make WordPress Core


Ignore:
Timestamp:
05/12/2020 06:30:03 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in some wp-admin files.

Props pikamander2, mukesh27, SergeyBiryukov.
Fixes #49239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/link.php

    r47198 r47785  
    3636
    3737        // For each link id (in $linkcheck[]) change category to selected value.
    38         if ( count( $linkcheck ) == 0 ) {
     38        if ( count( $linkcheck ) === 0 ) {
    3939            wp_redirect( $this_file );
    4040            exit;
     
    5757
    5858        // For each link id (in $linkcheck[]) change category to selected value.
    59         if ( count( $linkcheck ) == 0 ) {
     59        if ( count( $linkcheck ) === 0 ) {
    6060            wp_redirect( $this_file );
    6161            exit;
Note: See TracChangeset for help on using the changeset viewer.