From 80937eb85b64843969df181cc82c230898c015fd Mon Sep 17 00:00:00 2001 From: Pea Date: Thu, 20 Apr 2017 18:36:39 -0400 Subject: [PATCH] #13 Disabled Shortcode UI integration Disabled Shortcode UI integration until we can resolve issue of `

` tags being added when switching to visual edit --- includes/class-tni-core-shortcodes.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/includes/class-tni-core-shortcodes.php b/includes/class-tni-core-shortcodes.php index de04364..6a88181 100644 --- a/includes/class-tni-core-shortcodes.php +++ b/includes/class-tni-core-shortcodes.php @@ -25,9 +25,14 @@ class TNI_Core_Shortcodes { function __construct() { add_action( 'init', array( $this, 'register_shortcodes' ) ); - if( function_exists( 'shortcode_ui_register_for_shortcode' ) ) { - $this->register_shortcode_ui(); - } + /** + * Disable Shortcode UI integration until we can resolve issue of `

` tags being added when switching to visual editor + * @see Issue #13 + * @see https://github.com/wp-shortcake/shortcake/issues/721 + */ + // if( function_exists( 'shortcode_ui_register_for_shortcode' ) ) { + // $this->register_shortcode_ui(); + // } add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) ); }