diff --git a/social-paper.php b/social-paper.php index 6c67891..fd8cee4 100755 --- a/social-paper.php +++ b/social-paper.php @@ -112,6 +112,16 @@ public function __construct() { " ) ); return; } + if ( !class_exists( 'FEE' ) ) { + add_action( 'admin_notices', create_function('', ' + echo "
"; + $notice = __( \'Social Paper requires the plugin WP Front End Editor to work. Please enable it through the plugin repository or by downloading it\', \'social paper\' ); + echo $notice; + echo " here."; + echo "
"; + ' ) ); + return; + } $this->properties(); $this->includes();