Project

General

Profile

Actions

Bug #3780

closed

wp-login.php template styling

Added by Raymond Hoh almost 10 years ago. Updated over 8 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2015-02-02
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

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 <html> and <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.


Files

2016-08-23_090754.png (49.4 KB) 2016-08-23_090754.png Raymond Hoh, 2016-08-23 12:10 PM

Related issues

Related to CUNY Academic Commons - Bug #12108: Password reset styling/scripts don't work correctlyResolvedRaymond Hoh2019-11-18

Actions
Actions #1

Updated by Stephen Real over 9 years ago

Ray,
Is this something you will be able to get to in time for 1.8 or should we punt it down the road?

Actions #2

Updated by Raymond Hoh over 9 years ago

  • Target version changed from 1.8 to 1.9

Going to move this to 1.9 as the current implementation works.

The method I discuss above will require a bit of dev time and testing.

Actions #3

Updated by Boone Gorges about 9 years ago

  • Target version changed from 1.9 to 1.10

Moving this out of 1.9. Ray, it's not really user-facing, so if you come up with a fix, feel free to move it into a minor release.

Actions #4

Updated by Raymond Hoh over 8 years ago

Fixed in commit 898420b.

To test, go to the new cdev environment and navigate to the login page (commons.gc.cuny.edu/wp-login.php).

Login page should look more integrated into the existing theme.

Here's a screenshot at a narrow width:

Actions #5

Updated by Raymond Hoh over 8 years ago

  • Status changed from New to Resolved
Actions #6

Updated by Boone Gorges over 8 years ago

Holy mackerel, this is a feat of engineering. Thanks, Ray. Wouldn't it be nice if wp-login.php were just a theme-styled page?

Actions #7

Updated by Raymond Hoh about 5 years ago

  • Related to Bug #12108: Password reset styling/scripts don't work correctly added
Actions

Also available in: Atom PDF