Changelog
All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Unreleased - TBD
2.2.0 - 2025-09-08
Note that this release bumps the WordPress minimum supported version from 6.5 to 6.6.
Added
- The
distributor_register_datafunction that enables developers to register stored data references, such as IDs stored in post meta, shortcodes, or block attributes and define custom pre-distribution and post-distribution callbacks to process these references (props @iamdharmesh, @jeffpaul, @peterwilsoncc, @dkotter via #1302). - Add some default pre and post callback functions to the
distributor_register_datafunction, allowing easy processing of common entities like posts, terms, and media (props @iamdharmesh, @jeffpaul, @peterwilsoncc, @dkotter via #1309). - Ability to auto-distribute posts when turned on via a filter,
dt_auto_distribution_enabled(props @peterwilsoncc, @faisal-alvi, @jeffpaul, @dkotter via #1321).
Changed
- Bump WordPress "tested up to" version 6.8 (props @Sourabh208, @dkotter via #1311).
- Bump WordPress minimum to 6.6 (props @Sourabh208, @jeffpaul, @peterwilsoncc via #1312).
Fixed
- Ensure post data is slashed when sent via a subscription update (props @chandrapatel, @peterwilsoncc via #1310).
- Broken images in docs (props @GaryJones, @jeffpaul, @av3nger, @dkotter via #1319).
Security
- Prevent cross-site scripting vulnerabilities on the pull screen (props @iamdharmesh, @peterwilsoncc, @jeffpaul, @Sidsector9, @dkotter via #1273, #1274, #1316).
- Bump
wsfrom 7.5.10 to 8.18.0 and@wordpress/scriptsfrom 26.19.0 to 29.0.0 (props @dependabot, @Sidsector9 via #1270). - Bump
axiosfrom 1.7.4 to 1.9.0,body-parserfrom 1.20.2 to 1.20.3,expressfrom 4.19.2 to 4.21.2,@wordpress/e2e-test-utils-playwrightfrom 1.7.0 to 1.23.0,http-proxy-middlewarefrom 2.0.6 to 2.0.9,tar-fsfrom 3.0.4 to 3.0.8,serialize-javascriptfrom 6.0.1 to 6.0.2,mochafrom 10.2.0 to 11.3.0 andsendfrom 0.18.0 to 0.19.0; also removescookie(props @dependabot, @peterwilsoncc via #1314). - Bump
on-headersfrom 1.0.2 to 1.1.0 andcompressionfrom 1.7.4 to 1.8.1 (props @dependabot, @dkotter via #1325). - Bump
tmpfrom 0.2.1 to 0.2.5 and@wordpress/envfrom 10.5.0 to 10.29.0 (props @dependabot, @dkotter via #1334).
Developer
- Fix eslint errors (props @GaryJones, @iamdharmesh via #1320).
- Update all third-party actions our workflows rely on to use versions based on specific commit hashes (props @dkotter, @jeffpaul, @faisal-alvi via #1305).
- Fix featured media E2E tests (props @peterwilsoncc, @dkotter via #1332).
2.1.0 - 2025-02-10
Note that this release bumps the WordPress minimum supported version from 6.4 to 6.5.
Added
- When the setting to distribute all images is turned on, do a search/replace on the distributed content to update the image URLs from the origin site to the destination site (props @dkotter, @iamdharmesh, @willemb2, @dcarrionc, @lucymtc, @Sidsector9 via #1283).
Changed
- The default value of the filter
dt_sync_media_delete_and_replacehas been updated fromtruetofalse. This means by default, if an existing media item is found, it is not deleted and replaced, whereas previously it was (props @philbraun, @iamdharmesh, @jeffpaul, @peterwilsoncc via #1296). - Bump WordPress "tested up to" version 6.7 (props @jeffpaul, @qasumitbagthariya, @iamdharmesh via #1290).
- Bump WordPress minimum from 6.4 to 6.5 (props @jeffpaul, @qasumitbagthariya, @iamdharmesh via #1290).
Fixed
- Resolved the media duplication issue when the same image is used in multiple posts (props @philbraun, @iamdharmesh, @jeffpaul, @peterwilsoncc via #1296).
- Update the Show Connections AMP template to avoid a JS error (props @s3rgiosan, @dkotter via #1293).
Developer
2.0.6 - 2024-09-26
Changed
- Improved the management of pulled content both from the admin post list view and from the admin single post view, making it easier to see what content has been pulled and what content is linked or not linked, as well as making linking and unlinking clearer (props @roshniahuja, @faisal-alvi, @ravinderk, @iamdharmesh, @Sidsector9, @dkotter, @jeffpaul, @oszkarnagy via #1036).
Fixed
- Address creation of dynamic property warning in PHP 8.2+ (props @kirtangajjar, @Sidsector9, @peterwilsoncc via #1230).
Security
- Bump
axiosfrom 1.6.4 to 1.7.4 (props @dependabot, @iamdharmesh via #1260). - Bump
webpackfrom 5.89.0 to 5.94.0 (props @dependabot, @peterwilsoncc via #1263).
Developer
- Bump
@wordpress/envfrom 10.1.0 to 10.5.0 (props @peterwilsoncc, @faisal-alvi via #1236). - Update the
README.mdfile with proper repo badges, the plugin banner image and some minor text updates (props @jeffpaul, @dkotter via #1265).
2.0.5 - 2024-08-15
Note that Distributor now requires WordPress 6.4 or later.
Added
- Introduce "View all" post type view when pulling content from external connections (props @mehul0810, @ravinderk, @cadic, @peterwilsoncc, @ankitrox, @Sidsector9, @jeffpaul via #1002).
Changed
- Account for FSE post types in rest endpoints (props @mehul0810, @peterwilsoncc, @faisal-alvi via #1246).
- Bump WordPress "tested up to" version 6.6 (props @jeffpaul, @qasumitbagthariya, @dkotter via #1214, #1243).
- Bump WordPress minimum from 5.7 to 6.4 (props @jeffpaul, @dkotter via #1214, #1261).
Fixed
- Ensure you can publish distributed posts in WordPress 6.6 (props @claudiulodro, @phpbits, @faisal-alvi via #1252).
- Address an issue where the incorrect featured image can sometimes be pushed with a post (props @phpbits, @matthew-upslope, @dkotter, @faisal-alvi via #1254).
- Add a check to ensure a connection is internal and exit early if not (props @kirtangajjar, @peterwilsoncc via #1225).
- Ensure the proper admin CSS file loads (props @psorensen, @Sidsector9 via #1208).
- Address a PHP deprecation notice (props @kirtangajjar, @peterwilsoncc, @faisal-alvi via #1227).
- Ensure no errors occur in the synced patterns editor (props @kirtangajjar, @peterwilsoncc, @Sidsector9 via #1228).
- Undefined array key "id" warning on the Pull Content page (props @Sidsector9, @peterwilsoncc via #1247).
- PHP warning about invalid argument supplied for foreach in
\Distributor\Utils\prepare_meta()(props @dhanendran, @peterwilsoncc, @faisal-alvi, @kirtangajjar via #1167). - Deprecation notice in
PullListTablewhen distributed posts are not allowed to be edited (props @kirtangajjar, @faisal-alvi via #1245). - Undefined "id" notices showing in the error log (props @phpbits, @dkotter via #1253).
Security
- Bump
follow-redirectsfrom 1.15.4 to 1.15.6 (props @dependabot, @faisal-alvi via #1209). - Bump
ipfrom 1.1.8 to 1.1.9 (props @dependabot, @faisal-alvi via #1209). - Bump
jsdocfrom 3.6.11 to 4.0.2 (props @dependabot, @faisal-alvi via #1209). - Bump
webpack-dev-middlewarefrom 5.3.3 to 5.3.4 (props @dependabot, @faisal-alvi via #1209). - Bump
expressfrom 4.18.2 to 4.19.2 (props @dependabot[bot], @peterwilsoncc via #1213). - Bump
bracesfrom 3.0.2 to 3.03,pac-resolverfrom 7.0.0 to 7.0.1,socksfrom 2.7.1 to 2.8.3,wsfrom 7.5.9 to 7.5.10 and removeip(props @dependabot[bot], @Sidsector9 via #1234).
Developer
- "Testing" section in the
CONTRIBUTING.mdfile (props @kmgalanakis, @iamdharmesh, @jeffpaul via #1219). - Bumped
actions/upload-artifactfrom v3 to v4 (props @iamdharmesh, @jeffpaul via #1217). - Replaced
lee-dohm/no-responsewithactions/staleto help with closing no-response/stale issues (props @jeffpaul, @dkotter via #1206). - Use
GITHUB_OUTPUTenvvar instead ofset-outputcommand (props @arunsathiya, @iamdharmesh via #1178). - Fix some failing E2E tests (props @kirtangajjar, @iamdharmesh via #1242).
- Add
taffydbas devDependecy (props @dependabot, @faisal-alvi via #1209).
2.0.4 - 2024-02-29
Added
- Repo Automator GitHub Action to automate repo operations (props @iamdharmesh, @jeffpaul via #1191).
Changed
- Address typos across the codebase (props @szepeviktor, @peterwilsoncc via #1184).
Fixed
- Address an issue with data being cached incorrectly (props @leogermani, @peterwilsoncc via #1185).
2.0.3 - 2024-01-18
Added
- New filter,
dt_post_to_pull, that allows modifying the post to be pulled (props @leogermani, @peterwilsoncc, @dkotter via #1181).
Fixed
- Ensure the code snippet for keeping the original post date is correct (props @leogermani, @peterwilsoncc via #1160).
Security
- Bump
tj-actions/changed-filesfrom 36 to 41 (props @dependabot[bot], @peterwilsoncc via #1172). - Bump
@wordpress/scriptsfrom 26.6.0 to 26.19.0 (props @dependabot[bot], @iamdharmesh via #1174).
2.0.2 - 2023-11-29
Added
- New snippet detailing how to disable automatic content updates (props @dkotter, @peterwilsoncc via #1145).
Changed
- Show proper external connection status error messages when the status is checked (props @theskinnyghost, @peterwilsoncc via #1140).
- Updated our docs around how to connect two pieces of existing content (props @dkotter, @peterwilsoncc via #1145).
- Bump WordPress "tested up to" version 6.4 (props @severine-pozzo, @QAharshalkadu, @jeffpaul, @dkotter via #1151).
Fixed
- Copy the htaccess file when initializing the E2E test environment (props @peterwilsoncc, @theskinnyghost, @dkotter via #1143).
- Prevent early publishing of scheduled posts when pulled internally (props @peterwilsoncc, @jeffpaul, @dkotter, @maxledoux, @pcrumm via #1156).
- Avoid a PHP fatal error when pulling content that has previously been pulled into a different network site (props @dkotter, @jeffpaul, @peterwilsoncc via #1159).
Security
- Bump
postcssfrom 8.4.24 to 8.4.31 (props @dependabot[bot], @ravinderk via #1141). - Bump
@babel/traversefrom 7.22.5 to 7.23.2 (props @dependabot[bot], @peterwilsoncc via #1147).
2.0.1 - 2023-09-18
Changed
- Update from Cypress v10 to v13 (props @dkotter, @iamdharmesh, @peterwilsoncc via #1128).
- Documentation updates (props @jeffpaul, @peterwilsoncc via #1131).
Removed
- GitHub Actions for version 1.x releases (props @peterwilsoncc, @jeffpaul via #1135).
Fixed
- Invalid author IDs being set when pushing and pulling posts (props @peterwilsoncc, @faisal-alvi, @joemcgill, @margaretschneider via #1133).
- Featured image delete push issue (props @ravichdev, @helen, @dkotter, @adamsilverstein, @jeffpaul, @arsendovlatyan, @ravinderk, @peterwilsoncc via #310).
- Allow clicking on the
Save to draftconfirmation modal buttons (props @av3nger, @peterwilsoncc, @ravinderk, @pdewouters via #1042). - Admin icon has been updated so it has the same width and height (props @zach-adams, @ravinderk, @peterwilsoncc via #1132).
- Ensure our E2E tests pass on WordPress 6.3 (props @dkotter, @iamdharmesh, @peterwilsoncc via #1128).
2.0.0 - 2023-09-05
Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.
Please see the migration guide 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, @faisal-alvi, @jeffpaul via #996).
- Show count of selected connections in Push menu (props @roshniahuja, @peterwilsoncc, @jeffpaul via #1020).
- Reduce duplication when pulling posts (props @peterwilsoncc, @jeffpaul, @dkotter, @ravinderk via #1017).
- Post abstraction class (props @peterwilsoncc, @dkotter via #964).
dt_push_external_postanddt_push_network_postaction hooks (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).- Register scripts with
EnqueueScriptclass (props @ravinderk, @peterwilsoncc via #1014). - Snippets for setting meta data automatically (props @peterwilsoncc, @iamdharmesh via #1063).
- Documentation updates (props @adamsilverstein, @jeffpaul, @peterwilsoncc via #1066, #1072, #1112).
- End-to-end tests for minimum requirements (props @peterwilsoncc, @jeffpaul, @faisal-alvi via #936).
- Migrate WPAcceptance end-to-end tests to Cypress (props @cadic, @Sidsector9, @iamdharmesh, @jeffpaul, @peterwilsoncc via #941).
- Generate POT file with WP-CLI (props @ravinderk, @peterwilsoncc via #1014).
dt_before_set_meta,dt_prepared_metaanddt_prepared_taxonomy_termsfilter hooks (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Changed
- Now requires PHP 7.4 or later and WordPress 5.7 or later (props @peterwilsoncc, @vikrampm1, @iamdharmesh, @jeffpaul, @dkotter via #917).
- Descriptive warning message copy on remote, distributed posts (props @jeffpaul, @peterwilsoncc, @cadic via #1006).
- Indicate if the origin post has been deleted in Distributor push interface (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi via #1067).
- Toggles the Distributor admin bar element in Gutenberg based on the post status (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1022, #1114).
- Reduced duplicate code pushing posts to connections (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi, @aaronware via #999).
- Unified translator comments (props @peterwilsoncc, @cadic via #949).
- WordPress "tested up to" version 6.3 (props @jayedul, @faisal-alvi, @jeffpaul, @QAharshalkadu, @dkotter via #1047, #1118, #1123).
- Browserlist database updated to version 1.0.30001489 (props @peterwilsoncc, @dkotter via #1059).
- Build process now uses
@wordpress/scriptsin place of Gulp (props @peterwilsoncc, @dinhtungdu, @dkotter via #916). - Migrated E2E tests to Cypress (props @peterwilsoncc, @jeffpaul, @iamdharmesh via #1070).
- Update
dependency-review.yml(props @jeffpaul, @peterwilsoncc via #1054). - Order of operations setting meta, media and terms in the network push and pull functions (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
- Upgrade the Plugin Update Checker library from 4.13 to 5.1 (props @dkotter via #1124).
Deprecated
dt_push_postaction hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).
Removed
- Duplicate code modifying post/author meta data (props @peterwilsoncc, @dkotter via #988).
Fixed
- Author override fails in the block theme author block (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1035).
- Distribute empty taxonomies to external sites (props @peterwilsoncc, @manolobevia, @jeffpaul, @cadic via #951).
- Ensure post meta and terms have saved prior to distribution (props @peterwilsoncc, @dinhtungdu, @dkotter, @timstl, @faisal-alvi, @jeffpaul via #938).
- Fatal error in WordPress versions 6.0 and earlier (props @peterwilsoncc, @ravinderk via #1056).
- Handle a PHP deprecation notice around converting
falsetoarray(props @dkotter, @peterwilsoncc, @jeffpaul via #1040). - Improved accuracy of determining authentication endpoint (props @peterwilsoncc, @TimothyBJacobs, @cadic, @jeffpaul via #934).
- Inconsistent data returned from post abstraction after site switch on multisite (props @peterwilsoncc, @dkotter, @jeffpaul via #1010).
- Prevent the modification of terms on Distributed content (props @peterwilsoncc, @turtlepod, @jeffpaul, @ravinderk, @kmgalanakis-sage, @dkotter via #1069).
- Retain published time when editing distributed posts (props @madriverweb, @codiller, @peterwilsoncc, @Sidsector9 via #956).
- Undefined variable notice (props @peterwilsoncc, @Sidsector9, @jeffpaul via #945).
- Updated numerous strings to improve their translatability (props @helen, @peterwilsoncc, @Sidsector9 via #935).
- Account for relative scheme URLs when processing media (props @peterwilsoncc, @ravinderk, @jeffpaul via #1110).
Security
- Bump
loader-utilsfrom 2.0.2 to 2.0.4 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #963, #970). - Bump
simple-gitfrom 3.11.0 to 3.15.1 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #983). - Bump
webpackfrom 5.74.0 to 5.76.2 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #1029, #1032). - Bump
word-wrapfrom 1.2.3 to 1.2.4 (props @dependabot[bot], @peterwilsoncc via #1116).
1.9.1 - 2023-03-15
Security
- Removed potential for data exposure via the REST API (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-q43c-v867-4cfp).
1.9.0 - 2022-12-15
Changed
- Change uses of
blacklistand useexcludeinstead (props @dkotter, @jeffpaul, @peterwilsoncc via #961) - Indicate WordPress 6.1 support (props @peterwilsoncc, @faisal-alvi via #967).
Deprecated
- Deprecate the
Distributor\Utils\blacklisted_metafunction and thedt_blacklisted_metafilter (props @dkotter, @jeffpaul, @peterwilsoncc via #961).
Fixed
- Prevent distribution of classic editor plugin related meta data. (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #977).
- Return distributed author name when using the get_the_author_meta('display_name') function. (props @cadic, @ravinderk, @iamdharmesh, @mapamond, @peterwilsoncc, @jeffpaul, via #984, #952).
Other
- PHPCS workflow failures. (props @peterwilsoncc, @jeffpaul, @gsarig, @faisal-alvi via #969).
1.8.0 - 2022-09-29
Changed
- Upgrade the Plugin Update Checker library,
yahnis-elsts/plugin-update-checker, from 4.9 to 4.13 (props @dkotter, @jeffpaul, @peterwilsoncc via #937).
Other
- Automated creation of release pull requests (props @dinhtungdu, @peterwilsoncc, @faisal-alvi, @jeffpaul via #940).
- Use config files to determine version of node used in GitHub actions (props @peterwilsoncc, @Sidsector9, @jeffpaul via #933).
1.7.1 - 2022-08-04
Added
- Cypress E2E tests (props @dkotter, @faisal-alvi, @dinhtungdu, @iamdharmesh, @Sidsector9 via #900).
Fixed
- Ensure we don't lose the post_type value when pushing or pulling content (props @dkotter, @pdewouters, @andygagnon, @jmstew3 via #922).
1.7.0 - 2022-07-26
Added
- Ability to set user roles to pull content (props @faisal-alvi, @dkotter, @peterwilsoncc via #877).
- More robust PHP testing (props @dkotter, @peterwilsoncc, @jeffpaul via #853).
- Support for plugin auto-updates for registered sites (props @dhanendran, @jeffpaul, @dkotter, @sksaju via #726).
- Distributable post types made consistent (props @faisal-alvi, @dkotter, @peterwilsoncc via #907).
Changed
- Bump WordPress "tested up to" version 6.0 (props @jeffpaul, @lukaspawlik, @vikrampm1, @peterwilsoncc via #902).
- Removed system post types for External Connections. (props @dkotter, @faisal-alvi, @peterwilsoncc, @dinhtungdu, @jeffpaul via #898).
- The
Distributor > Pull Contentmenu is now be visible for all user roles. (props @faisal-alvi, @dkotter, @peterwilsoncc via #877). - Update how we check if someone is running a development version of Distributor (props @dkotter, @jeffpaul, @dinhtungdu via #882).
- GH Action used for deploy to GH Pages (props @iamdharmesh, @jeffpaul via #886).
Fixed
- Unicode characters not escaped correctly (props @amalajith, @dkotter, @cadic, @peterwilsoncc via #890).
- Manually entering a page number doesn't work on the Pull screen (props @faisal-alvi, @dkotter via #878).
- Account for plugin changes in test to determine editor type (classic or block). (props @peterwilsoncc, @faisal-alvi, @dinhtungdu, @jeffpaul via #894).
- Prevent conflict with
pre_post_linkfilter. (props @jeremyfelt, @peterwilsoncc, @jeffpaul, @dinhtungdu via #895).
Removed
- The
dt_capabilities&dt_pull_capabilitiesfilters are removed while displaying the menus. (props @faisal-alvi, @dkotter, @peterwilsoncc via #877). - Known Issue listing for full screen mode (issue fixed in 1.6.5). (props @faisal-alvi, @dkotter, @jeffpaul via #897).
Security
- build(deps): bump guzzlehttp/guzzle from 6.5.3 to 7.4.4 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #885, #891).
- build(deps): bump terser from 4.7.0 to 4.8.1 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #911).
1.6.9 - 2022-04-18
Added
- Dependency security scanning (props @jeffpaul, @dkotter via #869).
- Added new code snippet to Snippets page detailing how to remove canonical links (props @dkotter via #855).
Changed
- Update the version of the bundled Application Passwords plugin to 0.1.3 (props @claytoncollie, @Sidsector9 via #824).
- Clarified the instructions for setting up External Connections (props @skorasaurus, @jeffpaul via #838).
- Minor changes to the
remote_postmethod (props @dkotter, @cadic via #841). - Bump WordPress "tested up to" version to 5.9 (props @mohitwp, @jeffpaul, @iamdharmesh via #854).
Fixed
- Ensure content updates work for distributed items that use the block editor in WordPress 5.9+ (props @dkotter, @cadic via #845).
- Tidied up the position and style of the help icon that shows on the Distributor settings page (props @willhowat, @dkotter via #871).
Security
- Bump
tarfrom 4.4.8 to 4.4.19 (props @dependabot via #843). - Bump
ajvfrom 6.12.2 to 6.12.6 (props @dependabot via #849). - Bump
lodash.templatefrom 4.4.0 to 4.5.0 (props @dependabot via #850). - Bump
copy-propsfrom 2.0.4 to 2.0.5 (props @dependabot via #851). - Bump
guzzlehttp/psr7from 1.6.1 to 1.8.5 (props @dependabot via #866).
1.6.8 - 2022-02-02
Added
- New hook
dt_get_pull_content_rest_query_argsto filterWP_Queryargs for thelist-pull-contentREST endpoint (props @theskinnyghost, @dkotter via #839).
Changed
- Clear out a user's authorized site list instead of rebuilding it on site changes (props @dkotter , @cadic via #829).
Fixed
- Ensure the connection information we have is valid prior to using that for deletion (props @dkotter, @LucyTurtle via #830).
- Ensure users can enter a per page limit of greater than 100 and have that properly used on the Pull Content screen for External Connections (props @dkotter, @iamdharmesh, @jmstew3 via #831).
- Ensure the Snippets tutorials have a proper height (props @dkotter, @pcrumm via #836).
Security
- Bump
actions/checkoutin GitHub Action workflow files from v1/v2 to v2.4.0 (props @faisal-alvi via #828).
1.6.7 - 2021-11-09
Added
- Added
Snippetspage to Distributor's documentation site with helpful filters and callbacks (props @claytoncollie via #817).
Fixed
- Change how the
Newtab on the Pull Content screen is populated for External Connections (props @dkotter, @dinhtungdu, @cadic, @helen, @jjgrainger, @jakemgold, Lily Bonney, Mollie Pugh, Martina Haines via #811).
1.6.6 - 2021-09-28
Added
- Add filters to control terms and meta distribution for internal connections:
dt_push_post_metaanddt_push_post_terms(props @dinhtungdu, @dkotter via #800).
Fixed
- Ensure error messages are shown properly if an error happens during a push (props @dkotter, @Drmzindec via #803).
1.6.5 - 2021-09-01
Added
- Better support for the Block Editor's fullscreen mode via a new Distributor panel with a toggle option (props @dkotter, @dinhtungdu, @helen, @jeffpaul via #750, #790).
Update URIheader to ensure only legitimate Distributor updates are applied to this install (props @jeffpaul via #778).- Issue management automation via GitHub Actions (props @jeffpaul #782).
Changed
- Update
subscriptions.phphook priority so plugins hooked tosave_postcan process before syncing happens (props @pascalknecht, @dkotter, @dinhtungdu via #590). - Documentation updates (props @jeffpaul via #770).
Fixed
- Ensure original site information is set properly on content Pulled from external connections (props @dkotter, @justiny via #776).
- Ensure we are on a multisite before using
switch_to_blog(props @dkotter, @Drmzindec via #780).
Security
- Bump
y18nfrom 3.2.1 to 3.2.2 (props @dependabot via #747). - Bump
rmccue/requestsfrom 1.7.0 to 1.8.0 (props @dependabot via #756). - Bump
ssrifrom 6.0.1 to 6.0.2 (props @dependabot via #757). - Bump
lodashfrom 4.17.19 to 4.17.21 (props @dependabot via #759). - Bump
hosted-git-infofrom 2.8.8 to 2.8.9 (props @dependabot via #760). - Bump
path-parsefrom 1.0.6 to 1.0.7 (props @dependabot via #785).
1.6.4 - 2021-03-24
Added
- Plugin banner and icon assets (props @JackieKjome via #736).
Changed
- Continuous Integration: Switch from Travis to GH Actions for linting and PHPUnit testing (props @dinhtungdu via #663).
Fixed
- PHP fatal error with the
log_syncfunction (props @dkotter, @SieBer15 via #742). - UI bug that displayed incorrect options when switching External Connection types (props @dhanendran, @dkotter, @helen via #727).
Security
- Bump
ellipticfrom 6.5.3 to 6.5.4 (props @dependabot via #733). - Bump
yargs-parserfrom 5.0.0 to 5.0.1 (props @dependabot via #740).
1.6.3 - 2021-03-09
Added
- Ability to pull content in draft status, option to set
post_statusof pulled content (props @dkotter, @dinhtungdu, @francisco-domo via #701). - Introduce
View allpost type filter on Pull Content screen (props @elliott-stocks, @dkotter, @jeffpaul, @oszkarnagy via #725). - Add ability to Unskip or Pull items from the Skipped tab on the Pull screen (props @dkotter, @elliott-stocks, @jeffpaul, @oszkarnagy, @zacnboat via #728).
- Support for plugins / themes to add additional columns to the Pull Content list table (props @elliott-stocks via #721).
- Test coverage to ensure meta denylist is applied to attachments (props @dhanendran, @helen via #706).
Changed
- Notification text for added consistency (props @cdwieber, @jeffpaul via #696).
- Hide registration notice once Distributor has been successfully registered (props @dhanendran, @dkotter, @dinhtungdu, @hearvox via #702).
- Documentation updates (props @jeffpaul, @rosspbauer).
Fixed
- Allow pulled posts to use block editor (props @davidmpurdy, @dkotter via #581).
- Ensure Distributor push menu in adminbar displays for appropriate post types (props @dkotter, @avag-novembit, @jeffpaul via #694).
- Block editor check for posts that have no
post_contentset (props @dkotter, @andrewortolano, @xyralothep, @ggutenberg, @jmslbam via #710). - Pull Content UI errors that resulted in displaying incorrect post type content and PHP notices (props @dkotter, @grappler via #703).
- Reset the
last_changed_sitesoption when a new site is created, also ensures initialization works on sites created with WP CLI (props @dkotter, @sbrow, @helen via #716). - Ensure Bulk Skip option in Pull Content screen correctly skips posts (props @dhanendran, @dkotter, @jeffpaul, @zacnboat via #717).
1.6.2 - 2021-01-14
Fixed
- Handles case where Application Passwords is available in WordPress core starting with 5.6 (props @dinhtungdu, @dkotter, @jeffpaul, @j0HnC0untry, @dfardon, @anilpainuly121 via #676, #681, #682).
- Update bundled version of Application Passwords to 1.1.2 (props @dkotter, @vimalagarwalasentech via #693).
- Issue with HTML entity character encoding in a distributed post's title (props @dinhtungdu, @dkotter, @rickalee via #672).
- Bumped WordPress tested-up-to version to 5.6 (props @jeffpaul via #683).
- Moved readme screenshots to directory that won't be part of bundled release, helping to minimize the distributed ZIP file size (props @jeffpaul, @helen via #673).
Security
- Bump
inifrom 1.3.5 to 1.3.7 (props @dependabot via #680).
1.6.1 - 2020-11-19
Added
- Support for the official AMP plugin and front-end Push distribution via
amp-dev-modeand new Mustache templates (props @dkotter, @dinhtungdu, @rickalee via #665). - Better error reporting when creating External Connections and Pushing or Pulling content (props @dinhtungdu, @dkotter via #630).
Fixed
- Empty admin body class causing compatibility issues with other plugins' styling (props @dinhtungdu, @PaddyWhacks, @robcain via #654).
permission_callbackerror on WordPress 5.5 (props @dkotter via #632).
Security
- Bump
lodashfrom 4.17.15 to 4.17.19 (props @dependabot via #614). - Bump
ellipticfrom 6.5.2 to 6.5.3 (props @dependabot via #621). - Bump
dot-propfrom 4.2.0 to 4.2.1 (props @dependabot via #664).
1.6.0 - 2020-07-02
Added
- Authorization Setup Wizard for External Connections leveraging Application Passwords (props @adamsilverstein, @dkotter, @dinhtungdu, @helen, @jeffpaul, @hearvox via #368, #594, #601).
- "Select All" and "Clear" options in the Push menu (props @biggiebangle, @dkotter, @oszkarnagy, @helen via #495, #589).
- "Pull" row action in the Pull menu (props @lakrisgubben via #508).
- "View" link for distribguted posts in Push menu for External Connections (props @dinhtungdu, @PaddyWhacks via #571).
- Accessibility improvements (props @samikeijonen, @dinhtungdu, @dkotter via #558, #559, #560, #562, #565, #566, #569).
- Site Health integration to display Distributor debug information (props @dinhtungdu, @jeffpaul, @johnwatkins0, @dkotter via #517).
dt_syndicatable_capabilitiesfilter to Push menu (props @pragmatic-tf via #473).dt_subscription_post_timeoutfilter to modify request timeout (props @ahovhannissian, @dinhtungdu via #529).- Hook documentation GitHub Pages site generated by GitHub Actions (props @adamsilverstein, @helen, @jeffpaul via #448, #467, #474, #475, #476, #477, #478, #479, #482, #485, #545).
- JSON PHP extension as a Composer requirement (props @moebrowne, @adamsilverstein, @dinhtungdu via #460).
- GitHub Actions to build and add release asset (props @helen, @jeffpaul via #608).
- Documentation improvements (props @jeffpaul, @dmchale, @kant, @petenelson, @dinhtungdu, @jakemgold via #433, #462, #489, #513, #525, #528, #542, #544, #588, #598, #599).
Changed
- Internal distribution prepares posts the same for Push or Pull actions (props @rmarscher, @dinhtungdu via #169).
- Use filesystem for copying media when doing a network pull/push instead of
download_url()(props @petenelson, @dkotter, @dmaslogh, @Kpudlo via #567). - Redirect to pulled content tab after content is pulled (props @joshuaabenazer, @dkotter, @hearvox via #575).
- Remove
hoverIntentand add empty placeholder child item in Push menu to improve keyboard support (props @samikeijonen, @dinhtungdu, @dkotter via #564, #607). - Order of "View" and "Edit" links in the Pull menu to match WordPress standard order (props @jspellman814, @hearvox via #532).
- Show/hide credentials fields based on registration status on that Registration and Settings screen (props @dinhtungdu, @oszkarnagy via #543).
date()togmdate()per PHPCS (props @helen via #602).- Bumped WordPress version support to 5.3 (props @dkotter via #499).
- Update all packages and build process (props @adamsilverstein, @dkotter via #450).
- Run WP Acceptance tests in parallel in Travis (props @adamsilverstein via #439).
Fixed
- Block editor compatibility issues (@dkotter, @dinhtungdu via #579).
- Issue where push menu would disappear when push is in progress (props @dinhtungdu, @dkotter, @helen via #538).
- Undefined variable issue causing external pushes to not fully work (props @dkotter via #578).
- Check for value of remote post id to verify push result (props @dinhtungdu, @eriktad, @arsendovlatyan via #574).
- Issue with wrong permission route that causes External Connections to fail on creation (props @dinhtungdu, @dkotter via #570).
- Issue where view links for external connections are incorrect if it is set up with a trailing slash (props @dkotter via #586).
- Issue with timeouts on
ajax_verify_external_connection(props @madmax3365, @dinhtungdu via #245). - Issue where searching for posts during a multisite pull does not work correctly (props @petenelson, @dinhtungdu via #533).
- Issue where block content pulled through External Connections get converted to classic block (props @dinhtungdu, @jshwlkr via #534).
- Issue where shortcodes were not rendered when pulling content within a multisite instance (props @petenelson, @dkotter via #498).
- Issue where updating a post in a multisite environment was setting the distributed post's author to the current user rather than maintaining the original author (props @petenelson via #527).
- Issue where REST API field was not getting populated correctly (props @dinhtungdu, @dkotter, @ivanlopez via #519).
- Issue where terms/meta/etc. gets distributed when updating a previously distributed post (props @lakrisgubben, @dkotter via #518).
- Replace
has_blockswithuse_block_editor_for_postinis_using_gutenberg check(props @johnwatkins0, @dkotter via #514). - Issue where previously distributed posts appear as distributable for External Connections (props @madmax3365, @avag-novembit, @adamsilverstein via #444).
- Enable multisite support for VIP Go sites (props @dinhtungdu, @WPprodigy, @jonny-bull via #606).
- External connections page markup enhancements (props @joshuaabenazer, @samikeijonen via #576).
- Fixes and updates unit and acceptance tests, coding standards issues, and WordPress tested-up-to version (props @dinhtungdu via #603).
Security
- Bump
websocket-extensionsfrom 0.1.3 to 0.1.4 (props @dependabot via #587). - Bump
acornfrom 5.7.3 to 5.7.4 (props @dependabot via #548). - Bump
extendfrom 3.0.1 to 3.0.2 (props @dependabot via #447).
1.5.0 - 2019-07-18
Added
- Provide more context to the
dt_create_missing_termshook (props @mmcachran, @helen via #378) - Test against multiple WP Snapshot variations and block tests (props @adamsilverstein via #342 and #367)
- Documentation improvements (props @adamsilverstein, @jeffpaul, @arsendovlatyan via #352, #363, #403, #414, #415)
Changed
- More efficient method of generating internal connection data on push and pull screens (props @dkotter via #355)
- Lazy load available push connections in toolbar dropdown to avoid blocking page render (props @dkotter via #365)
- More performant retrieval and consistent ordering on the pull content screen (props @helen via #431 and #434)
- Unify args provided to the
dt_push_post_argsfilter (props @gthayer via #371) - Bumped WordPress version support to 5.2 (props @adamsilverstein, @jeffpaul via #376)
Fixed
- Avoid connection errors on the pull content screen for connections with a lot of pulled/skipped content (props @helen via #431)
- Pass slug when distributing terms to avoid duplicating terms with special characters or custom slugs (props @arsendovlatyan and @helen via #262)
- Simplify and avoid a fatal error in
is_using_gutenberg()(props @helen via #426) - Avoid PHP notices (props @grappler via #401 and @mrazzari via #420)
1.4.1 - 2019-03-15
Fixed
- Improve block editor detection, correcting an issue with post saving.
1.4.0 - 2019-03-07
Added
- Clearer instructions and help text when adding an external connection.
- Log image sideloading failures when using
DISTRIBUTOR_DEBUG.
Fixed
- Allow attachments to be distributed from local environments.
- Ensure pagination is reset when switching views on the pull content screen.
- Remove extraneous checkboxes from pulled content screen.
- Suppress a PHP warning when no meta is being distributed for attachments.
1.3.9 - 2019-02-21
Fixed
- Ensure posts distributed as draft can be published.
1.3.8 - 2019-01-30
Added
- Add
dt_after_set_metaaction. - Add
dt_process_subscription_attributesaction.
Fixed
- Ensure post types without excerpt support can be distributed.
1.3.7 - 2019-01-16
Added
- Distribute plaintext URLs instead of full markup for automatic embeds (oEmbeds). This was causing issues for non-privileged users where the markup was subject to sanitization/kses.
- Add
push/pullcontext toget_available_authorized_sites(). - Add
dt_allowed_media_extensionsanddt_media_processing_filenamefilters so that different media types or specific files can be detected and targeted.
Fixed
- Ensure media meta is passed through
prepare_meta()to apply the exclusion. This completes the generated image size info fix from 1.3.3. - Avoid a PHP notice when only using the block editor on the receiving site.
- Avoid a jQuery Migrate notice.
1.3.6 - 2018-12-19
Fixed (for WP 5.0 block editor)
- Properly detect block editor content.
- Show notices with actions.
- Ensure distributed posts can be published.
- Fully disable editing of classic blocks in distributed posts.
- Clean up distribution status display in side panel.
- Not block editor: Avoid notices on the pull content screen when no connections are set up yet.
1.3.5 - 2018-12-05
Added
- Add a
dt_available_pull_post_typesfilter to enable pulling of post types not registered on the destination site. NOTE: This requires custom handling to pull into an existing post type.
Fixed
- Avoid duplicating empty meta values.
- Align with JS i18n coming in WordPress 5.0.
1.3.4 - 2018-11-20
Added
- Provide
$taxonomyto thedt_update_term_hierarchyfilter.
Fixed
- Enable distribution of multiple meta values stored using the same key.
- Retain comment status, pingback status, and post passwords on pull.
1.3.3 - 2018-10-19
Fixed
- Do not interfere with non-subscription REST API requests.
- Retain generated image size info after media distribution.
1.3.2 - 2018-10-16
Fixed
- Correctly encode search query in the pull list.
- Properly check the key for subscription updates.
- Ensure featured images are properly detected from environments that type juggle.
- Add plugin icon to plugin update UI.
1.3.1 - 2018-10-09
Fixed
- Retain keys for associative array meta.
- Properly pass CPT slugs to external connections.
- Don't push updates to network sites that no longer exist.
- Escaping improvements.
- Stable build now only contains files necessary for production.
1.3.0 - 2018-09-20
Added
- Add a media processing option to only distribute the featured image instead of the featured image and all attached media.
Important note: This is now the default option for all sites. Attached media is often loosely correlated with media use and in-content media URLs are not rewritten on distribution, making local copies of most attached media unnecessary in default setups, even as they add significant overhead to distribution. To retain the previous behavior of distributing all attached media (children attachments), change the setting on the receiving site to Process the featured image and any attached images.
- Support pulling multiple post types for external connections.
This adds a post type selector when viewing the Pull Content list for both external and internal connections, which is both easier to use and more performant.
- Distributed copies of posts that are later permanently deleted are now marked as
skippedin the Pull Content list, making them available for pull again while not appearing as new content. - Add
dt_original_post_parentto post meta, allowing developers to better manage post parent handling.
Fixed
- Restore support for storing arrays in meta
- Don't show pushed posts as available for pull on the receiving site
- Correctly save screen options on Distributor pages
- Removed a redundant argument
- Code formatting fixes
1.2.3 - 2018-08-16
Fixed
- Issue that was hiding the "As Draft" checkbox on the push screen. We've introduced a new filter "dt_allow_as_draft_distribute" which can be set to false to disable the "as draft" checkbox.
1.2.2 - 2018-08-14
Added
- Helper function to return post statuses that are allowed to be distributed
- Utilize the og:url from Yoast for external connections
- Add new filters for authorized sites for internal connections
- Documentation and formatting updates
Changed
- Don’t set Distributor meta data on REST API post creation unless post was created by Distributor
- Exclude the
_wp_old_slugand_wp_old_datemeta - Disable pull UI while switching between pull connections
Fixed
- Issue where content pulled or skipped from an internal connection (in the Pull interface) would show up as "pulled" across all internal sites / connections. Backwards compatibility break: internal posts that were previously skipped or pulled will show as available for pull again in all internal sites.
1.2.1 - 2018-07-06
Fixed
- Block editor bugs; parent post bug.
1.2.0 - 2018-05-27
Added
- Block editor support, public release.
1.1.0 - 2018-01-19
Added
- WordPress.com Oauth2 authentication.
1.0.0 - 2016-09-26
- Initial closed release.