[wp-trac] [WordPress Trac] #37443: locate_template() fails when called in API context
WordPress Trac
noreply at wordpress.org
Fri Aug 5 02:59:27 UTC 2016
#37443: locate_template() fails when called in API context
-----------------------------------------+------------------------------
Reporter: paulschreiber | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses: template
-----------------------------------------+------------------------------
Changes (by johnbillion):
* keywords: has-patch => has-patch reporter-feedback
* status: closed => reopened
* resolution: duplicate =>
* milestone: => Awaiting Review
Comment:
While the proposed solution is a dupe of #14310, the reported issue is
not.
@paulschreiber Can you explain why your example code fails to locate a
template file please? Do you know where the problem lies? Does it only
affect WordPress.com?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37443#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list