Make WordPress Core


Ignore:
Timestamp:
03/24/2015 11:32:23 PM (11 years ago)
Author:
pento
Message:

Emoji: Instead of loading the emoji JS files automatically, we now include a small JS shim in the header, to test if the user's browser needs Twemoji. It then loads the emoji JS files only if they're needed.

Props pento, azaozz.

Fixes #31701.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r31791 r31875  
    214214add_action( 'publish_future_post', 'check_and_publish_future_post',   10, 1 );
    215215add_action( 'wp_head',             'noindex',                          1    );
     216add_action( 'wp_head',             'print_emoji_detection_script',     7    );
    216217add_action( 'wp_head',             'wp_print_styles',                  8    );
    217218add_action( 'wp_head',             'wp_print_head_scripts',            9    );
Note: See TracChangeset for help on using the changeset viewer.