Use jQuery Migrate Helper Plugin to Fix the Classic Editor Error

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

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

推荐阅读:
Computing the Longest Recurring Cycle in its Decimal Fraction Pa  How to Use Priority Queue in Java or C++ to Compute Last Stone W  5 Most Important SEO Keyword Metrics, Explained  Why You Should Remove Inactive Subscribers from Your Email List  8 Ways To Get A Perfect Site Health Score In WordPress  The Right (and Wrong) Ways to Approach Controversy in Blogging  7 Ways To Take Advantage of 404 Error Pages  7 Ways to Enhance Your Blog with Video Advertising  California Consumer Privacy Act (CCPA) Compliance Guide For AdSe  What Is WordPress Live Chat and How Do You Implement It? 
评论列表
添加评论