mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
`wp_delete_user()` and `wpmu_delete_user()` both require an `$id` parameter. Previously, the functions did not verify that the value passed was, in fact, a number. As such, passing an object or any other entity that would be cast to int `1` would result in user 1 being deleted. We fix this by enforcing the requirement that `$id` be numeric. Props dipesh.kakadiya, utkarshpatel, juliobox. Fixes #33800. git-svn-id: https://develop.svn.wordpress.org/trunk@34034 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| author.php | ||
| capabilities.php | ||
| countUserPosts.php | ||
| dateQuery.php | ||
| listAuthors.php | ||
| mapMetaCap.php | ||
| multisite.php | ||
| query.php | ||
| session.php | ||
| slashes.php | ||
| wpDeleteUser.php | ||