What about this one: find * -iname '*.php' | xargs grep -li 'WP_Scripts'
[myserver plugins]$ find * -iname '*.php' | xargs grep -li 'WP_Scripts'
gravityforms/form_display.php
gravityforms/gravityforms.php
wp-pagenavi/scb/Util.php
Can you try disabling the gravity forms plugin, then testing PTE again?
Then repeat with the wp-pagenavi (I am not familiar with this one).
If you can find which one (or both) causes the problem, I’ll install those plugins and try to find a solution.
it was the gravity forms Version 1.6.3.3.2
Because the plugin is closed source and I can’t appear to post on the forums, can you submit a bug report? I’m not sure if they will respond, but I am willing to work with their team to get the issue resolved.
If you want to take a crack at fixing their code, the fix could be pretty simple, you can grep through their code to find where they initialize their java code (it’s in some wordpress hook) and then if defined('DOING_AJAX') is set they shouldn’t run their stuff.
I posted a bug report. We’ll see if a response follows. I hate to deactivate Gravity Forms though your plugin is essential. Thanks for your generous support.
sewpafly-
You think there’s a simple way to wp_dequeue_script gravity scripts on the post thumbnail editor page?
Without looking at the code, I couldn’t say for certain. However my initial feeling is no, there isn’t an easy way to dequeue any other plugins scripts with the current method that pte uses.
Sewpafly,
So the problem was with the way Gravity Forms installation was configured. As quoted by Alex of Gravity Forms support (very responsive);
“…. Your instance of Gravity Forms was running with “No-conflict” enabled. When that is enabled, Gravity Forms prevents scripts from being enqueued on certain areas of the site. The purpose of this feature is to reduce conflicts on the Gravity Forms pages, but apparently there is a glitch in this feature that disables scripts from the admin-ajax.php file. I will be looking into that, but I disabled the “No-conflict” mode on your site and the post thumbnail editor seems to be back to normal.”
Thanks for your great support.
Great news. Thanks for updating the thread!