Latest in branch 2.2
2.2.3
Released 07 Sep 2007
(18 years ago)
SoftwareWordPress
Version2.2
Initial release2.2.0
15 May 2007
(19 years ago)
Latest release2.2.3
07 Sep 2007
(18 years ago)
Support statusNo
Release noteshttps://wordpress.org/documentation/wordpress-version/version-2-2-3/
Source codehttps://github.com/WordPress/wordpress-develop/tree/2.2.3
Documentationhttps://wordpress.org/documentation/
Downloadhttps://wordpress.org/download/releases/#branch-22
WordPress 2.2 ReleasesView full list

What Is New in WordPress 2.2

Category Key Changes
New Features Widgets for sidebars, Atom support, Full Blogger API support, New taxonomy system, Improved privacy options
User Experience Redesigned Write screen, Autosave for drafts, Tabbed editor for uploading files, Improved post preview
Developer Updates New WP_User class, Pluggable functions, Updated AtomLib, New page hook: page_new
Performance & Security Optimized comment queries, Fixed XSS vulnerabilities, Fixed cross-site request forgery issues

How did widgets change WordPress themes?

The Widgets API is the headline feature of this release. It allows users to drag and drop elements like categories, links, and search boxes into their sidebars without editing theme code. This fundamentally changed how users interact with their site's layout.

For developers, it meant creating a functions.php file to register sidebars and widgets. In practice, this shifted theme development from purely static templates to more dynamic, user-configurable layouts.

What developer APIs were introduced?

WordPress 2.2 laid crucial groundwork for future development. The new WP_User object provided a cleaner way to handle user data. The taxonomy system was also overhauled, separating the management of categories and link categories from the core code.

Pluggable functions became a key feature. This let developers override core functions like wp_mail() by placing their own version in a file before the core function was loaded. It was a more elegant solution than directly modifying core files.

How was the writing experience improved?

The Write screen got a significant visual and functional update. Autosave was introduced to protect against losing drafts, a major pain point for users. The interface for uploading files was revamped with a tabbed system for browsing the gallery and inserting media.

Post previews became more accurate, giving a much better representation of how the post would actually look when published. These changes were all about making the core content creation process smoother and more reliable.

What about feed and API support?

This release broadened WordPress's reach in the syndication world. Native support for the Atom publishing protocol and feed format was added alongside the existing RSS support. The Blogger API was also fully implemented.

This mattered because it improved interoperability with a wider range of external blogging tools and feed readers, making WordPress a more open and connected publishing platform.

FAQ

How do I make my theme widget-ready?
You need to register a sidebar in your theme's functions.php using register_sidebar() and then call dynamic_sidebar() in your template file (e.g., sidebar.php) where you want the widgets to appear.

What is the new WP_User class used for?
It provides an object-oriented way to access user data (ID, email, role, etc.) instead of relying on global variables. You create a new instance with a user ID: $user = new WP_User( 1 );.

How does the autosave feature work?
It automatically saves a draft of your post every 60 seconds. These autosaves are stored separately and can be reviewed if the browser crashes or you navigate away by accident before manually saving.

What security issues were addressed?
The release fixed several vulnerabilities, including cross-site scripting (XSS) flaws and cross-site request forgery (CSRF) issues, making the core more secure against common web attacks.

Can I override core functions without hacking core?
Yes, via pluggable functions. If a function is pluggable (like wp_mail()), you can define your own version in your plugin or theme's functions.php before the core file is loaded, and WordPress will use your function instead.

Releases In Branch 2.2

VersionRelease date
2.2.307 Sep 2007
(18 years ago)
2.2.205 Aug 2007
(18 years ago)
2.2.121 Jun 2007
(18 years ago)
2.2.015 May 2007
(19 years ago)