current wp-login.php call to wp_admin_css() bypasses its own filter
|Reported by:||F J Kaiser||Owned by:||F J Kaiser|
|Cc:||24-7@…, Ninos, Ego|
The current situation in wp-login.php looks like the following:
wp_admin_css( 'login', true ); wp_admin_css( 'colors-fresh', true );
Looking at /wp-includes/general-template.php and wp_admin_css( $file = 'wp-admin', $force_echo = false ); tells that this bypasses the filter calls as the function returns if $force_echo is true. The filters are called after that. This doesn't make sense as the filter will never work this way. Changing wp_admin_css() is no option, so I suggest to change the calls to it in login_head.