Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing an issue where duplicating a published post resulted in the duplicate being immediately published, rather than staying in draft as expected.
Solution:
We explained that the behavior observed is by design in our plugin. When using the "duplicate" feature, the status of the original page or post is copied to the duplicate. Therefore, if the original is "published", the duplicate will also be "published". We asked the client to share more about their workflow to understand why they are duplicating pages or posts that aren't ready to be displayed, so we could suggest a more suitable alternative workflow.

If this solution is not relevant to your situation, because it might be outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact our support forum.

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.

This topic contains 2 replies, has 2 voices.

Last updated by karelV-8 10 months ago.

Assisted by: Bobby.

Author Posts
February 6, 2024 at 10:09 am #15270351

karelV-8

Hello,

Earlier when we duplicated a published post then it stayed in a draft. Right now it is published immediately and we don't have even time to translate it. It just gets published. Even when we have it disabled...

Karel

Duplicate 1.png
Duplicate 2.png
Duplicate 3.png
February 6, 2024 at 11:11 pm #15274096

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi Karel,

The behavior you've observed with our plugin is by design.

When you use the "duplicate" feature, it also copies the status of the original page or post. So, if the original is in "draft," the duplicate will be in "draft" too, and the same applies if it's "published."

Could you share why you're duplicating pages or posts that aren't ready to be displayed? Understanding your goal might help me suggest an alternative workflow that could be more suitable for your needs.

February 6, 2024 at 11:24 pm #15274144

karelV-8

Info from my editor (translator):

That's not correct, before by using the wordpress editor option for the duplicate, it would create a blank copy in draft, and then you could use the "copy content from English" in the plug in to bring over the text and still hold it in draft.
Reason why I prefer it is because that way I can hold the article in draft while I translate the text, but having the structure and media already there. Otherwise, I have English articles up on the Spanish site while I'm done translating and that's not always a speedy process.
00:15
This is what I used to use when it would copy as a draft. By clicking it, it would bring the entire thing, images and all.

And mainly it also copied the theme settings and all the needed fields etc.

I don't know why it's not working as it used to work a few days, weeks ago.

See the attached screenshot. That's what we need to use.

Info.png
February 6, 2024 at 11:50 pm #15274171

karelV-8

Hm, our editor was wrong, he has to click the plus icon to translate it and then to copy the text. Sorry.