[wp-trac] [WordPress Trac] #19460: Move filter for 'admin_body_class' to make it accessible for scripts and other stuff

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 8 01:17:54 UTC 2011


#19460: Move filter for 'admin_body_class' to make it accessible for scripts and
other stuff
-------------------------+------------------------------
 Reporter:  F J Kaiser   |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  close        |
-------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => close


Comment:

 Replying to [comment:8 scribu]:

 Why would you remove default classes from there? Even if not used in core
 on the particular screen, other plugins may be using them, so one plugin
 would be breaking another.

 It seems the filter was meant only for adding classes, not filtering or
 removing them for exactly that reason.

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


More information about the wp-trac mailing list