Opened 13 years ago
Closed 12 years ago
#21713 closed enhancement (wontfix)
Extend login body class to support custom background
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Login and Registration | Keywords: | has-patch |
| Focuses: | template | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Add conditional ' custom-background' to login body class.