[wp-trac] Re: [WordPress Trac] #3857: TinyGoogleSpell fails

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 28 23:52:49 GMT 2007


#3857: TinyGoogleSpell fails
------------------------------------+---------------------------------------
 Reporter:  Nazgul                  |        Owner:  andy
     Type:  defect                  |       Status:  new 
 Priority:  normal                  |    Milestone:  2.2 
Component:  TinyMCE                 |      Version:  2.2 
 Severity:  normal                  |   Resolution:      
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------
Changes (by Nazgul):

  * keywords:  => has-patch dev-feedback

Comment:

 I got it to work (sort of).

 I couldn't get fsockopen with ssl to work on Windows, so I installed curl
 on my machine and made a small change to the code that it will use curl
 instead of fsockopen when available. This makes it work on Windows as long
 as curl is installed, but it will still fail if it isn't.

 After that change I encountered another issue. The new spellcheck version
 introduces a dependency on the mbstring extension (which I ofcourse
 haven't installed) so I made a small change so it will use mb_substr when
 available or fall back to normal substr when it isn't.

 After that spellcheck was working for me. I attached another patch which
 upgrades spellcheck to 1.0.3.1, but also contains my changes.

 Only downside is that it will still fail on Windows servers without curl.
 Anyone have a solution for that?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3857#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list