WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#41220 new defect (bug)

Comment meta is saving after the notification email

Reported by: ravisakya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Comments Keywords: reporter-feedback
Focuses: Cc:
PR Number:

Description

I am trying to send the custom fields data for comments in the mail. But it is not possible bcoz comment meta is saved after the notification is sent to the admin.

I am using

<?php
apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );

to modify comment notification mails.

Change History (1)

#1 @johnbillion
2 years ago

  • Keywords reporter-feedback added

Thanks for your report, @ravisakya , and welcome to WordPress Trac.

Which comment meta data are you referring to please?

Note: See TracTickets for help on using tickets.