Compatibility fix for version 1.0 of this plugin
-
I’ve fixed a minor issue that gets the plugin working in WordPress 3.6.1.
Change line 34 of column-inches-post.dev.js to:
var numWords = parseInt(jQuery("#wp-word-count .word-count").text());
The jQuery selector was “#word-count” but needs to be “#wp-word-count .word-count”.
The compressed version of the script, column-inches-post.js, also needs the fix so either modify it directly or recompress the updated column-inches-post.dev.js using jscompress.com to remake the compressed version.
- The topic ‘Compatibility fix for version 1.0 of this plugin’ is closed to new replies.