5 lesser-known improvements in WordPress 4.6

WordPress 4.6, “Pepper” was released earlier this week to what has been by all accounts a pretty great reception. Notable features and improvements in 4.6 include Shiny Updates v2™, native fonts in the admin, editor improvements, and a whole host of developer goodies.

And as with any major release of WordPress, there are always features and improvements made that get overlooked. Here’s five little-known features, fixes, and improvements you may not know about in WordPress 4.6.

1. A modernized Import screen

Before and after (WordPress 4.6) screenshots of the Import screen

What began as an effort to remove title attributes for accessibility reasons eventually turned into a significant usability refresh of the Import screen.

Easily the biggest change was making this screen feel more like a place to manage and launch importers as separate actions. Each importer now has row actions to install and run, as well as a “Details” link that opens the plugin information popup just like with regular plugins.

As a bonus, importers can also now be installed in-line similarly to how shiny updates allows for in-line updates of plugins and themes. Click “Install” and it happens in place. Smart!

Finally, 4.6 also introduces help text to this screen. Overall, big – yet incremental – usability changes to a not oft-used screen. And of course, it’s now more accessible!

2. Network Admin and the Sites menu got a better icon

Before and after (WordPress 4.6) screenshots of the Sites menu icon in the Network Admin

In a relatively minor change, a new dashicon was introduced for the Network Admin toolbar item, as well as the Network Admin > Sites menu. Big improvement over the old ambiguous key icon.

3. Embed previews when inserting from a URL were fixed

Screenshot of the Insert From URL workflow in the media modal in WordPress 4.6

With the advent of embeddable WordPress content starting in 4.4, came the ability to embed that content via the Insert from URL workflow in the media modal. At some point, the preview mechanism was broken; this has been fixed in 4.6. Love this feature.

4. Upload and install plugins from the same screen

Add plugins drop-down panel in Add Plugins in WordPress 4.6

A core tenet of the Shiny Updates v2™ feature in WordPress 4.6 was to increase the efficiency of installing and updating plugins and themes.

One lesser-known way this was achieved was by integrating the plugin upload form into the main Add Plugins screen. The old way redirected users to a completely separate page.

If you’re wondering why that sounds familiar, it already worked this way in Add Themes. Regardless, nice to see incremental usability improvements like this.

5. Actions and filters can now be properly deprecated

One code change that really didn’t get a lot of play in feature announcements was that deprecating hooks is now possible in core. Add-on developers may now collectively rejoice!

No core hooks were deprecated in 4.6, but that shouldn’t stop plugin and theme developers from using it right away,

Two new global functions were added, do_action_deprecated() and apply_filters_deprecated(), along with the private helper they both use: _deprecated_hook(). All in all, deprecating hooks is pretty straightforward:

Old action call:

/**
 * Fires when writing Codex articles.
 *
 * @since 0.71
 *
 * @param bool $codex  Whether to write Codex articles. Default false.
 * @param bool $devhub Whether to write DevHub articles. Default true.
do_action( 'write_codex_articles', $codex, $devhub );

Deprecated action call:

/**
 * Fires when writing Codex articles.
 *
 * @since 0.71
 * @deprecated 3.7.0
 * @see 'write_devhub_articles'
 */
do_action_deprecated( 'write_codex_articles', array( $codex, $devhub ), '3.7.0', 'write_devhub_articles', 'woohoo!' );

Boom.


Hope you’ve enjoyed this post. Are there any other lesser-known improvements in WordPress 4.6 that tickled your fancy? Share them in the comments!

WordPress can learn a lot from Apple CareKit

Earlier today I watched an Apple town hall event that announced, among other things, a couple of new devices and a new IOS app called CareKit, part of Apple’s “Health” initiative. As an Android user, I don’t usually pay much attention to IOS-related announcements, but the CareKit launch made me sit up and take notice.

In Apple COO Jeff Williams’ CareKit presentation, I was really struck with the level of innovation this new app – and its previously released companion app, ResearchKit – imbue.

Think about this for a moment: Apple took what was already a strong product with a targeted base, and leveraging its strengths as a mobile input device, introduced a completely new level of usefulness in the form of health data collection.

ResearchKit has empowered health institutions to aggregate massive amounts of health data never before collectable, which in turn has made it possible to draw more informed conclusions about common diseases and disorders.

This new CareKit app more closely targets personal care rather than aggregated care by building a direct bridge between caregivers and patients.

I feel like these two apps constitute a life-changing innovation, which in my opinion is a feature so profound and yet so simple, that we wonder how we lived without it.

And it’s there, where I think WordPress can learn a lot from Apple on the innovation front.

WordPress has always striven to make the process of content publishing easier. At the same time, new features are often great and useful, but also occasionally gimmicky or fickle to the latest fad.

In some respects, there are already solid examples of WordPress being used as a vehicle for success in the worldwide community. In fact, a recent HeroPress post by Raghavendra Satish Peri, Finding Hope In The Darkness, is evidence enough that there is great promise in pursuing the line of thinking that WordPress can be a game changer in people’s lives.

If we’re to aim for that elusive 50 percent market share Matt Mullenweg so publicly espouses, we’re going to have to think more critically about what WordPress can do to change how people think about it as a platform.

Perhaps it’s time we turn our idea of success on its head, and leveraging its strengths, find ways for WordPress to innovate in making people’s lives easier.

Then I think we’d really be off to the races.