[wp-trac] [WordPress Trac] #14853: WP_Scripts::do_item before/after actions
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 12 04:44:18 UTC 2010
#14853: WP_Scripts::do_item before/after actions
-------------------------+--------------------------------------------------
Reporter: mattwiebe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Changes (by mattwiebe):
* cc: mattwiebe (added)
Comment:
Another example use-case that could make use of this from Typekit:
{{{
<script src="http://use.typekit.com/typekit-id.js"></script>
<!-- make use of wp_print_scripts_after-typekit -->
<script>try{Typekit.load();}catch(e){}</script>
}}}
And I'm sure tons more. It'd be nice for plugins to make use of WP methods
rather than just spitting out their code in the wp_head or wp_footer
actions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14853#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list