Use jQuery Migrate Helper Plugin to Fix the Classic Editor Error

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

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) —

推荐阅读:
女性急躁易发怒可能与维生素缺乏有关系  冬天吃水果,究竟应该注意什么问题?  萝卜的保健功能和萝卜的食疗吃法  红枣美味营养可养生但是禁忌亦不少  不同包装的牛奶,你知道该如何选择吗  冬天吃羊肉如何去掉羊膻味及饮食禁忌  适度喝啤酒预防骨质疏松保持关节弹性  关于鸡蛋营养及其食用方法的十大误区  腊肉的风味和特点及腊肉的制作全过程  腊肉的营养价值及腊肉的食用禁忌 
评论列表
添加评论