[wp-trac] [WordPress Trac] #25880: wp_notify_postauthor() does not initialize the subject and content text for custom comment types

WordPress Trac noreply at wordpress.org
Fri Nov 8 16:11:37 UTC 2013


#25880: wp_notify_postauthor() does not initialize the subject and content text for
custom comment types
--------------------------+------------------------------
 Reporter:  sebet         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by sebet):

 Small correction. I've mentioned ''wp_notify_moderator()'' two times by
 mistake.

 ''Correction:''

 Unlike, wp_notify_moderator() that uses a switch/case() statement that
 defaults to comment types of type 'comment', '''wp_notify_postauthor()'''
 uses an if/else()...

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25880#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list