[wp-trac] [WordPress Trac] #43619: Introduce new PHP cross-version compat function `is_iterable()`

WordPress Trac noreply at wordpress.org
Mon Oct 15 15:33:14 UTC 2018


#43619: Introduce new PHP cross-version compat function `is_iterable()`
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9.6
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 Motion to reopen for future discussion.

 Should we backport those to earlier WordPress versions?

 I can think of plugins that would like to be PHP7.3 ready without the need
 to bump their minimum WordPress version to 4.9.6. (I know earlier WP
 versions fixed a few issues, and I’d argue we should backport those also.)

 Without backporting these in core, plugins need to implement their own
 back-fills until they’re ready to bump their minimum version, defeating
 the purpose of the core back-fills.

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


More information about the wp-trac mailing list