Hi Michael,
Are you using the solution (provided on the internet) that hooks into the login_enqueue_scripts action?
+++++ To prevent any confusion, I’m not iThemes +++++
-
This reply was modified 3 years, 2 months ago by
nlpro.
I believe I am @nlpro here is the script I am using:
add_action(‘login_enqueue_scripts’, function(){
wp_dequeue_script(‘user-profile’);
wp_dequeue_script(‘password-strength-meter’);
wp_deregister_script(‘user-profile’);
$suffix = SCRIPT_DEBUG ? ” : ‘.min’;
wp_enqueue_script( ‘user-profile’, “/wp-admin/js/user-profile$suffix.js”, array( ‘jquery’, ‘wp-util’ ), false, 1 );
});
… and since the login_enqueue_scripts action (I quote):
is used for enqueuing both scripts and styles, on all login and registration related screens.
I take it that the iTSec plugin ignores that snippet of code on the “New password” screen as used during the register and password reset procedures ? (Just want to make sure we are on the same page ;-)).
@nlpro I assume so because I deactivated the iTSec plugin and the script worked as intended.
Hi @michaelacaggi, thanks for reaching out.
I was able to add the script while the iThemes Security plugin was activated. I added the code to the functions.php file and also tested it with a code snippet plugin. Both worked without a conflict with the iThemes Security settings.
I’ll suggest using a code snippet plugin to see if it makes a difference or doing a conflict test while keeping the iThemes Security plugin activated.
Please let me know how it goes.
Best regards,
Shalom
Hi there,
I hope the information provided helped resolve your issues. Given that we have not received a response, I will mark this post as resolved. If you still need some assistance, please feel free to open a new support topic, and we would be happy to assist.
Thank you!