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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user