load-scripts.php problem
-
Hi everyone! I have a very weird problem appearing in the WordPress administration.
Actually, I don’t have the problem, but a client has reported it to me, and via TeamViewer I’ve been able to understand what is going on.
There seems to be an inconsistency with the scripts loaded with wp_enqueue_script and some client/server environments. In this specific case let’s take as example the following request :
In my own machines, I have the proper scripts being delivered. When doing a print_r of the ‘load’ get parameter in load-scripts.php, here’s the response i get :
Array ( [0] => jquery-ui-core,jquery-ui [1] => -widget, jquery-ui-mouse )…which in turn gets properly requested into the necessary scripts. However, in my client’s machines (same OS and same browser, and tested in several browsers) the response is :
Array ( [1] => -widget, jquery-ui-mouse [0] => jquery-ui-core,jquery-ui )…which means the $_GET[‘load’] parameter is reversed, which in turn breaks the scripts being loaded and creates errors (like the media library never loading properly). This happened sometime between April and now, according to the client (he hasn’t updated the website since).
Any idea why this would happen, and why it would vary from one place to the other?
Thanks in advance!
The topic ‘load-scripts.php problem’ is closed to new replies.