[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
Wed Nov 13 02:31:16 UTC 2013


#25880: wp_notify_postauthor() does not initialize the subject and content text for
custom comment types
------------------------------+-----------------------------
 Reporter:  sebet             |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.8
Component:  Comments          |     Version:
 Severity:  minor             |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"26114"]:
 {{{
 #!CommitTicketReference repository="" revision="26114"
 Avoid PHP notices in wp_notify_postauthor() when using a custom comment
 type.
 Use a switch statement for consistency with wp_notify_moderator().

 fixes #25880.
 }}}

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


More information about the wp-trac mailing list