From: Steve Sutton Date: Fri, 12 May 2017 14:17:45 +0000 (-0400) Subject: Add display none for BWS shortcode X-Git-Tag: v1.5.9^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5c42a37ab7fe3325c49244014dc8f7a29d550b64;p=WP-Plugins%2FGaslightify.git Add display none for BWS shortcode On the page edit it is uneeded for our clients, and a distraction. --- diff --git a/Gaslightify.php b/Gaslightify.php index 40d2823..8f82ced 100755 --- a/Gaslightify.php +++ b/Gaslightify.php @@ -4,7 +4,7 @@ Plugin Name: Gaslightify Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A gasline to a Wordpress website. -Version: 1.5.8 +Version: 1.5.9 Author: Gaslight Media Author URI: http://www.gaslightmedia.com License: Gaslight Media @@ -211,4 +211,6 @@ function nf_subs_capabilities( $cap ) { add_filter( 'ninja_forms_admin_submissions_capabilities', 'nf_subs_capabilities' ); add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_subs_capabilities' ); //add_filter( 'ninja_forms_admin_menu_capabilities', 'nf_subs_capabilities' ); +add_filter('json_enabled', '__return_false'); +add_filter('json_jsonp_enabled', '__return_false'); ?> diff --git a/css/GaslightifyGlobal.css b/css/GaslightifyGlobal.css index 4129ec9..7593e7b 100644 --- a/css/GaslightifyGlobal.css +++ b/css/GaslightifyGlobal.css @@ -1,7 +1,7 @@ /* GaslightMedia, all rights reserved. */ -/* +/* Created on : May 22, 2015, 11:19:44 AM Author : laury */ @@ -19,18 +19,21 @@ GaslightMedia, all rights reserved. } #tinymce h3 { - clear: both; + clear: both; } #tinymce h4 { - clear: both; + clear: both; } #tinymce h5 { - clear: both; + clear: both; } #tinymce h6 { - clear: both; + clear: both; +} +div.bws_shortcode_button_tooltip, +div.mce-bws_shortcode_button { + display: none; } -