Make WordPress Core

Changeset 32337


Ignore:
Timestamp:
05/04/2015 12:04:15 AM (10 years ago)
Author:
azaozz
Message:

Emoji: rename the exclude class to wp-exclude-emoji.
Props Clorith. See #32197.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/editor-expand.js

    r32336 r32337  
    1616            $textTop = $( '#ed_toolbar' ),
    1717            $textEditor = $( '#content' ),
    18             $textEditorClone = $( '<div id="content-textarea-clone" class="wp-no-emoji"></div>' ),
     18            $textEditorClone = $( '<div id="content-textarea-clone" class="wp-exclude-emoji"></div>' ),
    1919            $bottom = $( '#post-status-info' ),
    2020            $menuBar = $(),
  • trunk/src/wp-includes/js/wp-emoji.js

    r32336 r32337  
    7171                            }
    7272
    73                             if ( ! node || ( node.className && node.className.indexOf( 'wp-no-emoji' ) !== -1 ) ) {
     73                            if ( ! node || ( node.className && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) {
    7474                                continue;
    7575                            }
Note: See TracChangeset for help on using the changeset viewer.