14th November and WordPress 4.9 has been released, with it a tonne of new features and updates. So let me sum up whats new, what you need to worry about and how to upgrade.
Improvements To Customizer Version Control And Usability
There are two big changes to the WordPress Customizer, as well as one smaller usability tweak.
Save, Schedule, And Share Customizer Changes
In current versions, the only way to save the changes that you make in the WordPress Customizer is to publish them to the live version of your site. That’s fine if you want the changes to go live right away, but it’s not very user-friendly if you’re actively working on some tweaks that you don’t want to share with your visitors just quite yet.
WordPress 4.9 changes things with some awesome new functionality.
First, when you want to save Customizer changes, you can now choose from three different options:
- Publish – publishes changes right away just like how the Customizer currently functions.
- Save Draft – saves the current changes as a draft. They won’t go live, but they will stay there until the next time you open the Customizer.
- Schedule – schedule your changes to go live at a specific time and date.
In that screenshot above, you can also see the second new addition – the Share Preview Link.
This new feature generates a link that you can share with others to preview the changes that you’ve made in the Customizer. The cool thing is that those people don’t need to be Admins at your site. Nor do they even need to have an account!
You can safely share a preview of the changes that you’ve made with absolutely anyone.
These two changes are a massive improvement and make the WordPress Customizer much more viable as a serious website customization tool.
Install WordPress.org Themes Directly From The WordPress Customizer
Another new addition to the WordPress Customizer is the ability to install WordPress.org themes directly from the Customizer.
Now, if you click the Change button next to your active theme in the Customizer:
You’ll get a new option for WordPress.org themes. If you choose that radio select box, you’ll be able to search through WordPress.org themes and install them right from the Customizer:
This one isn’t technically adding new functionality in the grand scheme of things. But it does streamline the process of going from activating a theme to customizing a theme.
Create Menus With A More User-Friendly Interface
Finally, WordPress 4.9 brings a rework of how you create menus from the WordPress Customizer. You’re not really getting any new features – but the team has rearranged the process to be more streamlined and user-friendly.
In case you don’t remember, here’s how the current process starts off:
And here’s what the beginning of the new process looks like in WordPress 4.9:
It’s not a major change, but it’s definitely a bit more user-friendly and eliminates some unnecessary button clicks.
New Gallery Widget + Add Media Button In Text Widget
Beyond the WordPress Customizer, the widget area also got some continued love since the addition of media widgets and visual editing in WordPress 4.8.
Brand New Gallery Widget
Say goodbye to Jetpack, because everyone will have a gallery widget in WordPress 4.9!
Given that WordPress 4.8 introduced an image widget, it only makes sense that WordPress 4.9 enhances that with a new dedicated gallery widget.
It functions pretty much as you’d expect – you drag it over and use the Add Images button to select images from your WordPress media library:
Just as with the core WordPress Gallery functionality, you can choose ordering, sizing, and columns:
And then you’ll have your gallery on the frontend of your site:
Add Media Button + Shortcodes In Text Widget
Another continuation of the changes from WordPress 4.8 is the addition of the Add Media button to the text widget. This only made sense given how WordPress 4.8 added visual editing:
One neat thing is that you can actually use the text widget to create a gallery now thanks to the Add Media button. So the gallery widget is really just a more user-friendly version of this functionality:
Additionally, shortcodes will now render in text widgets by default – no more need to add a filter.
CodeMirror For Syntax Highlighting and Error Checking
The third big visible change in WordPress 4.9 is the introduction of the CodeMirror editor.
If you’re not familiar, CodeMirror is a text editor focused on editing code. It offers a number of features to make the editing experience better, notably:
- Syntax highlighting
- Live error checking
Starting in WordPress 4.9, CodeMirror will be the editor for:
- Custom CSS in the WordPress Customizer
- Editing theme or plugin code from the dashboard editor
- The custom HTML widget
But before I show you the new editing experience, here’s another minor addition that I stumbled on…
If you try to directly edit your theme’s template files, WordPress now gives you a warning message:
And once you confirm that, you can enjoy the new CodeMirror editing experience:
Additionally, WordPress 4.9 introduces a new API so that developers can easily integrate the CodeMirror editing experience into their own projects.
And if you’re not a fan of the syntax highlighting, you can always turn it off by going to your user profile:
Other Smaller Features Coming In WordPress 4.9
As you’d expect, WordPress 4.9 also brings a number of smaller tweaks and improvements. Some notable changes are:
- Removal of the SWFUpload library
- New roles and capabilities for activating/deactivating individual plugins and translation management.
- Users will require email confirmation before they can change their email address.
You can view a list of most of the tweaks here.
What Are You Most Excited For?
And that wraps up our list of what to expect in WordPress 4.9! Beyond the bevy of smaller tweaks, WordPress 4.9 will improve:
- The WordPress Customizer
- WordPress widgets
- The WordPress code editing experience