Connect with us

NEWS

WordPress 5.6.1 Introduces Bug Into Post and Page Windows

Published

on

WordPress 5.6.1, which many sites auto-updated to, has introduced a bug that makes it difficult to save a post. A temporary patch has been created to address the issue but it’s not an official update to solve the problem.

Changes You Made May Not Be Saved

A bug introduced into the latest version of WordPress, version 5.6.1 causes an alert to pop up when attempting to navigate away, regardless if the post has been saved or not.

The bug was reported in a WordPress support page:

“I am getting the pop up “Leave Site? Changes you made may not be saved. All the time, if I change a page or not, and if I save (publish or update) the page or not.

This began after the 5.6.1 upgrade this morning. I have 2 sites, with 2 different themes, both with the classic editor 1.6 and it behaves the same on both.

It does this in Chrome, it does not do it in Firefox.”

The fact that it doesn’t happen in Firefox is interesting because, according to Mozilla documentation, Firefox handles certain aspects of the unload event differently from Chrome in that Chrome lacks certain features.

This is not a Chrome issue however. I’m simply pointing out why a bug may show up in Chrome but not in Firefox.

Unload Events Bug in WordPress Editing Window?

The notice is part of what’s called an “unload event” that triggers a warning when a publisher tries to navigate away from a window, usually when something is left undone.

Advertisement

The exact warning message triggered is:

“Leave Site? Changes you made may not be saved.”

The bug manifests itself in both posts and pages. But some publishers have reported that the bug is only present when editing page content and works fine when editing post content.

According to several reports the bug could be triggered by editing related plugins like Tiny MCE and Advanced Custom Fields. Turning off those plugins stops the unload message from spawning.

A publisher reported in the private Advanced WordPress Facebook group that turning off the Advanced Custom Fields plugin stopped the warning from spawning.

But the problem is not with the plugins themselves. The problem appears to be within the WordPress core itself which is causing the problem to manifest in different editing related windows.

One publisher reported relief by turning on the Gutenberg editing environment:

“Do You Want to Leave This Site? Changes you made may not be saved” Alert notice on leaving updated pages (but not posts) after 5.6.1 update when using classic editor. …Goes away when Gutenberg is turned back on.”

Another publisher noted that WordPress editing related plugins seemed to trigger the bug:

“Update: It looks like the user has to wait for TinyMCE to entirely load before making a change, otherwise the script doesn’t take his change into account.

A good visual hint is the dropshadow of toolbar which dispear once the editor is correctly initialized.”

Advertisement

One user uploaded a video of a walkthrough showing how the bug is spawned. In the video the publisher chooses a document to edit and enters the editing window.

The publisher next presses the update button to save the page. They next click a link to navigate away from the editing window.

But that act causes the unload warning message to spawn.

Below is an animated gif of the movie that was uploaded showing the walkthrough of the bug:

Screenshot Animation of WordPress 5.6.1 Editing Window Bug

GIF Animation of WordPress 5.6.1 editing window bug

Temporary Solution Has Been Posted

A patch has been posted to WordPress, but it is not an official fix.

This version of the patch is fully functional. It’s code that needs to be inserted into the functions.php file.

There is another patch that was shared that addresses an additional issue but it has not been fully tested.

WordPress 5.6.1 “Changes Not Saved” Bug

If the issue is hindering your workflow, there are steps that can be taken. One recommended step could be to wait to make sure that all editing related plugins are fully loaded. Other actions include disabling editing related plugins or turning on Gutenberg.

Advertisement

There is a patch that can be applied to functions.php and lastly one can wait for an official patch.

Movie Showing How WordPress 5.6.1 Bug is Triggered

Citations

WordPress Support Page Discussion
Changes You Made May Not Be Saved

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

Searchenginejournal.com

NEWS

Google December Product Reviews Update Affects More Than English Language Sites? via @sejournal, @martinibuster

Published

on

Google’s Product Reviews update was announced to be rolling out to the English language. No mention was made as to if or when it would roll out to other languages. Mueller answered a question as to whether it is rolling out to other languages.

Google December 2021 Product Reviews Update

On December 1, 2021, Google announced on Twitter that a Product Review update would be rolling out that would focus on English language web pages.

The focus of the update was for improving the quality of reviews shown in Google search, specifically targeting review sites.

A Googler tweeted a description of the kinds of sites that would be targeted for demotion in the search rankings:

“Mainly relevant to sites that post articles reviewing products.

Think of sites like “best TVs under $200″.com.

Goal is to improve the quality and usefulness of reviews we show users.”

Advertisement

Advertisement

Continue Reading Below

Google also published a blog post with more guidance on the product review update that introduced two new best practices that Google’s algorithm would be looking for.

The first best practice was a requirement of evidence that a product was actually handled and reviewed.

The second best practice was to provide links to more than one place that a user could purchase the product.

The Twitter announcement stated that it was rolling out to English language websites. The blog post did not mention what languages it was rolling out to nor did the blog post specify that the product review update was limited to the English language.

Google’s Mueller Thinking About Product Reviews Update

Screenshot of Google's John Mueller trying to recall if December Product Review Update affects more than the English language

Screenshot of Google's John Mueller trying to recall if December Product Review Update affects more than the English language

Product Review Update Targets More Languages?

The person asking the question was rightly under the impression that the product review update only affected English language search results.

Advertisement

Advertisement

Continue Reading Below

But he asserted that he was seeing search volatility in the German language that appears to be related to Google’s December 2021 Product Review Update.

This is his question:

“I was seeing some movements in German search as well.

So I was wondering if there could also be an effect on websites in other languages by this product reviews update… because we had lots of movement and volatility in the last weeks.

…My question is, is it possible that the product reviews update affects other sites as well?”

John Mueller answered:

“I don’t know… like other languages?

My assumption was this was global and and across all languages.

But I don’t know what we announced in the blog post specifically.

Advertisement

But usually we try to push the engineering team to make a decision on that so that we can document it properly in the blog post.

I don’t know if that happened with the product reviews update. I don’t recall the complete blog post.

But it’s… from my point of view it seems like something that we could be doing in multiple languages and wouldn’t be tied to English.

And even if it were English initially, it feels like something that is relevant across the board, and we should try to find ways to roll that out to other languages over time as well.

So I’m not particularly surprised that you see changes in Germany.

But I also don’t know what we actually announced with regards to the locations and languages that are involved.”

Does Product Reviews Update Affect More Languages?

While the tweeted announcement specified that the product reviews update was limited to the English language the official blog post did not mention any such limitations.

Google’s John Mueller offered his opinion that the product reviews update is something that Google could do in multiple languages.

Advertisement

One must wonder if the tweet was meant to communicate that the update was rolling out first in English and subsequently to other languages.

It’s unclear if the product reviews update was rolled out globally to more languages. Hopefully Google will clarify this soon.

Citations

Google Blog Post About Product Reviews Update

Product reviews update and your site

Google’s New Product Reviews Guidelines

Write high quality product reviews

John Mueller Discusses If Product Reviews Update Is Global

Watch Mueller answer the question at the 14:00 Minute Mark

[embedded content]

Searchenginejournal.com

Continue Reading

DON'T MISS ANY IMPORTANT NEWS!
Subscribe To our Newsletter
We promise not to spam you. Unsubscribe at any time.
Invalid email address

Trending

en_USEnglish