[wp-hackers] $_GET['user_id'] isn't working in 2.9 in profile_update hook
autremonde75 at gmail.com
Sat Jan 2 18:22:25 UTC 2010
Yes potentially but $_POST['user_id'] is still working. Please note
that I am not complaining about that, I am just pointing this out for
completness and to make sure that what is being seen with $_GET
['user_id'] not working is really what is intended.
On Jan 2, 7:11 pm, Andrew Nacin <w... at andrewnacin.com> wrote:
> Sounds like it was the result of:http://core.trac.wordpress.org/ticket/11222http://core.trac.wordpress.org/ticket/11271
> And related changesets.
> On Sat, Jan 2, 2010 at 1:07 PM, Olivier <autremond... at gmail.com> wrote:
> > Hello,
> > If you add custom fields to the profile edition page, you will need
> > the user_id once you save it. This used to be achieved through
> > profile_update hook.
> > On 2.8, I can get the user_id value from $_GET['user_id'] through this
> > hook however in 2.9, it doesn't work anymore. I can however user $_POST
> > ['user_id'] as a workaround but I just wanted to bring that fact here
> > since some plugins authors may suffer from this issue... Not sure if
> > this is really an issue indeed, maybe this was intentionnaly
> > restricted...
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hack... at lists.automattic.com
> wp-hackers mailing list
> wp-hack... at lists.automattic.comhttp://lists.automattic.com/mailman/listinfo/wp-hackers- Hide quoted text -
> - Show quoted text -
More information about the wp-hackers