[wp-trac] [WordPress Trac] #19510: wp_print_styles() causing mid-page scripts/styles to bleed into admin
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 12 05:57:41 UTC 2011
#19510: wp_print_styles() causing mid-page scripts/styles to bleed into admin
---------------------------+------------------
Reporter: AdamBackstrom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Editor | Version: 3.3
Severity: blocker | Resolution:
Keywords: dev-feedback |
---------------------------+------------------
Comment (by azaozz):
Replying to [comment:5 scribu]:
> Or we could make 'wp_print_styles' pass the handle as a parameter.
You mean if there's a style handle, we don't run the action? That may work
too.
Thinking that even if we have a separate function for the admin, a plugin
may still use wp_print_styles() in the admin. Seems choices are either to
disallow enqueueing mid-page for styles or not run the hook in the admin.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19510#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list