Preventing WordPress Plugins From Loading

Posted by admin in Wordpress Tips, Word... | 01.11.2010 - 9:26 am

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 frame (where I manually load […]

Original post by Ronald Huereca

    Technorati Tags:

    Related Posts:
  1. WordPress Plugin Releases for 9/12
  2. ...
  3. Adding Menus To The Admin Bar
  4. ...
  5. Andy Skelton Introduces Batcache
  6. ...
  7. WordPress Plugin Releases for 2/16
  8. ...
  9. WordPress Plugin Releases for 11/28
  10. ...
  11. WordPress Plugin Releases for 7/10
  12. ...
  13. How You Can Support WordPress
  14. ...
  15. How To Include CSS and JavaScript Conditionally
  16. ...
  17. Do You Plan Your Blog or Play it by Ear?
  18. ...
  19. Best Of WLTC 2010 – Part 1
  20. ...
  21. WordPress Plugin Releases for 8/27
  22. ...
  23. WordPress Theme Releases for 10/03
  24. ...
  25. WordPress Trademark Donated to WordPress Foundation
  26. ...
  27. WordPress Plugin Releases for 3/24
  28. ...
  29. WordPress Plugin Releases for 6/24
  30. ...

  31. No Comments on "Preventing WordPress Plugins From Loading" »

    No comments yet.

    Leave a comment