[wp-trac] [WordPress Trac] #49334: [Theme compatibility] WP/PHP compatibility testing for theme activation

WordPress Trac noreply at wordpress.org
Mon Apr 13 15:44:16 UTC 2020


#49334: [Theme compatibility] WP/PHP compatibility testing for theme activation
-------------------------------------------------+-------------------------
 Reporter:  afragen                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.5
Component:  Site Health                          |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch early has-screenshots      |     Focuses:
  commit                                         |  administration
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47573" 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 #49334.

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


More information about the wp-trac mailing list