• I’m using WordPress 2.1-alpha2 off the Subversion repositories for testing, and I noticed that the Semiologic Admin menu plugin doesn’t quite do what it’s supposed to with this new version. (I’ve tested the exact same copy of the plugin and it works fine with 2.0.3, but I haven’t tested it with the 2.0.4 branch.)

    In the admin menu, I only get the links for Dashboard and Logout. All the other links don’t show up. I’ve checked the markup and it’s not a CSS problem; the plugin simply doesn’t output those links. I’m guessing some changes to the globals or something have affected the plugin. I would gladly mod it myself and submit a diff but I’m not entirely familiar yet with WP plugin architecture, or the exact changes that have been made to WordPress in the 2.1 branch that would have caused this.

    I figure you’re probably going to have to fix this eventually, Denis, so I’m just giving you a heads up now before 2.1 hits release status.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yeah, I’m expecting this at one point, due to the now obsolete user levels. I sincerily hope that devs will not release an unannounced, grossely untested, and irrevocably not backward compatible WP version any time soon.

    Thread Starter ketsugi

    (@ketsugi)

    I hacked myself a fix by inserting a row in the usermeta table to give myself an appropriate user level.

    By the way there’s another unrelated bug in the code: you use
    $site_path = trailingslashit(get_settings('home'));

    This is usually fine and dandy for most people, but those who keep their index.php in a separate directory from their WordPress files will find that the admin links point to the wrong place, and the CSS file doesn’t load.

    Both instances of that line should be changed to:
    $site_path = trailingslashit(get_settings('siteurl'));

    This will yield the correct path to the WordPress folder.

    Thread Starter ketsugi

    (@ketsugi)

    A side note to the user_level issue: I noticed that creating new users in WordPress 2.1 still creates the wp_user_level option in the usermeta table, so user levels aren’t quite as obsolete as you think. However there seems to be a bug in the install.php in that the default user’s (admin) user level is not set, which leads to the bug I experienced.

    I’ll file a ticket in the WP Trac for that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Semiologic Admin Menu and WordPress 2.1’ is closed to new replies.