• Resolved Timo Tijhof

    (@timotijhof)


    Since version 5.3.6 released in April 2025, there is a style tag akismet-widget-style-inline-css added on every page view on every site that has Akismet installed.

    The styles appear to target a class name “a-stats” which is part of an optional widget that, as far as I kmnow, is not used anywhere by default.

    Impact:

    • Added 2kB of blocking styles, unused, in the critical path at a priority level even above any post content and theme layout.
    • Triggers CSP reports on sites that enforce no inline styles, e.g. Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: style-src 'self'

    Commit r3232287 appears to have lost a check to determine whether the widget is active. Perhaps this can be restored?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Bates

    (@bateszi)

    Thank you for the report, Timo. We’re looking into this and will get back to you.

    Plugin Author Lisa Schuyler

    (@lschuyler)

    Thanks Timo, we have a fix ready that will be released in the next version of Akismet.

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

The topic ‘Unused styles queues on every page since’ is closed to new replies.