[wp-trac] [WordPress Trac] #52086: user-profile.min.js issue on Firefox

WordPress Trac noreply at wordpress.org
Sat May 1 06:53:41 UTC 2021


#52086: user-profile.min.js issue on Firefox
--------------------------+-----------------------------------------
 Reporter:  adi64bit      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Users         |     Version:  5.6
 Severity:  critical      |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by drago239):

 I found that in WP 5.7.1 issue remains on Firefox, but problem is that
 it's not always so it may be difficult to ran into this. I managed to
 reproduce this on fresh installation, with twentytwentyone theme, without
 any plugins at all. This error is showing sometimes, not always, so to
 reproduce this try refreshing Add New User page. In my case in some 10-20
 refreshes, it shows 1 or 2 times.

 I tried this on few websites, and issue is the same, WP 5.7+, Firefox 88.
 In user-profile.js file in some functions $toggleButton variable is
 pointing at nothing, when script debug is true. I think it's r in minified
 version.

 In generatePassword function $toggleButton.data( 'start-masked' ), for
 example. I see that is only defined as variable.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52086#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list