[wp-trac] [WordPress Trac] #51800: Docblock improvements for WP 5.7

WordPress Trac noreply at wordpress.org
Thu Nov 19 18:22:18 UTC 2020


#51800: Docblock improvements for WP 5.7
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  docs
----------------------------+---------------------

Comment (by johnbillion):

 In [changeset:"49672" 49672]:
 {{{
 #!CommitTicketReference repository="" revision="49672"
 Docs: Document parameters that accept an array of integers using typed
 array notation.

 While many of these parameters also technically accept an array of
 numerical strings, they are all ultimately cast to an array of integers.
 Documenting them as such assists developers in understanding the expected
 types.

 See #51800, #41756
 }}}

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


More information about the wp-trac mailing list