WordPress 2.8 Upgrade WYSIWYG TinyMCE Google Gears Bug

If you’ve recently upgraded to WordPress 2.8 and you’ve noticed that your friendly post editor (WYSIWYG by TinyMCE) no longer appears, you must likely have Google Gears enabled for your site. The Javascript error console includes a line number error and when viewing the script source, unreadable binary characters are present.

To fix, remove your site from the list of sites Google Gears is enabled. To do this from Firefox, click the “Tools” pull down menu and select “Gears Settings”. Click ‘remove’ for the sites listed that are having the problem.

From my research, I’ve discovered that Google Gears Caches files locally without regard to javascript errors, cleared browser cache or taking into account the query strings in the URLs.  It may be too complicated for Google Gears to detect javascript errors, but it should detect when the cache has been cleared in a browser in my opinion. More importantly, when the URL changes, e.g. from /wp-includes/js/tinymce/wp-tinymce.php?c=0&ver=3241-1141 to /wp-includes/js/tinymce/wp-tinymce.php?c=0&ver=3241-1141&change=1), Google Gears should treat this new URL link differently, as the query string may tell the server to send back a completely different code.Google Gears Developers: Please treat the URL including the query string as separate files to be cached in Google Gears.

The only way I could see WordPress developers from preventing this from happening in the future is to rename the wp-tinymce.php file for every release. There may be some documentation for Google Gears as well to tell it to upgrade all of the locally cached files.

Plugins 017 – Interview Paul Kehrer Part 2 CDN Tools & Fidgetr

This episode we continue our interview with Paul Kehrer. Paul has written 4 plugins, 2 of which are publicly available called CDN Tools and Fidgetr plugins, both available at wordpress.org.

Please click for part 1 of this 2 part interview.

In part 2 of this 2 part interview we continue talking about tips for WordPress developers. Paul recommends WordPress plugin developers check out Adam Brown‘s web site for his extensive documentation of the actions and hooks  (Adam Brown’s wp_hooks) in WordPress. We go on to discuss the subversion repository provided by WordPress.org. We reflect on the old and new WordPress plugin search web site as well as discuss the problem when plugins haven’t been updated for the latest builds of WordPress.

To learn more about Paul Kehrer and his plugins, please visit swearingscience.com.

Plugins 016 – Interview Paul Kehrer Part 1 CDN Tools & Fidgetr

This episode we interview Paul Kehrer, a WordPress user and plugin developer. Paul has written 4 plugins, 2 of which are publicly available called CDN Tools and Fidgetr plugins, both available at wordpress.org.

In part 1 of this 2 part interview we talk about developing plugins, web development, HTML5, as well as discussing open source software. Paul is an open source veteran and co-developed the popular MySQLTuner application written in Perl.

We discuss other plugins such as WP Super Cache, WP-Syntax,

Near the end of part 1, Paul discusses tips for other WordPress plugin developers.

Part two will be available next week, stay tuned