Fresh Styles and WordPress 2.8

June 19th, 2009 | Tags: , , ,

About a week ago I whacked the auto-upgrade button on my admin interface to take me up to Wordpress 2.8. It is really nice how you can upgrade even the core system in a single click, right in the browser, without fiddling around on the server.

Unfortunately, after the upgrade, every other form submission on the backend was giving me blank pages and error messages, and I determined that my outdated theme was likely to blame. What’s more, I had foolishly made several customizations to the theme’s CSS, which of course would not be preserved when I upgraded it. Since I always thought that theme was a bit dull, anyway, I figured it would be as good a time as any to search around for a new one. As a side note, the new theme browser/installer in 2.8 made this task incredibly easier than it had been before.

So now we’re rolling along error-free with a new theme and all my customizations safely stashed in the Custom User CSS plugin. I’m still not totally satisfied with this theme (especially the weird fadey drop-down menus) and will probably change it again in the future, but that’s life. On the positive side, the main content area is now just wide enough to squeak a 640-pixel-wide image into.

One of the non-CSS customizations I had made to my old theme was to add several lines of PHP that would prevent my content from being “texturized” – straight quotes replaced with smart quotes, doubled hyphens replaced with real dashes, etc. When I enabled the new theme and the texturization returned, I was surprised to notice that the one thing about it that really annoyed me had apparently been fixed: Straight quotes inside <code> blocks are no longer converted into smart quotes. I’m not sure if this is a fix on the part of the theme or WordPress 2.8 (I don’t see anything in the changelog about it), but either way I’m happy enough to leave the feature turned on.

The one thing that really impressed me about 2.8 is the new syntax-highlighting, line-numbering, generally awesome-looking code editor. This is the first time I’ve seen anything like this, though in retrospect it seems like an obvious idea: If we can already do WYSIWYG editing for normal content, why not apply some nice formatting and colors to code-editing as well? If you’re curious to see what this looks like, the WordPress 2.8 release announcement has a slick video overview that touches on the code editor and various other new features (I recommend watching it, if only to witness the incredibly high production values for it being an announcement of a point release).

  1. Chris Lockfort
    June 22nd, 2009 at 15:02
    Reply | Quote | #1

    I wonder how well the “auto-upgrade” button does with your hacked-up Debian copy of WordPress. Probably overwrote some of the Debian-specific poppycock with sweet vanilla goodness… ?

  2. Grantovich
    June 26th, 2009 at 20:21
    Reply | Quote | #2

    This IS a vanilla install, and always has been, except for the first few days of the site’s existence. Apparently you forgot the part where I dumped the Debian package entirely because of all the questionable “modifications” made by the packagers. (Whole pages of the admin interface had been commented out!)