Skip to content

Commit acd8bf1

Browse files
committed
docs(hooks): update comment_flood_message xref
Update cross-reference for comment_flood_message from `comment-template.php` to `comment.php` where the hook's PHPDoc block now lives. Related to https://core.trac.wordpress.org/ticket/64224
1 parent 5777af2 commit acd8bf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ function wp_allow_comment( $commentdata, $wp_error = false ) {
807807
);
808808

809809
if ( $is_flood ) {
810-
/** This filter is documented in wp-includes/comment-template.php */
810+
/** This filter is documented in wp-includes/comment.php */
811811
$comment_flood_message = apply_filters( 'comment_flood_message', __( 'You are posting comments too quickly. Slow down.' ) );
812812

813813
return new WP_Error( 'comment_flood', $comment_flood_message, 429 );

0 commit comments

Comments
 (0)