[wp-trac] [WordPress Trac] #15086: get_template_part() should let you specify a directory
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 10 22:36:25 UTC 2010
#15086: get_template_part() should let you specify a directory
---------------------------+------------------------------------------------
Reporter: aaroncampbell | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.0
Severity: normal | Keywords: dev-feedback
---------------------------+------------------------------------------------
Comment(by aaroncampbell):
Grrr. I understand it's necessary, but it's times like this when I really
hate backwards compatibility. Anyway, I suppose we have to stick to the
current setup.
`class-simplepie.php` has `remove_dot_segments()` which I think is exactly
what should be done to $slug.
And definitely +1 for renaming the arg to something other than slug, since
it seems really inconsistent with what we use that term for everywhere
else.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15086#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list