You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a personal support request that should be posted on the Roots Discourse forums
What is the current behavior?
Let's say we have a custom page template located in views/template-custom.blade.php. Sage's template hierarchy filter expands it into following template paths:
Obviously it works (the list includes views/template-custom.blade.php) but it differs from all other possible template file lists. It may be confusing: for example by the way soberwp/controller parses template paths one cannot create Controller based on custom page template file name.
What is the expected or desired behavior?
I'm not quite sure but probably resulting template list should look like that:
Bug report
What is the current behavior?
Let's say we have a custom page template located in
views/template-custom.blade.php
. Sage's template hierarchy filter expands it into following template paths:Obviously it works (the list includes
views/template-custom.blade.php
) but it differs from all other possible template file lists. It may be confusing: for example by the way soberwp/controller parses template paths one cannot create Controller based on custom page template file name.What is the expected or desired behavior?
I'm not quite sure but probably resulting template list should look like that:
Otherwise current behavior should be documented so external plugins like soberwp/controller can act accordingly.
Bug report
Please provide steps to reproduce, including full log output:
Included above.
Please describe your local environment:
WordPress version: 4.8
OS: Mac OS 10.12.5
NPM/Node version: 6.9.4
Where did the bug happen? Development or remote servers?
Dev
Is there a related Discourse thread or were any utilized (please link them)?
No, but I opened an issue in soberwp/controller: soberwp/controller#37
The text was updated successfully, but these errors were encountered: