WordPress Release: 2.3.0

Tag Name: 2.3.0

Release Date: 10/6/2007

WordPress LogoWordPress

World's most popular open-source content management system powering over 40% of all websites. Offers extensive plugin ecosystem, themes, and robust community support for blogs, e-commerce, and corporate websites. Highly customizable and scalable platform suitable for beginners and advanced developers.

TL;DR

WordPress 2.3 introduces a major new feature: native tagging support through a new taxonomy system. This release also brings canonical URLs to improve SEO, plugin update notifications, and improved feed support. The new taxonomy system provides a flexible foundation for content organization beyond traditional categories, while maintaining backward compatibility with existing plugins and themes.

Highlight of the Release

    • Native tagging support through a new taxonomy system
    • Canonical URLs for improved SEO
    • Plugin update notifications
    • Tag importers for popular tagging plugins
    • Improved feed support with new actions and filters
    • Enhanced security with wp_safe_redirect()

Migration Guide

Upgrading to WordPress 2.3

For Users of Tagging Plugins

If you've been using a tagging plugin, WordPress 2.3 includes importers for several popular tagging plugins:

  1. Go to Tools → Import
  2. Select your previous tagging plugin (Simple Tagging, Ultimate Tag Warrior, Jerome's Keywords, or Bunny's Technorati Tags)
  3. Follow the instructions to import your tags

After importing, you can safely deactivate and remove your old tagging plugin.

For Theme Developers

If your theme displays categories, you may want to update it to display tags as well:

<?php the_tags('Tags: ', ', ', '<br />'); ?>

Or use the tag cloud:

<?php wp_tag_cloud(); ?>

For Plugin Developers

The new taxonomy API may require updates to plugins that interact with categories. Review the taxonomy functions in taxonomy.php to ensure compatibility.

Deprecated Functions

Several functions have been deprecated in this release:

  • permalink_single_rss() - Use the_permalink_rss() instead
  • Various link functions - See wp-includes/deprecated.php

Review your code for these deprecated functions and update accordingly.

Upgrade Recommendations

Recommendation: Standard upgrade recommended for all users.

WordPress 2.3 introduces significant new features and improvements that benefit all users, particularly with the native tagging system and SEO improvements. The upgrade is generally smooth with good backward compatibility.

Before upgrading:

  1. Back up your database and files
  2. Check if you're using any tagging plugins that will be replaced by the native system
  3. Test your themes and plugins in a staging environment if possible

After upgrading:

  1. Import tags from previous tagging plugins if applicable
  2. Update themes to display tags if desired
  3. Test that canonical URLs are working correctly
  4. Verify that feeds are displaying correctly

This release maintains good backward compatibility, but theme developers may want to update their themes to take advantage of the new tagging features.

Bug Fixes

Feed and URL Handling

  • Fixed get_post_comments_feed_link() to work properly with pages
  • Fixed how wp_filter array is keyed
  • Fixed plugin basename for Windows servers
  • Fixed URL handling to prevent stripping @ from URLs
  • Fixed url_to_postid to prevent access to private query vars

Post and Comment Management

  • Fixed mt_allow_pings handling
  • Fixed orphaned comments in Blogger importer
  • Fixed comment flood check to prevent load problems on large sites
  • Fixed category to tag conversion to retain the default category
  • Fixed tag handling when saving posts with attachments

Admin Interface

  • Fixed styling for update notification
  • Fixed tab order when editing comments
  • Fixed display of "View" links in post/page listings
  • Fixed handling of posts without titles in admin notifications
  • Fixed author dropdown to always include the post author

Compatibility

  • Added back compatibility for get_the_category()
  • Resurrected admin-functions.php and upgrade-functions.php for backward compatibility
  • Fixed upgrade process for blogroll from WordPress 2.0
  • Fixed unique slug generation during upgrade

New Features

Native Tagging Support

WordPress 2.3 introduces a powerful new taxonomy system that brings native tagging support to WordPress. This eliminates the need for tagging plugins and provides a flexible foundation for organizing content beyond traditional categories. The taxonomy API allows for custom taxonomies beyond just tags and categories.

Plugin Update Notifications

Administrators will now receive notifications when plugin updates are available, similar to the core WordPress update notifications. This helps keep sites more secure and up-to-date.

Canonical URLs

WordPress now includes canonical URL support to improve SEO by preventing duplicate content issues. The system automatically redirects to the preferred URL structure, helping search engines properly index your content.

Tag Importers

Several importers are included to help migrate tags from popular tagging plugins:

  • Simple Tagging
  • Ultimate Tag Warrior
  • Jerome's Keywords
  • Bunny's Technorati Tags

Enhanced Feed Support

New actions and filters have been added to improve feed functionality:

  • commentsrss2_head action
  • the_permalink_rss() function with accompanying filter
  • Tags are now included in feeds

Widget Improvements

The widgets admin now uses jQuery for improved performance and user experience.

Security Updates

URL and Redirect Security

  • Introduced wp_safe_redirect() to prevent open redirect vulnerabilities
  • Added wp_sanitize_redirect() for cleaning redirect URLs
  • Improved handling of private query variables

Form Handling

  • Added nonces to tag importers for CSRF protection
  • Enhanced AJAX referer checking with check_ajax_referer()

Input Sanitization

  • Improved sanitization of bookmark functions
  • Better sanitization of options
  • Enhanced URL sanitization with clean_url filter

Performance Improvements

Query and Cache Improvements

  • Added wp_reset_query() function to properly reset query variables after custom loops
  • Improved term caching to prevent unnecessary database queries
  • Made the comment flood check pluggable to prevent load issues on large sites

Script Loading Optimization

  • Updated to jQuery 1.1.4 for better performance
  • Improved script loader with better dependency handling
  • Added cache busting for CSS files to ensure proper updates

Database Handling

  • Improved handling of database errors with better error reporting
  • Added user_nicename key to users table for faster user lookups
  • Optimized term count calculations during upgrades

Impact Summary

WordPress 2.3 represents a significant evolution in WordPress's content organization capabilities with the introduction of the taxonomy system and native tagging support. This foundational change provides a more flexible way to organize and present content beyond the traditional category system.

The new canonical URL system addresses a long-standing SEO challenge by helping to prevent duplicate content issues, which can significantly improve search engine rankings for WordPress sites. This is particularly valuable for sites with complex permalink structures.

Plugin update notifications bring an important security enhancement by encouraging more timely updates of plugins, which are a common attack vector for WordPress sites. This feature helps administrators keep their sites more secure with minimal effort.

For developers, the taxonomy API opens up new possibilities for custom content organization beyond just tags and categories. The additional hooks and filters throughout the system provide more control points for customization.

The migration path from popular tagging plugins demonstrates WordPress's commitment to backward compatibility while moving the platform forward. This approach allows users to adopt the native system without losing their existing content organization.

Overall, WordPress 2.3 strengthens WordPress's position as a flexible content management system while maintaining its user-friendly approach and backward compatibility.

Statistics:

File Changed237
Line Additions8,834
Line Deletions7,050
Line Changes15,884
Total Commits250

User Affected:

  • Can now use native tagging without plugins
  • Receive notifications about plugin updates
  • Benefit from improved SEO with canonical URLs
  • Can import tags from popular tagging plugins

Contributors:

mryanborenmarkjaquithwesti