Extend login body class to support custom background
|Reported by:||toscho||Owned by:|
|Component:||Login and Registration||Keywords:||has-patch|
It would be useful to have a class custom-background on the body element for wp-login.php. Then we could just write:
add_action( 'login_head', '_custom_background_cb' );
Currently we have to copy the whole function with a very tiny difference: replace body.custom-background with body.login. Not very elegant.