[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 12:49:55 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
Component:  Plugins                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  reviewed commit                                |  administration
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52629" 52629]:
 {{{
 #!CommitTicketReference repository="" revision="52629"
 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.

 Merges [52628] to the 5.9 branch.

 Fixes #54882.
 }}}

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


More information about the wp-trac mailing list