
Seit WordPress Version 4.2 wird im wp_head
Javascript und CSS für die Emojis mitgeladen, wer diese nicht benötigt und einen Fokus auf eine gute Performance hat kann diesen Vorgang mit wenigen Zeilen Code verhindern. Fügen Sie dazu den folgenden Code in Ihre functions.php
Codesnippet für functions.php
1 2 3 4 5 |
/* Remove Emoji from wp_head */ remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'wp_print_styles', 'print_emoji_styles' ); remove_action( 'admin_print_styles', 'print_emoji_styles' ); |