Changeset 11992 for sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-gp-notifications.php
- Timestamp:
- 07/22/2022 02:09:19 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-gp-notifications.php
r11921 r11992 326 326 */ 327 327 $email_addresses = apply_filters( 'gp_notification_before_send_emails', $email_addresses ); 328 if ( ( null === $comment ) || ( null === $comment_meta ) || ( empty( $email_addresses )) ) {328 if ( null === $comment || null === $comment_meta || empty( $email_addresses ) ) { 329 329 return false; 330 330 } 331 $original = self::get_original( $comment ); 331 $original = self::get_original( $comment ); 332 if ( ! $original ) { 333 return false; 334 } 332 335 $email_addresses = self::remove_commenter_email_address( $comment, $email_addresses ); 333 336 $email_addresses = self::remove_optout_discussion_email_addresses( $original->id, $email_addresses );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)