Yoast Duplicate Post 4.6
Introduces smoother post duplication, more reliable rewrite workflows, and better compatibility across languages and configurations. Read more here!
Enhancements
- 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.
- Improves the compatibility with the Block Editor.
Bugfixes
- Fixes a bug where the block editor button were not styled if the admin bar links where not present.
- 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 cloning an attachment did not copy its caption and description as expected. Props to @masteradhoc.
- Fixes a bug where notices were not appearing in the block editor, throwing console errors, with some locales.
- Fixes a bug where translations where missing in the buttons and the notices in the Block Editor. Props to @petitphp.
- Fixes a bug where using regular expressions in "Do not copy these fields" were not working as expected. Props to @ikuno9233.
Other
- Improves security of the Bulk Clone action and the republishing of a copy.
- Adds
duplicate_post_before_republishandduplicate_post_after_republishaction hooks fired before and after republishing. Props to @piscis. - Deprecates the
dp_duplicate_postanddp_duplicate_pagehooks and introduces a new unifiedduplicate_post_after_duplicatedaction 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.
- Verified compatibility with PHP up to version 8.5.
- Sets the WordPress tested up to version to 6.9.
- Drops compatibility with PHP < 7.4.
- 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/installersv2.