Users: Add extra checking to wp_new_user_notification().

Prevent a notification from being sent when an unrecognised value is passed in the `$notify` parameter.

Props cthreelabs, 360zen.
Fixes #44293.


Built from https://develop.svn.wordpress.org/trunk@44611


git-svn-id: http://core.svn.wordpress.org/trunk@44442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2019-01-16 04:27:50 +00:00
parent dd9442ae6c
commit 655d44ffe8
2 changed files with 6 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44610';
$wp_version = '5.1-beta1-44611';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.