/**
  * Returns whether or not their is image editor support.
  *
  * @todo Nonfunctional method needs completed.
  *
  * @access public
  * @since  8.1
  * @static
  *
  * @return bool|void
  */
 public static function checkEditorSupport()
 {
     if (!is_admin()) {
         return;
     }
     $atts = array('mime_type' => 'image/jpeg');
     if (wp_image_editor_supports($atts) !== TRUE) {
         cnMessage::create('error', 'image_edit_support_failed');
     }
     return TRUE;
 }
 /**
  * Display the database upgrade notice. This will only be shown on non-Connections pages.
  *
  * @access private
  * @since 0.7.5
  * @uses get_current_screen()
  * @return (void)
  */
 public static function displayDBUpgradeNotice()
 {
     // Grab an instance of the Connections object.
     $instance = Connections_Directory();
     $screen = get_current_screen();
     if (!in_array($screen->id, (array) $instance->pageHook)) {
         cnMessage::create('notice', 'db_update_required');
     }
 }