Açıklama Yok

readme.txt 14KB

    <p>=== Yoast Duplicate Post === Contributors: yoast, lopo Donate link: <a href="https://yoast.com/wordpress/plugins/duplicate-post/" rel="nofollow">https://yoast.com/wordpress/plugins/duplicate-post/</a> Tags: duplicate post, copy, clone Requires at least: 5.6 Tested up to: 5.8 Stable tag: 4.1.2 Requires PHP: 5.6.20 License: GPLv2 or later License URI: <a href="http://www.gnu.org/licenses/gpl-2.0.html" rel="nofollow">http://www.gnu.org/licenses/gpl-2.0.html</a></p> <p>The go-to tool for cloning posts and pages, including the powerful Rewrite &amp; Republish feature.</p> <p>== Description ==</p> <p>This plugin allows users to clone posts of any type, or copy them to new drafts for further editing.</p> <p>How it works:</p> <ol> <li><p>In &#39;Edit Posts&#39;/&#39;Edit Pages&#39;, you can click on &#39;Clone&#39; link below the post/page title: this will immediately create a copy and return to the list.</p></li> <li><p>In &#39;Edit Posts&#39;/&#39;Edit Pages&#39;, you can select one or more items, then choose &#39;Clone&#39; in the &#39;Bulk Actions&#39; dropdown to copy them all at once.</p></li> <li><p>In &#39;Edit Posts&#39;/&#39;Edit Pages&#39;, you can click on &#39;New Draft&#39; link below the post/page title.</p></li> <li><p>On the post edit screen, you can click on &#39;Copy to a new draft&#39; above &#34;Cancel&#34;/&#34;Move to trash&#34; or in the admin bar.</p></li> <li><p>While viewing a post as a logged in user, you can click on &#39;Copy to a new draft&#39; in the admin bar.</p></li> </ol> <p>3, 4 and 5 will lead to the edit page for the new draft: change what you want, click on &#39;Publish&#39; and you&#39;re done.</p> <p>There is also a <strong>template tag</strong>, 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.</p> <p>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 <a href="https://yoast.com/wordpress/plugins/duplicate-post/" rel="nofollow">on yoast.com</a> and our <a href="https://developer.yoast.com/duplicate-post/" rel="nofollow">developer docs</a>.</p> <p>== Installation ==</p> <p>Use WordPress&#39; Add New Plugin feature, searching &#34;Duplicate Post&#34;, or download the archive and:</p> <ol> <li>Unzip the archive on your computer</li> <li>Upload <code>duplicate-post</code> directory to the <code>/wp-content/plugins/</code> directory</li> <li>Activate the plugin through the &#39;Plugins&#39; menu in WordPress</li> <li>Go to Settings -&gt; Duplicate Post and customize behaviour as needed</li> </ol> <p>== Frequently Asked Questions ==</p> <p>= The plugin doesn&#39;t work, why? =</p> <p>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!</p> <p>Then try to deactivate and re-activate it, some user have reported that this fixes some problems.</p> <p>Pay also attention to the &#34;Permissions&#34; tab in the Settings: make sure the plugin is enabled for the desired roles and post types.</p> <p>If it still doesn&#39;t work, maybe there is some kind of conflict with other plugins: feel free <a href="https://wordpress.org/support/plugin/duplicate-post" rel="nofollow">to write in the forum</a> and we&#39;ll try to discover a solution (it will be <em>really</em> 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&#39;re doing, I will not be responsible of any problem you may experience).</p> <p>= The plugin is not translated in my language! =</p> <p>From version 3.0 the plugin&#39;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-&gt;Updates.</p> <p>If Duplicate Post is still in English, or if there are some untranslated strings, you can <a href="https://translate.wordpress.org/projects/wp-plugins/duplicate-post" rel="nofollow">help translating to your language</a>: you only need a WordPress.org account.</p> <p>== Screenshots ==</p> <ol> <li>Classic editor.</li> <li>Block editor.</li> <li>Post list.</li> <li>Admin bar menu.</li> <li>Bulk actions.</li> <li>The options page.</li> </ol> <p>== Upgrade Notice ==</p> <p>= 3.2.6 = Compatibility with WP 5.5 + various fixes</p> <p>= 3.2.5 = First release from Yoast + accessibility improvements + filter deprecated</p> <p>= 3.2.4 = Options to show original post + accessibility improvements</p> <p>= 3.2.3 = Fixes some bugs and incompatibilities with CF7, WPML, and custom post types with custom capabilities</p> <p>= 3.2.2 = Adds compatibility with Gutenberg UI and fixes a problem with slugs on new installs</p> <p>= 3.2.1 = Fixes some problems with Multisite, WPML, revisions</p> <p>= 3.2 = new website + WPML compatibility + various fixes</p> <p>= 3.1.2 = Fixes the problem with custom fields</p> <p>= 3.1.1 = Bulk clone + custom field wildcards + other features + bugfixes + fix for nasty nag</p> <p>= 3.1 = Bulk clone + custom field wildcards + other features + bugfixes</p> <p>= 3.0.3 = Notices + small fixes and improvements</p> <p>= 3.0.2 = Small bugfixes: check the changelog for more info</p> <p>= 3.0.1 = Recommended if you have 3.0: fixes the upgrade bug</p> <p>= 3.0 = Major redesign of the settings page + fine-tune options (what to copy, custom post types, etc.) + bugfixes and XSS prevention</p> <p>= 2.6 = PHP 5.4 (Strict Standards) compatible + Fixed possible XSS and SQL injections + other bugs</p> <p>= 2.4.1 = Fixes a couple of bug. Recommended if you have problems with v2.4</p> <p>= 2.4 = Copy child pages + a couple of bugfixes + licence switch to GPLv2</p> <p>= 2.3 = Fixes a bunch of bugs + copy attachments + choose where to show the links.</p> <p>= 2.2 = VERY IMPORTANT UPGRADE to get rid of problems with complex custom fields, afflicting both 2.1.* releases.</p> <p>= 2.1.1 = Fix for upgrade problem</p> <p>= 2.1 = Copy from admin bar + user levels out, roles and capabilities in.</p> <p>= 2.0.2 = Fixed permalink bug + double choice on posts list</p> <p>= 2.0.1 = Bug fix + new option</p> <p>= 2.0 = Several improvements and new features, see changelog. Requires WP 3.0+.</p> <p>= 1.1.1 = Some users have experienced a fatal error when upgrading to v1.1: this may fix it, if it&#39;s caused by a plugin conflict.</p> <p>= 1.1 = New features and customization, WP 3.0 compatibility: you should upgrade if you want to copy Custom Posts with Custom Taxonomies.</p> <p>== Changelog ==</p> <p>= 4.1.2 (2021-03-23) =</p> <p>Enhancements:</p> <ul> <li>Allows plugins such as ACF to add fields to the &#34;Compare changes&#34; screen for Rewrite &amp; Republish.</li> </ul> <p>Bugfixes:</p> <ul> <li>Fixes a bug where the &#34;Compare changes&#34; screen for the Rewrite &amp; Republish feature displayed a broken layout in WordPress 5.7.</li> <li>Fixes a bug where a post type enabled by filter couldn&#39;t be copied.</li> <li>Fixes a bug where the &#34;Show links in&#34; settings were reset to the default value on version upgrade.</li> </ul> <p>= 4.1.1 (2021-01-27) =</p> <p>Bugfixes:</p> <ul> <li>Fixes a bug where editing posts with Elementor could trigger a fatal error.</li> </ul> <p>= 4.1 (2021-01-27) =</p> <p>Enhancements:</p> <ul> <li>Improves compatibility between Elementor and the Rewrite and Republish feature.</li> </ul> <p>Bugfixes:</p> <ul> <li>Fixes a bug where Rewrite &amp; Republish notices would be shown for regular copies.</li> <li>Fixes a bug where the original post of a Rewrite &amp; Republish copy was listed in the Yoast SEO Premium link suggestions.</li> </ul> <p>Other:</p> <ul> <li>Disables the plugin for WooCommerce products and introduces filter for enabled post types.</li> </ul> <p>= 4.0.2 (2021-01-14) =</p> <p>Bugfixes:</p> <ul> <li>Fixes a bug where errors or notices could be triggered when using the plugin with some other plugins or custom code.</li> </ul> <p>= 4.0.1 (2021-01-12) =</p> <p>Bugfixes:</p> <ul> <li>Fixes a bug that caused a fatal error when used with some plugins.</li> </ul> <p>= 4.0 (2021-01-12) =</p> <p>Enhancements:</p> <ul> <li>Introduces the Rewrite &amp; 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.</li> <li>Introduces an integration with the Block Editor.</li> <li>Introduces new settings to individually enable/disable the <code>New Draft</code>, <code>Clone</code> and <code>Rewrite &amp; Republish</code> links.</li> </ul> <p>= 3.2.6 (2020-09-17) =</p> <ul> <li>Compatibility with WordPress 5.5</li> <li>Fixed bug about copying comments in WordPress 5.5</li> <li>Check user permission when adding option to the bulk actions dropdown list</li> <li>Improved update notice to be displayed only on selected screens when updating from &lt; 3.2.5</li> <li>Updated template tag documentation link</li> <li>Added missing gettext to &#34;Subscribe&#34; button</li> </ul> <p>= 3.2.5 (2020-07-07) =</p> <ul> <li>First release from Yoast</li> <li>Accessibility improvements to the settings page</li> <li>Accessibility improvements to the &#34;Show original item&#34; metabox</li> <li>Accessibility improvements to the &#34;Show original item&#34; check box in Quick Edit</li> <li>duplicate_post_blacklist_filter deprecated in favor of duplicate_post_excludelist_filter</li> </ul> <p>= 3.2.4 (2019-12-10) =</p> <ul> <li>Options to show original item in post list (in a column or alongside post states) or in a metabox in the edit screen</li> <li>Accessibility improvements</li> <li>Small other fixes</li> </ul> <p>= 3.2.3 (2019-07-10) =</p> <ul> <li>Fixes incompatibility with previous versions of CF7</li> <li>Now roles without edit_posts capability but having equivalent capability for custom post types can be allowed to copy</li> <li>Small other fixes to bugs that could lead to incompatibilities with WPML and others</li> </ul> <p>= 3.2.2 (2018-04-13) =</p> <ul> <li>The &#34;Admin bar&#34; option shows the link in the post edit screen too, so you can use the plugin with Gutenberg enabled</li> <li>Option for &#34;Slug&#34; not set by default on new installations</li> <li>Better display of icon in the Admin bar on small screens</li> </ul> <p>= 3.2.1 (2017-11-25) =</p> <ul> <li>Fixing some issues of the 3.* trunk before major redesign</li> <li>Fixes issue when upgrading on multisite</li> <li>Improved compatibility with WPML + page builders, thanks to WPML team</li> <li>Prevents creating a revision immediately after the cloning</li> </ul> <p>= 3.2 (2017-04-04) =</p> <ul> <li>new website with extensive documentation</li> <li>WPML compatibility, thanks to WPML team</li> <li>improved Jetpack compatibility (Subscriptions, Markdown)</li> <li>small changes to hooks</li> <li>improved security with nonces</li> <li>various small fixes</li> </ul> <p>= 3.1.2 (2016-12-13) =</p> <ul> <li>Fix for custom fields not copied</li> </ul> <p>= 3.1.1 (2016-12-13) =</p> <ul> <li>Fix for nasty update nag (plus a failsafe checkbox)</li> </ul> <p>= 3.1 (2016-12-13) =</p> <ul> <li>Bulk clone action added (WP 4.7+)</li> <li>Wildcards enabled for custom fields to skip</li> <li>Options to copy post author, post format (moved from taxonomies), menu order, post template</li> <li>Check publish_posts/publish_pages capability to prevent Contributors from publishing by cloning</li> <li>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</li> <li>Check if admin bar is showing before enqueueing CSS</li> <li>Probable fix for repeated clone bug</li> <li>Other minor bugs fixed</li> </ul> <p>= 3.0.3 (2016-10-29) =</p> <ul> <li>Notices in admin after copying</li> <li>Fixes warning in custom post type archives</li> <li>Uses site options for version and notice</li> <li>Minor fixes</li> </ul> <p>= 3.0.2 (2016-10-18) =</p> <ul> <li>Can now be enabled for every custom post type with visible UI (not just public ones)</li> <li>Admin bar CSS only enqueued when needed</li> <li>New &#34;Donate&#34; button</li> <li>Fixes for minor bugs and typos</li> </ul> <p>= 3.0.1 (2016-10-09) =</p> <ul> <li>Fixes the issues for people upgrading from an older version</li> </ul> <p>= 3.0 (2016-10-09) =</p> <ul> <li>Settings page redesigned</li> <li>More options to enable/disable copy of every part of a post</li> <li>Enable/disable cloning for every custom post type</li> <li>Jetpack Publicize compatibility</li> <li>Fixed a possible XSS</li> <li>Fixed other little bugs</li> <li>Translations removed to use WP.org&#39;s official translation project</li> <li>Checked PHP 7 compatibility</li> </ul> <p>= 2.6 (2014-04-27) =</p> <ul> <li>PHP 5.4 (Strict Standards) compatible</li> <li>Fixed possible XSS and SQL injections</li> <li>other bugs</li> <li>Updated and added translations</li> <li>Tested up to WP 3.8.1</li> </ul> <p>= 2.4.1 (2014-02-22) =</p> <ul> <li>Fixed regression about draft permalinks</li> <li>Fixed bug with guid</li> <li>Don&#39;t clone to_ping and pinged (maybe there will be an option about those later)</li> </ul> <p>= 2.4 (2012-04-29) =</p> <ul> <li>New option to clone the children of the original page</li> <li>Licence changed to GPLv2 or later</li> <li>Fixed publishing dates for drafts</li> <li>Fixed bug with prefix/suffix</li> <li>Translation project moved to GlotPress</li> </ul> <p>= 2.3 (2012-04-06) =</p> <ul> <li>Added options to choose where to show the &#34;Clone&#34; links</li> <li>Clone attachments (i.e. references in the DB, not physical files)</li> <li>Fix for untranslated user roles</li> <li>Some other fixes (missing checks, PHP warnings and errors, etc.)</li> </ul> <p>= 2.2 (2012-02-01) =</p> <ul> <li>Fix for problems when copying serialized meta fields</li> <li>Fix for multiple _dp_original field</li> <li>Removed deprecated parameter when adding options</li> </ul> <p>= 2.1.1 (2012-01-04) =</p> <ul> <li>Can&#39;t rely on activation hook for upgrade, this caused problems with new options</li> </ul> <p>= 2.1 (2012-01-03) =</p> <ul> <li>Even more code cleaning (no more custom queries, using WP API)</li> <li>Term order preserved when copying</li> <li>Stopped using deprecated User levels, now it uses Roles and Capabilities</li> <li>&#39;Copy to a new draft&#39; link in admin bar</li> <li>duplicate_post_get_original template tag</li> <li>Settings link in plugin list, &#39;Donate&#39; and &#39;Translate&#39; link in option page</li> </ul> <p>= 2.0.2 (2011-12-12) =</p> <ul> <li>Fixed bug for permalinks</li> <li>Two links on posts list: clone immediately or copy to a new draft to edit.</li> <li>Tested on multisite mode.</li> </ul> <p>= 2.0.1 (2011-12-08) =</p> <ul> <li>Fixed bug for action filters</li> <li>New option so you can choose if cloning from the posts list must copy the post status (draft, published, pending) too.</li> </ul> <p>= 2.0 (2011-12-08) =</p> <ul> <li>WP 3.3 compatibility (still not tested against multiblog feature, so beware)</li> <li>Minimum WP version: 3.0</li> <li>Code cleanup</li> <li>Immediate cloning from post list</li> <li>Added options for taxonomies and post excerpt</li> <li>Added suffix option</li> <li>Added template tag</li> </ul> <p>= 1.1.2 (2011-04-08) =</p> <ul> <li>WP 3.1.1 compatibility (still not tested against multiblog feature, so beware)</li> <li>Added complete Polish language files</li> </ul> <p>= 1.1.1 (2010-06-30) =</p> <ul> <li>Plugin split in two files for faster opening in Plugins list page</li> <li>fix conflicts with a few other plugins</li> <li>Added Dutch language files</li> </ul> <p>= 1.1 (2010-06-24) =</p> <ul> <li>WP 3.0 compatibility (not tested against multiblog feature, so beware)</li> <li>Option page: minimum user level, title prefix, fields not to be copied, copy post/page date also</li> <li>Added German, Swedish, Romanian, Hebrew, Catalan (incomplete) and Polish (incomplete) language files</li> </ul> <p>= 1.0 (2010-06-15) =</p> <ul> <li>Better integration with WP 2.7+ interface</li> <li>Added actions for plugins which store post metadata in self-managed tables</li> <li>Added French and Spanish language files</li> <li>Dropped WP 2.6.5 compatibility</li> </ul> <p>= 0.6.1 (2009-12-03) =</p> <ul> <li>Tested WP 2.9 compatibility</li> </ul> <p>= 0.6 (2007-07-21) =</p> <ul> <li>Fix for WP 2.8.1</li> <li>WPMU compatibility</li> <li>Internationalization (Italian and Japanese language files shipped)</li> </ul> <p>= 0.5 (2009-01-09) =</p> <ul> <li>Fix for post-meta</li> <li>WP2.7 compatibility</li> </ul> <p>= 0.4 (2008-11-23) =</p> <ul> <li>Support for new WP post revision feature</li> </ul> <p>= 0.3 (2008-03-01) =</p> <ul> <li>Initial version on WP repository</li> </ul> <p>== Contribute ==</p> <p>If you find this useful and if you want to contribute, there are two ways:</p> <ol> <li>Submit your bug reports, suggestions and requests for features on <a href="https://github.com/Yoast/duplicate-post" rel="nofollow">GitHub</a>;</li> <li>If you want to translate it to your language (there are just a few lines of text), you can use the <a href="https://translate.wordpress.org/projects/wp-plugins/duplicate-post" rel="nofollow">translation project</a>;</li> </ol>