[wp-trac] [WordPress Trac] #57808: Correct duplicate hook reference for 'notify_moderator'

WordPress Trac noreply at wordpress.org
Sat Feb 25 21:54:18 UTC 2023


#57808: Correct duplicate hook reference for 'notify_moderator'
--------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov            |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.2
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55424" 55424]:
 {{{
 #!CommitTicketReference repository="" revision="55424"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57808#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list