From 13946e5d31b60c90d4bdb20a006c92640b73e921 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Mon, 21 Aug 2023 11:40:10 -0600 Subject: [PATCH 01/11] Update version numbers to 2.0.0 --- distributor.php | 4 ++-- .../ExternalConnections/WordPressExternalConnection.php | 2 +- includes/rest-api.php | 2 +- package-lock.json | 4 ++-- package.json | 2 +- tests/php/bootstrap.php | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/distributor.php b/distributor.php index e031d2a56..76505a34b 100644 --- a/distributor.php +++ b/distributor.php @@ -4,7 +4,7 @@ * Plugin URI: https://github.com/10up/distributor * Update URI: https://distributorplugin.com * Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web. - * Version: 2.0.0-rc1 + * Version: 2.0.0 * Requires at least: 5.7 * Requires PHP: 7.4 * Author: 10up Inc. @@ -28,7 +28,7 @@ exit; // Exit if accessed directly. } -define( 'DT_VERSION', '2.0.0-rc1' ); +define( 'DT_VERSION', '2.0.0' ); define( 'DT_PLUGIN_FILE', preg_replace( '#^.*plugins/(.*)$#i', '$1', __FILE__ ) ); define( 'DT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'DT_PLUGIN_FULL_FILE', __FILE__ ); diff --git a/includes/classes/ExternalConnections/WordPressExternalConnection.php b/includes/classes/ExternalConnections/WordPressExternalConnection.php index 3668dd179..99cf8d086 100644 --- a/includes/classes/ExternalConnections/WordPressExternalConnection.php +++ b/includes/classes/ExternalConnections/WordPressExternalConnection.php @@ -276,7 +276,7 @@ public function remote_post( $url = '', $args = array() ) { && isset( $response_headers['x-distributor'] ) && ( ! isset( $response_headers['x-distributor-version'] ) - || version_compare( $response_headers['x-distributor-version'], '2.0.0-alpha', '<' ) + || version_compare( $response_headers['x-distributor-version'], '2.0.0', '<' ) ) ) { $version_error = new \WP_Error(); diff --git a/includes/rest-api.php b/includes/rest-api.php index 3ad3469eb..2445df0a5 100644 --- a/includes/rest-api.php +++ b/includes/rest-api.php @@ -379,7 +379,7 @@ function get_pull_content_permissions( $request ) { && null !== $request->get_param( 'distributor_request' ) && ( null === $request->get_header( 'X-Distributor-Version' ) - || version_compare( $request->get_header( 'X-Distributor-Version' ), '2.0.0-alpha', '<' ) + || version_compare( $request->get_header( 'X-Distributor-Version' ), '2.0.0', '<' ) ) ) { return new \WP_Error( diff --git a/package-lock.json b/package-lock.json index fb17111ca..e81390a68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "distributor", - "version": "2.0.0-rc.1", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "distributor", - "version": "2.0.0-rc.1", + "version": "2.0.0", "license": "GPL-2.0-or-later", "dependencies": { "mustache": "^4.2.0" diff --git a/package.json b/package.json index 293d85be0..d3b555540 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "distributor", - "version": "2.0.0-rc.1", + "version": "2.0.0", "description": "Distributor is a WordPress plugin that makes it easy to distribute and reuse content across your websites — whether in a single multisite or across the web.", "author": { "name": "10up", diff --git a/tests/php/bootstrap.php b/tests/php/bootstrap.php index 9ebbc224d..87309de9f 100644 --- a/tests/php/bootstrap.php +++ b/tests/php/bootstrap.php @@ -10,7 +10,7 @@ WP_Mock::bootstrap(); define( 'DT_PLUGIN_PATH', dirname( __DIR__, 2 ) ); -define( 'DT_VERSION', '2.0.0-rc1' ); +define( 'DT_VERSION', '2.0.0' ); require_once __DIR__ . '/includes/common.php'; require_once __DIR__ . '/includes/TestCase.php'; From 4053101d51481951f5360a36807e2195c6a21812 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Mon, 21 Aug 2023 11:40:19 -0600 Subject: [PATCH 02/11] Update CHANGELOG --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 299dfb4f3..e287d129a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ All notable changes to this project will be documented in this file, per [the Ke ## [2.0.0] - TBD **Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.** -_This entry was generated for the 2.0.0-rc1 release and will be updated during the Beta and Release Candidate processes._ - ### Added - Migration guide for version 1 to version 2 (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul) via [#996](https://github.com/10up/distributor/pull/996)). - Show count of selected connections in Push menu (props [@roshniahuja](https://github.com/roshniahuja), [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul) via [#1020](https://github.com/10up/distributor/pull/1020)). @@ -470,7 +468,7 @@ This adds a post type selector when viewing the Pull Content list for both exter - Initial closed release. [Unreleased]: https://github.com/10up/distributor/compare/trunk...develop -[2.0.0]: https://github.com/10up/distributor/compare/1.9.1...develop +[2.0.0]: https://github.com/10up/distributor/compare/1.9.1...2.0.0 [1.9.1]: https://github.com/10up/distributor/compare/1.9.0...1.9.1 [1.9.0]: https://github.com/10up/distributor/compare/1.8.0...1.9.0 [1.8.0]: https://github.com/10up/distributor/compare/1.7.1...1.8.0 From 6031fee81bf2bac619024958623bd911a008bf40 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Mon, 21 Aug 2023 11:40:37 -0600 Subject: [PATCH 03/11] Update docs to reference 2.0.0 instead of just 2 or 2.0 --- README.md | 2 +- docs/migration-guide-version-1-to-version-2.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 17ba03ee7..80c1184a5 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Distributor is built with the same extensible approach as WordPress itself, with * [WordPress](http://wordpress.org) 5.7+ * External connections require HTTP Basic Authentication or [WordPress.com OAuth2](https://developer.wordpress.com/docs/oauth2/) (must be on [WordPress VIP](https://wpvip.com/)) be set up on the remote website. For Basic Auth, we recommend using [Application Passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/#Getting-Credentials) built in to WordPress. * For external connections, Distributor needs to be installed on BOTH sides of the connection. -* Version 2 of Distributor requires version two on BOTH sides of all connections. +* Version 2.0.0 of Distributor requires version 2.0.0 on BOTH sides of all connections. ## Installation diff --git a/docs/migration-guide-version-1-to-version-2.md b/docs/migration-guide-version-1-to-version-2.md index c9436f447..ea3dd2802 100644 --- a/docs/migration-guide-version-1-to-version-2.md +++ b/docs/migration-guide-version-1-to-version-2.md @@ -1,10 +1,10 @@ -Version 2 of Distributor includes a number of breaking changes that will require updates to custom code you may have written for distributor. +Version 2.0.0 of Distributor includes a number of breaking changes that will require updates to custom code you may have written for distributor. -## External connections require a minimum of version 2.0 +## External connections require a minimum of version 2.0.0 It is recommended that both ends of an external connection run the same version of Distributor. -Version 2.0 of Distributor will prevent the pulling of posts from sites running Version 1.9.x or lower of Distributor. +Version 2.0.0 of Distributor will prevent the pulling of posts from sites running Version 1.9.x or lower of Distributor. ### Remove canonical links for both Internal and External Connections From eee7b4a59f509de47b14fdc713f7ad3da008279c Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Mon, 21 Aug 2023 11:45:11 -0600 Subject: [PATCH 04/11] Version update one more place --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 891a60f3a..821e6f10b 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: content, distribution, syndication, management Requires at least: 5.7 Tested up to: 6.2 Requires PHP: 7.4 -Stable tag: 1.9.1 +Stable tag: 2.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From 56e3fd445b6eaaf7135285e7ef8450d369ab0228 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Mon, 21 Aug 2023 12:19:16 -0600 Subject: [PATCH 05/11] Try and get E2E tests to run now that the Block Editor is loaded in an iframe --- tests/cypress/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cypress/config.js b/tests/cypress/config.js index 54b11bad6..103de3a39 100644 --- a/tests/cypress/config.js +++ b/tests/cypress/config.js @@ -2,6 +2,7 @@ const { defineConfig } = require( 'cypress' ); const { readConfig } = require( '@wordpress/env/lib/config' ); module.exports = defineConfig( { + chromeWebSecurity: false, fixturesFolder: 'tests/cypress/fixtures', screenshotsFolder: 'tests/cypress/screenshots', videosFolder: 'tests/cypress/videos', From 6ca00a7c842adf9ab218970a550406946970bd83 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Wed, 30 Aug 2023 10:58:02 -0600 Subject: [PATCH 06/11] Add links to the migration guide --- CHANGELOG.md | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e287d129a..a685f75a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ All notable changes to this project will be documented in this file, per [the Ke ## [2.0.0] - TBD **Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.** +Please see the [migration guide](https://10up.github.io/distributor/tutorial-migration-guide-version-1-to-version-2.html) for important changes between version 1 and version 2 that may require your action. + ### Added - Migration guide for version 1 to version 2 (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul) via [#996](https://github.com/10up/distributor/pull/996)). - Show count of selected connections in Push menu (props [@roshniahuja](https://github.com/roshniahuja), [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul) via [#1020](https://github.com/10up/distributor/pull/1020)). diff --git a/README.md b/README.md index 80c1184a5..28b51f767 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Distributor is built with the same extensible approach as WordPress itself, with * [WordPress](http://wordpress.org) 5.7+ * External connections require HTTP Basic Authentication or [WordPress.com OAuth2](https://developer.wordpress.com/docs/oauth2/) (must be on [WordPress VIP](https://wpvip.com/)) be set up on the remote website. For Basic Auth, we recommend using [Application Passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/#Getting-Credentials) built in to WordPress. * For external connections, Distributor needs to be installed on BOTH sides of the connection. -* Version 2.0.0 of Distributor requires version 2.0.0 on BOTH sides of all connections. +* Version 2.0.0 of Distributor requires version 2.0.0 on BOTH sides of all connections. For other version 2.0.0 specific changes, please see our [migration guide](https://10up.github.io/distributor/tutorial-migration-guide-version-1-to-version-2.html). ## Installation From 0bec81ef4fef865335bf34911b35fc7a2c476d86 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Thu, 31 Aug 2023 09:09:49 -0600 Subject: [PATCH 07/11] Bump WP tested up to version to 6.3 --- CHANGELOG.md | 2 +- README.md | 2 +- readme.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a685f75a9..9c3955904 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,7 @@ Please see the [migration guide](https://10up.github.io/distributor/tutorial-mig - Toggles the Distributor admin bar element in Gutenberg based on the post status (props [@ggutenberg](https://github.com/ggutenberg), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1022](https://github.com/10up/distributor/pull/1022), [#1114](https://github.com/10up/distributor/pull/1114)). - Reduced duplicate code pushing posts to connections (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@cadic](https://github.com/cadic), [@jeffpaul](https://github.com/jeffpaul), [@faisal-alvi](https://github.com/faisal-alvi), [@aaronware](https://github.com/aaronware) via [#999](https://github.com/10up/distributor/pull/999)). - Unified translator comments (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@cadic](https://github.com/cadic) via [#949](https://github.com/10up/distributor/pull/949)). -- WordPress "tested up to" version 6.2 (props [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul) via [#1047](https://github.com/10up/distributor/pull/1047)). +- WordPress "tested up to" version 6.3 (props [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#1047](https://github.com/10up/distributor/pull/1047), [#1123](https://github.com/10up/distributor/pull/1123)). - Browserlist database updated to version 1.0.30001489 (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@dkotter](https://github.com/dkotter) via [#1059](https://github.com/10up/distributor/pull/1059)). - Build process now uses `@wordpress/scripts` in place of Gulp (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@dinhtungdu](https://github.com/dinhtungdu), [@dkotter](https://github.com/dkotter) via [#916](https://github.com/10up/distributor/pull/916)). - Migrated E2E tests to Cypress (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh) via [#1070](https://github.com/10up/distributor/pull/1070)). diff --git a/README.md b/README.md index 28b51f767..613482d23 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > Distributor is a WordPress plugin that makes it easy to distribute and reuse content across your websites — whether in a single multisite or across the web. -[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Tests](https://github.com/10up/distributor/actions/workflows/test.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/test.yml) [![Linting](https://github.com/10up/distributor/actions/workflows/lint.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/lint.yml) [![Code scanning](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml) [![Release Version](https://img.shields.io/github/release/10up/distributor.svg)](https://github.com/10up/distributor/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.1%20tested-success.svg) [![License](https://img.shields.io/github/license/10up/distributor.svg)](https://github.com/10up/distributor/blob/develop/LICENSE.md) +[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Tests](https://github.com/10up/distributor/actions/workflows/test.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/test.yml) [![Linting](https://github.com/10up/distributor/actions/workflows/lint.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/lint.yml) [![Code scanning](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml) [![Release Version](https://img.shields.io/github/release/10up/distributor.svg)](https://github.com/10up/distributor/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.3%20tested-success.svg) [![License](https://img.shields.io/github/license/10up/distributor.svg)](https://github.com/10up/distributor/blob/develop/LICENSE.md) *You can learn more about Distributor's features at [DistributorPlugin.com](https://distributorplugin.com) and documentation at the [Distributor documentation site](https://10up.github.io/distributor/).* diff --git a/readme.txt b/readme.txt index 821e6f10b..f91f92d2e 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: 10up Tags: content, distribution, syndication, management Requires at least: 5.7 -Tested up to: 6.2 +Tested up to: 6.3 Requires PHP: 7.4 Stable tag: 2.0.0 License: GPLv2 or later From 1ad0c83ae7c3844f66282b300d9a94279dd2dee4 Mon Sep 17 00:00:00 2001 From: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Date: Fri, 1 Sep 2023 09:24:08 +1000 Subject: [PATCH 08/11] Add notes detailing REST API endpoint changes. --- docs/migration-guide-version-1-to-version-2.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/migration-guide-version-1-to-version-2.md b/docs/migration-guide-version-1-to-version-2.md index ea3dd2802..d0bc73d17 100644 --- a/docs/migration-guide-version-1-to-version-2.md +++ b/docs/migration-guide-version-1-to-version-2.md @@ -27,3 +27,20 @@ add_action( 'plugins_loaded', function() { remove_filter( 'wpseo_canonical', '\\Distributor\\Hooks\\wpseo_canonical', 10, 2 ); } ); ``` + +### REST API Changes + +The distributor REST API endpoint at `/wp/v2/distributor/list-pull-content` has been modified substantially and will now reject connections from 1.x versions of Distributor. + +The fields returned by the endpoint have been modified to match the names used by `wp_insert_post` and `wp_update_post`. + +#### Additional parameters + +* `include` (Array|Int): Ensure result set includes specific Post IDs. Default empty. +* `order` (`asc`|`desc`): Specify order of returned data. Default `desc`. +* `orderby` (`author`|`date`|`id`|`include`|`modified`|`parent`|`relevance`|`slug`|`title`): Field to order results by. Default `date`, `relevance` for search queries. + +#### Modified parameters + +* `post_type` (String|String[]): Modified to accept multiple post types. Post types are limited to posts the connected account can edit, are public post types and visible in the WordPress REST API's standard endpoints. Default `post`. +* `post_status` (String|String[]): Modified to accept multiple post statuses. Statuses are limited to public statuses only. Default `publish`. From 168309eddc1429e2b29b7a0eb733d91a17ff8c23 Mon Sep 17 00:00:00 2001 From: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Date: Fri, 1 Sep 2023 09:36:48 +1000 Subject: [PATCH 09/11] Warn of deprecated action. --- docs/migration-guide-version-1-to-version-2.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/migration-guide-version-1-to-version-2.md b/docs/migration-guide-version-1-to-version-2.md index d0bc73d17..de441df5f 100644 --- a/docs/migration-guide-version-1-to-version-2.md +++ b/docs/migration-guide-version-1-to-version-2.md @@ -44,3 +44,9 @@ The fields returned by the endpoint have been modified to match the names used b * `post_type` (String|String[]): Modified to accept multiple post types. Post types are limited to posts the connected account can edit, are public post types and visible in the WordPress REST API's standard endpoints. Default `post`. * `post_status` (String|String[]): Modified to accept multiple post statuses. Statuses are limited to public statuses only. Default `publish`. + +### `dt_push_post` action deprecated + +The `dt_push_post` action has been deprecated in favor of two actions: `dt_push_external_post` and `dt_push_network_post`. + +Extenders using the old action are advised to switch to the new actions as a matter of priority. The deprecated action had conflicting arguments so can not be relied upon to pass data consistently. From 22b062626ee1308e7cff22beb490b24e8b8c696f Mon Sep 17 00:00:00 2001 From: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Date: Fri, 1 Sep 2023 09:41:30 +1000 Subject: [PATCH 10/11] Translation notes. --- docs/migration-guide-version-1-to-version-2.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/migration-guide-version-1-to-version-2.md b/docs/migration-guide-version-1-to-version-2.md index de441df5f..34c17f540 100644 --- a/docs/migration-guide-version-1-to-version-2.md +++ b/docs/migration-guide-version-1-to-version-2.md @@ -50,3 +50,9 @@ The fields returned by the endpoint have been modified to match the names used b The `dt_push_post` action has been deprecated in favor of two actions: `dt_push_external_post` and `dt_push_network_post`. Extenders using the old action are advised to switch to the new actions as a matter of priority. The deprecated action had conflicting arguments so can not be relied upon to pass data consistently. + +### Internationalization improvements + +The generation of translation files has been updated to include strings included in JavaScript files. + +Version 2.0.0 of Distributor has also improved pluralization of strings and combined similar strings to reduce the burden on translators. From 1d4d0f4e6e5df80188f628f389d8e979408492d1 Mon Sep 17 00:00:00 2001 From: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:13:31 +1000 Subject: [PATCH 11/11] Add plugin updater upgrade to changelog. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c3955904..e95fe682c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ Please see the [migration guide](https://10up.github.io/distributor/tutorial-mig - Migrated E2E tests to Cypress (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh) via [#1070](https://github.com/10up/distributor/pull/1070)). - Update `dependency-review.yml` (props [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1054](https://github.com/10up/distributor/pull/1054)). - Order of operations setting meta, media and terms in the network push and pull functions (props [@sethrubenstein](https://github.com/sethrubenstein), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1095](https://github.com/10up/distributor/pull/1095)). +- Upgrade the Plugin Update Checker library from 4.13 to 5.1 (props [@dkotter](https://github.com/dkotter) via [#1124](https://github.com/10up/distributor/pull/1124)). ### Deprecated - `dt_push_post` action hook (props [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc), [@dhanendran](https://github.com/dhanendran), [@ravinderk](https://github.com/ravinderk), [@jeffpaul](https://github.com/jeffpaul) via [#1024](https://github.com/10up/distributor/pull/1024)).