[wp-trac] [WordPress Trac] #25653: Fix the filter names for core auto update emails

WordPress Trac noreply at wordpress.org
Mon Oct 21 19:07:04 UTC 2013


#25653: Fix the filter names for core auto update emails
-----------------------------+-----------------
 Reporter:  nacin            |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  3.7
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------
 Somehow I ended up with `automatic_updates_send_email` as a pre-filter (to
 disable the email) and `automatic_update_send_email` as a filter on the
 email headers and body.

 What they should be is `auto_core_update_send_email` and
 `auto_core_update_email`.

 Some filters do use `automatic_updates` or `automatic_updaters` for the
 overarching background updater. But in this case `auto_core_update` should
 be used; the similar root words are used elsewhere for other filters like
 `auto_update_$type` and `allow_(minor|dev|major)_auto_core_updates`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25653>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list