Support » Plugin: Login Logo » Update for debug depreciation notice

  • Taco Loco

    (@weavebranding)


    Great plugin thanks!

    As already mentioned. A new depreciation notice in debug from 5.2 to use login_headertext. Is that an easy fix?

    Notice: login_headertitle is deprecated since version 5.2.0! Use login_headertext instead. Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead.

    Thanks

Viewing 1 replies (of 1 total)
  • Mark may want to weigh in, but it does appear that simply swapping:

    add_filter( ‘login_headertitle’, array( $this, ‘login_headertitle’ ) );

    out with

    add_filter( ‘login_headertext’, array( $this, ‘login_headertitle’ ) );

    does the trick

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.