[wp-trac] [WordPress Trac] #32566: wp_notify_moderator assumes the post_author userdata exists

WordPress Trac noreply at wordpress.org
Thu Jun 4 17:28:10 UTC 2015


#32566: wp_notify_moderator assumes the post_author userdata exists
-------------------------------------+---------------------------
 Reporter:  rachelbaker              |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.3
Component:  Comments                 |     Version:  3.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32692"]:
 {{{
 #!CommitTicketReference repository="" revision="32692"
 In `wp_notify_moderator()`, don't throw notice when comment belongs to a
 post with no author.

 Props Oxymoron.
 Fixes #32566.
 }}}

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


More information about the wp-trac mailing list