From: Steve Sutton Date: Tue, 18 Sep 2018 12:57:27 +0000 (-0400) Subject: Update for allowing notices to appear for editor. X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4578fe86ca3f09d9d8f68d5edb89406a149b26b3;p=WP-Plugins%2FGaslightify.git Update for allowing notices to appear for editor. We need to show notices. Hide the redux one but allow anything with class 'updated'. --- diff --git a/css/GaslightifyClients.css b/css/GaslightifyClients.css index 30f113c..c2e48c2 100755 --- a/css/GaslightifyClients.css +++ b/css/GaslightifyClients.css @@ -24,7 +24,7 @@ select[name="seo_filter"], #toplevel_page_metaslider > ul, #metaslider_social, .ngg_admin_notice, -#wpbody .updated, +.redux-notice, #toplevel_page_ninja-forms, #toplevel_page_mainwp_child_tab, .cms_tpv_promo_above_wrapper, diff --git a/index.php b/index.php index d9f5f90..48f524c 100755 --- a/index.php +++ b/index.php @@ -59,7 +59,7 @@ function interface_client_safeguard() { } else { /* A user without admin privileges */ wp_enqueue_script('GaslightifyJs', plugins_url('js/Gaslightify.js', __FILE__),array(),'1.0.0', true); - wp_enqueue_style('GaslightifyClientsStyle', plugins_url('css/GaslightifyClients.css', __FILE__)); + wp_enqueue_style('GaslightifyClientsStyle', plugins_url('css/GaslightifyClients.css', __FILE__),array(),'1.0.0'); if ( is_multisite() ) { wp_enqueue_style('GaslightifyMultiSiteStyle', plugins_url('css/GaslightifyMultiSite.css', __FILE__)); }