Releases: 10up/distributor
Releases · 10up/distributor
1.3.7
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
/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.
Fixed
- Ensure media meta is passed through
prepare_meta()
to apply the blacklist. 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
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
Added
- 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.
Fixed
- Avoid duplicating empty meta values.
- Align with JS i18n coming in WordPress 5.0.
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
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
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.
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
1.2.2
- Fixed an 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.
- Don’t set Distributor meta data on REST API post creation unless post was created by Distributor
- Add helper function to return post statuses that are allowed to be distributed
- Utilize the og:url from Yoast for external connections
- Blacklist the _wp_old_slug and _wp_old_date meta
- Disable pull UI while switching between pull connections
- Add new filters for authorized sites for internal connections
- Documentation and formatting updates