[wp-trac] [WordPress Trac] #20513: Refactor $wp_scripts init checking code
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 22 15:57:02 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.2.diff]:
* accept first parameter by reference, instead of returning a new instance
* replaced $fallback parameter with $function
Not really sure if the extra check in wp_localize_script() is worth it.
Could just instantiate anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20513#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list