login_headertitle is deprecated since version 5.2.0


I have an issue my friends. when I got to default logn page in wordpress, I see this error:
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. in /home/xxxxxxx/public_html/wp-includes/functions.php on line 4711
I am using wp veroin 5.2.1 I do not use any plugin to customize login page. I have searched a lot in my own files but no find login_headertitle. I just use the following codes in functions.php for custom css for login page:

function custom_login_css() {
    wp_enqueue_style( 'mylogincss', get_template_directory_uri() . '/css/custom-login-styles.css' );
add_action('login_head', 'custom_login_css');  

so I am confused that why I see that error at the top of login page???
whould you help me to fix it?

, , , Sh.Dehnavi 4 years 2020-03-06T15:52:29-05:00 0 Answers 229 views -1

Leave an answer