Deprecated: 自5.2.0版本起,已不建议使用login_headertitle
,请换用login_headertext
。 出于无障碍访问的考虑,我们不推荐在登录 logo 上使用 title 属性。请改用链接文字。
login_headertitle其实已经不推荐了,wpdx这个WordPress主题就用了这个函数,需要替换。
wpdx\functions\theme-functions.php
的:
add_filter( 'login_headertitle', 'cmp_login_logo_title' );
改为:
add_filter( 'login_headertext', 'cmp_login_logo_title' );