That didn’t work out as expected ?? Adding the message works, but I get another message which I didn’t expect.
See https://imgur.com/a/jAfrE.
So I tweaked my login form a bit to not show the error message when activation is complete.
Like this:
<div class="tml tml-login" id="theme-my-login<?php $template->the_instance(); ?>">
<?php $template->the_action_template_message( 'login' ); ?>
<?php
if ( isset( $_GET['activation'] ) && 'complete' == $_GET['activation'] ) {
// do nothing
} else {
$template->the_errors();
}
// etc.
?>
It does produce the result I want, but am I overlooking something if I remove the message there ?
-
This reply was modified 6 years, 9 months ago by Beee.