[wp-trac] [WordPress Trac] #21133: Add body classes and 'login_body_class' filter to wp-login.php

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 25 09:09:28 UTC 2012


#21133: Add body classes and 'login_body_class' filter to wp-login.php
-------------------------+------------------
 Reporter:  husobj       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  General      |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by nacin):

 Replying to [comment:8 husobj]:
 > Is using the global $action variable preferable to the
 _get_login_action() in previous patches? It's certainly more tidy

 wp-login.php is a pretty messy file as it is. Checking the global seemed
 the least intrusive way to do this.

 > Maybe just needs an 'rtl' class adding too using is_rtl() like previous
 patches.

 I'm fine with that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21133#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list