Make WordPress Core


Ignore:
Timestamp:
09/06/2013 01:37:59 AM (11 years ago)
Author:
nacin
Message:

Short descriptions for inline docs should end with a period, per the vast majority of core. see #25229.

File:
1 edited

Legend:

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

    r25251 r25273  
    2424if ( empty( $post->comment_status ) ) {
    2525    /**
    26      * Fires when a comment is attempted on a post that does not exist
     26     * Fires when a comment is attempted on a post that does not exist.
    2727     *
    2828     * @since unknown
     
    4040if ( ! comments_open( $comment_post_ID ) ) {
    4141    /**
    42      * Fires when a comment is attempted on a post that has comments closed
     42     * Fires when a comment is attempted on a post that has comments closed.
    4343     *
    4444     * @since unknown
     
    4949} elseif ( 'trash' == $status ) {
    5050    /**
    51      * Fires when a comment is attempted on a trashed post
     51     * Fires when a comment is attempted on a trashed post.
    5252     *
    5353     * @since 2.9.0
     
    5858} elseif ( ! $status_obj->public && ! $status_obj->private ) {
    5959    /**
    60      * Fires when a comment is attempted on a post in draft mode
     60     * Fires when a comment is attempted on a post in draft mode.
    6161     *
    6262     * @since unknown
     
    6767} elseif ( post_password_required( $comment_post_ID ) ) {
    6868    /**
    69      * Fires when a comment is attempted on a password-protected post
     69     * Fires when a comment is attempted on a password-protected post.
    7070     *
    7171     * @since unknown
     
    7676} else {
    7777    /**
    78      * Fires before a comment is posted
     78     * Fires before a comment is posted.
    7979     *
    8080     * @since unknown
     
    130130
    131131/**
    132  * Perform other actions when comment cookies are set
     132 * Perform other actions when comment cookies are set.
    133133 *
    134134 * @since 3.4.0
     
    142142
    143143/**
    144  * The location URI to send commenter after posting
     144 * The location URI to send commenter after posting.
    145145 *
    146146 * @since unknown
Note: See TracChangeset for help on using the changeset viewer.