Skip to content

Releases: Yoast/duplicate-post

4.6

09 Mar 10:25

Choose a tag to compare

= 4.6 =

Release date: 2026-03-09

Enhancements

  • Improves the compatibility with the Block Editor.
  • Improves the style of the Copy to a new draft and Rewrite & Republish actions in the Block Editor.
  • Replaces the metabox with a sidebar panel in the Block Editor.

Bugfixes

  • Fixes a bug where cloning an attachment did not copy its caption as expected. Props to @masteradhoc.
  • Fixes a bug where cloning an attachment did not copy its description as expected.
  • Fixes a bug where notices would not be appearing in the block editor, throwing console errors, with some locales.
  • Fixes a bug where Rewrite & Republish copies could remain orphaned, blocking editors from creating a new Rewrite & Republish copy for the original post.
  • Fixes a bug where the block editor button were not styled if the admin bar links where not present.
  • Fixes a bug where translations where missing in the buttons and the notices in the Block Editor. Props to @petitphp.

Other

  • Improves security of the Bulk Clone action and the republishing of a copy.
  • Adds duplicate_post_before_republish and duplicate_post_after_republish action hooks fired before and after republishing. Props to @piscis.
  • Deprecates the dp_duplicate_post and dp_duplicate_page hooks and introduces a new unified duplicate_post_after_duplicated action hook that replaces them. The new hook includes the post type as a fourth parameter for flexible filtering.
  • Sets the minimum supported WordPress version to 6.8.
  • Sets the WordPress tested up to version to 6.9.
  • Drops compatibility with PHP < 7.4.
  • Verified compatibility with PHP up to version 8.5.
  • Fixes the Developer Guide link that was leading to a non-existent page. Props to @masteradhoc.
  • Fixes the documentation link to use a shortlink. Props to @masteradhoc.
  • Improves how the translations are loaded by relying on the WordPress mechanism for that. Props to @swissspidy.
  • Improves discoverability of security policy in Packagist.
  • Users requiring this package via [WP]Packagist can now use the composer/installers v2.

4.6-RC2

02 Mar 20:31

Choose a tag to compare

4.6-RC2 Pre-release
Pre-release

Changes compared to: 4.6-RC1

Bugfixes:

  • Fixes a bug where the block editor button were not styled if the admin bar links where not present. #471

Non user facing:

  • Minor enhancement to the changelog #463
  • Drops the version number from the JS file names. #470

4.6-RC1

18 Feb 11:30

Choose a tag to compare

4.6-RC1 Pre-release
Pre-release

Changes compared to: 4.5

Enhancements:

  • Replaces the metabox with a sidebar panel in the Block Editor. #446
  • Improves the style of the Copy to a new draft and Rewrite & Republish actions in the Block Editor. #460
  • Improves the compatibility with the Block Editor. #445

Bugfixes:

  • Fixes a bug where notices would not be appearing in the block editor, throwing console errors, with some locales. #364
  • Minor security improvement #260
  • Fixes a bug where cloning an attachment did not copy its description as expected. #374
  • Fixes a bug where cloning an attachment did not copy its caption as expected. Props to @masteradhoc. #374
  • Fixes a bug where translations where missing in the buttons and the notices in the Block Editor. Props to @petitphp. #234
  • Fixes a bug where Rewrite & Republish copies could remain orphaned, blocking editors from creating a new Rewrite & Republish copy for the original post. #447

Other:

  • Sets the minimum supported WordPress version to 6.8. #438
  • Improves how the translations are loaded by relying on the WordPress mechanism for that. Props to @swissspidy. #368
  • Adds duplicate_post_before_republish and duplicate_post_after_republish action hooks fired before and after republishing. Props to @piscis. #451
  • Improves security of the Bulk Clone action and the republishing of a copy. #452
  • Verified compatibility with PHP 8.5 #435
  • Improves discoverability of security policy in Packagist. #338
  • Users requiring this package via [WP]Packagist can now use the composer/installers v2. #328
  • Deprecates the dp_duplicate_post and dp_duplicate_page hooks and introduces a new unified duplicate_post_after_duplicated action hook that replaces them. The new hook includes the post type as a fourth parameter for flexible filtering. #449
  • Drops compatibility with PHP 7.2 and 7.3. #402
  • Sets the WordPress tested up to version to 6.9. #423
  • Drops compatibility with PHP 5.6, 7.0 and 7.1. #294
  • The plugin has no known incompatibilities with PHP 8.3 #335
  • Verified PHP 8.2 compatibility. #276

