Bug #12108
closedPassword reset styling/scripts don't work correctly
0%
Description
When you go through the password-reset process beginning at https://commons.gc.cuny.edu/wp-login.php?action=lostpassword&error=invalidkey, the next step (after getting the key) requires you to enter a new password. This interface has a password reset strength meter. But the scripts required for this UI to work - jquery, user-profile, etc - are not loaded properly. This is a result of the header-juggling in wp-content/mu-plugins/cac-login-template.php; see #3780.
I tried some tricks to make them work - force-enqueuing scripts, etc - but everything I tried either doesn't work or is very hacky (like harvesting all the script tags from the original header and dumping them into the new header). It's like WP clears out the enqueue stack in order to prevent jQuery from loading twice, or something like that. Ray, could you have a look and see whether you've got any ideas? Worst case, we could probably manually put the relevant script tags in the login header, but I'm unsure of the ramifications of this across themes.
Files
Related issues