WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
[resolved] The Latest Update Breaks Admin Panel CSS (8 posts)

  1. sahaskatta
    Member
    Posted 3 years ago #

    Just a quick heads up, something is working differently in the latest release of of your plugin. I notice a CSS file from your plugin being added to most pages of WP Admin. It is causing the default WordPress post boxes to appear distorted and sized differently.

    A quick reversion or a slight tweak might be needed.

    I'm on WP 3.0.3. Even tried it on another clean install to reproduce the issue.

  2. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi there, could you please send me a screenshot on my support forum? I must admit I've been testing my plugin on WP 3.1 beta, but I thought I wasn't using any classes that conflicted with WP's core CSS classes.

    By the way, just to clarify, it's not true that the CSS is being added "to most pages of WP Admin". Only the Edit Post panel and Edit Comments list should load that file, none of the other pages should be affected, as far as I can see. But maybe this is something that doesn't work properly in 3.0.3. I'll double check tomorrow installing 3.0.3 on my test environment. Thanks.

    Camu

  3. sahaskatta
    Member
    Posted 3 years ago #

    Hey Camu,
    No worries, it wasn't the end of the world. Just caused a bunch of odd formating and spacing.

    Here's a screenshot: http://i.min.us/idUHPm.png

    I noticed the issue with both WP 3.0.3 and WP 3.1 Beta 2.

    Just wondering, why do you need CSS on the post page for example? Can't you just limit the custom CSS file to just your plugin page?

  4. sahaskatta
    Member
    Posted 3 years ago #

    Just also noticed it messes up the Categories widget as well.

    Also noticed that you had added a custom column to the post page, which explains why you have the CSS file loading there as well.

    Maybe load a secondary CSS file or inline CSS for just the classes you need for the post page.

  5. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Exactly, that's the reason why I add some CSS to those pages :) I'll take a look at it asap and fix the "conflict". Unfortunately inline CSS is not allowed by the way WordPress lets plugins add new columns. Thank you for pointing this issue out, though!

    Camu

  6. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Okay, I've just released version 1.5.1 that should fix this problem :) Thank you for your feedback, and don't forget to vote for my plugin.

    Camu

  7. sahaskatta
    Member
    Posted 3 years ago #

    Awesome!

    I'll give it a shot. Thanks for responding and releasing a fix so quickly.

  8. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Sure, keep me posted!

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic