[wp-trac] [WordPress Trac] #58972: Doc block on function reference for page_template_dropdown is incorrect

WordPress Trac noreply at wordpress.org
Thu Aug 24 13:39:42 UTC 2023


#58972: Doc block on function reference for page_template_dropdown is incorrect
--------------------------+-----------------------
 Reporter:  maxinacube    |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.4
Component:  Text Changes  |     Version:  4.7
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56441" 56441]:
 {{{
 #!CommitTicketReference repository="" revision="56441"
 Docs: Correct default post type in `page_template_dropdown()` docblock.

 The default post type used by `page_template_dropdown()` is `page`, not
 `post`.

 Props maxinacube.
 Fixes #58972.
 See #58833.
 }}}

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


More information about the wp-trac mailing list