Commit fbef8a0d authored by lucha's avatar lucha
Browse files

Disable emojis plugin 1.7.2

parent 6f6bdba7
<?php <?php
/* /*
Plugin Name: Disable Emojis Plugin Name: Disable Emojis (GDPR friendly)
Plugin URI: https://geek.hellyer.kiwi/plugins/disable-emojis/ Plugin URI: https://geek.hellyer.kiwi/plugins/disable-emojis/
Description: Disable Emojis Description: Disable Emojis (GDPR friendly)
Version: 1.7 Version: 1.7.2
Author: Ryan Hellyer Author: Ryan Hellyer
Author URI: https://geek.hellyer.kiwi/ Author URI: https://geek.hellyer.kiwi/
License: GPL2 License: GPL2
...@@ -53,9 +53,9 @@ add_action( 'init', 'disable_emojis' ); ...@@ -53,9 +53,9 @@ add_action( 'init', 'disable_emojis' );
function disable_emojis_tinymce( $plugins ) { function disable_emojis_tinymce( $plugins ) {
if ( is_array( $plugins ) ) { if ( is_array( $plugins ) ) {
return array_diff( $plugins, array( 'wpemoji' ) ); return array_diff( $plugins, array( 'wpemoji' ) );
} else {
return array();
} }
return array();
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment