[wp-trac] [WordPress Trac] #12187: Editing another user's profile makes user_id to disappear
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 9 22:03:18 UTC 2010
#12187: Editing another user's profile makes user_id to disappear
--------------------------+-------------------------------------------------
Reporter: Cimmo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.2
Component: Users | Version: 2.9.1
Severity: normal | Keywords: profile
--------------------------+-------------------------------------------------
This seems a regressions since 2.8.6, not sure if intended, anyway here
the use case:
1. login with admin (user_id=1)
2. edit another profile (user_id!=1)
3. remove email (not allowed)
4. save changes
result:
$_GET["user_id"]=1 instead of the id of the profile's user_id.
I know I can check for $_POST["user_id"] but why this change?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12187>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list