• Resolved MartinBY

    (@canoaby)


    Tank you for this fine peace of code! IT makes the things around CSP Header a lot easier.

    All is working fine, but the dashboard lost all formatting and style. How to avoid this?

    Best regards, Martin

    • This topic was modified 6 months, 3 weeks ago by MartinBY.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter MartinBY

    (@canoaby)

    OK, now I understand:

    within ‘settings/Misc options’ I deactivated ‘Enforce policy in admin’ after this, all parts of Dashboard are visible now.

    Plugin Author Giuseppe

    (@mociofiletto)

    Hi @canoaby, my suggestion is to whitelist admin scripts. However, before enforce policy in admin, it is needed to capture all admin assets and whitelist them (use the admin interface with capture enabled for a while and then whitelist scripts and styles).

    I know that the current version can slow down the admin interface while capturing is enabled, however a new release is almost ready and it will be faster and require less server resources.

    I hope you will enjoy the plugin

    Thread Starter MartinBY

    (@canoaby)

    Hi Giuseppe, thank you for your quick response!

    Weanwhile the Dashboard is visualized very well and I collect more details for whitelisting.

    Actually only wp-login does not show the styles and images as expected (also when I deactivated plugins for hiding it). Any hint for this?

    Plugin Author Giuseppe

    (@mociofiletto)

    The same as before: just whitelist assets (script, styles etc..) included in wp-login page.

    Thread Starter MartinBY

    (@canoaby)

    I got it solved only by deactivating both options for SRI…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dashboard lost Stylesheet’ is closed to new replies.