WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Fluency Admin] Menu children disappear

[Plugin: Fluency Admin] Menu children disappear

  • Wil

    @gravitationalfx

    Installed plugin v3.2 but when activated, the admin menu expanded children items disappear.

    The main tab for each menu is available but they don’t expand so I can’t see any of the options underneath.

    For example, clicking on Posts, I can see the list of posts but don’t see the expanded options All Posts, Add New, Categories nor Post Tags.

    Deactivating the plugin restored the admin menu.

    Wil.

    http://wordpress.org/extend/plugins/fluency-admin/

Viewing 1 replies (of 1 total)
  • The issue is caused by the way windows paths are made up. You can fix it by opening /wp-content/plugins/fluency-admin/css/load-styles.php and on line 12 change the code from:

    /** Set ABSPATH for execution */
    $abspath = dirname(dirname(__FILE__)) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    To:

    /** Set ABSPATH for execution */
    $abspath = str_replace('\\','/',dirname(dirname(__FILE__))) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    This will change the backward slashes in the file path to forward slashes, so the /wp-content/ substring will work again.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Fluency Admin] Menu children disappear’ is closed to new replies.