[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
Thu Sep 1 06:17:04 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:  has-patch changes-requested  |     Focuses:  docs
-----------------------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch changes-requested


Comment:

 Thanks for the PR @robinwpdeveloper. I think we should probably use the
 docblock long description for this recommendation (see the comment added
 to your PR) :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56394#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list