Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#1682 closed enhancement (duplicate)

Patch for wp_login_head Action in wp-login.php

Reported by: shorty114 Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: bg|2nd-opinion bg|has-patch bg|commit
Focuses: Cc:


The patch attached adds a wp_login_head action hook to wp-login.php.

The use for this can range from adding JavaScripts or stylesheets that you don't want to be in the wp-admin pages (wp_admin_head), or the other way around.

Attachments (1)

wp_login_head-hook.patch (281 bytes) - added by shorty114 16 years ago.
Adds wp_login_head hook to wp-login.php.

Download all attachments as: .zip

Change History (6)

16 years ago

Adds wp_login_head hook to wp-login.php.

#1 @davidhouse
16 years ago

  • Keywords bg|2nd-opinion bg|has-patch added

Perhaps we should allow generic theming of the login page (i.e., a login.php file in a theme), rather than just a hook or two.

On the other hand, maybe not, as the login page is more admin than blog, and we don't currently allow styling of the admin pages (other than admin_head)

#2 @technosailor
16 years ago

It's not simply admin if users are moved through it to login and on logoff, redirected to it. I agree that it should be added.

#3 @masquerade
16 years ago

Is this hook really necessary? Personally, I'm all for sticking with the existing admin hooks and teaching people how to find out what page they're on, and adjusting the output of the functions accordingly.

#4 @davidhouse
16 years ago

  • Keywords bg|commit added

Meh. This simplifies things with minimal overhead.

#5 @markjaquith
15 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

More complete fix: #3123

Note: See TracTickets for help on using tickets.