Make WordPress Core

Ticket #35908: 35908.diff

File 35908.diff, 469 bytes (added by meitar, 10 years ago)

Correct type information for filter hook return value.

  • wp-includes/comment.php

     
    16611661         *
    16621662         * @since 1.5.0
    16631663         *
    1664          * @param int $comment_content The comment content.
     1664         * @param string $comment_content The comment content.
    16651665         */
    16661666        $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] );
    16671667        /**