Navigation Menu

Skip to content

Commit

Permalink
Change disabled message to error class; See: wpsharks/comment-mail#163
Browse files Browse the repository at this point in the history
  • Loading branch information
kristineds committed Dec 3, 2015
1 parent daac098 commit 32aa1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comment-mail-pro/plugin.inc.php
Expand Up @@ -2018,7 +2018,7 @@ public function enqueue_user_error($markup, array $args = array())
public function all_admin_notices()
{
if (!$this->options['enable']) {
$this->enqueue_notice(sprintf(__('<strong>%1$s is disabled. Please visit the <a href="%2$s">%1$s settings</a> and enable the plugin</strong>.', $this->text_domain), esc_html($this->name), esc_attr($this->utils_url->main_menu_page_only())));
$this->enqueue_error(sprintf(__('<strong>%1$s is disabled. Please visit the <a href="%2$s">settings</a> and enable the plugin</strong>.', $this->text_domain), esc_html($this->name), esc_attr($this->utils_url->main_menu_page_only())));
}

if(!is_array($notices = get_option(__NAMESPACE__.'_notices')))
Expand Down

0 comments on commit 32aa1ae

Please sign in to comment.