[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:29: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: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: |
-------------------------+----------------------
Changes (by nacin):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Replying to [comment:4 F J Kaiser]:
> Replying to [comment:2 azaozz]:
> > And is a bad way of doing things in general. `onload='init();'` =
`jQuery('body').load(init);`
>
> Your personal opinion.
No, not even close. It's called unobtrusive JavaScript.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19460#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list