[wp-trac] [WordPress Trac] #45346: Varnish querystring.sort can break load-styles.php
WordPress Trac
noreply at wordpress.org
Thu Nov 22 10:31:30 UTC 2018
#45346: Varnish querystring.sort can break load-styles.php
---------------------------+------------------------------
Reporter: rabin.io | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 4.9.8
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by rabin.io):
Just a thought, right now WP pass the parameters with empty index
{{{
load[]=XXXXX&load[]=YYYY
}}}
what if when you split the string you assigned/pass then with index's
this way the sorting won't affect the order of the `load` array
{{{
load[1]=XXXXX&load[2]=YYY
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45346#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list