There may be times in WordPress where you would like to load the WordPress environment manually, and prevent plugins from loading. Two instances where this is ideal are: When loading an inline frame with Thickbox or Colorbox. When parsing AJAX requests in an external PHP file. To further give justification for this technique, I had a major plugin conflict with another plugin. My Ajax Edit Comments plugin had failed to work for one of my clients. After doing some troubleshooting, I determined it was a plugin conflict with “xyz” plugin. When I looked at the conflicting plugin’s code, I was able to pinpoint the problem to one patch of code, but failed to determine a fix. The conflicting plugin was causing my nonces to fail, as well as my AJAX processor to fail (since that uses nonces as well). Since my plugin’s editing options are all in a Colorbox inline […]
[Continue Reading...]