Wordpress/tests
Scott Taylor 91d55f97c2 Users: when calling wp_insert_user() with an valid user ID, return WP_Error instead of arbitrarily updating user meta.
Adds unit test.

Props swissspidy, bilalcoder.
Fixes #28004.


git-svn-id: https://develop.svn.wordpress.org/trunk@35280 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-20 05:27:32 +00:00
..
phpunit Users: when calling wp_insert_user() with an valid user ID, return WP_Error instead of arbitrarily updating user meta. 2015-10-20 05:27:32 +00:00
qunit Customizer: Always show Widgets panel initially if sidebars are registered; show notice to users in panel if no widget areas are in current preview. 2015-10-16 23:47:56 +00:00