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

See #41756


git-svn-id: https://develop.svn.wordpress.org/trunk@42876 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2018-03-25 19:32:24 +00:00
parent d541798a64
commit e207cdf2bb
26 changed files with 123 additions and 125 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(