[wp-trac] [WordPress Trac] #54257: tests for is_php_version_compatible and is_wp_version_compatible

WordPress Trac noreply at wordpress.org
Wed Apr 20 10:17:25 UTC 2022


#54257: tests for is_php_version_compatible and is_wp_version_compatible
--------------------------------------+-----------------------
 Reporter:  pbearne                   |       Owner:  pbearne
     Type:  task (blessed)            |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.0
Component:  Build/Test Tools          |     Version:  5.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 [attachment:"54257.1.2.diff"] looks great to me.

 [attachment:"54257.2.diff"] includes a few more changes to further clarify
 the variable names, use a consistent approach for adjusting the higher and
 lower version numbers, and decrease the number of `implode()` calls.

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


More information about the wp-trac mailing list