Skip to content
Snippets Groups Projects
Commit fbef8a0d authored by lucha's avatar lucha
Browse files

Disable emojis plugin 1.7.2

parent 6f6bdba7
Branches
Tags
No related merge requests found
<?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();
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment