WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 9 months ago

#14737 closed defect (bug) (invalid)

Tinymce Googlespell: Json return wrongly encoded special char

Reported by: jli Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: TinyMCE Keywords: reporter-feedback
Focuses: 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 3 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 koopersmith3 years ago

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

Can you provide some examples that will trigger the bug?

logiclord3 years ago

comment:2 dd329 months ago

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

The Google Spellcheck API is no more, #24789

Note: See TracTickets for help on using tickets.