[wp-trac] [WordPress Trac] #55105: Introduce a polyfill for `array_is_list()`.

WordPress Trac noreply at wordpress.org
Fri Sep 22 13:50:21 UTC 2023


#55105: Introduce a polyfill for `array_is_list()`.
--------------------------------------+-------------------------
 Reporter:  costdev                   |       Owner:  (none)
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  General                   |     Version:
 Severity:  minor                     |  Resolution:  maybelater
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by swissspidy):

 The [https://wordpress.org/plugins/performant-translations/ Performant
 Translations feature plugin] is one project that uses `array_is_list()`
 ([https://github.com/swissspidy/performant-
 translations/blob/70f35a69c148268378d263ff598a9f608659d3ee/lib/class-
 ginger-mo-translation-file-php.php#L55-L89 ref]) and would require this
 polyfill upon core merge.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55105#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list