[wp-trac] [WordPress Trac] #20392: user-profile.js causing Javascript error in user-new.php

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 9 21:57:04 UTC 2012


#20392: user-profile.js causing Javascript error in user-new.php
--------------------------+-----------------------
 Reporter:  pbiron        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.4
Component:  Users         |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+-----------------------

Comment (by SergeyBiryukov):

 `return` seems a bit more readable than a long `if` block.

 [attachment:20392.2.patch] also includes some whitespace fixes as per the
 coding standards.

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


More information about the wp-trac mailing list