Ticket #35908: 35908.2.diff
| File 35908.2.diff, 1.2 KB (added by , 10 years ago) |
|---|
-
wp-includes/comment.php
1651 1651 * 1652 1652 * @since 1.5.0 1653 1653 * 1654 * @param int$comment_agent The comment author's browser user agent.1654 * @param string $comment_agent The comment author's browser user agent. 1655 1655 */ 1656 1656 $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) ); 1657 1657 /** This filter is documented in wp-includes/comment.php */ … … 1661 1661 * 1662 1662 * @since 1.5.0 1663 1663 * 1664 * @param int$comment_content The comment content.1664 * @param string $comment_content The comment content. 1665 1665 */ 1666 1666 $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] ); 1667 1667 /** … … 1669 1669 * 1670 1670 * @since 1.5.0 1671 1671 * 1672 * @param int$comment_author_ip The comment author's IP.1672 * @param string $comment_author_ip The comment author's IP. 1673 1673 */ 1674 1674 $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] ); 1675 1675 /** This filter is documented in wp-includes/comment.php */