[wp-trac] [WordPress Trac] #34278: Add support for embeds in the theme template hierarchy

WordPress Trac noreply at wordpress.org
Mon Dec 14 07:04:33 UTC 2015


#34278: Add support for embeds in the theme template hierarchy
---------------------------------+------------------------
 Reporter:  johnbillion          |       Owner:
     Type:  task (blessed)       |      Status:  reviewing
 Priority:  normal               |   Milestone:  4.5
Component:  Embeds               |     Version:  4.4
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.5-early  |     Focuses:  template
---------------------------------+------------------------

Comment (by Otto42):

 BTW, the "embed_template" filter is a bad filter name because it is shared
 with the *_template filter in get_query_template. If you hook to
 embed_template and then call get_query_template('embed') from inside that
 function, you have created an infinite loop without knowing why. Ran into
 that this morning.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34278#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list