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

WordPress Trac noreply at wordpress.org
Thu Jun 4 16:05:25 UTC 2015


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

Comment (by Oxymoron):

 Attached a patch. I believe it solves the problem in question. The main
 thing I am worried about it the amount of `if()` statements being nested.
 Let me know if that's an issue or if there is an issue with the patch in
 general and I will fix.

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


More information about the wp-trac mailing list