WordPress.org

Ready to get started?Download WordPress

Forums

Plugin conflict: wpDirAuth and WordPress Twitter Bootstrap CSS (2 posts)

  1. Josh Nankivel
    Member
    Posted 10 months ago #

    wpDirAuth started suddenly running in safemode and I narrowed the conflict down to this code in WordPress Twitter Bootstrap CSS

    /wp-content/plugins/wordpress-bootstrap-css/src/icwp-optionshandler-base.php:

    // Handle any upgrades as necessary (only go near this if it's the admin area)
    		if ( is_admin() ) {
    			require_once( ABSPATH . 'wp-includes/pluggable.php' );
    			if ( current_user_can( 'manage_options' ) ) {
    				$this->updateHandler();
    			}
    		}

    I commented this out and both plugins appear to be working OK now.

  2. gilzow
    Member
    Posted 9 months ago #

    I answered over here but yeah, plugin authors aren't supposed to load ANY core files because it causes issues and works against the way plugins are supposed to work.

Reply

You must log in to post.

About this Topic