Skip to content

Commit

Permalink
Update for 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
helen committed Jan 16, 2019
1 parent a749c17 commit f9fc763
Show file tree
Hide file tree
Showing 20 changed files with 158 additions and 57 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file, per [the Keep a Changelog standard](http://keepachangelog.com/).

## [ 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`/`pull` context to `get_available_authorized_sites()`.
* Add `dt_allowed_media_extensions` and `dt_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 ] - 2018-12-19
### Fixed (for WP 5.0 block editor)
* Properly detect block editor content.
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ In addition, in order for distribution to work with external connections that ha

__Backwards Compatibility__ - While we strive to be mindful of backwards compatibility much the same way WordPress itself is, we do not currently guarantee continued interoperability between different versions of Distributor. We assume the current userbase for this plugin has a high degree of control over any site that has been set up as an external connection and urge you to keep Distributor up to date.

__oEmbeds__ - oEmbeds are currently distributed as fully-formed HTML which may not be retained correctly if a user without the `unfiltered_html` capability later edits the post. A fix for the issue is forthcoming; in the meantime, we recommend removing the `autoembed` filter from `the_content` when content is being prepared for distribution.

## Developers

### Testing
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"name": "10up/distributor",
"type": "wordpress-plugin",
"authors": [
{
"name": "Taylor Lovett",
"email": "[email protected]"
}
{
"name": "Taylor Lovett",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.6",
"php": ">=5.6",
"yahnis-elsts/plugin-update-checker": "^4.4"
},
"autoload": {
"psr-4": {
"Distributor\\": "includes/classes/"
}
"psr-4": {
"Distributor\\": "includes/classes/"
}
},
"require-dev": {
"10up/wp_mock": "dev-dev",
"10up/phpcs-composer": "dev-master",
"phpunit/phpunit": "^6.5",
"10up/wpassure": "~0.9"
"10up/wpacceptance": "~0.10.0"
},
"scripts": {
"lint": "phpcs .",
Expand Down
2 changes: 1 addition & 1 deletion dist/js/admin-distributed-post.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/admin-external-connection.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit f9fc763

Please sign in to comment.