[wp-trac] [WordPress Trac] #53580: Add support for Tested up to version to themes

WordPress Trac noreply at wordpress.org
Sat Jul 3 17:12:55 UTC 2021


#53580: Add support for Tested up to version to themes
--------------------------+------------------------------
 Reporter:  utz119        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Old description:

> Hello. In addition to `Requires at least` and `Requires PHP` in 5.4
> [https://core.trac.wordpress.org/ticket/44592 #44592], `Tested up to` was
> added as a theme requirement since then.
>
> The scope of this ticket is to add support for `Tested up to` to WP_theme
> so that it can be parsed correctly and implemented in the theme-check
> plugin [https://github.com/WordPress/theme-check/issues/341 #341].

New description:

 Hello. In addition to `Requires at least` and `Requires PHP` in 5.4
 #44592, `Tested up to` was  added as a theme requirement since then.

 The scope of this ticket is to add support for `Tested up to` to WP_theme
 so that it can be parsed correctly and implemented in the theme-check
 plugin [https://github.com/WordPress/theme-check/issues/341 #341].

--

Comment (by SergeyBiryukov):

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 Just linking to some previous tickets here: #13780, #16868, #28574,
 #37704.

 It seems that the new header would not actually be used by core yet, only
 by the Theme Check plugin? Would it be possible for the plugin to check
 the header without any changes to core, e.g. using the
 [https://developer.wordpress.org/reference/functions/get_file_data/
 get_file_data()] function?

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


More information about the wp-trac mailing list