Use jQuery Migrate Helper Plugin to Fix the Classic Editor Error

  • 时间:2020-09-07 12:26:38
  • 分类:网络文摘
  • 阅读:144 次

Recent Update to WordPress 5.5 breaks the Classic Editor: The Add Media button is not working anymore. And the buttons in the navigation (Bold, Italics, Quotes…) are missing. Apart from the Classic Editor, many plugins are not working as well. The WordPress is in a very weird state.

wordpress-5.5 Use jQuery Migrate Helper Plugin to Fix the Classic Editor Errors by Wordpress 5.5 Update wordpress

wordpress-5.5

The problem is that the at WP5.5, the jquery-migrate is not enabled by default, thus breaking some plugins and themes. The temporarly workaround is to install the jQuery Migrate Helper plugin for wordpress before it is properly fixed by WordPress. Make sure the cache is refreshed and also a Ctrl + F5 should force a refresh in the browser.

You will see some warnings in the WordPress Administration Site:

jQuery Migrate Helper — Warnings encountered
This page generated the following warnings:

https://helloacm.com/wp-content/plugins/gd-star-rating/js/rating/rating-editors.js:8:45): jQuery.browser is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.

The information displayed:

Right now you are using the Enable jQuery Migrate Helper plugin to enable support for old JavaScript code that uses deprecated functions in the jQuery JavaScript library. You will see warnings about these functions while using WordPress administration, but they will not be shown on the front-end of your site. To check if there are any warnings generated by your theme please look in the browser console.

If you get warnings, you should check the theme or plugin that generated them for an update. There will very likely be one you can install. When you have updated your plugins and themes, and there are no more warnings, please deactivate Enable jQuery Migrate Helper.

* A script, a file, or some other piece of code is deprecated when its developers are in the process of replacing it with more modern code or removing it entirely.

It is also a good advice to promote the WP version upgrade gradually, at several stages. For example, you can first test the new updates in a pre-production environment before fully upgrading the production website.

–EOF (The Ultimate Computing & Technology Blog) —

推荐阅读:
食品之辟谣系列:喝豆浆易患乳腺癌  食品之辟谣系列:忽悠美容丰胸减肥的食物  冬季预防食物中毒及中毒后急救措施  四种常见的食物可以排出身体毒素  男人多吃一些香蕉对身体大有好处  冬至时节常吃6种传统食物可补阳防寒  南方黑芝麻糊大肠菌群超标 5批次产品不合格  烹饪技巧之烹调鸡蛋过程中的常见错误  全新认识冬季当家菜大白菜的营养价值  那些被人们误传的补充某种营养的食物 
评论列表
添加评论