[wp-trac] [WordPress Trac] #44123: Utilize `is_countable()` and `is_iterable()` Polyfills
WordPress Trac
noreply at wordpress.org
Thu May 17 13:56:44 UTC 2018
#44123: Utilize `is_countable()` and `is_iterable()` Polyfills
------------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: coding-standards |
------------------------------+-----------------------------
In 4.9.6, polyfills for `is_countable()` and `is_iterable()` were
introduced (#43583 and #43619). These should be utilized in core for
better variable validation and forwards compatibility.
This is a meta ticket to track overall progress making replacements
throughout core. Because there will be many instances and each requires
validation, individual tickets should be opened for each replacement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44123>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list