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 Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
admin.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
credits.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
edit.php Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/network/*. 2014-11-30 11:21:22 +00:00
freedoms.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
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 Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
plugin-install.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
plugins.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
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 Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
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 Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
theme-install.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
themes.php `foreach` is a statement, not a function. 2015-08-25 20:28:22 +00:00
update-core.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
update.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
upgrade.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
user-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
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