diff --git a/CHANGELOG.md b/CHANGELOG.md index 56788902..c80b3109 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 3.6.2: December 24th, 2015 +* Add missing oEmbed cleanup ([#134](https://github.com/roots/soil/issues/134)) + ### 3.6.1: December 24th, 2015 * Remove `wp-embed.js` and `wp-json` from head ([#129](https://github.com/roots/soil/issues/129)) diff --git a/README.md b/README.md index 664129ed..8e17cf7f 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can install this plugin via the command-line or the WordPress admin panel. If you're [using Composer to manage WordPress](https://roots.io/using-composer-with-wordpress/), add Soil to your project's dependencies. ```sh -composer require roots/soil 3.6.1 +composer require roots/soil 3.6.2 ``` Then activate the plugin via [wp-cli](http://wp-cli.org/commands/plugin/activate/). diff --git a/modules/clean-up.php b/modules/clean-up.php index 5fd1e478..8a0eff8a 100644 --- a/modules/clean-up.php +++ b/modules/clean-up.php @@ -31,6 +31,7 @@ function head_cleanup() { remove_action('admin_print_scripts', 'print_emoji_detection_script'); remove_action('wp_print_styles', 'print_emoji_styles'); remove_action('admin_print_styles', 'print_emoji_styles'); + remove_action('wp_head', 'wp_oembed_add_discovery_links'); remove_action('wp_head', 'wp_oembed_add_host_js'); remove_action('wp_head', 'rest_output_link_wp_head', 10, 0); remove_filter('the_content_feed', 'wp_staticize_emoji'); diff --git a/soil.php b/soil.php index ae522cf6..eb6b89d6 100644 --- a/soil.php +++ b/soil.php @@ -3,7 +3,7 @@ Plugin Name: Soil Plugin URI: https://roots.io/plugins/soil/ Description: A collection of modules to apply theme-agnostic front-end modifications to WordPress. -Version: 3.6.1 +Version: 3.6.2 Author: Roots Author URI: https://roots.io/