[wp-trac] [WordPress Trac] #17004: Apostrophe in first/last/nickname causes JS error on user profile page
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 30 22:21:05 UTC 2011
#17004: Apostrophe in first/last/nickname causes JS error on user profile page
----------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.1
Severity: minor | Keywords:
----------------------------+-----------------------------
If you have an apostrophe in your first name, last name or nickname then
tabbing between (or focusing/blurring) those fields on your user profile
page throws a JavaScript error. The result is that the dropdown menu for
selecting your display name doesn't get populated correctly.
JS error seen in Firefox 3.6:
{{{
uncaught exception: Syntax error, unrecognised expression: value=O'Hare]
}}}
Looks like the expression needs to be escaped and/or enclosed in quotes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17004>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list