[wp-trac] [WordPress Trac] #21676: Pass a variable to get_template_part()
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 23 21:32:24 UTC 2012
#21676: Pass a variable to get_template_part()
-----------------------------+------------------------------
Reporter: sc0ttkclark | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.4.1
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by scribu):
+1. Currently, you're forced to implement your own version of
load_template() if you want to pass additional variables, without
polluting the global namespace.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21676#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list