WordPress/wp-admin/network
Boone Gorges 85c00bd943 Move new user notification emails to add_action() callbacks.
When a new user is created in various places throughout the interface,
notifications are sent to the site admin and the new user. Previously, these
notifications were fired through direct calls to `wp_new_user_notification()`,
making it difficult to stop or modify the messages.

This changeset introduces a number of new action hooks in place of direct calls
to `wp_new_user_notification()`, and hooks the new wrapper function
`wp_send_new_user_notifications()` to these hooks.

Props dshanske, thomaswm, boonebgorges.
Fixes #33587.
Built from https://develop.svn.wordpress.org/trunk@34251


git-svn-id: http://core.svn.wordpress.org/trunk@34215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-16 22:19:24 +00:00
..
about.php
admin.php
credits.php
edit.php
freedoms.php
index.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
menu.php Move network update submenu items to the Network Dashboard menu item 2015-05-19 17:00:29 +00:00
plugin-editor.php
plugin-install.php
plugins.php
profile.php
settings.php Move network_settings_add_js() from wp-admin/network/settings.php to wp-admin/includes/ms.php. 2015-09-10 22:24:24 +00:00
setup.php
site-info.php Introduce wp_validate_action( $action = '' ), a helper function that checks $_REQUEST for action and returns it, or empty string if not present. If $action is passed, it checks to make sure they match before returning it, or an empty string. Strings are always returned to avoid returning multiple types. 2015-09-11 21:08:26 +00:00
site-new.php Move new user notification emails to add_action() callbacks. 2015-09-16 22:19:24 +00:00
site-settings.php Introduce wp_validate_action( $action = '' ), a helper function that checks $_REQUEST for action and returns it, or empty string if not present. If $action is passed, it checks to make sure they match before returning it, or an empty string. Strings are always returned to avoid returning multiple types. 2015-09-11 21:08:26 +00:00
site-themes.php Multisite: Update help tab text for site-info.php to reference "site URL". 2015-09-05 20:53:24 +00:00
site-users.php Move new user notification emails to add_action() callbacks. 2015-09-16 22:19:24 +00:00
sites.php Handle MS Sites bulk action verification separately from individual actions. 2015-07-13 17:24:24 +00:00
theme-editor.php
theme-install.php
themes.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
update-core.php
update.php
upgrade.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
user-edit.php
user-new.php Move new user notification emails to add_action() callbacks. 2015-09-16 22:19:24 +00:00
users.php Introduce wp_validate_action( $action = '' ), a helper function that checks $_REQUEST for action and returns it, or empty string if not present. If $action is passed, it checks to make sure they match before returning it, or an empty string. Strings are always returned to avoid returning multiple types. 2015-09-11 21:08:26 +00:00