[Bb-trac] Re: [bbPress] #988: New filters to add variables into the
global context for template files
bbPress
bb-trac at lists.bbpress.org
Wed Nov 12 05:18:43 GMT 2008
#988: New filters to add variables into the global context for template files
-------------------------------------+--------------------------------------
Reporter: simonwheatley | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Front-end | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by sambauers):
Generally I would be creating small functions in a functions.php theme
file to deal with globalising and then displaying various new data.
I'm loath to add this particular filter because it provides a very big
hammer to plugins and templates to be able to stomp over each others
variables. Adding simple functions or just using "global" discreetly in
templates seems to be safer than this idea.
--
Ticket URL: <http://trac.bbpress.org/ticket/988#comment:2>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list