[wp-trac] [WordPress Trac] #49378: Add warning banner about no-js in wp-admin

WordPress Trac noreply at wordpress.org
Fri Feb 7 01:59:53 UTC 2020


#49378: Add warning banner about no-js in wp-admin
----------------------------+------------------------------
 Reporter:  tobifjellner    |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript
----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * focuses:   => javascript


Old description:

> 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
> https://core.trac.wordpress.org/ticket/43900 for instance.
>
> Obviously, the block editor is totally depending on JS, and it's already
> got a warning banner on it own (
> https://core.trac.wordpress.org/ticket/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

New description:

 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

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49378#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list