Closed trajche closed 2 years ago
embed.php is not inherited from the resources/views/ directory as are the rest of the templates.
Expected behavior: [What you expect to happen]
It's expected that at Step 5 the theme will inherit the oembed.blade.php.
Actual behavior: [What actually happens]
It does not and it falls back to /wp-includes/theme-compat/oembed.php
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Sage 10
Template hierarchy page on WordPress, explains the inheritance on default themes. https://developer.wordpress.org/themes/basics/template-hierarchy/#embeds
I think this is related to:
https://github.com/roots/acorn/pull/101
Description
embed.php is not inherited from the resources/views/ directory as are the rest of the templates.
Steps to reproduce
Expected behavior: [What you expect to happen]
It's expected that at Step 5 the theme will inherit the oembed.blade.php.
Actual behavior: [What actually happens]
It does not and it falls back to /wp-includes/theme-compat/oembed.php
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
Sage 10
Additional information
Template hierarchy page on WordPress, explains the inheritance on default themes. https://developer.wordpress.org/themes/basics/template-hierarchy/#embeds