diff --git a/src/WPDesk/Notice/Notice.php b/src/WPDesk/Notice/Notice.php index cefdbf999680448c9b32ff387044412de3250afb..d3ea070240edc36155885d45e8ee166bd3d700ed 100644 --- a/src/WPDesk/Notice/Notice.php +++ b/src/WPDesk/Notice/Notice.php @@ -205,7 +205,7 @@ class Notice return $attribute_string; } - private function addParagraphToConten() + private function addParagraphToContent() { if (0 === strpos($this->noticeContent, '<p>')) { return false; @@ -222,7 +222,7 @@ class Notice public function showNotice() { $noticeFormat = '<div %1$s>%2$s</div>'; - if ($this->addParagraphToConten()) { + if ($this->addParagraphToContent()) { $noticeFormat = '<div %1$s><p>%2$s</p></div>'; } echo sprintf($noticeFormat, $this->getAttributesAsString(), $this->noticeContent);