WordPress/wp-includes
Pascal Birchler dc2f39b7f0 Embeds: Add support for embeds in the theme template hierarchy.
This allows themes to directly override the default template. The order in which the template is retrieved is as follows: `embed-$post_type-$post_format.php` -> `embed-$post_type.php` -> `embed.php`.

The `embed_template` filter gets replaced by the dynamic `{$type}_template` filter in `get_query_template()`.

Props ChriCo, swissspidy.
See #34561. Fixes #34278.
Built from https://develop.svn.wordpress.org/trunk@36876


git-svn-id: http://core.svn.wordpress.org/trunk@36843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 19:33:26 +00:00
..
2016-03-05 22:01:27 +00:00
2015-07-23 10:03:24 +00:00
2015-06-28 00:17:25 +00:00
2015-06-28 15:27:24 +00:00
2016-02-28 19:00:27 +00:00
2015-09-26 07:04:28 +00:00
2015-12-06 21:50:25 +00:00
2015-06-16 20:01:25 +00:00
2016-02-24 22:12:25 +00:00