Support » Plugin: Two Factor Authentication » Use the retina spinner!

  • Resolved Scott Fennell

    (@scofennellgmailcom)


    Hello! This plugin seems to append a spinner gif to the login form. The utility of doing so is not readily apparent to me (my fault for not understanding this plugin all that well perhaps), but regardless, retinify that sucker! The 2x version is right there in the same folder. Here’s how I’m doing it in a similar plugin:

    `function get_spinner() {

    $src = includes_url( ‘/images/spinner-2x.gif’ );

    $alt = esc_attr__( ‘Logging you in’, ‘lxb-login’ );

    $class = __CLASS__ . ‘-‘ . __FUNCTION__;

    $out = “<img class=’$class’ style=’display: none;’ src=’$src’ alt=’$alt’ height=16 width=16>”;

    return $out;

    }`

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Thanks. I’ve tweaked this in our development version, for the next release.

    David

Viewing 1 replies (of 1 total)
  • The topic ‘Use the retina spinner!’ is closed to new replies.