WordPress/wp-admin/includes
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
..
admin-filters.php Move media hooks out of admin-filters.php as sometimes editors are used on the front end. 2015-08-06 20:40:26 +00:00
admin.php Move WP_Screen to its own file. 2015-09-15 04:08:24 +00:00
ajax-actions.php Create a function, get_preview_post_link(), to DRY the logic for applying the 'preview_post_link' filter to a URL. 2015-09-15 04:15:25 +00:00
bookmark.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/includes/bookmark.php. 2015-09-03 08:59:24 +00:00
class-ftp-pure.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-ftp-sockets.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-ftp.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-pclzip.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-walker-category-checklist.php wp-admin/includes/template.php is now a loader for 3 files made via svn cp: 2015-09-16 15:35:23 +00:00
class-walker-nav-menu-checklist.php Move the admin Nav Menu Walker subclasses into their own files. Load in nav-menu.php to remain BC. 2015-09-15 04:02:25 +00:00
class-walker-nav-menu-edit.php Move the admin Nav Menu Walker subclasses into their own files. Load in nav-menu.php to remain BC. 2015-09-15 04:02:25 +00:00
class-wp-comments-list-table.php Move WP_Post_Comments_List_Table to its own file. 2015-09-16 06:53:24 +00:00
class-wp-filesystem-base.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-direct.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ftpext.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ftpsockets.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ssh2.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-importer.php Remove unnecessary feedback message from WP_Importer::is_user_over_quota(). 2015-06-30 20:32:25 +00:00
class-wp-internal-pointers.php wp-admin/includes/template.php is now a loader for 3 files made via svn cp: 2015-09-16 15:35:23 +00:00
class-wp-links-list-table.php List Tables: 2015-07-14 17:47:24 +00:00
class-wp-list-table.php Docs: Remove markdown from the DocBlock summary for WP_List_Table::get_primary_column(), introduced in [34166]. 2015-09-16 10:51:25 +00:00
class-wp-media-list-table.php Don't ever use the guid value when retrieving URLs for media, use wp_get_attachment_url(). Use get_attached_file() for path to file. 2015-09-15 02:50:25 +00:00
class-wp-ms-sites-list-table.php Multisite: Remove duplicate span element output from row actions 2015-09-01 21:51:21 +00:00
class-wp-ms-themes-list-table.php In WP_List_Table, make a new public method, ->get_primary_column(), and revert [34101] due to BC issues. 2015-09-14 20:29:26 +00:00
class-wp-ms-users-list-table.php List tables: escape user e-mails 2015-09-14 22:33:25 +00:00
class-wp-plugin-install-list-table.php Add @access annotations to methods that have no doc block in wp-admin/includes/*. 2015-05-29 21:32:24 +00:00
class-wp-plugins-list-table.php In WP_List_Table, make a new public method, ->get_primary_column(), and revert [34101] due to BC issues. 2015-09-14 20:29:26 +00:00
class-wp-post-comments-list-table.php Move WP_Post_Comments_List_Table to its own file. 2015-09-16 06:53:24 +00:00
class-wp-posts-list-table.php Docs: Expand the DocBlock for the WP_Theme::get_edit_link() method, introduced in [34084]. 2015-09-16 15:01:27 +00:00
class-wp-press-this.php Round 2 of: We should use ellipses … / … instead of three dots/periods ... e.g Loading… not Loading... 2015-09-09 04:39:25 +00:00
class-wp-screen.php Move WP_Screen to its own file. 2015-09-15 04:08:24 +00:00
class-wp-site-icon.php Don't ever use the guid value when retrieving URLs for media, use wp_get_attachment_url(). Use get_attached_file() for path to file. 2015-09-15 02:50:25 +00:00
class-wp-terms-list-table.php Don't redirect to the Term list table after submitting the form on the Edit Term page. 2015-09-15 15:59:42 +00:00
class-wp-theme-install-list-table.php Customizer: Use a <button> for the collapse sidebar … button. 2015-07-10 21:22:26 +00:00
class-wp-themes-list-table.php Themes: Remove legacy theme preview. 2015-07-29 18:36:26 +00:00
class-wp-upgrader-skins.php Fix PHP notice after [33492] when updating themes. 2015-08-19 10:35:25 +00:00
class-wp-upgrader.php Docs: Fix a variety of inline documentation syntax issues and add some strategic spacing. 2015-08-21 04:13:24 +00:00
class-wp-users-list-table.php List tables: escape user e-mails 2015-09-14 22:33:25 +00:00
comment.php Move comment_footer_die() from wp-admin/comment.php to wp-admin/includes/comment.php. 2015-09-10 21:29:24 +00:00
continents-cities.php
credits.php Move ad hoc functions from wp-admin/credits.php to wp-admin/includes/credits.php, which is only included by the former. 2015-09-11 04:55:26 +00:00
dashboard.php After [33961], pass $comment to comment_class() where possible to avoid extra cache/db lookups. 2015-09-11 06:12:24 +00:00
deprecated.php Docs: Standardize @deprecated tag formatting and add missing DocBlocks to deprecated functions in wp-admin/includes/deprecated.php. 2015-08-20 21:23:25 +00:00
edit-tag-messages.php Don't redirect to the Term list table after submitting the form on the Edit Term page. 2015-09-15 15:59:42 +00:00
export.php In WP_User, add @property docs for description, first_name, and last_name. user_firstname and user_lastname only exist for back-compat. 2015-09-09 01:13:24 +00:00
file.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
image-edit.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
image.php In wp_generate_attachment_metadata(), also pass $metadata to the intermediate_image_sizes_advanced filter. 2015-09-10 18:04:24 +00:00
import.php Add (more) missing doc blocks to wp-admin/includes/*. 2015-05-29 21:17:27 +00:00
list-table.php Comments: Fix a fatal error in Comments meta box after [34223]. 2015-09-16 11:37:25 +00:00
media.php Use get_attached_file() in attachment_submitbox_metadata(). 2015-09-15 04:18:25 +00:00
menu.php Don't loosely compare functions that return bool against a literal bool. 2015-06-12 17:19:27 +00:00
meta-boxes.php Create a function, get_preview_post_link(), to DRY the logic for applying the 'preview_post_link' filter to a URL. 2015-09-15 04:15:25 +00:00
misc.php Introduce wp_removable_query_args(), which returns an array of single-use query variables which can be removed from a URL. 2015-09-02 11:29:23 +00:00
ms-admin-filters.php Cleanup (ms-)?admin-filters.php 2015-06-19 21:18:25 +00:00
ms-deprecated.php Docs: Standardize @deprecated tag formatting for deprecated functions in wp-admin/includes/ms-deprecated.php. 2015-08-20 22:26:24 +00:00
ms.php Require numeric IDs in user deletion functions. 2015-09-11 02:25:23 +00:00
nav-menu.php Move the admin Nav Menu Walker subclasses into their own files. Load in nav-menu.php to remain BC. 2015-09-15 04:02:25 +00:00
network.php Implement wp_login_url() and wp_registration_url() in places where wp-login.php is currently hard-coded. 2015-09-15 17:11:35 +00:00
noop.php Create a new file, wp-admin/includes/noop.php, which loads all of the noop functions for load-script|styles.php and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
options.php Move ad hoc Options functions to wp-admin/includes/options.php: 2015-09-10 21:45:24 +00:00
plugin-install.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
plugin.php Move plugin_sandbox_scrape() from wp-admin/plugins.php to wp-admin/includes/plugin.php. 2015-09-10 21:24:24 +00:00
post.php Remove outdated references to the preview_post_link filter docs. 2015-09-15 10:32:31 +00:00
revision.php Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified. 2015-03-23 02:14:27 +00:00
schema.php Schema: Increase the length of wp_options.option_name. 2015-09-11 01:26:24 +00:00
screen.php Move WP_Screen to its own file. 2015-09-15 04:08:24 +00:00
taxonomy.php Correct a parameter name in the docs for wp_insert_category(). 2015-07-13 12:59:25 +00:00
template-functions.php wp-admin/includes/template.php is now a loader for 3 files made via svn cp: 2015-09-16 15:35:23 +00:00
template.php wp-admin/includes/template.php is now a loader for 3 files made via svn cp: 2015-09-16 15:35:23 +00:00
theme-install.php Add doc blocks to functions that are missing them. 2015-05-31 03:18:25 +00:00
theme.php Bump H3 headings to H2 on Themes screen for better accessibility. 2015-08-31 03:51:21 +00:00
translation-install.php Add @global annotations to (the rest of the?) wp-admin/* files. 2015-05-29 02:06:31 +00:00
update-core.php Remove wp-includes/comment-functions.php from the $_old_files array. See [33750]. 2015-08-27 20:40:24 +00:00
update.php Add 'update_right_now_text' filter for the text displayed in the 'At a Glance' dashboard widget. 2015-08-31 21:45:21 +00:00
upgrade.php Schema: Increase the length of wp_options.option_name. 2015-09-11 01:26:24 +00:00
user.php Move new user notification emails to add_action() callbacks. 2015-09-16 22:19:24 +00:00
widgets.php Move wp_widgets_access_body_class() (a hook callback) from wp-admin/widgets.php to wp-admin/includes/widgets.php. 2015-09-10 21:22:23 +00:00