Make WordPress Core


Ignore:
Timestamp:
04/10/2023 12:54:28 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison where count() is involved.

Follow-up to [1636], [6974], [8114], [10322], [13326], [14760], [18006], [18541], [19743], [23249], [24115], [33359].

Props aristath, poena, afercia, SergeyBiryukov.
See #57839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r55620 r55642  
    22982298    $metas = array_map('maybe_unserialize', $metas);
    22992299
    2300     if ( count($metas) == 1 )
     2300    if ( count($metas) === 1 )
    23012301        return $metas[0];
    23022302    else
Note: See TracChangeset for help on using the changeset viewer.