#14995 closed defect (bug) (fixed)
minor typing mistake results in ignoring parameters for the pack() function call
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | trivial | Version: | 3.1 |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | Cc: |
Description
/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php
line 535, 539, 543
wrong order of parenthesis and commas results in calling ord() function with more than 1 parameter.
Warning: ord() expects exactly 1 parameter, 2 given
Attachments (1)
Note: See
TracTickets for help on using
tickets.
This is an upstream bug in the Spellchecker plugin for TinyMCE with a PHP backend. Never the less, patch attached and I guess we should report to Moxiecode (quick search I couldn't find anything about this).
Problem is hard to come across since I believe it will only occur when the spellchecking service returns a result containing a UTF-8 character represented by either a 4, 5 or 6 byte sequence (aka uncommon ones).