wp-login.php template styling
Whenever we upgrade WordPress to the latest version, we have to manually reapply a fix so the login template looks alright on the main Commons site.
What we've been doing in the past is adding a call to
get_header() directly in
wp-login.php. While this works, the HTML markup is invalid and creates duplicate
<body> tags. The login template also does not look right on certain sub-sites. For example, those using the Twenty Twelve theme will notice some irregularities.
I'd like to try and streamline this a bit by using object buffering and some custom CSS fixes.
#4 Updated by Raymond Hoh almost 4 years ago
Fixed in commit 898420b.
To test, go to the new cdev environment and navigate to the login page (
Login page should look more integrated into the existing theme.
Here's a screenshot at a narrow width: