Make WordPress Core

Changeset 43304


Ignore:
Timestamp:
05/21/2018 01:12:16 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document the cookies default comment field added in [42772].

Props desrosj, chetan200891.
See #44125.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r43125 r43304  
    21882188 *              and 200 characters, respectively.
    21892189 * @since 4.6.0 Introduced the 'action' argument.
     2190 * @since 4.9.6 Introduced the 'cookies' default comment field.
    21902191 *
    21912192 * @param array       $args {
     
    21952196 *         Default comment fields, filterable by default via the {@see 'comment_form_default_fields'} hook.
    21962197 *
    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.
     2198 *         @type string $author  Comment author field HTML.
     2199 *         @type string $email   Comment author email field HTML.
     2200 *         @type string $url     Comment author URL field HTML.
     2201 *         @type string $cookies Comment cookie opt-in field HTML.
    22002202 *     }
    22012203 *     @type string $comment_field        The comment textarea field HTML.
Note: See TracChangeset for help on using the changeset viewer.