[wp-trac] [WordPress Trac] #62151: Allow Ignoring Patch Version in version_compare() for PHP Compatibility

WordPress Trac noreply at wordpress.org
Tue Oct 1 19:58:21 UTC 2024


#62151: Allow Ignoring Patch Version in version_compare() for PHP Compatibility
---------------------------+------------------------------
 Reporter:  mostafa.s1990  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by jorbin):

 * focuses:  administration =>
 * component:  Plugins => General


Comment:

 `is_wp_version_compatible` is already available if you want to compare
 with just a major version. Can you explain some use cases that would be
 solved by this proposal that aren't currently feasible?

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


More information about the wp-trac mailing list