Update for allowing notices to appear for editor. develop
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 18 Sep 2018 12:57:27 +0000 (08:57 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 18 Sep 2018 12:57:27 +0000 (08:57 -0400)
We need to show notices. Hide the redux one but allow anything with
class 'updated'.

css/GaslightifyClients.css
index.php

index 30f113c..c2e48c2 100755 (executable)
@@ -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,
index d9f5f90..48f524c 100755 (executable)
--- 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__));
         }