Opened 17 years ago
Closed 17 years ago
#6967 closed defect (bug) (fixed)
TinyMCE wpWordCount detection doesn't work
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.6 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
The logic to detect if the wpWordCount JavaScript module exists does not work properly. If the module is missing, the script aborts. Adding a "typeof" solved the problem. Patch attached.
I ran into this problem because I am using WordPress from Debian unstable, and TinyMCE is currently broken. I was able to fix it by copying wp-includes/js/tinymce from SVN trunk and deleting wp-content/uploads/js_cache, then making the change in the attached patch.
Thanks,
Dave
Attachments (1)
Change History (6)
#3
@
17 years ago
Yes, "typeof" was there in an earlier patch:
http://trac.wordpress.org/attachment/ticket/4807/word-count2.patch
but is missing from the latest one. Thanks for pointing that out.
Note: See
TracTickets for help on using
tickets.
Patch: wpWordCount detection fix