Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Cleanup wp 4.2 bundled emoji stuff #338

Merged
merged 1 commit into from
May 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions library/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ function foundationpress_cleanup_head() {
// WP version
remove_action( 'wp_head', 'wp_generator' );

// Emoji detection script
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );

// Emoji styles
remove_action( 'wp_print_styles', 'print_emoji_styles' );

// Remove WP version from css
add_filter( 'style_loader_src', 'foundationpress_remove_wp_ver_css_js', 9999 );

Expand Down