[wp-trac] [WordPress Trac] #48515: [Theme compatibility] Changes to WP_Theme to add correct header data

WordPress Trac noreply at wordpress.org
Wed Nov 6 22:53:07 UTC 2019


#48515: [Theme compatibility] Changes to WP_Theme to add correct header data
------------------------------------------+-----------------------------
 Reporter:  afragen                       |       Owner:  (none)
     Type:  enhancement                   |      Status:  closed
 Priority:  normal                        |   Milestone:
Component:  Themes                        |     Version:
 Severity:  normal                        |  Resolution:  wontfix
 Keywords:  has-patch dev-feedback early  |     Focuses:  administration
------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:16 afragen]:
 > And we would then need a definitive statement of these requirements in
 both plugin and theme main files or no compatibility testing is possible.

 Right. To summarize the discussion, looks like the follow-up steps here
 would be to:

 * Resolve #meta4621, so that all three headers (`Requires at least`,
 `Tested up to`, `Requires PHP`) could be defined in the same place.
 * Publish posts on make/plugins and make/themes with an announcement for
 plugin and theme authors to move these headers to the main plugin file or
 the `style.css` file, and remove them from `readme.txt`.
 * Make `validate_plugin_requirements()` only read headers from the main
 plugin file, not from `readme.txt`.

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


More information about the wp-trac mailing list