[wp-trac] [WordPress Trac] #16883: Add check for "Template Version" on theme activation

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 04:19:25 UTC 2011


#16883: Add check for "Template Version" on theme activation
-------------------------------------+------------------------------
 Reporter:  nathanrice               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------------------

Comment (by nathanrice):

 @cais
 Yes, that's what I'm saying. Hopefully the ticket wording isn't unclear.
 The Template Version tag is a way for the child theme to say "I require AT
 LEAST {Template Version} to run properly. If {Template} isn't at least
 {Template Version}, don't let me activate, and provide a nice little
 message to anyone who tries to activate me that says 'This theme requires
 {Template} {Template Version}. Please upgrade {Template}'"

 Basically, it'd be nice if Template Version wasn't just a suggestion or
 reminder. It'd be nice if it had actual functional utility. I think that
 UX beats the pants off of whitescreens due to a child theme calling a
 function that doesn't exist in their version of {Template}.

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


More information about the wp-trac mailing list