Fix PHP Undefined index notice - print_notice_manager_panel()
This commit is contained in:
parent
31ae18ae5c
commit
04cf93e9f9
@ -76,7 +76,7 @@ class NoticeManager{
|
|||||||
echo '<div class="notice_container empty"></div>';
|
echo '<div class="notice_container empty"></div>';
|
||||||
|
|
||||||
// if auto_collect is ON - we don't need the button.
|
// if auto_collect is ON - we don't need the button.
|
||||||
if (!$this->options['auto_collect'])
|
if ( empty( $this->options['auto_collect'] ) )
|
||||||
echo '<button type="button" class="notice-dismiss"><span class="screen-reader-text">' . __( 'Dismiss' ) . '</span><strong> Dismiss Notices</strong></button><div></div>' ;
|
echo '<button type="button" class="notice-dismiss"><span class="screen-reader-text">' . __( 'Dismiss' ) . '</span><strong> Dismiss Notices</strong></button><div></div>' ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user