mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
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:
@@ -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