[wp-trac] [WordPress Trac] #52219: wp-emoji.js should always skip nodes with the `wp-exclude-emoji` CSS class

WordPress Trac noreply at wordpress.org
Thu Feb 2 00:51:16 UTC 2023


#52219: wp-emoji.js should always skip nodes with the `wp-exclude-emoji` CSS class
------------------------------+-------------------------
 Reporter:  GeorgeJipa        |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Emoji             |     Version:  4.2.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55186" 55186]:
 {{{
 #!CommitTicketReference repository="" revision="55186"
 Emoji: Always skip nodes with the `wp-exclude-emoji` CSS class.

 Patches twemoji.js to add support for a `doNotParse()` callback. Uses that
 callback to always exclude emojis in HTML elements with the above class.

 Props: dd32, peterwilsoncc, azaozz.
 Fixes #52219.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52219#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list