[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
Wed Dec 7 00:25:10 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: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Changes (by F J Kaiser):
* keywords: close =>
Comment:
Replying to [comment:2 azaozz]:
> And is a bad way of doing things in general. `onload='init();'` =
`jQuery('body').load(init);`
Your personal opinion.
Anyway: It should be
{{{
<body class="<?php echo add_cssclass( apply_filters( 'admin_body_class',
'' ), "wp-admin no-js {$admin_body_class}" ); ?>">
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19460#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list