[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 17:28:22 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
------------------------------------------+------------------------------
Changes (by Otto42):

 * component:  Site Health => Themes


Comment:

 You got the precedence order incorrect.

 `Precedence order: API > readme.txt > style.css`

 The style.css should take precedence. The readme.txt is second. And the
 API should never be consulted if the theme is installed and local already,
 as the API is only used when the theme isn't installed yet.

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


More information about the wp-trac mailing list