Make WordPress Core


Ignore:
Timestamp:
10/03/2017 01:08:48 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Comments: Change IP references in moderation option labels and email notifications to IP address for clarity.

Props mako09, gk.loveweb, bradparbs.
Fixes #40382.

File:
1 edited

Legend:

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

    r41689 r41704  
    791791 *
    792792 * @param bool   $is_flood  Is a comment flooding occurring?
    793  * @param string $ip        Comment IP.
    794  * @param string $email     Comment author email address.
     793 * @param string $ip        Comment author's IP address.
     794 * @param string $email     Comment author's email address.
    795795 * @param string $date      MySQL time string.
    796796 * @param bool   $avoid_die When true, a disallowed comment will result in the function
     
    11571157 * @param string $url The url used in the comment
    11581158 * @param string $comment The comment content
    1159  * @param string $user_ip The comment author IP address
     1159 * @param string $user_ip The comment author's IP address
    11601160 * @param string $user_agent The author's browser user agent
    11611161 * @return bool True if comment contains blacklisted content, false if comment does not
     
    18351835    $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] );
    18361836    /**
    1837      * Filters the comment author's IP before it is set.
     1837     * Filters the comment author's IP address before it is set.
    18381838     *
    18391839     * @since 1.5.0
    18401840     *
    1841      * @param string $comment_author_ip The comment author's IP.
     1841     * @param string $comment_author_ip The comment author's IP address.
    18421842     */
    18431843    $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] );
Note: See TracChangeset for help on using the changeset viewer.