Procházet zdrojové kódy

feat: removed emoji support

tags/0.9.0
J před 6 roky
rodič
revize
8ec7451235
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5
    0
      vue-theme/functions.php

+ 5
- 0
vue-theme/functions.php Zobrazit soubor

@@ -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' );

Načítá se…
Zrušit
Uložit