I can’t do much non commissioned work on it right now, but I’ll add it to the To Do list.
hehehe, just saw the 4.1 release, looks like I got the best of your curiosity. Cheers ! 🙂
It’s not working in proper order yet, I pushed it to fix a bug. The aggregate stats will be available shortly.
Ok version 4.2 should adress this.
Thanks Fran, but hmmm. With 4.1, graphs stopped working for me for some reason. Now they’re back. For my own account and for “admin”, I can see word count, stats and graphs. But for the other author account and “all authors”, only the word count shows up. Graphs and keywords don’t. Is that something you’re aware of, or that I could help debunk, somehow ?
Ha, I found out there’s a javascript error – “expected token: )” – for some users. This is in the kw_ticks variable, which contains values that don’t see to be escaped. (stuff like “width=”468″” which seem to throw the js parser off, obviously. But even escaped, I’m not sure what those html attributes are doing there.
Let me know if more details or examples would help.
Ok, thanks a million about the heads up and the bug research! I’ll get to it in a few hours. This is the first report I get for this bug, I’ll poke you for feedback as needed.
I reproduced the bug, working on the fix.
Ok, try 4.2.1. Some posts had keywords saved incorrectly, without splitting and removing double quotes (“), they will be cached again, it might be slower than normal.
Hey, now it works, but unfortunately, I get a bunch of these PHP warnings: (5 times, but not sure if that particular number is relevant)
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558
Warning: implode() [function.implode]: Invalid arguments passed in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558
Oh, and now I see that the following were saved as keywords (those were the ones creating the problem in the first place)
- [caption
- align=
- width=
- caption]
4.2.3 solved all this, thanks !
(although it looks like “caption” “align” and “width” are still considered pretty popular keywords on my blog – but they’re not, they’re only used in that picture caption markup thing)
Whew.
Yeah I have to figure out how to deal with shortcodes, since strip_shortcodes doesn’t seem to do much, and just ignoring anything within square brackets would often ignore legit text.
Thanks a lot for the quick feedback. I’m usually available on freenode.net all the time (just query TheVenetianMask) and on skype (fran.ontanaya) if you need to discuss on a chat anything about the plugin.