Make WordPress Core


Ignore:
Timestamp:
12/13/2011 11:45:31 PM (11 years ago)
Author:
ryan
Message:

Use one space, not two, after trailing punctuation. fixes #19537

File:
1 edited

Legend:

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

    r19284 r19593  
    5656 * @uses $comment
    5757 *
    58  * @param int $comment_ID The ID of the comment for which to get the author's email.  Optional.
     58 * @param int $comment_ID The ID of the comment for which to get the author's email. Optional.
    5959 * @return string The current comment author's email
    6060 */
     
    142142 * @uses apply_filters() Calls 'get_comment_author_link' hook on the complete link HTML or author
    143143 *
    144  * @param int $comment_ID The ID of the comment for which to get the author's link.  Optional.
     144 * @param int $comment_ID The ID of the comment for which to get the author's link. Optional.
    145145 * @return string Comment Author name or HTML link for author's URL
    146146 */
     
    190190 * @see get_comment_author_IP() Echoes Result
    191191 *
    192  * @param int $comment_ID The ID of the comment for which to print the author's IP address.  Optional.
     192 * @param int $comment_ID The ID of the comment for which to print the author's IP address. Optional.
    193193 */
    194194function comment_author_IP( $comment_ID = 0 ) {
     
    202202 * @uses apply_filters() Calls 'get_comment_author_url' hook on the comment author's URL
    203203 *
    204  * @param int $comment_ID The ID of the comment for which to get the author's URL.  Optional.
     204 * @param int $comment_ID The ID of the comment for which to get the author's URL. Optional.
    205205 * @return string
    206206 */
     
    385385 *
    386386 * @param string $d The format of the date (defaults to user's config)
    387  * @param int $comment_ID The ID of the comment for which to print the date.  Optional.
     387 * @param int $comment_ID The ID of the comment for which to print the date. Optional.
    388388 */
    389389function comment_date( $d = '', $comment_ID = 0 ) {
     
    913913        require( $include );
    914914    elseif ( file_exists( TEMPLATEPATH . $file ) )
    915         require( TEMPLATEPATH .  $file );
     915        require( TEMPLATEPATH . $file );
    916916    else // Backward compat code will be removed in a future release
    917917        require( ABSPATH . WPINC . '/theme-compat/comments.php');
     
    10921092 *
    10931093 * @param array $args Optional. Override default options.
    1094  * @param int|object $post Optional. Post that the comment is going to be displayed on.  Defaults to current post.
     1094 * @param int|object $post Optional. Post that the comment is going to be displayed on. Defaults to current post.
    10951095 * @return string|bool|null Link to show comment form, if successful. False, if comments are closed.
    10961096 */
     
    14091409 *
    14101410 * @param string|array $args Formatting options
    1411  * @param array $comments Optional array of comment objects.  Defaults to $wp_query->comments
     1411 * @param array $comments Optional array of comment objects. Defaults to $wp_query->comments
    14121412 */
    14131413function wp_list_comments($args = array(), $comments = null ) {
     
    15351535        'fields'               => apply_filters( 'comment_form_default_fields', $fields ),
    15361536        'comment_field'        => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    1537         'must_log_in'          => '<p class="must-log-in">' .  sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
     1537        'must_log_in'          => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
    15381538        'logged_in_as'         => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
    15391539        'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
Note: See TracChangeset for help on using the changeset viewer.