diff --git a/src/WPDesk/Notice/Notice.php b/src/WPDesk/Notice/Notice.php index 839ce0b86e36b8633f668e567de14fefb58d1dba..14bdaaa94e5723bb10e3c147725a69d1caad6d65 100644 --- a/src/WPDesk/Notice/Notice.php +++ b/src/WPDesk/Notice/Notice.php @@ -184,7 +184,7 @@ class Notice $notice_class .= ' is-dismissible'; } if (isset($this->attributes['class'])) { - $notice_class .= $this->attributes['class']; + $notice_class .= ' ' . $this->attributes['class']; } return $notice_class; } @@ -210,7 +210,7 @@ class Notice */ public function showNotice() { - echo sprintf('<div %1$s><p>%2$s</p></div>', $this->getAttributesAsString(), $this->noticeContent); + echo sprintf('<div %1$s>%2$s</div>', $this->getAttributesAsString(), $this->noticeContent); } }