Docs: Document more parameters and properties using typed array notation.

See #41756

Built from https://develop.svn.wordpress.org/trunk@42876


git-svn-id: http://core.svn.wordpress.org/trunk@42706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2018-03-25 19:33:31 +00:00
parent b13e73d05c
commit 2361ca884f
27 changed files with 124 additions and 126 deletions

View File

@@ -523,7 +523,7 @@ function get_comment_class( $class = '', $comment_id = null, $post_id = null ) {
*
* @since 2.7.0
*
* @param array $classes An array of comment classes.
* @param string[] $classes An array of comment classes.
* @param string $class A comma-separated list of additional classes added to the list.
* @param int $comment_id The comment id.
* @param WP_Comment $comment The comment object.
@@ -2280,7 +2280,7 @@ function comment_form( $args = array(), $post_id = null ) {
*
* @since 3.0.0
*
* @param array $fields The default comment fields.
* @param string[] $fields Array of the default comment fields.
*/
$fields = apply_filters( 'comment_form_default_fields', $fields );
$defaults = array(