[wp-trac] [WordPress Trac] #11271: User Edit page only displays info for current logged in user
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 27 19:46:56 UTC 2009
#11271: User Edit page only displays info for current logged in user
--------------------------+-------------------------------------------------
Reporter: cnorris23 | Owner: westi
Type: defect (bug) | Status: accepted
Priority: high | Milestone: 2.9
Component: Users | Version: 2.9
Severity: blocker | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by westi):
Tested attached patch with:
* WAS BROKEN - http://blog.ftwr.co.uk/archives/2009/07/19/adding-extra-
user-meta-fields/
* WORKS - http://wordpress.org/extend/plugins/extended-profile/
* WORKS - http://justintadlock.com/archives/2009/09/10/adding-and-using-
custom-user-profile-fields
* WORKS - http://wordpress.org/extend/plugins/user-photo/
My sample code should not use the global $user_id though it should take
the value supplied to the actions and once that is done it works fine.
I guess this change should be safe to make.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11271#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list