Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#49378 new enhancement

Add warning banner about no-js in wp-admin

Reported by: tobifjellner's profile tobifjellner Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: javascript Cc:

Description (last modified by SergeyBiryukov)

WordPress is becoming more and more depending on Javascript.

Javascript may be unavailable for various reasons:

  • JS blocked in browser, either in general or for the current domain
  • If the site is accessed over https while site URL is set to http, then JS objects may be blocked due to mix content rules.

If/when JS is unavailable, weird errors may occur in the admin panel, and the error texts may not immediately hint about the real reason. See #43900 for instance.

Obviously, the block editor is totally depending on JS, and it's already got a warning banner on it own ( #45453 ).

But I think it by now would be good to add a similar warning banner at the top of the wp-admin page:
Please note that Javascript seems to be unavailable. You may have it blocked or you may be mixing access via https and http. This may lead to unexpected errors.
So I suggest that we

Change History (2)

This ticket was mentioned in Slack in #forums by tobifjellner. View the logs.

4 years ago

#2 @SergeyBiryukov
4 years ago

  • Description modified (diff)
  • Focuses javascript added
Note: See TracTickets for help on using tickets.