2-factor email link not clickable
-
Great plugin!
…but we’re finding it annoying that not all email clients render the “Authentication link” in 2-factor login verification emails as a clickable link.
I know this has been raised before and I’ve scanned through the forum here and read in another post that the absence of a clickable link in the 2-factor authentication email is down to the email client not interpreting the link as clickable.
Ok, so in gmail it becomes clickable, but in Thunderbird it doesn’t.
However, I think Thunderbird is handling this correctly as the authentication link is missing the anchor
<a>
tags around the authentication link. Gmail is making a bold assumption as it’s claiming something without anchor tags is a link.In a standards based environment, which I’m sure all plugin authors subscribe to, the authentication link should be nested in
<a>...</a>
in order for the email client to interpreted it correctly. I checked the HTML source of the email and there’s no anchor tags.What’s interesting and proves my point is that there is a clickable link in these emails, even in Thunderbird, and its the link following the line “This email was sent from the Shield plugin, provided by…”. That link to icwp.io/… has anchor tags so becomes clickable in all standards-based email clients including Thunderbird, so why doesn’t the authentication link have anchor tags?
Looking in the plugin’s php source further confirms the absence of the anchor tags:
src/processors/email.php line 70:
sprintf( '<a href="%s"><strong>%s</strong></a>', 'http://icwp.io/shieldicontrolwpemailfooter', 'iControlWP - WordPress Management and Backup Protection For Professionals' )
src/processors/loginprotect_twofactorauth.php line 307:
sprintf( _wpsf__( 'Authentication Link: %s' ), $sAuthLink )
Any chance of adding the anchor tags to the latter? …please!!
Best regards,
Nigel.
- The topic ‘2-factor email link not clickable’ is closed to new replies.