[wp-trac] [WordPress Trac] #43992: Prevent activation of a plugin if its required PHP version is too high

WordPress Trac noreply at wordpress.org
Mon Apr 13 15:26:51 UTC 2020


#43992: Prevent activation of a plugin if its required PHP version is too high
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  desrosj
     Type:  task (blessed)                       |      Status:  closed
 Priority:  high                                 |   Milestone:  5.2
Component:  Site Health                          |     Version:
 Severity:  major                                |  Resolution:  fixed
 Keywords:  needs-unit-tests servehappy has-     |     Focuses:
  patch 2nd-opinion close                        |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47573" 47573]:
 {{{
 #!CommitTicketReference repository="" revision="47573"
 Themes: Block theme activation if it requires a higher version of PHP or
 WordPress.

 Introduce `validate_theme_requirements()` for validating a theme's
 WordPress and PHP version requirements.

 Follow-up to [44978] and [45546] for plugins.

 Props afragen, audrasjb, SergeyBiryukov.
 See #43992.
 }}}

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


More information about the wp-trac mailing list