[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:09:17 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 Otto42):

 Yes, what joyously said. The style.css is a required file for themes, the
 readme.txt isn't. Additionally, most themes that have made readme files
 have not followed the same standard as plugin files have, historically, so
 it is an unreliable indicator.

 Headers should be in the style.css file. The readme.txt file should not
 even be read by core at all, for plugins or themes. The fact that that was
 added for plugins was something of a mistake, and continuing to compound
 that error isn't a good approach forward.

 Core should not be parsing readme.txt files, at all.

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


More information about the wp-trac mailing list