[wp-trac] [WordPress Trac] #54882: Allow to install/activate themes/plugin which require the next WordPress version

WordPress Trac noreply at wordpress.org
Mon Jan 24 10:40:06 UTC 2022


#54882: Allow to install/activate themes/plugin which require the next WordPress
version
--------------------------------------+-----------------------------
 Reporter:  ocean90                   |       Owner:  ocean90
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9.1
Component:  Plugins                   |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  administration
--------------------------------------+-----------------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52628" 52628]:
 {{{
 #!CommitTicketReference repository="" revision="52628"
 Plugins/Themes: Allow to install/activate plugins/themes which require the
 WordPress version currently in development.

 Twenty Twenty-Two requires WordPress 5.9 but currently can't be
 (re)activated in the 5.9 branch because `version_compare( '5.9-RC3-52627',
 '5.9', '>=' )` as used by `is_wp_version_compatible()` returns `false`. To
 appreciate the testing of upcoming versions any `-alpha`, `-RC`, `-beta`
 suffixes are now stripped off from the WordPress version before checking
 for compatibility.

 Fixes #54882.
 }}}

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


More information about the wp-trac mailing list