WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#14737 new defect (bug)

Tinymce Googlespell: Json return wrongly encoded special char

Reported by: jli Owned by:
Priority: normal Milestone: Awaiting Review
Component: TinyMCE Version: 3.0.1
Severity: normal Keywords: reporter-feedback
Cc:

Description

The Json returned by the googlespeel method is broken.

I don't have time to create a patch now:

SO this is it in the file GoogleSpell.php:

original:
(line 41,42)

if (count($matches) > 0)

$sug = explode("\t", utf8_encode($this->_unhtmlentities($matches[0][4])));

Fix:
(line 41,42)

if (count($matches) > 0)

$sug = explode("\t", $this->_unhtmlentities($matches[0][4]));

Attachments (1)

14737.patch (504 bytes) - added by logiclord 2 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 koopersmith2 years ago

  • Keywords reporter-feedback added; tinymce spellcheck google special char accent removed

Can you provide some examples that will trigger the bug?

logiclord2 years ago

Note: See TracTickets for help on using tickets.