Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44124, comment 4


Ignore:
Timestamp:
05/17/2018 04:30:34 PM (7 years ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44124, comment 4

    initial v1  
    1 You may also want to add a is_iterable()` wrapper around the `foreach()` just below within the same function or move the whole block of code below within the `if ( is_countable() & count() > 1 ) {}` wrapper.
     1You may also want to add a `is_iterable()` wrapper around the `foreach()` just below within the same function or move the whole block of code below within the `if ( is_countable() & count() > 1 ) {}` wrapper.
    22
    33https://core.trac.wordpress.org/browser/trunk/src/wp-admin/custom-header.php#L295