Skip to content

Commit aad6b5a

Browse files
committed
fix typo
1 parent 246723e commit aad6b5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inc/admin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,9 @@ public function should_show_notice() {
591591
* Show upgrade notice.
592592
*/
593593
public function add_notice_upgrade() {
594-
594+
if ( ! $this->should_show_upgrade() ) {
595+
return;
596+
}
595597
?>
596598
<div class="notice optml-notice-optin" style="background-color: #577BF9; color:white; border: none !important; display: flex;">
597599
<div style="margin: 1% 2%;">

0 commit comments

Comments
 (0)