What Is New in WordPress 4.4
| Category | Key Changes |
|---|---|
| New Features | Twenty Sixteen theme, Responsive Images, oEmbed for WordPress sites, REST API (Infrastructure) |
| Improvements | Comment queries, Term metadata, Improved term splitting |
| Developer Features | REST API infrastructure, WP_Term class, Comment query improvements |
What makes the new Twenty Sixteen theme stand out?
Twenty Sixteen is a modern, blog-focused theme designed to look great on any device. It features a versatile color scheme and a balanced layout that puts your content front and center. This theme is perfect for bloggers who want a clean, readable, and mobile-ready design right out of the box.
How does responsive images work in WordPress 4.4?
WordPress 4.4 automatically adds srcset and sizes attributes to your images, allowing
browsers to choose the most appropriate file size based on the user's viewport. This means a mobile phone will
download a smaller, optimized image instead of a large desktop-sized file. It's a huge win for performance and
user experience without any extra work from theme developers.
What can I do with the new oEmbed feature?
You can now embed content from any WordPress site simply by pasting a URL into the editor, just like you would with YouTube or Twitter. This feature turns your entire network of WordPress sites into an oEmbed provider. In practice, this makes sharing posts and pages between your own sites or with other WordPress users incredibly seamless.
What is the new REST API infrastructure?
This release introduces the foundational infrastructure for the WordPress REST API directly into core. It provides a standardized way for developers to interact with WordPress data. While the endpoints themselves came later, this was the critical first step that enabled the modern headless WordPress development we see today.
What improvements were made for developers?
Term Metadata
Taxonomy terms now support metadata, similar to posts. This allows you to store additional information for
categories, tags, or custom terms using the new add_term_meta(), get_term_meta(), and
related functions.
WP_Term Class
Terms are now represented by a new WP_Term object, bringing more consistency to the WordPress object
model. This makes working with term data more predictable and object-oriented.
Comment Query Improvements
Comment queries have been optimized to be significantly faster, especially on sites with a large number of comments. This was a long-awaited performance boost for large communities and news sites.
FAQ
Do I need to change my theme to support responsive images?
No, the feature works
automatically for images uploaded through the media library. However, to get the most out of it, ensure your
theme uses standard WordPress functions like the_post_thumbnail() and
wp_get_attachment_image().
Is the full REST API available in 4.4?
No, 4.4 only includes the infrastructure layer. The
content endpoints that allow you to retrieve posts and pages via JSON were introduced in a later version. This
was the essential plumbing that made the eventual endpoints possible.
How do I use the new term meta functionality?
You can now store and retrieve metadata for
terms using functions patterned after post meta. For example:
add_term_meta( $term_id, 'key', 'value' );. This is useful for adding custom fields to categories
or tags.
Will the oEmbed feature work on my multisite network?
Yes, the feature works for any
WordPress site running 4.4 or higher. You can embed posts from one site on another site within your network by
just pasting the URL, which simplifies content sharing across sites.
What's the deal with the improved comment query performance?
The database queries for
retrieving comments were rewritten to be more efficient. On sites with tens of thousands of comments, this can
lead to a noticeable reduction in page load times for posts with large comment threads.