From b23b89c8a9cd12df392791c83d9951b972ccb952 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Tue, 23 Feb 2016 03:06:26 +0000 Subject: [PATCH] Docs: Correct `param` types on some filters in `wp_filter_comment()`. Introduced in [26491]. Props meitar, netweb. Fixes #35908. Built from https://develop.svn.wordpress.org/trunk@36626 git-svn-id: http://core.svn.wordpress.org/trunk@36593 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 11a550b56c..3efefc59e3 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1651,7 +1651,7 @@ function wp_filter_comment($commentdata) { * * @since 1.5.0 * - * @param int $comment_agent The comment author's browser user agent. + * @param string $comment_agent The comment author's browser user agent. */ $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) ); /** This filter is documented in wp-includes/comment.php */ @@ -1661,7 +1661,7 @@ function wp_filter_comment($commentdata) { * * @since 1.5.0 * - * @param int $comment_content The comment content. + * @param string $comment_content The comment content. */ $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] ); /** @@ -1669,7 +1669,7 @@ function wp_filter_comment($commentdata) { * * @since 1.5.0 * - * @param int $comment_author_ip The comment author's IP. + * @param string $comment_author_ip The comment author's IP. */ $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] ); /** This filter is documented in wp-includes/comment.php */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 862edef316..2bfa1c1d7b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36625'; +$wp_version = '4.5-alpha-36626'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.