Archive for November, 2005

Web 2.0. What it can do for me.

Friday, November 4th, 2005

Matt has an excellent idea for how he can make loads of money out of Web 2.0! It’s the perfect match of photography and language!
Hey, if he did open source it, or provide an API, it could be worked into a WordPress plugin so people could display their favourite photos and phrases on their blogs.
Cool!

wp-mail Love

Tuesday, November 1st, 2005

I gave a little love to wp-mail. If you use wp-mail, give it a try in the recent nightlies.

Resolving Subcategory URIs

Tuesday, November 1st, 2005

Thanks to Owen, we now use the entire category hierarchy when resolving category URIs. Previously, subcategories with the same name but different parents were not addressable. This bug has been around for awhile, and I’m glad to finally be rid of it. Now we need to do the same thing for pages.

Bookmarklet Love

Tuesday, November 1st, 2005

What with all of the backend admin changes that have gone in, the bookmarklet was horribly broken. It is operational once again. It still needs some UI love, but it works.

Database Versioning

Tuesday, November 1st, 2005

We recently added database versioning. Until now, the database was unversioned. When running upgrade.php, we would do all of the steps necessary to upgrade the DB from the earliest release of WP to the latest, regardless of what release of WP generated the DB being upgraded. To accomplish this, the upgrade code had to ensure that every action it performed worked against all versions of the WP DB and produced the same results no matter how many times upgrade.php was called. This could be a pain since we had to ensure that every upgrade action could recognize and not step on its own work when being called for the second, third, and fourth times. With the addition of a database version, we can do the work once and skip it on subsequent calls to upgrade.php. This makes the upgrade code easier to write and makes upgrade.php run faster. For example, 1.2 had some problems with double slashing quotes. Code in the upgrade went through the entire DB and fixed these double slashed quotes. This is an expensive operation that was run every time upgrade.php was called, even when upgrading from later releases that did not have the problem. Now we check the database version and skip that step if we aren’t upgrading from a 1.2 or earlier database. If you run upgrade.php against an up-to-date DB, upgrade simply returns immediately and does not touch the DB. A simple change that was overdue.