[wp-trac] [WordPress Trac] #16395: Add 'Template Version' for use with 'Template' in Child-Themes

WordPress Trac noreply at wordpress.org
Tue Dec 29 00:18:29 UTC 2015


#16395: Add 'Template Version' for use with 'Template' in Child-Themes
----------------------------------------------+----------------------------
 Reporter:  cais                              |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
Component:  Themes                            |  Review
 Severity:  normal                            |     Version:  3.1
 Keywords:  has-patch needs-unit-tests close  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------
Changes (by dd32):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests close


Comment:

 I'll just put it this way: '''Why?'''

 I think that this should be defined in the themes documentation, and
 assumed that child themes are compatible with all parent theme versions,
 or at the least, with the latest version of the theme. That won't hold
 true for overly complex themes which have no form of backwards/forwards
 compatibility, but there's only so much that we could do in that case.

 Furthermore, the patches here don't actually do anything, other than
 retrieving the data from the theme, it doesn't actually use it for
 anything. I assume that's because you want core to read it as some kind of
 way of saying "This is a legitimate header you should use", but if core
 doesn't use it, supporting it on this end makes no sense.

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


More information about the wp-trac mailing list