[wp-trac] [WordPress Trac] #20513: Refactor $wp_scripts init checking code
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 22 16:24:23 UTC 2012
#20513: Refactor $wp_scripts init checking code
-------------------------------------+------------------------------
Reporter: GaryJ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by scribu):
[attachment:20513.3.diff] replaces wp_scripts_maybe_initialize() with
wp_scripts(), so you can do:
{{{
wp_scripts()->do_scripts( $handle );
}}}
etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20513#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list