Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#25756 closed enhancement (fixed)

Add a filter to Auto Update debug email

Reported by: pento's profile pento Owned by: pento's profile pento
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.7
Component: Upgrade/Install Keywords: has-patch dev-feedback
Focuses: Cc:


The core auto update notification email has a filter auto_core_update_email. There should be an equivalent filter for the debug email, too.

This would be particularly useful for admins who want to change the 'to' address of the notification email, they would expect the debug email to go to the same place.

Attachments (2)

25756.diff (1.5 KB) - added by pento 10 years ago.
25756.2.diff (1.5 KB) - added by pento 10 years ago.

Download all attachments as: .zip

Change History (8)

10 years ago

#1 @pento
10 years ago

  • Owner set to pento
  • Status changed from new to accepted

#2 @nacin
10 years ago

Sounds good. I would like this that way I can pipe all emails directly to my error log.

The filter name should likely be automatic_updates_debug_email, for consistency with automatic_updates_send_debug_email.

The auto_core_update_email and auto_core_update_send_email hooks are particular to *core*, hence the difference in naming. I tried to use "automatic updates" in the general and "auto core update" in the specific.

10 years ago

#3 @pento
10 years ago

No prob, renamed the filter to automatic_updates_debug_email in attachment:25756.2.diff.

#4 @dd32
10 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 26013:

Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756

#5 @StanfordGriffith
7 years ago

  • Component changed from Upgrade/Install to Help/About
  • Type changed from enhancement to feature request

Since this has been resolved, may I suggest updating the FAQ page with the question on it?

Thank you.

#6 @SergeyBiryukov
7 years ago

  • Component changed from Help/About to Upgrade/Install
  • Type changed from feature request to enhancement
Note: See TracTickets for help on using tickets.