[wp-trac] [WordPress Trac] #14488: wp_enqueue_script in_footer doesn't work on WP known scripts
WordPress Trac
noreply at wordpress.org
Wed Mar 25 17:54:52 UTC 2015
#14488: wp_enqueue_script in_footer doesn't work on WP known scripts
---------------------------+-----------------------
Reporter: mcr2582 | Owner: sorich87
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Script Loader | Version: 3.0.1
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+-----------------------
Comment (by ocean90):
In [changeset:"31887"]:
{{{
#!CommitTicketReference repository="" revision="31887"
Avoid a PHP notice in `wp_enqueue_script()` if $handle is an array.
Calling `wp_enqueue_script()` with an array as the first argument is a
"hidden feature" and should be avoided. Use dependencies instead.
props sorich87 for initial patch.
fixes #31636.
see #14488.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14488#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list