{"id":169541,"date":"2023-02-15T09:10:47","date_gmt":"2023-02-15T09:10:47","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/distributor-remote-quickedit\/"},"modified":"2023-10-20T01:24:55","modified_gmt":"2023-10-20T01:24:55","slug":"distributor-remote-quickedit","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/distributor-remote-quickedit\/","author":7673952,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.2","stable_tag":"0.2.2","tested":"6.3.8","requires":"5.1.0","requires_php":"7.0","requires_plugins":null,"header_name":"Distributor - Remote Quickedit","header_author":"Carsten Bach","header_description":"Re-enable quickedit for distributed posts on the receiving site. This allows to make changes to the original post from the remote site.","assets_banners_color":"f7f7f7","last_updated":"2023-10-20 01:24:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/carstingaxion\/distributor-remote-quickedit","header_author_uri":"https:\/\/carsten-bach.de","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1055,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq"],"tags":{"0.2.2":{"tag":"0.2.2","author":"carstenbach","date":"2023-10-20 01:24:55"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2865529,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2865529,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2865529,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2865529,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[62666,151963],"plugin_category":[],"plugin_contributors":[86322],"plugin_business_model":[216239],"class_list":["post-169541","plugin","type-plugin","status-publish","hentry","plugin_tags-distributor","plugin_tags-quickedit","plugin_contributors-carstenbach","plugin_business_model-community","plugin_committers-carstenbach"],"banners":{"banner":"https:\/\/ps.w.org\/distributor-remote-quickedit\/assets\/banner-772x250.png?rev=2865529","banner_2x":"https:\/\/ps.w.org\/distributor-remote-quickedit\/assets\/banner-1544x500.png?rev=2865529","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/distributor-remote-quickedit\/assets\/icon-128x128.png?rev=2865529","icon_2x":"https:\/\/ps.w.org\/distributor-remote-quickedit\/assets\/icon-256x256.png?rev=2865529","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Re-enable quickedit for distributed posts on the receiving site within a multisite network. This allows you to make changes to the original post from the remote site. This is a small add-on for the glorious <a href=\"https:\/\/distributorplugin.com\/\">Distributor<\/a> plugin by <em>10up<\/em>.<\/p>\n\n<p>This Add-on is maintained at and deployed from <a href=\"https:\/\/github.com\/carstingaxion\/distributor-remote-quickedit\">carstingaxion\/distributor-remote-quickedit<\/a> on github.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Use native WordPress quickedit on the receiving side of a distributed post to make minor changes, which is disabled by the <em>Distributor<\/em>-plugin by default.<\/li>\n<\/ul>\n\n<h3>Compatibility<\/h3>\n\n<p>This plugin is an add-on for &amp; requires:<\/p>\n\n<ul>\n<li>Distributor (<a href=\"https:\/\/distributorplugin.com\/\">Website<\/a>|<a href=\"https:\/\/github.com\/10up\/distributor\">GitHub<\/a>) (<em>only tested up to version 1.9.1, maybe not yet ready for the new 2.0.x<\/em>)<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p><strong><em>This plugin does nothing by default.<\/em><\/strong><\/p>\n\n<p>Being able to modify posts, that were syndicated from a remote source, is a risky thing. To prevent any unwanted side-effects you have to pro-actively enable this plugin by code.<\/p>\n\n<p>In order to re-enable the quick-edit functionality for a particular post_type you need to call <code>add_post_type_support()<\/code> for a support-feature called <em><code>distributor-remote-quickedit<\/code><\/em>. Do this for every desired post_type before this plugin loads.<\/p>\n\n<p>With a post_type of <code>book<\/code>, you could do it like so:<\/p>\n\n<pre><code>add_action( 'admin_init', function () {\n    add_post_type_support( 'book', 'distributor-remote-quickedit' );\n}, 9 );\n<\/code><\/pre>\n\n<p><strong>It's important to declare your post_type_supports before the plugin is executed on <code>admin_init<\/code> with a default priority of <code>10<\/code>!<\/strong><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20work%20with%20wordpress%20multisite%3F'><h3>Does this plugin work with WordPress Multisite?<\/h3><\/dt>\n<dd><p>Yes, it is made for multisites with internal distribution setup.<\/p><\/dd>\n<dt id='the%20distributor%20plugin%20disables%20the%20use%20of%20quickedit%20for%20reasons.%20why%20would%20i%20want%20to%20change%20that%3F'><h3>The Distributor plugin disables the use of quickedit for reasons. Why would I want to change that?<\/h3><\/dt>\n<dd><p>It totally depends on your use case ;)<\/p>\n\n<p>In our case, on a large multisite network, there was only one out of almost 20 post_types, that needed this <em>feature<\/em>, for sure - real-world-use-cases may be rare.<\/p>\n\n<!-- changelog --><\/dd>\n\n<\/dl>","raw_excerpt":"Re-enable quickedit for distributed posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/169541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=169541"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/carstenbach"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=169541"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=169541"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=169541"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=169541"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=169541"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=169541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}