All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Unreleased - TBD
2.0.6 - 2024-09-26
- 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).
- Address creation of dynamic property warning in PHP 8.2+ (props @kirtangajjar, @Sidsector9, @peterwilsoncc via #1230).
- Bump
axios
from 1.6.4 to 1.7.4 (props @dependabot, @iamdharmesh via #1260). - Bump
webpack
from 5.89.0 to 5.94.0 (props @dependabot, @peterwilsoncc via #1263).
- Bump
@wordpress/env
from 10.1.0 to 10.5.0 (props @peterwilsoncc, @faisal-alvi via #1236). - Update the
README.md
file 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.
- Introduce "View all" post type view when pulling content from external connections (props @mehul0810, @ravinderk, @cadic, @peterwilsoncc, @ankitrox, @Sidsector9, @jeffpaul via #1002).
- 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).
- 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
PullListTable
when 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).
- Bump
follow-redirects
from 1.15.4 to 1.15.6 (props @dependabot, @faisal-alvi via #1209). - Bump
ip
from 1.1.8 to 1.1.9 (props @dependabot, @faisal-alvi via #1209). - Bump
jsdoc
from 3.6.11 to 4.0.2 (props @dependabot, @faisal-alvi via #1209). - Bump
webpack-dev-middleware
from 5.3.3 to 5.3.4 (props @dependabot, @faisal-alvi via #1209). - Bump
express
from 4.18.2 to 4.19.2 (props @dependabot[bot], @peterwilsoncc via #1213). - Bump
braces
from 3.0.2 to 3.03,pac-resolver
from 7.0.0 to 7.0.1,socks
from 2.7.1 to 2.8.3,ws
from 7.5.9 to 7.5.10 and removeip
(props @dependabot[bot], @Sidsector9 via #1234).
- "Testing" section in the
CONTRIBUTING.md
file (props @kmgalanakis, @iamdharmesh, @jeffpaul via #1219). - Bumped
actions/upload-artifact
from v3 to v4 (props @iamdharmesh, @jeffpaul via #1217). - Replaced
lee-dohm/no-response
withactions/stale
to help with closing no-response/stale issues (props @jeffpaul, @dkotter via #1206). - Use
GITHUB_OUTPUT
envvar instead ofset-output
command (props @arunsathiya, @iamdharmesh via #1178). - Fix some failing E2E tests (props @kirtangajjar, @iamdharmesh via #1242).
- Add
taffydb
as devDependecy (props @dependabot, @faisal-alvi via #1209).
2.0.4 - 2024-02-29
- Repo Automator GitHub Action to automate repo operations (props @iamdharmesh, @jeffpaul via #1191).
- Address typos across the codebase (props @szepeviktor, @peterwilsoncc via #1184).
- Address an issue with data being cached incorrectly (props @leogermani, @peterwilsoncc via #1185).
2.0.3 - 2024-01-18
- New filter,
dt_post_to_pull
, that allows modifying the post to be pulled (props @leogermani, @peterwilsoncc, @dkotter via #1181).
- Ensure the code snippet for keeping the original post date is correct (props @leogermani, @peterwilsoncc via #1160).
- Bump
tj-actions/changed-files
from 36 to 41 (props @dependabot[bot], @peterwilsoncc via #1172). - Bump
@wordpress/scripts
from 26.6.0 to 26.19.0 (props @dependabot[bot], @iamdharmesh via #1174).
2.0.2 - 2023-11-29
- New snippet detailing how to disable automatic content updates (props @dkotter, @peterwilsoncc via #1145).
- 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).
- 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).
- Bump
postcss
from 8.4.24 to 8.4.31 (props @dependabot[bot], @ravinderk via #1141). - Bump
@babel/traverse
from 7.22.5 to 7.23.2 (props @dependabot[bot], @peterwilsoncc via #1147).
2.0.1 - 2023-09-18
- Update from Cypress v10 to v13 (props @dkotter, @iamdharmesh, @peterwilsoncc via #1128).
- Documentation updates (props @jeffpaul, @peterwilsoncc via #1131).
- GitHub Actions for version 1.x releases (props @peterwilsoncc, @jeffpaul via #1135).
- 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 draft
confirmation 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.
- 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_post
anddt_push_network_post
action hooks (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).- Register scripts with
EnqueueScript
class (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_meta
anddt_prepared_taxonomy_terms
filter hooks (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
- 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/scripts
in 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).
dt_push_post
action hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).
- Duplicate code modifying post/author meta data (props @peterwilsoncc, @dkotter via #988).
- 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
false
toarray
(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).
- Bump
loader-utils
from 2.0.2 to 2.0.4 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #963, #970). - Bump
simple-git
from 3.11.0 to 3.15.1 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #983). - Bump
webpack
from 5.74.0 to 5.76.2 (props @dependabot[bot], @jeffpaul, @peterwilsoncc via #1029, #1032). - Bump
word-wrap
from 1.2.3 to 1.2.4 (props @dependabot[bot], @peterwilsoncc via #1116).
1.9.1 - 2023-03-15
- Removed potential for data exposure via the REST API (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-q43c-v867-4cfp).
1.9.0 - 2022-12-15
- Change uses of
blacklist
and useexclude
instead (props @dkotter, @jeffpaul, @peterwilsoncc via #961) - Indicate WordPress 6.1 support (props @peterwilsoncc, @faisal-alvi via #967).
- Deprecate the
Distributor\Utils\blacklisted_meta
function and thedt_blacklisted_meta
filter (props @dkotter, @jeffpaul, @peterwilsoncc via #961).
- 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).
- PHPCS workflow failures. (props @peterwilsoncc, @jeffpaul, @gsarig, @faisal-alvi via #969).
1.8.0 - 2022-09-29
- Upgrade the Plugin Update Checker library,
yahnis-elsts/plugin-update-checker
, from 4.9 to 4.13 (props @dkotter, @jeffpaul, @peterwilsoncc via #937).
- 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
- Cypress E2E tests (props @dkotter, @faisal-alvi, @dinhtungdu, @iamdharmesh, @Sidsector9 via #900).
- 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
- 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).
- 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 Content
menu 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).
- 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_link
filter. (props @jeremyfelt, @peterwilsoncc, @jeffpaul, @dinhtungdu via #895).
- The
dt_capabilities
&dt_pull_capabilities
filters 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).
- 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
- 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).
- 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_post
method (props @dkotter, @cadic via #841). - Bump WordPress "tested up to" version to 5.9 (props @mohitwp, @jeffpaul, @iamdharmesh via #854).
- 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).
- Bump
tar
from 4.4.8 to 4.4.19 (props @dependabot via #843). - Bump
ajv
from 6.12.2 to 6.12.6 (props @dependabot via #849). - Bump
lodash.template
from 4.4.0 to 4.5.0 (props @dependabot via #850). - Bump
copy-props
from 2.0.4 to 2.0.5 (props @dependabot via #851). - Bump
guzzlehttp/psr7
from 1.6.1 to 1.8.5 (props @dependabot via #866).
1.6.8 - 2022-02-02
- New hook
dt_get_pull_content_rest_query_args
to filterWP_Query
args for thelist-pull-content
REST endpoint (props @theskinnyghost, @dkotter via #839).
- Clear out a user's authorized site list instead of rebuilding it on site changes (props @dkotter , @cadic via #829).
- 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).
- Bump
actions/checkout
in GitHub Action workflow files from v1/v2 to v2.4.0 (props @faisal-alvi via #828).
1.6.7 - 2021-11-09
- Added
Snippets
page to Distributor's documentation site with helpful filters and callbacks (props @claytoncollie via #817).
- Change how the
New
tab 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
- Add filters to control terms and meta distribution for internal connections:
dt_push_post_meta
anddt_push_post_terms
(props @dinhtungdu, @dkotter via #800).
- Ensure error messages are shown properly if an error happens during a push (props @dkotter, @Drmzindec via #803).
1.6.5 - 2021-09-01
- 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 URI
header to ensure only legitimate Distributor updates are applied to this install (props @jeffpaul via #778).- Issue management automation via GitHub Actions (props @jeffpaul #782).
- Update
subscriptions.php
hook priority so plugins hooked tosave_post
can process before syncing happens (props @pascalknecht, @dkotter, @dinhtungdu via #590). - Documentation updates (props @jeffpaul via #770).
- 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).
- Bump
y18n
from 3.2.1 to 3.2.2 (props @dependabot via #747). - Bump
rmccue/requests
from 1.7.0 to 1.8.0 (props @dependabot via #756). - Bump
ssri
from 6.0.1 to 6.0.2 (props @dependabot via #757). - Bump
lodash
from 4.17.19 to 4.17.21 (props @dependabot via #759). - Bump
hosted-git-info
from 2.8.8 to 2.8.9 (props @dependabot via #760). - Bump
path-parse
from 1.0.6 to 1.0.7 (props @dependabot via #785).
1.6.4 - 2021-03-24
- Plugin banner and icon assets (props @JackieKjome via #736).
- Continuous Integration: Switch from Travis to GH Actions for linting and PHPUnit testing (props @dinhtungdu via #663).
- PHP fatal error with the
log_sync
function (props @dkotter, @SieBer15 via #742). - UI bug that displayed incorrect options when switching External Connection types (props @dhanendran, @dkotter, @helen via #727).
- Bump
elliptic
from 6.5.3 to 6.5.4 (props @dependabot via #733). - Bump
yargs-parser
from 5.0.0 to 5.0.1 (props @dependabot via #740).
1.6.3 - 2021-03-09
- Ability to pull content in draft status, option to set
post_status
of pulled content (props @dkotter, @dinhtungdu, @francisco-domo via #701). - Introduce
View all
post 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).
- 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).
- 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_content
set (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_sites
option 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
- 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).
- Bump
ini
from 1.3.5 to 1.3.7 (props @dependabot via #680).
1.6.1 - 2020-11-19
- Support for the official AMP plugin and front-end Push distribution via
amp-dev-mode
and 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).
- Empty admin body class causing compatibility issues with other plugins' styling (props @dinhtungdu, @PaddyWhacks, @robcain via #654).
permission_callback
error on WordPress 5.5 (props @dkotter via #632).
- Bump
lodash
from 4.17.15 to 4.17.19 (props @dependabot via #614). - Bump
elliptic
from 6.5.2 to 6.5.3 (props @dependabot via #621). - Bump
dot-prop
from 4.2.0 to 4.2.1 (props @dependabot via #664).
1.6.0 - 2020-07-02
- 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_capabilities
filter to Push menu (props @pragmatic-tf via #473).dt_subscription_post_timeout
filter 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).
- 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
hoverIntent
and 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).
- 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_blocks
withuse_block_editor_for_post
inis_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).
- Bump
websocket-extensions
from 0.1.3 to 0.1.4 (props @dependabot via #587). - Bump
acorn
from 5.7.3 to 5.7.4 (props @dependabot via #548). - Bump
extend
from 3.0.1 to 3.0.2 (props @dependabot via #447).
1.5.0 - 2019-07-18
- Provide more context to the
dt_create_missing_terms
hook (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)
- 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_args
filter (props @gthayer via #371) - Bumped WordPress version support to 5.2 (props @adamsilverstein, @jeffpaul via #376)
- 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
- Improve block editor detection, correcting an issue with post saving.
1.4.0 - 2019-03-07
- Clearer instructions and help text when adding an external connection.
- Log image sideloading failures when using
DISTRIBUTOR_DEBUG
.
- 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
- Ensure posts distributed as draft can be published.
1.3.8 - 2019-01-30
- Add
dt_after_set_meta
action. - Add
dt_process_subscription_attributes
action.
- Ensure post types without excerpt support can be distributed.
1.3.7 - 2019-01-16
- 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
/pull
context toget_available_authorized_sites()
. - Add
dt_allowed_media_extensions
anddt_media_processing_filename
filters so that different media types or specific files can be detected and targeted.
- 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
- 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
- Add a
dt_available_pull_post_types
filter to enable pulling of post types not registered on the destination site. NOTE: This requires custom handling to pull into an existing post type.
- Avoid duplicating empty meta values.
- Align with JS i18n coming in WordPress 5.0.
1.3.4 - 2018-11-20
- Provide
$taxonomy
to thedt_update_term_hierarchy
filter.
- 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
- Do not interfere with non-subscription REST API requests.
- Retain generated image size info after media distribution.
1.3.2 - 2018-10-16
- 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
- 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
- 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
skipped
in the Pull Content list, making them available for pull again while not appearing as new content. - Add
dt_original_post_parent
to post meta, allowing developers to better manage post parent handling.
- 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
- 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
- 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
- Don’t set Distributor meta data on REST API post creation unless post was created by Distributor
- Exclude the
_wp_old_slug
and_wp_old_date
meta - Disable pull UI while switching between pull connections
- 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
- Block editor bugs; parent post bug.
1.2.0 - 2018-05-27
- Block editor support, public release.
1.1.0 - 2018-01-19
- WordPress.com Oauth2 authentication.
1.0.0 - 2016-09-26
- Initial closed release.