News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebLogTools Collection:
Preventing WordPress Plugins From Loading
January 14, 2010 @ 14:24:54

On the WeblogTools Collection blog today there's a new post from Ronald Huereca with a tip about manually turning off and on your WordPress plugins if you get into a bind and need more than the web-based interface can do.

There may be times in WordPress where you would like to load the WordPress environment manually, and prevent plugins from loading. [...] 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.

He admits that the technique is a "hack" but can be quite useful in the right situations. The process involves changing your wp-settings file to define the "WP_INSTALLING" constant then the plugins can be manually loaded as needed instead of automatically. This can help narrow down where an issue is (sometimes) faster than enabling/disabling them and guessing.

0 comments voice your opinion now!
wordpress plugin debug


blog comments powered by Disqus

Similar Posts

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 6

Developer Tutorials Blog: Debugging CakePHP applications in Zend Studio for Eclipse

Hardened-PHP Project: WordPress Vulnerability Advisories (XSS & Trackbacks)

CatsWhoCode.com: WordPress: How to insert data programmatically

Brandon Savage's Blog: Caching For Wordpress - A TEK-X Webinar


Community Events

Don't see your event here?
Let us know!


language framework middleware unittest release threedevsandamaybe library opinion wordpress series development laravel5 community introduction interview api extension podcast laravel voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework