Make WordPress Core

Changeset 31766


Ignore:
Timestamp:
03/13/2015 05:19:28 PM (9 years ago)
Author:
azaozz
Message:

Emoji: update Twemoji to 1.3.1. Props iseulde. See #31242.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/twemoji.js

    r31758 r31766  
    327327      allText = grabAllTextNodes(node, []),
    328328      length = allText.length,
    329       modified = false,
     329      modified,
    330330      fragment,
    331331      subnode,
     
    340340      src;
    341341    while (length--) {
     342      modified = false;
    342343      fragment = document.createDocumentFragment();
    343344      subnode = allText[length];
     
    386387        // anything else surrounding such text
    387388        subnode.parentNode.replaceChild(fragment, subnode);
    388         modified = false;
    389389      }
    390390    }
  • trunk/src/wp-includes/script-loader.php

    r31758 r31766  
    425425    $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models', 'media-audiovideo', 'wp-playlist' ), false, 1 );
    426426
    427     $scripts->add( 'twemoji', "/wp-includes/js/twemoji$suffix.js", array(), '1.3.0', 1 );
     427    $scripts->add( 'twemoji', "/wp-includes/js/twemoji$suffix.js", array(), '1.3.1', 1 );
    428428    $scripts->add( 'emoji', "/wp-includes/js/wp-emoji$suffix.js", array( 'twemoji' ), false, 1 );
    429429    did_action( 'init' ) && $scripts->localize( 'emoji', '_wpemojiSettings', array(
Note: See TracChangeset for help on using the changeset viewer.