Make WordPress Core

Changeset 43306


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

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

Props desrosj, chetan200891.
Merges [43304] to the 4.9 branch.
See #44125.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

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

    r43130 r43306  
    21242124 *              and 200 characters, respectively.
    21252125 * @since 4.6.0 Introduced the 'action' argument.
     2126 * @since 4.9.6 Introduced the 'cookies' default comment field.
    21262127 *
    21272128 * @param array       $args {
     
    21312132 *         Default comment fields, filterable by default via the {@see 'comment_form_default_fields'} hook.
    21322133 *
    2133  *         @type string $author Comment author field HTML.
    2134  *         @type string $email  Comment author email field HTML.
    2135  *         @type string $url    Comment author URL field HTML.
     2134 *         @type string $author  Comment author field HTML.
     2135 *         @type string $email   Comment author email field HTML.
     2136 *         @type string $url     Comment author URL field HTML.
     2137 *         @type string $cookies Comment cookie opt-in field HTML.
    21362138 *     }
    21372139 *     @type string $comment_field        The comment textarea field HTML.
Note: See TracChangeset for help on using the changeset viewer.