{"id":11096896,"date":"2019-01-16T18:43:30","date_gmt":"2019-01-16T18:43:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_version&amp;p=11096896"},"modified":"2019-01-16T18:43:30","modified_gmt":"2019-01-16T18:43:30","slug":"version-4-7","status":"publish","type":"helphub_version","link":"https:\/\/wordpress.org\/documentation\/wordpress-version\/version-4-7\/","title":{"rendered":"Version 4.7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On December 6, 2016, WordPress&nbsp;<strong>Version 4.7<\/strong>, named for jazz vocalist Sarah &#8220;Sassy&#8221; Vaughan, was released to the public. For more information on this enhancement and bug-fix release, read the&nbsp;<a href=\"https:\/\/wordpress.org\/news\/2016\/12\/vaughan\/\">WordPress Blog<\/a>, and see the&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Changelog\/4.7\">Changelog for 4.7<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<strong>Version 4.7<\/strong>, the database version (<strong>db_version<\/strong>&nbsp;in&nbsp;<strong>wp_options<\/strong>) changed to 38590, and the&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/\">Trac<\/a>&nbsp;revision was 39524.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/trac.wordpress.org\/query?status=closed&amp;milestone=4.7\">View Closed Tickets\ufeff<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Highlights<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">New Default Theme &#8211; Twenty SeventeenIt is an ambitious theme designed for business websites that focuses on a creative home page and an easy site setup experience for users (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/18\/twenty-seventeen-merge-proposal-for-4-7\/\">read more 1<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/29\/theming-with-twenty-seventeen\/\">2<\/a>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/07\/twenty-seventeen-top.png\" alt=\"\" class=\"wp-image-4057\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>multiple sections on the front page, selected in the Customizer.<\/li><li>a striking asymmetrical grid.<\/li><li>custom color schemes, built on top of a monochromatic foundation, and adjustable via a hue picker.<\/li><li>different headline placement for pages, changeable in the Customizer, via them options.<\/li><li>a great experience in many languages, thanks to language-specific font stacks.<\/li><li>SVG icons (a first for a default theme).<\/li><li>support for custom logo, custom header image and many post formats.<\/li><li>the use of&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/09\/09\/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7\">new functions in Core<\/a>&nbsp;for making child theming easier.<\/li><\/ul>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color wp-block-paragraph\"><strong>Note<\/strong>: Twenty Seventeen only works on 4.7 and above. It uses the new video header and starter content features, each launched in 4.7.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">REST API Content Endpoints<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">API endpoints for WordPress content. WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings. Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with your site.&nbsp;<a href=\"https:\/\/developer.wordpress.org\/rest-api\/reference\/\">Check out the REST API reference<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Finer Points<\/h2>\n\n\n<dl>\n<dt>Theme Starter Content<\/dt>\n<dd>Starter Content is the theme-specific selections of content to help showcase a theme to users and serve as a starting point for further setup of new sites. The initial view of a theme with starter content will only happen for &#8220;fresh sites&#8221; &#8211; new installs that have not yet had any posts, pages, widgets, or customizer settings updated (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/30\/starter-content-for-themes-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Edit Shortcuts<\/dt>\n<dd>Visible icons appear to show you which parts can be customized right there while live previewing. Click on a shortcut and get straight to editing, no decoding of widget area names or extra clicks needed. Paired with starter content, getting started with customizing your site is faster than ever (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/10\/visible-edit-shortcuts-in-the-customizer-preview\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Video Headers<\/dt>\n<dd>WordPress 4.7 extends the Custom Header feature to introduce support for video. Video headers play automatically, loop by default, and don&#8217;t have sound. They work best when paired with an image, so they can progressively enhance the experience when video is supported (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/26\/video-headers-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Smoother Nav Menu Building<\/dt>\n<dd>Many primary navigation menus for sites contain links to the pages of your site. But what happens when you don&#8217;t have any pages yet? Now you can add new pages while building nav menus instead of leaving the customizer and abandoning your changes. Once you&#8217;ve published your customizations, you&#8217;ll have new pages ready for you to fill with content (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/06\/16\/feature-proposal-content-authorship-in-menus-with-live-preview\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Custom CSS<\/dt>\n<dd>Sometimes you just need a few more visual tweaks to make your site perfect, or a plugin adds something that doesn&#8217;t quite look right with your site. WordPress 4.7 allows you to instantly see changes while adding custom CSS to give your site that polish (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/11\/feature-proposal-better-theme-customizations-via-custom-css-with-live-previews\/\" rel=\"nofollow\">read more 1<\/a>&nbsp;and&nbsp;<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/26\/extending-the-custom-css-editor\/\" rel=\"nofollow\">2<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>User Admin Languages and Locale Switching<\/dt>\n<dd>Users can select their preferred locale (language) when editing their profile. The back end will be displayed in the user&#8217;s individual locale while the locale used on the front end equals the one set for the whole site (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/07\/user-admin-languages-and-locale-switching-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>PDF Thumbnail Previews<\/dt>\n<dd>Managing your document collection is easier with WordPress Version 4.7, which now shows preview thumbnails instead of a generic icon for PDFs in the media library (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/15\/enhanced-pdf-support-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<h3><span id=\"For_Developers\" class=\"mw-headline\">For Developers<\/span><\/h3>\n<dl>\n<dt>Custom Bulk Actions<\/dt>\n<dd>Simpler way to register bulk actions on list table screens (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/04\/custom-bulk-actions\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Page Templates for Post Types<\/dt>\n<dd>Add support for post type templates. By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/03\/post-type-templates-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>WP_Taxonomy<\/dt>\n<dd>New&nbsp;<tt>WP_Taxonomy<\/tt>&nbsp;class provides methods to handle taxonomies. This changes the global&nbsp;<tt>$wp_taxonomies<\/tt>&nbsp;to an array of&nbsp;<tt>WP_Taxonomy<\/tt>&nbsp;objects (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/29\/wp_taxonomy-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>More Theme API Goodies<\/dt>\n<dd>WordPress 4.7 includes new functions, hooks, and behavior for theme developers (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/09\/09\/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7\/\" rel=\"nofollow\">read more<\/a>)<\/dd>\n<\/dl>\n<dl>\n<dt>WP_Hook<\/dt>\n<dd>The code that lies beneath actions and filters has been overhauled. You likely aren&#8217;t affected, but if you&#8217;ve done things to the $wp_filter global or experienced funky recursion bugs in the past, please take a moment to read the dev note and test your code (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/09\/08\/wp_hook-next-generation-actions-and-filters\/\" rel=\"nofollow\">read more<\/a>)<\/dd>\n<\/dl>\n<dl>\n<dt>Customize Changesets<\/dt>\n<dd>Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background. Changesets also make exciting new features like starter content possible (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/12\/customize-changesets-formerly-transactions-merge-proposal\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>Attributes for Resource Hints<\/dt>\n<dd>you&#8217;re now able to pass specific HTML attributes to these resource hints to make even better use of them (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/03\/attributes-for-resource-hints-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<dl>\n<dt>wp_list_sort() and WP_List_Util<\/dt>\n<dd>WordPress 4.7 brings a few enhancements to handling object or array lists. A new function&nbsp;<tt>wp_list_sort()<\/tt>&nbsp;makes it easy to sort object or array lists by one or more of its elements&#8217; properties. A new&nbsp;<tt>WP_List_Util<\/tt>&nbsp;class was introduced as a central access point for handling lists (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/02\/wp_list_sort-and-wp_list_util-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<dd><\/dd>\n<\/dl>\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s New<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">General<\/h3>\n\n\n<dl>\n<dt>Editor Changes<\/dt>\n<dd>Some of the toolbar buttons have been rearranged to make them easier to access and to encourage proper use of the HTML elements they insert (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/28\/editor-changes-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<ul>\n<li>The headings drop down is moved to the top row.<\/li>\n<li>The strike-through and horizontal rule button are moved down.<\/li>\n<li>The underline and justify buttons have been removed from the bottom row.<\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/07\/600px-v47_editor-toolbars.png\" alt=\"\" class=\"wp-image-4058\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Labels for keyboard shortcuts have been added to the tooltips for buttons and inside drop downs to make them easier to discover.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/07\/600px-v47_editor-shortcuts-1.png\" alt=\"\" class=\"wp-image-4059\" \/><\/figure>\n\n\n<h3><span id=\"Posts\" class=\"mw-headline\">Posts<\/span><\/h3>\n<ul>\n<li>The Tag-Cloud with the popular terms have been removed from the dashboard taxonomy pages<\/li>\n<\/ul>\n<h3><span id=\"Media\" class=\"mw-headline\">Media<\/span><\/h3>\n<ul>\n<li>Improving accessibility of image alternative text &#8211; No more default fallback. To ensure your images having meaningful alternative text, you should make sure to set a value for alt text in your media library (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/11\/improving-accessibility-of-image-alternative-text-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/li>\n<\/ul>\n<ul>\n<li>Make media library searchable by filename. (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/22744\" rel=\"nofollow\">#22744<\/a>)<\/li>\n<\/ul>\n<h3><span id=\"Appearance\" class=\"mw-headline\">Appearance<\/span><\/h3>\n<dl>\n<dt>Customizer Improvements<\/dt>\n<dd>WordPress 4.7 has been the most active release on record for the customize component (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/30\/customizer-improvements-in-4-7\/\" rel=\"nofollow\">read more<\/a>).<\/dd>\n<\/dl>\n<ul>\n<li>Create pages within live preview during site setup &#8211; Add new pages while building menus and setting a static front page; outline your site directly in the customizer (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/06\/16\/feature-proposal-content-authorship-in-menus-with-live-preview\/\" rel=\"nofollow\">read more<\/a>).<\/li>\n<li>Improvements to the Sliding Panels UI &#8211; Customizer navigation is now faster, smoother, and more accessible (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/09\/28\/changes-to-customizer-sliding-panelssections-in-wordpress-4-7\/\" rel=\"nofollow\">read more 1<\/a>&nbsp;and&nbsp;<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/12\/customize-changesets-technical-design-decisions\/\" rel=\"nofollow\">2<\/a>).<\/li>\n<li>Customize Changesets &#8211; Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/12\/customize-changesets-formerly-transactions-merge-proposal\/\" rel=\"nofollow\">read more<\/a>).<\/li>\n<li>Custom CSS &#8211; Fine-tune your site and take your theme customizations to the next level with custom css in the customizer (<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/10\/11\/feature-proposal-better-theme-customizations-via-custom-css-with-live-previews\/\" rel=\"nofollow\">read more 1<\/a>&nbsp;and&nbsp;<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/26\/extending-the-custom-css-editor\/\" rel=\"nofollow\">2<\/a>).<\/li>\n<\/ul>\n<h2><span id=\"Under_The_Hood\" class=\"mw-headline\">Under The Hood<\/span><\/h2>\n<h3><span id=\"General_2\" class=\"mw-headline\">General<\/span><\/h3>\n<ul>\n<li>Allow for&nbsp;<tt>.nav-tab-wrapper<\/tt>&nbsp;class to be used on elements other than&nbsp;<tt>h3<\/tt>&nbsp;to increase flexibility for custom settings pages<\/li>\n<\/ul>\n<ul>\n<li>Use&nbsp;<tt>get_bloginfo( 'version' )<\/tt>&nbsp;instead of&nbsp;<tt>global $wp_version<\/tt><\/li>\n<\/ul>\n<h3><span id=\"Embeds\" class=\"mw-headline\">Embeds<\/span><\/h3>\n<ul>\n<li>Add oEmbed support for Facebook posts\/activities\/photo\/videos\/media\/questions\/notes.<\/li>\n<li>Add oEmbed support for Twitter profile, list, and likes.<\/li>\n<li>Using HTTPS endpoints for oEmbeds for those providers that have full HTTPS support and don&#8217;t redirect back to HTTP when clicking through from the embed.<\/li>\n<\/ul>\n<h3><span id=\"Multisite_2\" class=\"mw-headline\">Multisite<\/span><\/h3>\n<ul>\n<li>get_blog_details() replaced with get_site() (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/37102\" rel=\"nofollow\">#37102<\/a>)<\/li>\n<li>blog_details filter deprecated (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/38491\" rel=\"nofollow\">#38491<\/a>)<\/li>\n<li>_network_option actions and filters get $network_id (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/38319\" rel=\"nofollow\">#38319<\/a>,&nbsp;<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/38320\" rel=\"nofollow\">#38320<\/a>,&nbsp;<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/38321\" rel=\"nofollow\">#38321<\/a>&nbsp;and&nbsp;<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/38322\" rel=\"nofollow\">#38322<\/a>)<\/li>\n<li>wp_get_network() deprecated (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/37533\" rel=\"nofollow\">#3753<\/a>)<\/li>\n<\/ul>\n<h3><span id=\"Actions_.26_Filters\" class=\"mw-headline\">Actions &amp; Filters<\/span><\/h3>\n<ul>\n<li>New naming-convention for Dynamic-Hooks (<a class=\"external text\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/37748\" rel=\"nofollow\">#37748<\/a>). Read the&nbsp;<a class=\"external text\" href=\"https:\/\/make.wordpress.org\/core\/handbook\/best-practices\/coding-standards\/php\/#interpolation-for-naming-dynamic-hooks\" rel=\"nofollow\">updated coding standards<\/a>.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>On December 6, 2016, WordPress&nbsp;Version 4.7, named for jazz vocalist Sarah &#8220;Sassy&#8221; Vaughan, was released to the public. For more information on this enhancement and bug-fix release, read the&nbsp;WordPress Blog, and see the&nbsp;Changelog for 4.7. For&nbsp;Version 4.7, the database version (db_version&nbsp;in&nbsp;wp_options) changed to 38590, and the&nbsp;Trac&nbsp;revision was 39524. View Closed Tickets\ufeff Highlights New Default Theme [&hellip;]<\/p>\n","protected":false},"author":8670591,"featured_media":0,"menu_order":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"helphub_major_release":[49],"class_list":["post-11096896","helphub_version","type-helphub_version","status-publish","hentry","helphub_major_release-4_7"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11096896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_version"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/users\/8670591"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11096896\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=11096896"}],"wp:term":[{"taxonomy":"helphub_major_release","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/helphub_major_release?post=11096896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}