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

WordPress Trac noreply at wordpress.org
Wed Feb 16 21:29:53 UTC 2022


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

Comment (by jrf):

 I'm wondering why this function should be polyfilled. Can you give one or
 more examples of code in WordPress which would benefit from the function
 being available ?

 If there are no current usecases for this function in Core, the function
 shouldn't be introduced.

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


More information about the wp-trac mailing list