WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Plugin: WordPress SEO by Yoast] WP SEO Toolbar tab IE7 bug?

[Plugin: WordPress SEO by Yoast] WP SEO Toolbar tab IE7 bug?

  • Had a hard time nailing this down, but I *think* there is a bug in the way WP SEO adds its menu item in the toolbar.

    WP Version: 3.4
    WP SEO Version: 1.2.3

    I did this: In IE7, visited pages on the front end while logged in, with multiple themes (including twentyeleven), and WP SEO installed. While viewing pages, and the “edit page” menu item and the “SEO” menu item are both active on the page, the toolbar stretches to two lines like this screenshot: http://cl.ly/0M1O2P0a0w2P2k2g4500

    If I’m not on a page, and the “edit page” menu item isn’t visible (archives, etc), the problem doesn’t persist. http://cl.ly/1K3h0n1Q3i1j44303F3C

    I do not get this error with WP SEO deactivated, or with other plugins that add a menu item.

    Hope that helps,

    Brian

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yep, verified and we got the same thing.
    Hopefully Yoast is still loving IE7 🙂

    I just made a fix :-).

    File: wpseo-non-ajax-functions.php
    line: 226
    change
    $wp_admin_bar->add_menu( array( ‘id’ => ‘wpseo-menu’, ‘title’ => .__( ‘SEO’, ‘wordpress-seo’ ) . $score, ‘href’ => $seo_url, ) );

    into
    $wp_admin_bar->add_menu( array( ‘id’ => ‘wpseo-menu’, ‘title’ => ‘<span class=”wpseo_score_label”>’.__( ‘SEO’, ‘wordpress-seo’ ) . ‘</span>’.$score, ‘href’ => $seo_url, ) );

    and change/add this to adminbar.css:
    Add
    .wpseo_score_label {
    float:left;
    }

    Edit:
    .wpseo_score_img {
    float:left;
    }
    // So float right to left

    That’s it :-).
    Hopefully Yoast will use it to fix this IE7 issue :-).

    Thanks MikevHoenselaar. This solved my issue. I also found on IE9 that the little ball next to SEO was dropping down. This solved that issue as well. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] WP SEO Toolbar tab IE7 bug?’ is closed to new replies.
Skip to toolbar