[wp-trac] [WordPress Trac] #28045: Passing variables to header
WordPress Trac
noreply at wordpress.org
Sun Sep 20 00:56:19 UTC 2015
#28045: Passing variables to header
-----------------------------+------------------------
Reporter: gallantfish | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Themes | Version: 3.8.3
Severity: normal | Resolution: duplicate
Keywords: | Focuses: template
-----------------------------+------------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Duplicate of #21676.
We aren't going to alter the existing funcs to take `$data`, but it's
possible that a new API could be created that takes a template and data.
The main issue here: all templating languages take a template or template
name AND data. We are in a weird spot, because we use raw PHP for
templating.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28045#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list