瀏覽代碼

feat: removed emoji support

tags/0.9.0
J 6 年之前
父節點
當前提交
8ec7451235
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      vue-theme/functions.php

+ 5
- 0
vue-theme/functions.php 查看文件

@@ -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…
取消
儲存