Browse Source

rm admin_head styles that affect gutenberg

windhamdavid 5 years ago
parent
commit
d99581a0cc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      inc/tweaks.php

+ 2 - 0
inc/tweaks.php

@@ -22,6 +22,7 @@ function dw_remove_wp_ver_css_js( $src ) {
 add_filter( 'style_loader_src', 'dw_remove_wp_ver_css_js', 9999 );
 add_filter( 'script_loader_src', 'dw_remove_wp_ver_css_js', 9999 );
 
+/* 
 add_action( 'admin_head', 'dw_hide' );
 function dw_hide() {
     ?>
@@ -38,6 +39,7 @@ function dw_hide() {
 	#postexcerpt p {display: none;}
     </style>
 <?php }
+*/
 
 function disable_emojis_tinymce( $plugins ) {
   if ( is_array( $plugins ) ) {