[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
Fri Apr 1 17:27:20 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 needs-testing  |
-------------------------------------+------------------

Comment (by azaozz):

 Replying to [comment:9 andrewryno]:

 Yes, that's what I had in mind. However think instead of array we should
 use a simple object (associative array) there. It preserves the IDs and
 the currently selected option in the drop-down like in 17004-4.patch.

 @johnbillion don't think this is a "real" refactoring. We already have the
 logic for this in the PHP version, just needed to use the same logic in
 the JS.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17004#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list