|
@@ -12,7 +12,7 @@ remove_action('wp_head', 'wp_generator');
|
|
|
remove_action('wp_head', 'feed_links_extra', 3 );
|
|
|
remove_action('wp_head', 'feed_links', 2 );
|
|
|
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10, 0 );
|
|
|
-remove_action( 'wp_head', 'wp_oembed_add_host_js', 10, 0 );
|
|
|
+remove_action('wp_head', 'wp_oembed_add_host_js', 10, 0 );
|
|
|
|
|
|
function dw_remove_wp_ver_css_js( $src ) {
|
|
|
if ( strpos( $src, 'ver=' ) )
|
|
@@ -54,6 +54,7 @@ function disable_emojis() {
|
|
|
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
|
|
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
|
|
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
|
|
+ add_filter( 'emoji_svg_url', '__return_false' );
|
|
|
}
|
|
|
add_action( 'init', 'disable_emojis' );
|
|
|
|