[wp-trac] [WordPress Trac] #22355: Template stack - Beyond parent/child theme relationships

WordPress Trac noreply at wordpress.org
Tue Nov 6 03:34:13 UTC 2012


#22355: Template stack - Beyond parent/child theme relationships
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Replying to [comment:21 johnbillion]:
 > I like this idea.
 >
 > Is there really a need for the `register_template_stack()` wrapper
 function? I'd prefer to stick with `add_filter()`, which is self
 explanatory.
 add_filter() alone would work. The reason to use a dedicated function is
 to make it API agnostic. Should we want to move it off of the filters API
 later, we can do so without changing the name of the function or it's
 parameters.

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


More information about the wp-trac mailing list