Skip to content

Commit

Permalink
#13 Disabled Shortcode UI integration
Browse files Browse the repository at this point in the history
Disabled Shortcode UI integration until we can resolve issue of `<p>` tags being added when switching to visual edit
  • Loading branch information
misfist committed Apr 20, 2017
1 parent f1d1532 commit 80937eb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions includes/class-tni-core-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<p>` 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' ) );
}
Expand Down

0 comments on commit 80937eb

Please sign in to comment.