最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

What are WordPress admin supported browsers?

programmeradmin1浏览0评论

I am developing a plugin which exposes custom client components, html/css in the admin area. I want to test the cross-browsing compatibility of these components sticking to the actual browsers supported by WordPress.

Is there an official list of browsers supported by WordPress and by which versions?

I am developing a plugin which exposes custom client components, html/css in the admin area. I want to test the cross-browsing compatibility of these components sticking to the actual browsers supported by WordPress.

Is there an official list of browsers supported by WordPress and by which versions?

Share Improve this question asked Nov 23, 2016 at 10:22 David RiccitelliDavid Riccitelli 1978 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

The "Official" supported browsers list is currently here:

  • https://make.wordpress/design/handbook/design-guide/browser-support/

You can also use https://www.npmjs/package/browserslist-config-wordpress if you use PostCSS, Autoprefixer, stylelint etc

Supported browsers will change with the each release and theme you have installed. You might want to check the release notes or issues on trac to find any incompatibilities.

The best I could find was Browse Happy but nothing in the commits narrowed down or showed version support info.

So you might be able to tie latest browser support with how far back you want to support - https://www.impressivewebs/release-history-major-browsers/

Based on this answer, you might be able to tie this all back to If your menus or widgets screens broke…

WordPress 3.0.5 was released at the same time as jQuery 1.5. Unfortunately, 1.5 has some backwards incompatible changes that appear to break a number of areas in the admin. The timing is awkward and it looks like it was us. It wasn’t.

There’s nothing we can do about this even for WordPress 3.1, which is freezing at jQuery 1.4.4.

If your theme deregisters jQuery and re-registers jQuery 1.5, then you’ll want to make sure that this change only applies for the frontend, i.e. ! is_admin(). (Or use the wp_enqueue_scripts hook, which only fires for the theme-side.) This might not be obvious — if you’re enqueueing the latest jQuery from, say, Google’s CDN, you’ll be getting 1.5 suddenly, and things will break.

Someone should put together a quick plugin that restores and enforces the bundled jQuery in the admin. I’ll do it later tonight if no one else does.

Reference: #16508 and numerous support forum threads.

But 6 months ago, jQuery.js was updated to 1.12.4 which shows support for Safari 9 and IE 11 in the changelog.

发布评论

评论列表(0)

  1. 暂无评论