Looking forward to WordPress 2.9

The release of WordPress 2.9 is still a little way off. However, there’s already enough to get excited about. I’ve seen some of the media stuff, which allows you to crop and rotate images when you upload them, and it’s brilliant. It’s still a little rough around the edges, but it’s not finished yet so that’s to be expected. They’ve also updated TinyMCE to the latest version. Since the visual editor continues to be the bane of my existence, I’m always happy to see improvements to it. However, I’m a plugin author and programmer, so these front end changes aren’t what I’m most excited about.

They have changed how contact methods in a user’s profile are handled. Now, thanks to Joost they are completely filterable. You can add and remove contact fields as you please, making your user info exactly what you want it to be. For example, if you don’t use Yahoo Messenger but you do use Twitter, you can simply do this:

function twitterNotYim( $contactmethods ) {
	// Add Twitter
	$contactmethods['twitter'] = 'Twitter';

	// Remove Yahoo IM
	unset($contactmethods['yim']);

	return $contactmethods;
}

add_filter('user_contactmethods','twitterNotYim');

They’ve also added PUT support to the WP_Http class. Ever since the class was added in 2.7, I’ve been enjoying the ease and reliability it offers for making HTTP requests. It’s finally fleshing out to be a full featured API, and I use it in everything from Twitter Widget Pro to my PayPal Framework.

Lastly, and the most exciting thing in my opinion, is the new JSON class. JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). It has quickly become a standard for both AJAX calls as well as transferring data between sites. Popular sites like Twitter, Flickr, and del.icio.us all offer JSON versions of their APIs which allow for faster applications due to the reduced transfer. Twitter Widget Pro now uses this class (I packaged it with the plugin for those not using 2.9 yet).

News About WordPress 2.9

There was a meeting in IRC for WordPress developers yesterday. A release date for WordPress 2.8 was chosen, and they made some great decisions regarding WordPress 2.9 as well. Here’s a quick summary of the things I found important.

For WordPress 2.9, they’ve decided to raise the version of MySQL supported from 4.0 to 4.1.2! That may not seem like much to those of us out there using the latest versions of everything, since version 5.1 is out, 5.4 is in beta, and even 6.0 is under development (and because 4.1.2 was released in May of 2004). However, the big thing that sticks out to me is that 4.1 support subqueries and unicode. Unicode should help for people that are using WordPress in non-English languages, and subqueries should help to greatly simplify queries. Also in 4.1 MySQL added support for the ‘INSERT … ON DUPLICATE KEY UPDATE’ syntax which will insert a new row unless that would cause a duplicate primary or unique key, in which case it updates the existing row.

Read more

WordPress 2.8 Release Date

I’ll keep this short. There was a meeting in IRC for WordPress developers yesterday. The quick summary is that you can expect the release of 2.8 on June 10th, 2009. However, while that’s what so many people are asking, that wasn’t the exciting part! Stay tuned for news about WordPress 2.9.

WordPress 2.8 Brings Back Drag and Drop Widget Management

The next version of WordPress is due out soon (probably in early May), and one of the most exciting new things in WordPress 2.8 is the re-worked widgets admin. The vast majority of the complaints I received about the WordPress 2.5 admin redesign, were about the widget admin page. First, you could no longer add widgets using drag and drop. Instead they added the ever annoying “add” link, which would instantly add the widget to the bottom of the current sidebar. The other thing was that if you had a widget configured just how you wanted, and you needed to remove it for even a couple minutes, you would lose all the settings and have to re-do them all. Unfortunately, this seemingly backwards progress held on through versions 2.6 and 2.7 of WordPress as well. However, this page has undergone a complete redesign for 2.8. The real question is, does it make up for lost time? In order to try to answer this, I set up WordPress 2.8 on a development version of Xavisys.com.

Read more