WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#36481 closed defect (bug) (invalid)

Emoji script is loaded even if emoji not available?

Reported by: pavelevap Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Emoji Keywords:
Focuses: Cc:

Description

Some of my websites have older MySQL version and WordPress database was not upgraded to ut8mb4, so it is not possible to use emojis. But related scripts (for example wp-emoji-release.min.js) and styles are still loaded?

Change History (4)

#1 @jeremyfelt
6 years ago

  • Version changed from trunk to 4.2

#2 @ocean90
6 years ago

  • Keywords close added

Emoji are possible without utf8mb4, they get encoded by wp_encode_emoji().

#3 @pavelevap
6 years ago

I tried to insert many different emojis inside post content and they were never saved in database and displayed on website. Is there any specific example which I could test?

#4 @pento
6 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I haven't been able to reproduce this bug - emoji save in post content for me, regardless of the database character set.

@pavelevap: If you can come up with a reproducible test case, you're always welcome to re-open this ticket.

Note: See TracTickets for help on using tickets.