[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
Thu Mar 31 23:10: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: 3.2
Component: Administration | Version: 3.0
Severity: minor | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by azaozz):
17004.2.diff looks good, I was with the impression that similar
functionality already was in jQuery. Maybe consider opening an enhancement
ticket on jQuery's trac, it would be useful to have a native way of
escaping selectors as that's a limitation in jQuery (in HTML option value
can contain CDATA).
However I think #10030 and [13539] that brought this issue in the first
place can be optimized a bit. Perhaps that block of code can be simplified
to compare the user entered values instead of repeatedly checking for
duplicates in the already created `<option value="...">`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17004#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list