WordPress/wp-admin/network
Dominik Schilling 4af3a3374e Passwords: Deprecate second parameter of `wp_new_user_notification()`.
The second parameter `$plaintext_pass` was removed in [33023] and restored as `$notify` in [33620] with a different behavior. If you have a plugin overriding `wp_new_user_notification()` which hasn't been updated you would get a notification with your username and the password "both".
To prevent this the second parameter is now deprecated and reintroduced as the third parameter.

Adds unit tests.

Props kraftbj, adamsilverstein, welcher, ocean90.
Fixes #33654.

(Don't ask for new pluggables kthxbye)
Built from https://develop.svn.wordpress.org/trunk@34116


git-svn-id: http://core.svn.wordpress.org/trunk@34084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-14 12:43:26 +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 Passwords: Deprecate second parameter of `wp_new_user_notification()`. 2015-09-14 12:43:26 +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 Passwords: Deprecate second parameter of `wp_new_user_notification()`. 2015-09-14 12:43:26 +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 Passwords: Deprecate second parameter of `wp_new_user_notification()`. 2015-09-14 12:43:26 +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