[wp-trac] [WordPress Trac] #3442: Garbled role names cause login
failure
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 6 12:32:11 GMT 2006
#3442: Garbled role names cause login failure
----------------------------+-----------------------------------------------
Reporter: tenpura | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.0.5
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Description:[[BR]]
Currently role names are stored into database in localized character
encodings. If somehow those get garbled, unserialize() will fail to
retrieve the data (because of the string length mismatch) and then a login
failure occurs.
Suggested Solution:[[BR]]
Instead of using !__() for the storing data in upgrade-schema.php, use
!__() when we display the data. (atleast for the role names, it seems to
be a common problem.)
References:[[BR]]
http://www.google.com/search?hl=en&q=%22capabilities.php+on+line+19%22
--
Ticket URL: <http://trac.wordpress.org/ticket/3442>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list