Make WordPress Core

Ticket #44125: 44125.2.diff

File 44125.2.diff, 1.0 KB (added by desrosj, 8 years ago)

Add new cookies field to the comment_form() docblock.l

  • src/wp-includes/comment-template.php

     
    21942194 *     @type array $fields {
    21952195 *         Default comment fields, filterable by default via the {@see 'comment_form_default_fields'} hook.
    21962196 *
    2197  *         @type string $author Comment author field HTML.
    2198  *         @type string $email  Comment author email field HTML.
    2199  *         @type string $url    Comment author URL field HTML.
     2197 *         @type string $author  Comment author field HTML.
     2198 *         @type string $email   Comment author email field HTML.
     2199 *         @type string $url     Comment author URL field HTML.
     2200 *         @type string $cookies Comment cookie opt-in field HTML.
    22002201 *     }
    22012202 *     @type string $comment_field        The comment textarea field HTML.
    22022203 *     @type string $must_log_in          HTML element for a 'must be logged in to comment' message.