[wp-trac] [WordPress Trac] #55646: Docblock improvements for 6.1

WordPress Trac noreply at wordpress.org
Thu Sep 15 12:42:49 UTC 2022


#55646: Docblock improvements for 6.1
----------------------------+---------------------
 Reporter:  costdev         |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.1
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------

Comment (by audrasjb):

 In [changeset:"54179" 54179]:
 {{{
 #!CommitTicketReference repository="" revision="54179"
 Docs: Clarify that `get_page_template()` doesn't work on block themes.

 When working on a block theme, `locate_block_template()` should be used
 instead of `get_page_template()`. This changeset updates the docblock of
 this function accordingly.

 Props audrasjb, costdev, robinwpdeveloper.
 Fixes #56394.
 See #55646.
 }}}

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


More information about the wp-trac mailing list