Browse Source

feat: removed emoji support

tags/0.9.0
J 6 years ago
parent
commit
8ec7451235
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      vue-theme/functions.php

+ 5
- 0
vue-theme/functions.php View File

@@ -149,6 +149,11 @@ function no_default_jquery( ) {
149 149
     }
150 150
 }
151 151
 add_action( 'init', 'no_default_jquery' );
152
+// REMOVE emoji support
153
+remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
154
+remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
155
+remove_action( 'wp_print_styles', 'print_emoji_styles' );
156
+remove_action( 'admin_print_styles', 'print_emoji_styles' );
152 157
 
153 158
 // header( 'Access-Control-Allow-Origin: http://localhost:8080' );
154 159
 header( 'Content-Type: application/json' );

Loading…
Cancel
Save