WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Version 2.2

Announcement

On Tuesday, May 15, 2007, WordPress version 2.2 was released to the public. For information on the changes and improvements in this version, see the Changelog for 2.2.

For Version 2.2, the database version (db_version in wp_option) was 5183.

Installation/Upgrade Information

To download WordPress 2.2, visit http://wordpress.org/download/release-archive/

For step-by-step instructions on installing and upgrading WordPress:

If you are new to WordPress, we recommend that you begin with the following:

New User Features

  • Improved comment editing
  • Widgets (no longer a plugin but available under Presentation tab)
    • Widget capability added to Default and Classic themes
    • Archives and categories widgets have option to display in pulldown box
  • Deactivate Plugins automatically
  • New Blogger Import
  • Fewer clicks and better user experience for upgrades
  • Improved login accessibility
  • Improved UI when deleting Drafts
  • Improved clarity regarding "Spam it:" and "Delete it:" in comment notification e-mails

Developer / Power User Stuff

  • Atom 1.0 support for feeds.
  • Multiple format comment feeds, including Atom.
  • Switched to jQuery for core JS, which is lighter and faster.
  • Atom API support.
  • Additional XML-RPC APIs for pages and such.
  • phpmailer was integrated for performance and maintainability.
  • Plugin sandbox
  • TinyMCE is now enabled for Safari Webkit 420 and above.
  • New function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql()
  • Plugin add and apply filter optimizations
  • New style internationalization of quicktags.js
  • i18n of xmrpc.php error messages
  • Add a class to wp_list_bookmarks
  • Change MORE text link from anchor to span for proper validation
  • PHPdoc for plugin.php
  • Ability to set database character set and collation via wp-config.php
New values to support character set and collation in wp-config-sample.php:
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
  • Ability to set WordPress address (URL) and Blog address (URL) via wp-config.php
New values that can be added to wp-config.php
define('WP_SITEURL', 'http://www.sample.com/wordpress');
define('WP_HOME', 'http://www.sample.com');

List of Files Revised

