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
This commit is contained in:
parent
072c791df0
commit
b23b89c8a9
|
@ -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 */
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue