From: Steve Sutton Date: Tue, 19 Jul 2016 12:09:40 +0000 (-0400) Subject: No commits for the Author X-Git-Tag: v1.5.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cf090c6e551bc3aa33128b080decae66965e670b;p=WP-Plugins%2FGaslightify.git No commits for the Author Also no server stats. Test for edit_others_posts if not set then they are an Author and should only see posts and media --- diff --git a/Gaslightify.php b/Gaslightify.php index b54ee0e..73e28c2 100755 --- a/Gaslightify.php +++ b/Gaslightify.php @@ -32,7 +32,7 @@ function interface_client_safeguard() { wp_enqueue_style('GaslightifyMultiSiteStyle', plugins_url('css/GaslightifyMultiSite.css', __FILE__)); } } - if (!current_user_can('edit_posts')) { + if ( !current_user_can( 'edit_posts' ) ) { ?> + +