Stable Release in branch 3.4
3.4.2
Released 06 Sep 2012
(13 years ago)
SoftwareWordPress
Version3.4
Initial release3.4.0
13 Jun 2012
(14 years ago)
Latest release3.4.2
06 Sep 2012
(13 years ago)
Support statusNo
Release noteshttps://wordpress.org/documentation/wordpress-version/version-3-4-2/
Source codehttps://github.com/WordPress/wordpress-develop/tree/3.4.2
Documentationhttps://wordpress.org/documentation/
Downloadhttps://wordpress.org/download/releases/#branch-34
WordPress 3.4 ReleasesView full list

What Is New in WordPress 3.4

Category Key Changes
New Features Theme Customizer, Theme Previewer, Custom Headers, Better Image Captions
Improvements Tweaks to XML-RPC, Better i18n Support, HTML5 for Captions, UI Refinements
Bug Fixes Numerous fixes across the core platform

How does the Theme Customizer work?

WordPress 3.4 introduced the live Theme Customizer, a major shift in how users modify their site's appearance. It allows for real-time previewing of changes to colors, backgrounds, and other theme options before publishing them. This feature laid the groundwork for the extensive customization workflow we have today.

Theme Previewer

Directly tied to the Customizer, the Theme Previewer lets users test-drive any installed theme with their actual content. You could see exactly how a new theme would look before making it active, eliminating the guesswork for site owners.

What improvements were made for theme developers?

This release added powerful new APIs for theme authors. The custom header API was simplified, allowing for more flexible header images and support for video headers. Custom background support also became more robust and easier to implement.

Better Image Captions

Image captions were rebuilt to use proper HTML5 markup. In practice, this meant moving from <div> and <dl> tags to a cleaner <figure> and <figcaption> structure, improving semantics and styling options.

Were there any under-the-hood tweaks for developers?

Yes, several core APIs saw refinement. The XML-RPC implementation received updates for better performance and compatibility. The translation system (i18n) was also improved, making it smoother for developers to prepare their themes and plugins for localization.

Many smaller UI and UX tweaks were sprinkled throughout the admin, polishing the overall user experience. This included various accessibility improvements to make the platform more usable for everyone.

FAQ

How do I start using the new Theme Customizer API?
You need to hook into the customize_register action to add settings, controls, and sections. The API allows you to expose your theme's options for live manipulation within the customizer interface.

Does the new HTML5 caption markup break my old theme's CSS?
It might. If your theme had custom styles targeting the old div.caption or dl elements, you will need to update your CSS to target the new figure.wp-caption and figcaption.wp-caption-text selectors.

Can I use video for custom headers now?
The foundation for more flexible headers was laid in 3.4, but full native video header support came in a later version. This update primarily streamlined the process for static images.

Were there any database schema changes in this update?
No, version 3.4 did not include changes to the database schema. This minimizes upgrade risks for existing sites as it's a non-destructive update.

Is it easier to translate my plugin after these i18n improvements?
The core improvements made the translation infrastructure more consistent and reliable. For developers, it meant fewer edge cases and a smoother process for making their code translatable.

Releases In Branch 3.4

VersionRelease date
3.4.206 Sep 2012
(13 years ago)
3.4.127 Jun 2012
(14 years ago)
3.4.013 Jun 2012
(14 years ago)