Make WordPress Core


Ignore:
Timestamp:
02/09/2014 08:11:34 PM (13 years ago)
Author:
DrewAPicture
Message:

Fixes for inline documentation for hooks in wp-comments-post.php.

Adds missing @since versions, spacing, and language tweaks.

See #26869, #25229, [25249].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-comments-post.php

    r25273 r27144  
    2626         * Fires when a comment is attempted on a post that does not exist.
    2727         *
    28          * @since unknown
     28         * @since 1.5.0
     29         *
    2930         * @param int $comment_post_ID Post ID.
    3031         */
    … …  
    4243         * Fires when a comment is attempted on a post that has comments closed.
    4344         *
    44          * @since unknown
     45         * @since 1.5.0
     46         *
    4547         * @param int $comment_post_ID Post ID.
    4648         */
    … …  
    5254         *
    5355         * @since 2.9.0
     56         *
    5457         * @param int $comment_post_ID Post ID.
    5558         */
    … …  
    6063         * Fires when a comment is attempted on a post in draft mode.
    6164         *
    62          * @since unknown
     65         * @since 1.5.2
     66         *
    6367         * @param int $comment_post_ID Post ID.
    6468         */
    … …  
    6973         * Fires when a comment is attempted on a password-protected post.
    7074         *
    71          * @since unknown
     75         * @since 2.9.0
     76         *
    7277         * @param int $comment_post_ID Post ID.
    7378         */
    … …  
    7883         * Fires before a comment is posted.
    7984         *
    80          * @since unknown
     85         * @since 2.8.0
     86         *
    8187         * @param int $comment_post_ID Post ID.
    8288         */
    … …  
    142148
    143149/**
    144  * The location URI to send commenter after posting.
     150 * Filter the location URI to send the commenter after posting.
    145151 *
    146  * @since unknown
     152 * @since 2.0.5
    147153 *
    148154 * @param string $location The 'redirect_to' URI sent via $_POST.
Note: See TracChangeset for help on using the changeset viewer.