[wp-trac] [WordPress Trac] #14853: WP_Scripts::do_item filter
WordPress Trac
noreply at wordpress.org
Fri Aug 9 20:52:05 UTC 2013
#14853: WP_Scripts::do_item filter
-------------------------+-----------------------------
Reporter: mattwiebe | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Changes (by atimmer):
* cc: atimmermans@… (added)
Comment:
14853.3.diff is a patch to add wp_add_inline_script the way scribu
proposed. I really like this idea because it is consistent with
wp_add_inline_style and it is very clear for developers.
I haven't added the possibility for the third parameter, because I
couldn't think of any use case for 'before', if you can I will add the
possibility.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14853#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list