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

Commit

Permalink
Merge pull request #338 from olefredrik/cleanup/emojis
Browse files Browse the repository at this point in the history
Cleanup wp 4.2 bundled emoji stuff
  • Loading branch information
olefredrik committed May 13, 2015
2 parents 1bc6028 + de542cc commit a9c088a
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit a9c088a

Please sign in to comment.