Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

This topic contains 17 replies, has 1 voice.

Last updated by Otto 3 months, 2 weeks ago.

Assisted by: Otto.

Author Posts
August 11, 2025 at 12:55 pm #17309887

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I am truly sorry for the delay and we understand your frustration. The issue was not neglected, but it was tricky to reproduce on our servers and then tricky to solve.

The problem seems to be related to the post revisions (which were stripped when cloning the site to test), this misled the debugging.

We are on track now, our second tier support found the root cause of the problem and escalated the issue to our development team.

Meantime, we can offer the following workaround, which involves editing the WPML code:
in the file wp-content/plugins/sitepress-multilingual-cms/inc/query-filtering/wpml-name-query-filter.class.php

add:

		if ($this->post_type == 'revision') {
			return null;
		}

just before:

return $pages_with_name;

line 249

Let us know if this works for you too, please.

Best Regards,
Otto

August 12, 2025 at 5:30 am #17311851

davidP-136

Hi Otto,

Thank you for the update and for providing the workaround.

We understand that this change targets only post revisions and should not affect other WordPress functionality. To be safe, we will first implement and test this fix on our staging environment.

Could you also confirm whether this modification will impact any revision-related functionality in WordPress?

Additionally, please confirm whether this change will be included in the next WPML update so that we won’t need to reapply it manually after future updates.

Thank you

August 12, 2025 at 12:54 pm #17313475

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

It's a workaround. It's safe but didn't go through the Q&A and testing that each release goes.

It shouldn't affect any revision related functionality. And it only affects revisions.

The issue is escalated to our development team. It's in the queue, I can't guarantee in which release will be included as it depends on many factors. It probably won't be included in the next one because it's too close.

I'll let you know about the progress of the issue.

Best Regards,
Otto