[Plugin: SimpleModal Login] Inconsistent Implementation of login_form Hook
-
Great work on a well written plugin!
I’ve come across an issue with the
do_action('login_form')
hook.The wp-login.php file runs the
do_action('login_form')
hook as the login form is being printed. SimpleModal on the other hand builds the login form as a variable, runs the hook during this process, and then prints the entire form later.Many plugins that hook to
do_action('login_form')
print output, meaning if used with SimpleModal, output will be printed outside of the login form.I know I can get around it unhooking functions and using the
simplemodal_login_form
filter but it would be much better to have thelogin_form
hook act consistently with that in wp-login.php.
- The topic ‘[Plugin: SimpleModal Login] Inconsistent Implementation of login_form Hook’ is closed to new replies.