diff --git a/src/i18n-module.php b/src/i18n-module.php index 0fdd647..d114167 100644 --- a/src/i18n-module.php +++ b/src/i18n-module.php @@ -276,7 +276,7 @@ public function promo() { echo '
'; echo '

' . sprintf( __( 'Translation of %s', $this->textdomain ), $this->plugin_name ) . '

'; - if ( isset( $this->glotpress_logo ) && '' != $this->glotpress_logo ) { + if ( isset( $this->glotpress_logo ) && is_string( $this->glotpress_logo ) && '' !== $this->glotpress_logo ) { echo '' . esc_attr( $this->glotpress_name ) . ''; } echo $message;