[wp-trac] [WordPress Trac] #22355: Template stack - Beyond parent/child theme relationships
WordPress Trac
noreply at wordpress.org
Fri Mar 1 22:41:03 UTC 2013
#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 chacha102):
Replying to [comment:21 johnbillion]:
> Is there really a need for the `register_template_stack()` wrapper
function? I'd prefer to stick with `add_filter()`, which is self
explanatory.
But it isn't a filter. The values of previous function aren't passed to
the next function. If I understand correctly, I don't think anything is
passed to the function at all.
Right now the filter API is simply a storage mechanism, which doesn't seem
right.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22355#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list