[wp-trac] [WordPress Trac] #26886: wp_enqueue_script doesn't load all scripts
WordPress Trac
noreply at wordpress.org
Tue Feb 24 01:32:52 UTC 2015
#26886: wp_enqueue_script doesn't load all scripts
-------------------------------+------------------------------
Reporter: alfredocubitos | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 3.8
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by dd32):
Perhaps I'm not being clear then, when I say that it doesn't matter if
it's cut at 5 characters, or 5,000 characters, it still gets used the same
inside WordPress.
{{{
load[]=scriptnames,up,to120,chars,jqeury-ui
load[]=-tabs,more,scriptnames,pretendthisischar125,th
load[]=iswasbroken,aswell
}}}
gets converted to
{{{
$load="scriptnames,up,to120,chars,jqeury-ui-
tabs,more,scriptnames,pretendthisischar125,thiswasbroken,aswell"
}}}
by using
{{{
$load = implode( '', $_GET['load'] );
}}}
Go get the value of $load from within load-scripts.php and the values of
$_GET that it see's, and then come back.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26886#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list