diff --git a/crayon_langs.class.php b/crayon_langs.class.php index baf7ab6..13d1641 100644 --- a/crayon_langs.class.php +++ b/crayon_langs.class.php @@ -412,7 +412,7 @@ class CrayonLang extends CrayonVersionResource { if (array_key_exists($name, $this->elements) && $element === NULL) { return $this->elements[$name]; } else if (is_object($element)) { - if (@get_class($element) == CRAYON_ELEMENT_CLASS) { + if (get_class($element) == CRAYON_ELEMENT_CLASS) { $this->elements[$name] = $element; } } diff --git a/crayon_settings.class.php b/crayon_settings.class.php index 9c7acae..5b3b075 100644 --- a/crayon_settings.class.php +++ b/crayon_settings.class.php @@ -914,5 +914,3 @@ class CrayonSetting { } } - -?> \ No newline at end of file diff --git a/crayon_settings_wp.class.php b/crayon_settings_wp.class.php index 1762d92..7c927d5 100644 --- a/crayon_settings_wp.class.php +++ b/crayon_settings_wp.class.php @@ -744,7 +744,7 @@ class CrayonSettingsWP // General Fields ========================================================= public static function help() { - global $CRAYON_WEBSITE, $CRAYON_TWITTER, $CRAYON_GIT, $CRAYON_PLUGIN_WP, $CRAYON_DONATE; + global $CRAYON_WEBSITE, $CRAYON_TWITTER, $CRAYON_GIT; if (CrayonGlobalSettings::val(CrayonSettings::HIDE_HELP)) { return; } @@ -1244,7 +1244,7 @@ class Human { // About Fields =========================================================== public static function info() { - global $CRAYON_VERSION, $CRAYON_DATE, $CRAYON_AUTHOR, $CRAYON_WEBSITE, $CRAYON_TWITTER, $CRAYON_GIT, $CRAYON_PLUGIN_WP, $CRAYON_AUTHOR_SITE, $CRAYON_EMAIL, $CRAYON_DONATE; + global $CRAYON_VERSION, $CRAYON_DATE, $CRAYON_AUTHOR, $CRAYON_WEBSITE, $CRAYON_TWITTER, $CRAYON_GIT, $CRAYON_AUTHOR_SITE, $CRAYON_EMAIL; echo ''; $version = '' . crayon__('Version') . ': ' . $CRAYON_VERSION; $date = $CRAYON_DATE; @@ -1274,16 +1274,6 @@ class Human { Turkish (Hakan), Ukrainian (Michael Yunat)'; - $links = ' - - - - - -
' . $translators . ' | -|
' . $links . ' |