[wp-trac] [WordPress Trac] #31636: 4.2-beta1 - PHP warning when enqueuing script on specific pages only
WordPress Trac
noreply at wordpress.org
Fri Mar 13 19:24:12 UTC 2015
#31636: 4.2-beta1 - PHP warning when enqueuing script on specific pages only
---------------------------+------------------------------
Reporter: harmr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by jorbin):
related: r31028 and #14488
If wp_enqueue_script allowed an array before, we shouldn't change that.
We should throw a doing_it_wrong if you pass in an array and handle things
accordingly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31636#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list