WordPress 4.5.3
use-any-font 4.5.1
Trying to activate this plugin “use-any-font”, I get this error:
Fatal error: Cannot redeclare wp_editor_fontsize_filter() (previously declared in ***/wp-content/themes/***/functions.php:6317) in ***/wp-content/plugins/use-any-font/includes/uaf_editor_setup.php on line 16
So I just comment it out the following from the theme and everything seems to be working, but this is just a notice that this plugin can conflict with themes.
code edit on theme:
/*
function wp_editor_fontsize_filter( $options ) {
array_shift( $options );
array_unshift( $options, ‘fontselect’);
array_unshift( $options, ‘fontsizeselect’);
array_unshift( $options, ‘formatselect’);
return $options;
}*/