[wp-trac] [WordPress Trac] #18204: Move theme def to index.php

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 23 10:18:30 UTC 2011


#18204: Move theme def to index.php
-------------------------+------------------------------
 Reporter:  kingjeffrey  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+------------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This would be a pretty big change.

 It also doesn't come without backwards compatibility concerns: while a
 theme typically needs index.php, a child theme only requires style.css.

 There's no requirement for you to use style.css as your stylesheet,
 technically. You can use it for the headers only, then enqueue your own
 script out of your theme's css/ directory.

 Finally, if you do enqueue styles via wp_enqueue_style, you can bake in
 your own version numbering for cache-busting. Core supports using query
 strings for this -- actually renaming files is never really necessary.

 I think therefore it is safe to close this as wontfix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18204#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list