• Resolved burhi

    (@gevv)


    Hi,

    adding extra css file how can i delete this? or only be active on logged in users

    <link rel='stylesheet' id='aioseop-toolbar-menu-css' href='https://site.com/wp-content/plugins/all-in-one-seo-pack/css/admin-toolbar-menu.css?ver=3.4.2' type='text/css' media='all' />

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @gevv,

    Thank you for reporting this. 🙂

    We are aware of this “issue” and are going to restrict the loading of this stylesheet to logged in users only in the next release of AIOSEO. We’ve already got a fix for this and now we’re just wrapping up development on some other issues that have been reported.

    – Arnaud

    Anonymous User 9948090

    (@anonymized-9948090)

    Yesterday I upgraded to latest version of the plugin and I immediately noticed the new forcefully added stylesheet (CSS) in the source code.

    When I searched for it, I found this support topic.

    In my opinion, it’s a very important and major issue. An extra CSS can impact webpage loading time. No one will want to have an extra CSS loading on their webpages without any reason.

    You should have released a fix for this issue immediately rather than waiting in fixing other issues before releasing a new version.

    Please release a fix asap.

    In the meantime, users can remove the CSS by adding following code to their theme’s functions.php file:

    add_action('wp_print_styles', 'deregister_aioseop_style', 100 );
    function deregister_aioseop_style() {
    wp_deregister_style( 'aioseop-toolbar-menu' );
    }
    Sho-Down

    (@sho-down)

    @arnaudbroes Am I missing something? Why is this loading at all on our main website for any user, logged in or not, and not only in the admin area? I just created a test account on my website (not admin) and it loads this css file on my home page. Why?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @sho-down it’s used to style our toolbar menu, which is different from our regular admin menu. The toolbar is the horizontal bar at the top of your page when you are browsing through the front-end of your website. You might have disabled it in your profile settings.

    Sho-Down

    (@sho-down)

    @arnaudbroes I’m sorry but I still don’t understand why you load a toolbar on my website for my visitors? It shouldn’t load at all on my main website. Do you have a page I can visit or a screenshot to see how it looks?

    This code doesn’t seem like it has any purpose loading on my website, I can understand loading it on the backend admin area (which is does) but not my main website:

    #wp-admin-bar-aioseop-pro-upgrade a {
        font-style: italic;
        color: orange !important;
    }
    
    .aioseop-admin-bar-logo {
        float: left;
        top: 3px;
        background-repeat: no-repeat;
        background-position: 0 6px;
        background-size: 20px;
        color: #a0a5aa;
        content: url("data:image/svg+xml,%3Csvg width='20px' height='20px' viewBox='0 0 516 516' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' fill='%23a0a5aa'%3E%3Cpath d='M313.09629 56.767c15.572 4.282 30.418 10.326 44.308 17.903l49.035-35.771 68.022 68.023-35.24 48.172c7.827 13.776 14.13 28.529 18.681 44.029l57.95 9.064v96.198l-56.968 8.832c-4.446 16.178-10.792 31.571-18.785 45.925l36.485 49.874-68.022 68.023-50.057-36.517c-13.54 7.493-28 13.523-43.166 17.878l-8.92 57.538h-96.199l-8.949-57.218c-15.633-4.394-30.525-10.565-44.443-18.282l-47.249 34.468-68.023-68.022 34.305-46.894c-7.89-14.015-14.206-29.031-18.71-44.81l-57.151-8.86v-96.199l56.983-8.912c4.331-15.347 10.377-29.979 17.916-43.674l-35.466-48.48 68.023-68.023 48.061 35.061c13.641-7.693 28.234-13.895 43.554-18.384L208.09729 0h96.198l8.801 56.767zm-38.657 342.655c70.789-8.277 125.797-68.527 125.797-141.523 0-78.644-63.849-142.493-142.493-142.493s-142.493 63.849-142.493 142.493c0 73.293 55.457 133.737 126.663 141.621v-44.549c-36.12-7.515-63.294-39.554-63.294-77.89v-48.998h33.367v-50.298c0-5.447 4.423-9.87 9.871-9.87 5.447 0 9.87 4.423 9.87 9.87v50.298h52.726v-50.298c0-5.447 4.423-9.87 9.87-9.87 5.448 0 9.87 4.423 9.87 9.87v50.298h33.54v48.998c0 38.336-27.174 70.375-63.294 77.89v44.451z'/%3E%3C/svg%3E%0A");
    }
    Plugin Author arnaudbroes

    (@arnaudbroes)

    @sho-down we do not generate a toolbar ourselves. We load a CSS file for our menu in the default toolbar that WordPress provides for logged in users. It also does not load for visitors; just for users that are logged in. I guess we could restrict it even further and make sure it only loads for administrators. I’ll make sure that we do this in the next update (v3.6.0).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove aioseop-toolbar-menu-css ?’ is closed to new replies.