Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/duplicat...
File: readme.txt
=== Yoast Duplicate Post ===
[0] Fix | Delete
Contributors: yoast, lopo
[1] Fix | Delete
Donate link: https://yoast.com/wordpress/plugins/duplicate-post/
[2] Fix | Delete
Tags: duplicate post, copy, clone
[3] Fix | Delete
Requires at least: 5.5
[4] Fix | Delete
Tested up to: 5.6
[5] Fix | Delete
Stable tag: 4.0.2
[6] Fix | Delete
Requires PHP: 5.6.20
[7] Fix | Delete
License: GPLv2 or later
[8] Fix | Delete
License URI: http://www.gnu.org/licenses/gpl-2.0.html
[9] Fix | Delete
[10] Fix | Delete
Copy posts of any type with a click!
[11] Fix | Delete
[12] Fix | Delete
== Description ==
[13] Fix | Delete
[14] Fix | Delete
This plugin allows users to clone posts of any type, or copy them to new drafts for further editing.
[15] Fix | Delete
[16] Fix | Delete
How it works:
[17] Fix | Delete
[18] Fix | Delete
1. In 'Edit Posts'/'Edit Pages', you can click on 'Clone' link below the post/page title: this will immediately create a copy and return to the list.
[19] Fix | Delete
[20] Fix | Delete
2. In 'Edit Posts'/'Edit Pages', you can select one or more items, then choose 'Clone' in the 'Bulk Actions' dropdown to copy them all at once.
[21] Fix | Delete
[22] Fix | Delete
3. In 'Edit Posts'/'Edit Pages', you can click on 'New Draft' link below the post/page title.
[23] Fix | Delete
[24] Fix | Delete
4. On the post edit screen, you can click on 'Copy to a new draft' above "Cancel"/"Move to trash" or in the admin bar.
[25] Fix | Delete
[26] Fix | Delete
5. While viewing a post as a logged in user, you can click on 'Copy to a new draft' in the admin bar.
[27] Fix | Delete
[28] Fix | Delete
3, 4 and 5 will lead to the edit page for the new draft: change what you want, click on 'Publish' and you're done.
[29] Fix | Delete
[30] Fix | Delete
There is also a **template tag**, so you can put it in your templates and clone your posts/pages from the front-end. Clicking on the link will lead you to the edit page for the new draft, just like the admin bar link.
[31] Fix | Delete
[32] Fix | Delete
Duplicate Post has many useful settings to customize its behavior and restrict its use to certain roles or post types. Check out the extensive documentation [on yoast.com](https://yoast.com/wordpress/plugins/duplicate-post/) and our [developer docs](https://developer.yoast.com/duplicate-post/).
[33] Fix | Delete
[34] Fix | Delete
== Installation ==
[35] Fix | Delete
[36] Fix | Delete
Use WordPress' Add New Plugin feature, searching "Duplicate Post", or download the archive and:
[37] Fix | Delete
[38] Fix | Delete
1. Unzip the archive on your computer
[39] Fix | Delete
2. Upload `duplicate-post` directory to the `/wp-content/plugins/` directory
[40] Fix | Delete
3. Activate the plugin through the 'Plugins' menu in WordPress
[41] Fix | Delete
4. Go to Settings -> Duplicate Post and customize behaviour as needed
[42] Fix | Delete
[43] Fix | Delete
== Frequently Asked Questions ==
[44] Fix | Delete
[45] Fix | Delete
= The plugin doesn't work, why? =
[46] Fix | Delete
[47] Fix | Delete
First, check your version of WordPress: the plugin is not supposed to work on old versions anymore. Make sure also to upgrade to the last version of the plugin!
[48] Fix | Delete
[49] Fix | Delete
Then try to deactivate and re-activate it, some user have reported that this fixes some problems.
[50] Fix | Delete
[51] Fix | Delete
Pay also attention to the "Permissions" tab in the Settings: make sure the plugin is enabled for the desired roles and post types.
[52] Fix | Delete
[53] Fix | Delete
If it still doesn't work, maybe there is some kind of conflict with other plugins: feel free [to write in the forum](https://wordpress.org/support/plugin/duplicate-post) and we'll try to discover a solution (it will be *really* helpful if you try to deactivate all your other plugins one by one to see which one conflicts with mine... But do it only if you know what you're doing, I will not be responsible of any problem you may experience).
[54] Fix | Delete
[55] Fix | Delete
= The plugin is not translated in my language! =
[56] Fix | Delete
[57] Fix | Delete
From version 3.0 the plugin's translations are managed by the WordPress.org platform and the plugin is shipped without language files, so first of all update translations under Dashboard->Updates.
[58] Fix | Delete
[59] Fix | Delete
If Duplicate Post is still in English, or if there are some untraslated strings, you can help traslating to your language [here](https://translate.wordpress.org/projects/wp-plugins/duplicate-post): you only need a WordPress.org account.
[60] Fix | Delete
[61] Fix | Delete
== Screenshots ==
[62] Fix | Delete
[63] Fix | Delete
1. Classic editor.
[64] Fix | Delete
2. Block editor.
[65] Fix | Delete
3. Post list.
[66] Fix | Delete
4. Admin bar menu.
[67] Fix | Delete
5. Bulk actions.
[68] Fix | Delete
6. The options page.
[69] Fix | Delete
[70] Fix | Delete
== Upgrade Notice ==
[71] Fix | Delete
[72] Fix | Delete
= 3.2.6 =
[73] Fix | Delete
Compatibility with WP 5.5 + various fixes
[74] Fix | Delete
[75] Fix | Delete
= 3.2.5 =
[76] Fix | Delete
First release from Yoast + accessibility improvements + filter deprecated
[77] Fix | Delete
[78] Fix | Delete
= 3.2.4 =
[79] Fix | Delete
Options to show original post + accessibility improvements
[80] Fix | Delete
[81] Fix | Delete
= 3.2.3 =
[82] Fix | Delete
Fixes some bugs and incompatibilities with CF7, WPML, and custom post types with custom capabilities
[83] Fix | Delete
[84] Fix | Delete
= 3.2.2 =
[85] Fix | Delete
Adds compatibility with Gutenberg UI and fixes a problem with slugs on new installs
[86] Fix | Delete
[87] Fix | Delete
= 3.2.1 =
[88] Fix | Delete
Fixes some problems with Multisite, WPML, revisions
[89] Fix | Delete
[90] Fix | Delete
= 3.2 =
[91] Fix | Delete
new website + WPML compatibility + various fixes
[92] Fix | Delete
[93] Fix | Delete
= 3.1.2 =
[94] Fix | Delete
Fixes the problem with custom fields
[95] Fix | Delete
[96] Fix | Delete
= 3.1.1 =
[97] Fix | Delete
Bulk clone + custom field wildcards + other features + bugfixes + fix for nasty nag
[98] Fix | Delete
[99] Fix | Delete
= 3.1 =
[100] Fix | Delete
Bulk clone + custom field wildcards + other features + bugfixes
[101] Fix | Delete
[102] Fix | Delete
= 3.0.3 =
[103] Fix | Delete
Notices + small fixes and improvements
[104] Fix | Delete
[105] Fix | Delete
= 3.0.2 =
[106] Fix | Delete
Small bugfixes: check the changelog for more info
[107] Fix | Delete
[108] Fix | Delete
= 3.0.1 =
[109] Fix | Delete
Recommended if you have 3.0: fixes the upgrade bug
[110] Fix | Delete
[111] Fix | Delete
= 3.0 =
[112] Fix | Delete
Major redesign of the settings page + fine-tune options (what to copy, custom post types, etc.) + bugfixes and XSS prevention
[113] Fix | Delete
[114] Fix | Delete
= 2.6 =
[115] Fix | Delete
PHP 5.4 (Strict Standards) compatible + Fixed possible XSS and SQL injections + other bugs
[116] Fix | Delete
[117] Fix | Delete
= 2.4.1 =
[118] Fix | Delete
Fixes a couple of bug. Recommended if you have problems with v2.4
[119] Fix | Delete
[120] Fix | Delete
= 2.4 =
[121] Fix | Delete
Copy child pages + a couple of bugfixes + licence switch to GPLv2
[122] Fix | Delete
[123] Fix | Delete
= 2.3 =
[124] Fix | Delete
Fixes a bunch of bugs + copy attachments + choose where to show the links.
[125] Fix | Delete
[126] Fix | Delete
= 2.2 =
[127] Fix | Delete
VERY IMPORTANT UPGRADE to get rid of problems with complex custom fields, afflicting both 2.1.* releases.
[128] Fix | Delete
[129] Fix | Delete
= 2.1.1 =
[130] Fix | Delete
Fix for upgrade problem
[131] Fix | Delete
[132] Fix | Delete
= 2.1 =
[133] Fix | Delete
Copy from admin bar + user levels out, roles and capabilities in.
[134] Fix | Delete
[135] Fix | Delete
= 2.0.2 =
[136] Fix | Delete
Fixed permalink bug + double choice on posts list
[137] Fix | Delete
[138] Fix | Delete
= 2.0.1 =
[139] Fix | Delete
Bug fix + new option
[140] Fix | Delete
[141] Fix | Delete
= 2.0 =
[142] Fix | Delete
Several improvements and new features, see changelog. Requires WP 3.0+.
[143] Fix | Delete
[144] Fix | Delete
= 1.1.1 =
[145] Fix | Delete
Some users have experienced a fatal error when upgrading to v1.1: this may fix it, if it's caused by a plugin conflict.
[146] Fix | Delete
[147] Fix | Delete
= 1.1 =
[148] Fix | Delete
New features and customization, WP 3.0 compatibility: you should upgrade if you want to copy Custom Posts with Custom Taxonomies.
[149] Fix | Delete
[150] Fix | Delete
== Changelog ==
[151] Fix | Delete
[152] Fix | Delete
= 4.0.2 (2021-01-14) =
[153] Fix | Delete
[154] Fix | Delete
Bugfixes:
[155] Fix | Delete
[156] Fix | Delete
* Fixes a bug where errors or notices could be triggered when using the plugin with some other plugins or custom code.
[157] Fix | Delete
[158] Fix | Delete
= 4.0.1 (2021-01-12) =
[159] Fix | Delete
[160] Fix | Delete
Bugfixes:
[161] Fix | Delete
[162] Fix | Delete
* Fixes a bug that caused a fatal error when used with some plugins.
[163] Fix | Delete
[164] Fix | Delete
= 4.0 (2021-01-12) =
[165] Fix | Delete
[166] Fix | Delete
Enhancements:
[167] Fix | Delete
[168] Fix | Delete
* Introduces the Rewrite & Republish feature, offering you the possibility to update a post/page without taking it offline or having to take extra steps. This feature is currently not available when Elementor is active on your site.
[169] Fix | Delete
* Introduces an integration with the Block Editor.
[170] Fix | Delete
* Introduces new settings to individually enable/disable the `New Draft`, `Clone` and `Rewrite & Republish` links.
[171] Fix | Delete
[172] Fix | Delete
= 3.2.6 (2020-09-17) =
[173] Fix | Delete
* Compatibility with WordPress 5.5
[174] Fix | Delete
* Fixed bug about copying comments in WordPress 5.5
[175] Fix | Delete
* Check user permission when adding option to the bulk actions dropdown list
[176] Fix | Delete
* Improved update notice to be displayed only on selected screens when updating from < 3.2.5
[177] Fix | Delete
* Updated template tag documentation link
[178] Fix | Delete
* Added missing gettext to "Subscribe" button
[179] Fix | Delete
[180] Fix | Delete
= 3.2.5 (2020-07-07) =
[181] Fix | Delete
* First release from Yoast
[182] Fix | Delete
* Accessibility improvements to the settings page
[183] Fix | Delete
* Accessibility improvements to the "Show original item" metabox
[184] Fix | Delete
* Accessibility improvements to the "Show original item" check box in Quick Edit
[185] Fix | Delete
* duplicate_post_blacklist_filter deprecated in favor of duplicate_post_excludelist_filter
[186] Fix | Delete
[187] Fix | Delete
= 3.2.4 (2019-12-10) =
[188] Fix | Delete
* Options to show original item in post list (in a column or alongside post states) or in a metabox in the edit screen
[189] Fix | Delete
* Accessibility improvements
[190] Fix | Delete
* Small other fixes
[191] Fix | Delete
[192] Fix | Delete
= 3.2.3 (2019-07-10) =
[193] Fix | Delete
* Fixes incompatibility with previous versions of CF7
[194] Fix | Delete
* Now roles without edit_posts capability but having equivalent capability for custom post types can be allowed to copy
[195] Fix | Delete
* Small other fixes to bugs that could lead to incompatibilities with WPML and others
[196] Fix | Delete
[197] Fix | Delete
= 3.2.2 (2018-04-13) =
[198] Fix | Delete
* The "Admin bar" option shows the link in the post edit screen too, so you can use the plugin with Gutenberg enabled
[199] Fix | Delete
* Option for "Slug" not set by default on new installations
[200] Fix | Delete
* Better display of icon in the Admin bar on small screens
[201] Fix | Delete
[202] Fix | Delete
= 3.2.1 (2017-11-25) =
[203] Fix | Delete
* Fixing some issues of the 3.* trunk before major redesign
[204] Fix | Delete
* Fixes issue when upgrading on multisite
[205] Fix | Delete
* Improved compatibility with WPML + page builders, thanks to WPML team
[206] Fix | Delete
* Prevents creating a revision immediately after the cloning
[207] Fix | Delete
[208] Fix | Delete
= 3.2 (2017-04-04) =
[209] Fix | Delete
* new website with extensive documentation
[210] Fix | Delete
* WPML compatibility, thanks to WPML team
[211] Fix | Delete
* improved Jetpack compatibility (Subscriptions, Markdown)
[212] Fix | Delete
* small changes to hooks
[213] Fix | Delete
* improved security with nonces
[214] Fix | Delete
* various small fixes
[215] Fix | Delete
[216] Fix | Delete
= 3.1.2 (2016-12-13) =
[217] Fix | Delete
* Fix for custom fields not copied
[218] Fix | Delete
[219] Fix | Delete
= 3.1.1 (2016-12-13) =
[220] Fix | Delete
* Fix for nasty update nag (plus a failsafe checkbox)
[221] Fix | Delete
[222] Fix | Delete
= 3.1 (2016-12-13) =
[223] Fix | Delete
* Bulk clone action added (WP 4.7+)
[224] Fix | Delete
* Wildcards enabled for custom fields to skip
[225] Fix | Delete
* Options to copy post author, post format (moved from taxonomies), menu order, post template
[226] Fix | Delete
* Check publish_posts/publish_pages capability to prevent Contributors from publishing by cloning
[227] Fix | Delete
* Using wp_slash (WP 3.6+) or a better workaround (WP 4.4+) on the post and its meta, should also fix some compatibility issues
[228] Fix | Delete
* Check if admin bar is showing before enqueueing CSS
[229] Fix | Delete
* Probable fix for repeated clone bug
[230] Fix | Delete
* Other minor bugs fixed
[231] Fix | Delete
[232] Fix | Delete
= 3.0.3 (2016-10-29) =
[233] Fix | Delete
* Notices in admin after copying
[234] Fix | Delete
* Fixes warning in custom post type archives
[235] Fix | Delete
* Uses site options for version and notice
[236] Fix | Delete
* Minor fixes
[237] Fix | Delete
[238] Fix | Delete
= 3.0.2 (2016-10-18) =
[239] Fix | Delete
* Can now be enabled for every custom post type with visible UI (not just public ones)
[240] Fix | Delete
* Admin bar CSS only enqueued when needed
[241] Fix | Delete
* New "Donate" button
[242] Fix | Delete
* Fixes for minor bugs and typos
[243] Fix | Delete
[244] Fix | Delete
= 3.0.1 (2016-10-09) =
[245] Fix | Delete
* Fixes the issues for people upgrading from an older version
[246] Fix | Delete
[247] Fix | Delete
= 3.0 (2016-10-09) =
[248] Fix | Delete
* Settings page redesigned
[249] Fix | Delete
* More options to enable/disable copy of every part of a post
[250] Fix | Delete
* Enable/disable cloning for every custom post type
[251] Fix | Delete
* Jetpack Publicize compatibility
[252] Fix | Delete
* Fixed a possible XSS
[253] Fix | Delete
* Fixed other little bugs
[254] Fix | Delete
* Translations removed to use WP.org's official translation project
[255] Fix | Delete
* Checked PHP 7 compatibility
[256] Fix | Delete
[257] Fix | Delete
= 2.6 (2014-04-27) =
[258] Fix | Delete
* PHP 5.4 (Strict Standards) compatible
[259] Fix | Delete
* Fixed possible XSS and SQL injections
[260] Fix | Delete
* other bugs
[261] Fix | Delete
* Updated and added translations
[262] Fix | Delete
* Tested up to WP 3.8.1
[263] Fix | Delete
[264] Fix | Delete
= 2.4.1 (2014-02-22) =
[265] Fix | Delete
* Fixed regression about draft permalinks
[266] Fix | Delete
* Fixed bug with guid
[267] Fix | Delete
* Don't clone to_ping and pinged (maybe there will be an option about those later)
[268] Fix | Delete
[269] Fix | Delete
= 2.4 (2012-04-29) =
[270] Fix | Delete
* New option to clone the children of the original page
[271] Fix | Delete
* Licence changed to GPLv2 or later
[272] Fix | Delete
* Fixed publishing dates for drafts
[273] Fix | Delete
* Fixed bug with prefix/suffix
[274] Fix | Delete
* Translation project moved to GlotPress
[275] Fix | Delete
[276] Fix | Delete
= 2.3 (2012-04-06) =
[277] Fix | Delete
* Added options to choose where to show the "Clone" links
[278] Fix | Delete
* Clone attachments (i.e. references in the DB, not physical files)
[279] Fix | Delete
* Fix for untranslated user roles
[280] Fix | Delete
* Some other fixes (missing checks, PHP warnings and errors, etc.)
[281] Fix | Delete
[282] Fix | Delete
= 2.2 (2012-02-01) =
[283] Fix | Delete
* Fix for problems when copying serialized meta fields
[284] Fix | Delete
* Fix for multiple _dp_original field
[285] Fix | Delete
* Removed deprecated parameter when adding options
[286] Fix | Delete
[287] Fix | Delete
= 2.1.1 (2012-01-04) =
[288] Fix | Delete
* Can't rely on activation hook for upgrade, this caused problems with new options
[289] Fix | Delete
[290] Fix | Delete
= 2.1 (2012-01-03) =
[291] Fix | Delete
* Even more code cleaning (no more custom queries, using WP API)
[292] Fix | Delete
* Term order preserved when copying
[293] Fix | Delete
* Stopped using deprecated User levels, now it uses Roles and Capabilities
[294] Fix | Delete
* 'Copy to a new draft' link in admin bar
[295] Fix | Delete
* duplicate_post_get_original template tag
[296] Fix | Delete
* Settings link in plugin list, 'Donate' and 'Translate' link in option page
[297] Fix | Delete
[298] Fix | Delete
= 2.0.2 (2011-12-12) =
[299] Fix | Delete
* Fixed bug for permalinks
[300] Fix | Delete
* Two links on posts list: clone immediately or copy to a new draft to edit.
[301] Fix | Delete
* Tested on multisite mode.
[302] Fix | Delete
[303] Fix | Delete
= 2.0.1 (2011-12-08) =
[304] Fix | Delete
* Fixed bug for action filters
[305] Fix | Delete
* New option so you can choose if cloning from the posts list must copy the post status (draft, published, pending) too.
[306] Fix | Delete
[307] Fix | Delete
= 2.0 (2011-12-08) =
[308] Fix | Delete
* WP 3.3 compatibility (still not tested against multiblog feature, so beware)
[309] Fix | Delete
* Minimum WP version: 3.0
[310] Fix | Delete
* Code cleanup
[311] Fix | Delete
* Immediate cloning from post list
[312] Fix | Delete
* Added options for taxonomies and post excerpt
[313] Fix | Delete
* Added suffix option
[314] Fix | Delete
* Added template tag
[315] Fix | Delete
[316] Fix | Delete
= 1.1.2 (2011-04-08) =
[317] Fix | Delete
* WP 3.1.1 compatibility (still not tested against multiblog feature, so beware)
[318] Fix | Delete
* Added complete Polish language files
[319] Fix | Delete
[320] Fix | Delete
= 1.1.1 (2010-06-30) =
[321] Fix | Delete
* Plugin split in two files for faster opening in Plugins list page
[322] Fix | Delete
* fix conflicts with a few other plugins
[323] Fix | Delete
* Added Dutch language files
[324] Fix | Delete
[325] Fix | Delete
= 1.1 (2010-06-24) =
[326] Fix | Delete
* WP 3.0 compatibility (not tested against multiblog feature, so beware)
[327] Fix | Delete
* Option page: minimum user level, title prefix, fields not to be copied, copy post/page date also
[328] Fix | Delete
* Added German, Swedish, Romanian, Hebrew, Catalan (incomplete) and Polish (incomplete) language files
[329] Fix | Delete
[330] Fix | Delete
= 1.0 (2010-06-15) =
[331] Fix | Delete
* Better integration with WP 2.7+ interface
[332] Fix | Delete
* Added actions for plugins which store post metadata in self-managed tables
[333] Fix | Delete
* Added French and Spanish language files
[334] Fix | Delete
* Dropped WP 2.6.5 compatibility
[335] Fix | Delete
[336] Fix | Delete
= 0.6.1 (2009-12-03) =
[337] Fix | Delete
* Tested WP 2.9 compatibility
[338] Fix | Delete
[339] Fix | Delete
= 0.6 (2007-07-21) =
[340] Fix | Delete
* Fix for WP 2.8.1
[341] Fix | Delete
* WPMU compatibility
[342] Fix | Delete
* Internationalization (Italian and Japanese language files shipped)
[343] Fix | Delete
[344] Fix | Delete
= 0.5 (2009-01-09) =
[345] Fix | Delete
* Fix for post-meta
[346] Fix | Delete
* WP2.7 compatibility
[347] Fix | Delete
[348] Fix | Delete
= 0.4 (2008-11-23) =
[349] Fix | Delete
* Support for new WP post revision feature
[350] Fix | Delete
[351] Fix | Delete
= 0.3 (2008-03-01) =
[352] Fix | Delete
* Initial version on WP repository
[353] Fix | Delete
[354] Fix | Delete
== Contribute ==
[355] Fix | Delete
[356] Fix | Delete
If you find this useful and if you want to contribute, there are two ways:
[357] Fix | Delete
[358] Fix | Delete
1. Submit your bug reports, suggestions and requests for features on GitHub;
[359] Fix | Delete
2. If you want to translate it to your language (there are just a few lines of text), you can use the [translation project](https://translate.wordpress.org/projects/wp-plugins/duplicate-post);
[360] Fix | Delete
[361] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function