WordPress.org

Forums

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

  1. Josh Nankivel
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Topic