readme.html		
wp-app.php	(added)	
wp-atom.php		
wp-blog-header.php		
wp-comments-post.php		
wp-commentsrss2.php		
wp-config-sample.php		
wp-cron.php		
wp-links-opml.php		
wp-login.php		
wp-mail.php		
wp-rdf.php		
wp-rss.php 		
wp-rss2.php		
wp-settings.php		
wp-trackback.php		
xmlrpc.php		
wp-admin/admin.php		
wp-admin/admin-ajax.php		
wp-admin/admin-db.php		
wp-admin/admin-functions.php		
wp-admin/admin-header.php		
wp-admin/cat.js	(added)	
wp-admin/categories.js		
wp-admin/categories.php		
wp-admin/cat-js.php	(deleted)	
wp-admin/custom-header.php		
wp-admin/dbx-admin-key.js	(added)	
wp-admin/dbx-admin-key-js.php	(deleted)	
wp-admin/edit.php		
wp-admin/edit-category-form.php		
wp-admin/edit-comments.js		
wp-admin/edit-comments.php		
wp-admin/edit-form-advanced.php		
wp-admin/edit-form-comment.php		
wp-admin/edit-link-form.php		
wp-admin/edit-page-form.php		
wp-admin/export.php		
wp-admin/import.php		
wp-admin/import/b2.php	(deleted)	
wp-admin/import/blogger.php		
wp-admin/import/dotclear.php		
wp-admin/import/greymatter.php		
wp-admin/import/livejournal.php		
wp-admin/import/mt.php		
wp-admin/import/rss.php		
wp-admin/import/textpattern.php		
wp-admin/import/wordpress.php		
wp-admin/index.php		
wp-admin/link-add.php		
wp-admin/link-import.php		
wp-admin/link-manager.php		
wp-admin/menu.php		
wp-admin/moderation.php		
wp-admin/options.php		
wp-admin/options-general.php		
wp-admin/options-head.php		
wp-admin/options-misc.php		
wp-admin/options-writing.php		
wp-admin/page.php		
wp-admin/page-new.php		
wp-admin/plugin-editor.php		
wp-admin/plugins.php		
wp-admin/post.php		
wp-admin/post-new.php		
wp-admin/rtl.css		
wp-admin/setup-config.php		
wp-admin/templates.php		
wp-admin/themes.php		
wp-admin/upgrade.php		
wp-admin/upgrade-functions.php		
wp-admin/upgrade-schema.php		
wp-admin/upload.css		
wp-admin/upload.js	(added)	
wp-admin/upload.php		
wp-admin/upload-functions.php		
wp-admin/upload-js.php	(deleted)	
wp-admin/user-edit.php		
wp-admin/users.php		
wp-admin/widgets.css	(added)	
wp-admin/widgets.php	(added)	
wp-admin/widgets-rtl.css	(added)	
wp-admin/wp-admin.css		
wp-content/index.php		
wp-content/themes/classic/comments-popup.php		
wp-content/themes/classic/functions.php	(added)	
wp-content/themes/classic/sidebar.php		
wp-content/themes/default/archive.php		
wp-content/themes/default/attachment.php		
wp-content/themes/default/comments.php		
wp-content/themes/default/comments-popup.php		
wp-content/themes/default/footer.php		
wp-content/themes/default/functions.php		
wp-content/themes/default/header.php		
wp-content/themes/default/images/kubrickbg.jpg	(deleted)	
wp-content/themes/default/images/kubrickbg-ltr.jpg	(added)	
wp-content/themes/default/images/kubrickbg-rtl.jpg	(added)	
wp-content/themes/default/rtl.css	(added)	
wp-content/themes/default/searchform.php		
wp-content/themes/default/sidebar.php		
wp-includes/author-template.php		
wp-includes/bookmark.php		
wp-includes/bookmark-template.php		
wp-includes/cache.php		
wp-includes/category.php		
wp-includes/category-template.php		
wp-includes/classes.php		
wp-includes/class-phpmailer.php	(added)	
wp-includes/class-pop3.php		
wp-includes/class-smtp.php	(added)	
wp-includes/comment-template.php		
wp-includes/compat.php		
wp-includes/cron.php		
wp-includes/default-filters.php		
wp-includes/deprecated.php		
wp-includes/feed.php		
wp-includes/feed-atom.php	(added)	
wp-includes/feed-atom-comments.php	(added)	
wp-includes/feed-rdf.php	(added)	
wp-includes/feed-rss.php	(added)	
wp-includes/feed-rss2.php	(added)	
wp-includes/feed-rss2-comments.php	(added)	
wp-includes/formatting.php		
wp-includes/functions.php		
wp-includes/general-template.php		
wp-includes/gettext.php		
wp-includes/images/rss.png	(added)	
wp-includes/js/autosave.js	(added)	
wp-includes/js/autosave-js.php	(deleted)	
wp-includes/js/crop/cropper.js		
wp-includes/js/jquery	(added)	
wp-includes/js/jquery/interface.js	(added)	
wp-includes/js/jquery/jquery.form.js	(added)	
wp-includes/js/jquery/jquery.js	(added)	
wp-includes/js/list-manipulation.js	(added)	
wp-includes/js/list-manipulation-js.php	(deleted)	
wp-includes/js/prototype.js		
wp-includes/js/quicktags.js		
wp-includes/js/scriptaculous/builder.js		
wp-includes/js/scriptaculous/controls.js		
wp-includes/js/scriptaculous/dragdrop.js		
wp-includes/js/scriptaculous/effects.js		
wp-includes/js/scriptaculous/MIT-LICENSE		
wp-includes/js/scriptaculous/prototype.js		
wp-includes/js/scriptaculous/scriptaculous.js		
wp-includes/js/scriptaculous/slider.js		
wp-includes/js/scriptaculous/unittest.js		
wp-includes/js/scriptaculous/wp-scriptaculous.js		
wp-includes/js/tinymce/plugins/autosave/editor_plugin.js		
wp-includes/js/tinymce/plugins/directionality/editor_plugin.js		
wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js		
wp-includes/js/tinymce/plugins/paste/editor_plugin.js		
wp-includes/js/tinymce/plugins/spellchecker/classes/TinyGoogleSpell.class.php		
wp-includes/js/tinymce/plugins/spellchecker/classes/TinyPspellShell.class.php		
wp-includes/js/tinymce/plugins/spellchecker/config.php		
wp-includes/js/tinymce/plugins/spellchecker/css/content.css		
wp-includes/js/tinymce/plugins/spellchecker/css/spellchecker.css		
wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js		
wp-includes/js/tinymce/plugins/spellchecker/langs/en.js		
wp-includes/js/tinymce/plugins/spellchecker/tinyspell.php		
wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js		
wp-includes/js/tinymce/plugins/wordpress/langs/en.js		
wp-includes/js/tinymce/plugins/wordpress/wordpress.css		
wp-includes/js/tinymce/themes/advanced/about.htm		
wp-includes/js/tinymce/themes/advanced/css/editor_ui.css		
wp-includes/js/tinymce/themes/advanced/editor_template.js		
wp-includes/js/tinymce/themes/advanced/jscripts/color_picker.js		
wp-includes/js/tinymce/themes/advanced/jscripts/link.js		
wp-includes/js/tinymce/themes/advanced/jscripts/source_editor.js		
wp-includes/js/tinymce/themes/advanced/langs/en.js		
wp-includes/js/tinymce/tiny_mce.js		
wp-includes/js/tinymce/tiny_mce_config.php		
wp-includes/js/tinymce/tiny_mce_gzip.php		
wp-includes/js/tinymce/utils/editable_selects.js	(added)	
wp-includes/js/tinymce/utils/form_utils.js		
wp-includes/js/tinymce/utils/mclayer.js		
wp-includes/js/tinymce/utils/mctabs.js		
wp-includes/js/tinymce/utils/validate.js		
wp-includes/js/tinymce/wp-mce-help.php		
wp-includes/js/wp-ajax.js	(added)	
wp-includes/js/wp-ajax-js.php	(deleted)	
wp-includes/l10n.php		
wp-includes/link-template.php		
wp-includes/locale.php		
wp-includes/pluggable.php		
wp-includes/plugin.php		
wp-includes/post.php		
wp-includes/post-template.php		
wp-includes/query.php		
wp-includes/registration-functions.php		
wp-includes/rewrite.php		
wp-includes/rss-functions.php		
wp-includes/script-loader.php		
wp-includes/template-loader.php		
wp-includes/theme.php		
wp-includes/user.php		
wp-includes/vars.php		
wp-includes/version.php		
wp-includes/widgets.php	(added)	
wp-includes/wp-db.php		
See also: other WordPress Versions.