[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 18:05:06 UTC 2019


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

Comment (by joyously):

 > it was thought to future proof we should give precedence to readme.txt >
 style.css

 The trick is that the readme.txt is for the Theme Repository. So not all
 themes will have readme.txt. Core reads style.css, which must exist, so it
 should have priority. Anything missing from style.css can be filled in
 from readme.txt if it exists.

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


More information about the wp-trac mailing list