[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
Fri Dec 9 22:26:12 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: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: |
-------------------------+----------------------
Comment (by nacin):
> return " id='page-xy'";
> # or:
> return " style='margin: 10px;'";
The filter is for body classes to the admin, not additional HTML
attributes. It is called 'admin_body_class'. All other uses are invalid.
Pretty much everything you ever want to do can be achievable with either
unobtrusive JS or styling using an added CSS class. Wontfix.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19460#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list