Non user facing:

  • Updates various dependencies as suggested by dependabot. #297
  • Improve dev experience #391
  • Improve dev experience #390
  • CI maintenance #311
  • Updates the author uri value. #295
  • Fix broken link in README. #305
  • Tests: use static dataproviders #336
  • Set the minimum supported WordPress version to 6.3. #318
  • Sets the minimum supported WordPress version to 6.0. #279
  • Sets the WordPress tested up to version to 6.2. #296
  • Sets the minimum supported WordPress version to 6.1. #304
  • Updated test dependencies #329
  • Tidy up composer.json file and improve usability of scripts #330
  • Prevent more dev-only files from being included in packaged up versions of this repo. #321
  • CI build tweak #326
  • Adds mark above translations that are used only for screen readers. #323
  • Dev-only file update #322
  • CI: fix build #327
  • Range of small bug fixes #337
  • Tests: use PSR-4 #334
  • Code QA/consistency #349
  • Code QA/consistency #350
  • Normalize Composer config #396
  • Code QA/consistency #351
  • Code QA/consistency #353
  • CI/QA update introducing YoastCS 3.0 #355
  • Simplify CI script #339
  • QA #340
  • Sets the WordPress tested up to version to 6.3. #317
  • Code QA/consistency #352
  • Code QA/consistency #354
  • Updated dev dependencies #397
  • Improve CI security #436
  • Sets the WordPress tested up to version to 6.4. #332
  • Sets the minimum supported WordPress version to 6.3. #347
  • Test against PHP 8.4 #398
  • Fixes the documentation link to use a shortlink. Props to @masteradhoc. #373
  • Update dev dependencies #365
  • Sets the minimum supported WordPress version to 6.3. #347
  • Sets the minimum supported WordPress version to 5.9. #258
  • Prepares the repo for the rename of master to main. #265
  • prepaire for moving master to main on yoast-dist #266
  • Update changelog format (both in file and creation settings) #272
  • Fixes the Developer Guide link that was leading to a non-existent page. Props to @masteradhoc. #375
  • Adds integration tests to the plugin. #313
  • Adapts GitHub PR template to include Gutenberg to the list of editors a PR should be tested on and adds examples of documentation. #359
  • Update testing workflow to install SVN #383
  • Update test tooling #388
  • Improve CI #392
  • CI improvement #389
  • Update Dependabot config #406
  • Removed dependency which is no longer needed #428
  • Sets the WordPress tested up to version to 6.7. #385
  • Sets the WordPress tested up to version to 6.6. #372
  • Sets the WordPress tested up to version to 6.5. #363
  • Sets the WordPress tested up to version to 6.5. #363
  • Improve CI #429
  • Updates webpack to version 5.94.0 and adjusts source map settings. #441
  • Improve CI #430
  • Sets the minimum supported WordPress version to 6.4. #370
  • Code consistency #457
  • Improve CI security #431
  • Improve CI #432
  • Improve CI security #433
  • Adds safety check to avoid breaking errors due to wrong tags order in translation. #405
  • Improve CI security #434
  • Updated dev dependencies #453
  • Modernizes codebase #453
  • Add integration tests for duplicate_post_create_duplicate to validate functionality across a variety of configurations, settings, and scenarios. #450
  • Fixes Rewrite & Republish workflow deleting the copy...
Read more

4.5

28 Jun 09:38

Choose a tag to compare

4.5

= 4.5 =
Release Date: June 28th, 2022

Enhancements:

  • Improves the impact of the plugin on the performance of the site by avoiding useless calls on the gettext filter.

Bugfixes:

  • Fixes a bug where a section in the Classic Editor's submitbox would be displayed with incorrect margins.

Other:

  • Sets the WordPress tested up to version to 6.0.

4.5-RC1

14 Jun 14:03

Choose a tag to compare

4.5-RC1 Pre-release
Pre-release

Changes compared to: 4.4

Enhancements:

  • Reduces the impact of the plugin on the performance of the site by avoding useless calls on the gettext filter. #255

Bugfixes:

  • Fixes a bug where a section in the Classic Editor's submitbox would be displayed with incorrect margins. #254

Other:

  • Sets the WordPress tested up to version to 6.0. #252

Non user facing:

  • Improve CI #242
  • Adds grunt tasks and other changes needed for automation of the release/RC creation process. #251
  • Fix deploy to dist #247
  • Updates grunt-plugin-tasks to 2.3. #249

4.4

25 Jan 09:16

Choose a tag to compare

4.4

= 4.4 (2022-01-25) =

Enhancements:

  • Converts the upgrade notice into a welcome notice for first-time users.

Bugfixes:

  • Fixes a bug where HTML tags in a Custom HTML block would be removed when republishing a scheduled Rewrite & Republish copy.
  • Fixes a bug where the button style would be broken in the Classic Editor.
  • Fixes a bug where a fatal error would be triggered in the Widgets page in combination with some themes or plugins.

Other:

  • Sets the WordPress tested up to version to 5.9.

4.4-RC3

14 Jan 10:39

Choose a tag to compare

4.4-RC3 Pre-release
Pre-release

Changes since 4.4-RC2:

Non-user-facing:

  • Fixes an unreleased bug where the welcome notice would be displayed to existing users who haven't dismissed the upgrade notice. #230

4.4-RC2

13 Jan 15:28

Choose a tag to compare

4.4-RC2 Pre-release
Pre-release

Changes since 4.4-RC1:

Other

  • Sets the WordPress tested up to version to 5.9. #228

Non-user-facing

  • Fixes an unreleased bug where the link to the privacy policy was broken. #229

4.4-RC1

12 Jan 09:14

Choose a tag to compare

4.4-RC1 Pre-release
Pre-release

Enhancements:

  • Converts the upgrade notice into a welcome notice for first-time users. #221

Bugfixes:

  • Fixes a bug where the button style would be broken in the Classic Editor. #223
  • Fixes a bug where a fatal error would be triggered in the Widgets page in combination with some themes or plugins. #219
  • Fixes a bug where HTML tags in a Custom HTML block would be removed when republishing a scheduled Rewrite & Republish copy. #218

Non user facing:

  • Composer 2.2 compatibility #224
  • Code consistency #217
  • Updated dependency #216

4.3

14 Dec 11:30

Choose a tag to compare

4.3

= 4.3 (2021-12-14) =

Bugfixes:

  • Fixes a bug where Rewrite & Republish copies could be displayed and queried in the front end.