New (v7.1.6) tml_do_login_footer runs on all tmp pages, not just login
-
I’m having trouble on a custom dashboard page where the wp_footer scripts are not loaded.
Turns out that when I disable
add_action( 'wp_footer', 'tml_do_login_footer', 10 );
in tml hooks.php (line 39) all works fine.In
tml_do_login_footer()
it seems it should only function on the “login” action but in current implementation it runs on all actions.Shouldn’t the code be (added “login” to the
tml_is_action()
call:function tml_do_login_footer() { if ( ! tml_is_action( 'login' ) ) { return; } /** This action is documented in wp-login.php */ do_action( 'login_footer' ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘New (v7.1.6) tml_do_login_footer runs on all tmp pages, not just login’ is closed to new replies.