WordPress 5.6.1 Introduces Bug Into Publish and Web page Home windows

WordPress 5.6.1 Introduces Bug Into Post and Page Windows


WordPress 5.6.1, which many websites auto-updated to, has launched a bug that makes it troublesome to save lots of a put up. A short lived patch has been created to handle the difficulty however it’s not an official replace to resolve the issue.

Adjustments You Made Might Not Be Saved

A bug launched into the most recent model of WordPress, model 5.6.1 causes an alert to pop up when trying to navigate away, regardless if the put up has been saved or not.

The bug was reported in a WordPress help web page:

“I get the pop up “Go away Web site? Adjustments you made is probably not saved. On a regular basis, if I modify a web page or not, and if I save (publish or replace) the web page or not.

This started after the 5.6.1 improve this morning. I’ve 2 websites, with 2 totally different themes, each with the basic editor 1.6 and it behaves the identical on each.

It does this in Chrome, it doesn’t do it in Firefox.”

Commercial

Proceed Studying Beneath

The truth that it doesn’t occur in Firefox is fascinating as a result of, in response to Mozilla documentation, Firefox handles sure features of the unload occasion in a different way from Chrome in that Chrome lacks sure options.

This isn’t a Chrome problem nonetheless. I’m merely declaring why a bug could present up in Chrome however not in Firefox.

Unload Occasions Bug in WordPress Enhancing Window?

The discover is a part of what’s known as an “unload occasion” that triggers a warning when a writer tries to navigate away from a window, normally when one thing is left undone.

The precise warning message triggered is:

“Go away Web site? Adjustments you made is probably not saved.”

The bug manifests itself in each posts and pages. However some publishers have reported that the bug is barely current when enhancing web page content material and works high quality when enhancing put up content material.

Commercial

Proceed Studying Beneath

In keeping with a number of studies the bug could possibly be triggered by enhancing associated plugins like Tiny MCE and Superior Customized Fields. Turning off these plugins stops the unload message from spawning.

A writer reported within the non-public Advanced WordPress Facebook group that turning off the Superior Customized Fields plugin stopped the warning from spawning.

However the issue isn’t with the plugins themselves. The issue seems to be throughout the WordPress core itself which is inflicting the issue to manifest in numerous enhancing associated home windows.

One publisher reported relief by turning on the Gutenberg enhancing surroundings:

“Do You Wish to Go away This Web site? Adjustments you made is probably not saved” Alert discover on leaving up to date pages (however not posts) after 5.6.1 replace when utilizing basic editor. …Goes away when Gutenberg is turned again on.”

Another publisher noted that WordPress enhancing associated plugins appeared to set off the bug:

“Replace: It seems to be just like the consumer has to attend for TinyMCE to completely load earlier than making a change, in any other case the script doesn’t take his change into consideration.

A great visible trace is the dropshadow of toolbar which dispear as soon as the editor is appropriately initialized.”

One consumer uploaded a video of a walkthrough exhibiting how the bug is spawned. Within the video the writer chooses a doc to edit and enters the enhancing window.

The writer subsequent presses the replace button to save lots of the web page. They subsequent click on a hyperlink to navigate away from the enhancing window.

However that act causes the unload warning message to spawn.

Commercial

Proceed Studying Beneath

Beneath is an animated gif of the film that was uploaded exhibiting the walkthrough of the bug:

Screenshot Animation of WordPress 5.6.1 Enhancing Window Bug

GIF Animation of WordPress 5.6.1 editing window bug

Short-term Answer Has Been Posted

A patch has been posted to WordPress, however it’s not an official repair.

Commercial

Proceed Studying Beneath

This version of the patch is totally useful. It’s code that must be inserted into the capabilities.php file.

There’s another patch that was shared that addresses an extra problem however it has not been totally examined.

WordPress 5.6.1 “Adjustments Not Saved” Bug

If the difficulty is hindering your workflow, there are steps that may be taken. One really useful step could possibly be to attend to make it possible for all enhancing associated plugins are totally loaded. Different actions embody disabling enhancing associated plugins or turning on Gutenberg.

There’s a patch that may be utilized to capabilities.php and lastly one can await an official patch.

Film Exhibiting How WordPress 5.6.1 Bug is Triggered

Citations

WordPress Help Web page Dialogue
Changes You Made May Not Be Saved

Commercial

Proceed Studying Beneath

Official WordPress Bug Report Web page
“Leave site? Changes you made may not be saved” on custom taxonomy pages after WP 5.6.1 update


supply : searchenginejournal

Leave a Reply

Your email address will not be published. Required fields are marked *