[wp-trac] [WordPress Trac] #34278: Add support for embeds in the theme template hierarchy
WordPress Trac
noreply at wordpress.org
Tue Oct 13 07:05:57 UTC 2015
#34278: Add support for embeds in the theme template hierarchy
-------------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: template
-------------------------------------+------------------------------
Comment (by swissspidy):
It's worth noting that the embed template isn't just a regular theme
template. For example, there's no `wp_head`, but a `do_action(
'oembed_head' );` instead. That's why I hesitated to introduce a
`get_embed_template` function and add it to the "waterfall" in template-
loader.php.
Happy to reconsider this, but we need to make sure people don't mess it
up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34278#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list