Docs: Correct duplicate hook reference for `notify_moderator`.

The original filter location is `wp_notify_moderator()` in `wp-includes/pluggable.php`.

This commit updates the instance in `wp_new_comment_notify_moderator()` to point to the correct file.

Follow-up to [35339], [35725].

Props zevilz.
Fixes #57808.
Built from https://develop.svn.wordpress.org/trunk@55424


git-svn-id: http://core.svn.wordpress.org/trunk@54957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-02-25 21:56:21 +00:00
parent 66937c7dce
commit 325a14a3ef
2 changed files with 2 additions and 2 deletions

View File

@ -2342,7 +2342,7 @@ function wp_new_comment_notify_moderator( $comment_id ) {
// Only send notifications for pending comments.
$maybe_notify = ( '0' == $comment->comment_approved );
/** This filter is documented in wp-includes/comment.php */
/** This filter is documented in wp-includes/pluggable.php */
$maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_id );
if ( ! $maybe_notify ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-beta3-55423';
$wp_version = '6.2-beta3-55424';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.