Created
November 1, 2018 06:23
-
-
Save dsawardekar/867f06fcca21ee543d38d4c2af8082c3 to your computer and use it in GitHub Desktop.
Revisions
-
dsawardekar revised this gist
Nov 1, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ <?php add_filter( 'js_do_concat', 'vip_gutenberg_disable_concat', 100, 1 ); function vip_gutenberg_disable_concat( $handle ) { -
dsawardekar created this gist
Nov 1, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ add_filter( 'js_do_concat', 'vip_gutenberg_disable_concat', 100, 1 ); function vip_gutenberg_disable_concat( $handle ) { if ( is_admin() && ( function_exists( 'is_gutenberg_page' ) && is_gutenberg_page() ) ) { return false; } return $handle; }