Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from roots/add-missing-oembed-cleanup
Browse files Browse the repository at this point in the history
Add missing oEmbed cleanup
  • Loading branch information
retlehs committed Dec 24, 2015
2 parents 0bf55fe + b42a0e5 commit 8b534d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 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))

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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/).
Expand Down
1 change: 1 addition & 0 deletions modules/clean-up.php
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion soil.php
Expand Up @@ -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/
Expand Down

0 comments on commit 8b534d4

Please sign in to comment.