[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
Mon Sep 17 08:53:58 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 husobj):

 I definitely prefer the array approach like the body_class filter.

 Is using the global $action variable preferable to the _get_login_action()
 in previous patches? It's certainly more tidy

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

 Other than that I like nacin's patch

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


More information about the wp-trac mailing list