[wp-trac] [WordPress Trac] #29696: user_nicename is not being sanitized when updated by wp_update_user()
WordPress Trac
noreply at wordpress.org
Thu Oct 2 18:53:26 UTC 2014
#29696: user_nicename is not being sanitized when updated by wp_update_user()
------------------------------+---------------------------
Reporter: joemcgill | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"29819"]:
{{{
#!CommitTicketReference repository="" revision="29819"
Always sanitize user_nicename in wp_insert_user().
Previously, a 'user_nicename' parameter passed into the function was
unsanitized. This could result in a mismatch between the sanitized
nicename
generated automatically at user creation, resulting in broken author
archive
permalinks.
Props joemcgill.
Fixes #29696.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29696#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list