[wp-trac] [WordPress Trac] #56394: Add docs to clarify that `get_page_template()` doesn't work on block themes
WordPress Trac
noreply at wordpress.org
Tue Aug 16 22:21:02 UTC 2022
#56394: Add docs to clarify that `get_page_template()` doesn't work on block themes
--------------------------+---------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Editor | Version: 5.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
--------------------------+---------------------
Changes (by audrasjb):
* keywords: needs-patch reporter-feedback => needs-patch
Comment:
Indeed, the better option would be to return the current template, of
course, but I didn't even check the current implementation, to be honest.
It would makes sense to me 👍
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56394#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list