/**
  * Get the current version from the editor manifest
  * @return Version
  */
 private static function getVersion()
 {
     if (!isset(self::$version)) {
         $xml = WFXMLHelper::parseInstallManifest(JPATH_ADMINISTRATOR . '/components/com_jce/jce.xml');
         // return cleaned version number or date
         self::$version = preg_replace('/[^0-9a-z]/i', '', $xml['version']);
         if (!self::$version) {
             self::$version = date('Y-m-d', strtotime('today'));
         }
     }
     return self::$version;
 }