WordPress released WordPress 4.6, nicknamed Pepper, yesterday (16 Aug 2016). And here are all the new features that were introduced as part of this release.
1. Shiny Updates
WordPress 4.6 comes with “Shiny updates” feature for both themes and plugins. This introduces a better and simple experience when updating themes and plugin. No more new page loads during updates. Instead using AJAX you will stay on the same page when you install, update or delete your plugins and themes.
The introduction of AJAX has also improved the search in the installed plugins page. When you start typing the search term in the search box, the results start appearing below without a page reload.
Here is a video with a live example from my website.
2. Native Fonts
WordPress dashboard now takes advantage of the fonts you already have, making it load faster. WordPress 4.6 will use the following font stacks on different platforms and operating systems.
-apple-system
for Safari (iOS & macOS) and Firefox macOSHelvetica Neue
for versions of macOS prior to 10.11BlinkMacSystemFont
for Chrome macOSSegoe UI
for WindowsRoboto
for Android and Chrome OSOxygen-Sans
for KDEUbuntu
for UbuntuCantarell
for GNOMEsans-serif
, the standard fallback
3. Inline Link Checker
When you use the Visual Editor to write your posts, WordPress 4.6 will notify you if you ever accidentally input a broken link. These broken links will be highlighted similar to misspellings highlights making it easier for you to identify and update such links. See an example below:
WordPress automatically sends an HTTP request to the link. If the link responds with an error 403 or 404, WordPress will flag it as a bad link and highlight it in red.
4. Content Recovery
WordPress 4.6 saves your content locally to the browser as you type. This is a very useful feature if you work in areas with spotty internet connections or you do something like refreshing the page without saving. You will see a friendly notice like below with a “Restore the backup” button that lets you restore the content saved to the browser.
5. Under the Hood Changes
5.1 Resource Hints
WordPress 4.6 automatically adds resource hints for your styles and scripts making your sites load faster. This allows browsers to prefetch specific pages, render them in the background, perform DNS lookups, or begin the connection handshake (DNS, TCP, TLS) in the background.
5.2 Robust Requests
The HTTP API now uses the Requests library instead of using specific WordPress-specific HTTP library. This improves HTTP standard support and in adding case-insensitive headers, parallel HTTP requests, and support for Internationalized Domain Names.
5.3 New Classes – WP_Term_Query
and WP_Post_Type
WP_Term_Query
is modelled on existing query classes and provides a more consistent structure for generating term queries. It brings parity between taxonomy term queries and WordPress’s other content type queries.
WP_Post_Type
object makes interacting with post types more predictable. It provides methods to handle post type supports, rewrite rules, meta boxes, hooks, and taxonomies. This changes the global $wp_post_types
to an array of WP_Post_Type
objects.
5.4 Meta Registration API
Meta Registration API has been expanded in WordPress 4.6 to support types, descriptions, and REST API visibility.
5.5 Translations On Demand
WordPress 4.6 has improved the way in which translations load for WordPress officially hosted plugins and themes that use language packs via WordPress.org’s translation platform. It will automatically scan the community translation directory for available translations and instantly load the updates.
5.6 JavaScript Library Updates
Masonry 3.3.2, imagesLoaded 3.2.0, MediaElement.js 2.22.0, TinyMCE 4.4.1, and Backbone.js 1.3.3 are now bundled in WordPress 4.6.
5.7 Customizer APIs for Setting Validation and Notifications
WordPress 4.6 includes new APIs related to validation of Customizer setting values. Customizer controls support notifications, which are used to display validation errors instead of failing silently.
5.8 Faster Multisite
WordPress 4.6 introduces new Multisite classes WP_Site_Query
and WP_Network_Query
as well as their companion functions, get_sites()
and get_networks()
. These help craft advanced queries with less effort making Multisite website even faster.
WP_Site_Query
helps to query sites with lazy loading for details.WP_Network_Query
helps to query networks with lazy loading for details.
Here is a video from WordPress on Pepper.
WordPress will release one more update in 2016. The release of next version WordPress 4.7 will be lead by Helen Hou-Sandí and is scheduled to release in December 2016.
Thanks for this important information.
I have also updated one of my website to WordPress version 4.6. Since I expected more features from it like previous version, it satisfied me with many improvements.
But my major concern is that my ALL ADSENSE ADS ARE NOT SHOWING IN NEW POSTS( posts that are being written after updating WordPress 4.6).
I checked all plugin settings, server settings, cache settings but nothing worked for me..
You can see the difference here –
This is my newer post (wriiten after updation of wordpress to the latest version) where only one or two ads are working – http://www.indianbharti.com/kpcl-assistant-recruitment-2016-17/
My previous post where ads are working fine – http://www.indianbharti.com/indian-army-rally-bharti-2016-17-joinindianarmy-nic/
Please help me.
Sure thing. Let me have a look.
Hi Vijay,
Since I do not have full access to your website, I can do only a high-level analysis. I noticed a few things:
a) On New Post page (http://www.indianbharti.com/kpcl-assistant-recruitment-2016-17/) – some ads are appearing and some are just coming up as blank. The ad right under the main heading is visible. The ads under the sub-headings are not displayed, though.
b) The plugin is generating the code to show ads, but the ads are coming up as blank.
Have you recently updated your theme? Sometimes that can cause these issues.
And also try the steps listed here Vijay – https://support.google.com/adsense/answer/113262?rd=1
Hello Sony. Thanks for your kind response.
I am facing this problem from the WordPress 4.6. Before updating to 4.6, everything was working fine. I am not using any plugin to insert adsense codes. So that’s not a plugin issue.
My all posts and ads are showing except the one I have updated/written in WordPress 4.6.