{"id":11094279,"date":"2019-01-30T12:30:29","date_gmt":"2019-01-30T12:30:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_version&#038;p=11094279"},"modified":"2023-01-11T20:46:12","modified_gmt":"2023-01-11T20:46:12","slug":"version-4-6","status":"publish","type":"helphub_version","link":"https:\/\/wordpress.org\/documentation\/wordpress-version\/version-4-6\/","title":{"rendered":"Version 4.6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On August 16, 2016, WordPress Version 4.6, named for jazz musician Pepper Adams, 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\/08\/pepper\/\">WordPress Blog<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<strong>Version 4.6<\/strong>, the database version (<strong>db_version<\/strong>&nbsp;in&nbsp;<strong>wp_options<\/strong>) changed to 37965, and the&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/\">Trac<\/a>&nbsp;revision was 38270.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;milestone=4.6\">View Closed Tickets.<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Installation\/Upgrading Information<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To download WordPress 4.6, visit&nbsp;<a href=\"https:\/\/wordpress.org\/download\/release-archive\/\">https:\/\/wordpress.org\/download\/release-archive\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Highlights<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The Finer Points<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shiny Updates v2<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/make.wordpress.org\/core\/features\/shiny-updates\">Shiny Updates<\/a>&nbsp;replaces progress updates with a simpler and more straight forward experience when installing, updating, and deleting plugins and themes. Those actions are now all performed via AJAX.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One big user facing change is about search. There is now an AJAX search on both the Installed Plugins screen as well as the Add New Plugin screen, this means the search results change as you type, drastically simplifying your workflow. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/shiny-updates-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/shiny_updates_v2_2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/shiny_updates_v2_2.jpg\" alt=\"Multiple Puglins Update\" class=\"wp-image-11094329\" width=\"355\" height=\"200\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/shiny_updates_v2_2.jpg 632w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/shiny_updates_v2_2-300x169.jpg 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><figcaption class=\"wp-element-caption\">Multiple plugins update<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/shiny_updates_v2_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/shiny_updates_v2_1.jpg\" alt=\"Shiny updates v2_1\" class=\"wp-image-11094349\" width=\"355\" height=\"200\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/shiny_updates_v2_1.jpg 634w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/shiny_updates_v2_1-300x169.jpg 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><figcaption class=\"wp-element-caption\">Plugin delete<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<br><strong>Native Font supports in the<\/strong>&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Administration_Screens\">Administration Screen<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The operating system\u2019s UI font is used for any text that\u2019s part of the WordPress user interface. Although WordPress switched to Open Sans in&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Version_3.8\">Version 3.8<\/a>&nbsp;at the end of 2013 by various reasons, today, the background condition and technology have changed. Then, experience faster load times, especially when working offline, a removal of a third-party dependency, and a more&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/features\/font-natively\/\">native-feeling experience<\/a>&nbsp;as the lines between the mobile web and native applications continue to blur. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/07\/native-fonts-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/macOS-Safari-1024x576-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/macOS-Safari-1024x576-1.png\" alt=\"macOS Safari\" class=\"wp-image-11095366\" width=\"355\" height=\"200\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/macOS-Safari-1024x576-1.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/macOS-Safari-1024x576-1-300x169.png 300w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/macOS-Safari-1024x576-1-768x432.png 768w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><figcaption class=\"wp-element-caption\">Browser: Safari, OS: macOS, Font: San Francisco<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/Windows-Edge-1024x711.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/wordpress.org\/support\/files\/2019\/01\/Windows-Edge-1024x711.png?fit=300%2C208&amp;ssl=1\" alt=\"Windows Edge\" class=\"wp-image-11095374\" width=\"355\" height=\"250\" \/><\/a><figcaption class=\"wp-element-caption\">Browser: Edge, OS: Windows 10, Font: Segoe UI<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;<br><strong>Import Screen overhaul<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Import Screen was overhauled, improving accessibility and making it much easier to install and run an importer.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wordpress.org\/support\/files\/2019\/01\/import_screen.png\"><img loading=\"lazy\" decoding=\"async\" width=\"3104\" height=\"1970\" src=\"https:\/\/i2.wp.com\/wordpress.org\/support\/files\/2019\/01\/import_screen.png?fit=3104%2C1970&amp;ssl=1\" alt=\"Import Screen\" class=\"wp-image-11095378\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen.png 3104w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen-300x190.png 300w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen-1024x650.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen-768x487.png 768w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen-1536x975.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2019\/01\/import_screen-2048x1300.png 2048w\" sizes=\"auto, (max-width: 3104px) 100vw, 3104px\" \/><\/a><figcaption class=\"wp-element-caption\">Overhauled Import Screen<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>Internationalization improvements<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The translation platform for plugins and themes was opened up in December 2015. Since then 15,000 plugins and themes were imported and are now benefiting from automated translation updates. Translations files are usually inside&nbsp;wp-content\/languages, and WordPress now scans that directory for available translations and automatically loads them if it encounters a text domain for the first time. Also, jQuery UI datepicker was localized. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/i18n-improvements-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Editor Improvements<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A more reliable recovery mode and detection of broken URLs while you type them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Emoji<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Emoji support has been updated to include all of the latest Unicode 9.0 emoji characters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">For Developers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Resource Hints<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Resource Hints is a rather new W3C specification that &#8220;defines the dns-prefetch, preconnect, prefetch, and prerender relationships of the HTML Link Element (&lt;link&gt;)&#8221;. Allow browsers to prefetch specific pages, render them in the background, perform DNS lookups, or to begin the connection handshake (DNS, TCP, TLS) in the background. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/resource-hints-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>HTTP API internal changes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The HTTP API (<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_remote_request\">wp_remote_request()<\/a>&nbsp;and family) have undergone a large internal change. Rather than using a WordPress-specific HTTP library, WordPress now uses the open-source independent&nbsp;<a href=\"http:\/\/requests.ryanmccue.info\/\">Requests library<\/a>. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/27\/http-api-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Language Packs<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translations managed through&nbsp;<a href=\"https:\/\/translate.wordpress.org\/\">translate.wordpress.org<\/a>&nbsp;now have a higher priority and are loaded just-in-time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WP_Site_Query<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New&nbsp;WP_Site_Query&nbsp;class to query sites with lazy loading for details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WP_Network_Query<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New&nbsp;WP_Network_Query&nbsp;class to query networks with lazy loading for details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WP_Term_Query<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New&nbsp;WP_Term_Query&nbsp;is modeled on existing query classes and provides a more consistent structure for generating term queries. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/wp_term_query-in-wordpress-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WP_Post_Type<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New&nbsp;WP_Post_Type&nbsp;class 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. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/13\/wp_post_type-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Widgets API<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Widgets API was enhanced to support registering pre-instantiated widgets. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/pre-instantiated-widget-registration-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>dbDelta updates<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/dbDelta\/\">dbDelta()<\/a>&nbsp;is a function which helps to modify the database based on specified SQL statements. This function has been updated to resolve some long standing bugs (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/13\/dbdelta-updates-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Normalized index definitions<\/li>\n\n\n\n<li>Backtick all the things<\/li>\n\n\n\n<li>Support for SPATIAL keys<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Persistent Comment Cache<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Version_2.6\">Version 2.6<\/a>, the comments API has purposefully not used a persistent cache. Over the past 20 releases, changes have been made to purge the problems from the comments API that caused this. Comments can now be stored in a persistent object cache. When comments are added, modified, or deleted, out of date cache values are properly invalidated. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/18\/comments-in-4-6-can-now-be-cached-by-a-persistent-object-cache\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>External Libraries<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">External Libraries were updated to the latest versions \u2013 Masonry to 3.3.2 and imagesLoaded to 3.2.0, MediaElement.js to 2.22.0, TinyMCE to 4.4.1 and Backbone.js to 1.3.3. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/18\/external-library-updates-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>REST API<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REST API responses now include an auto-discovery header and a refreshed nonce when responding to an authenticated response.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Enhancing&nbsp;register_meta()<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_meta\">register_meta()<\/a>&nbsp;function is getting some updates to enable greater flexibility and features in the future (such as inclusion in the Rest API). It expands to support the registration of meta keys and what to expect from those keys. Its behavior is similar to&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_post_type\">register_post_type()<\/a>&nbsp;in that the registration of this data is stored in the global scope. This makes an object\u2019s meta data more accessible to parts of core and extending code.(<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/20\/additional-register_meta-changes-in-4-6\/\">read more<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/08\/enhancing-register_meta-in-4-6\/\">more<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Customizer<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Improved API for&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/05\/04\/improving-setting-validation-in-the-customizer\/\">Setting Validation in the Customizer<\/a>. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/05\/customizer-apis-in-4-6-for-setting-validation-and-notifications\/\">read more<\/a>).<\/p>\n\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\n<ul class=\"wp-block-list\">\n<li>Unifying permission error messages (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34521\">#34521<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Posts<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Editor Improvements (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36638\">#36638<\/a>) &#8211; A more reliable recovery mode and detection of broken URLs while you type them.<\/li>\n\n\n\n<li>Emoji (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37361\">#37361<\/a>) &#8211; Emoji support has been updated to include all of the latest Unicode 9 emoji characters.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Media<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Featured images are no longer immediately saved to posts or non-image attachments until the corresponding post or attachment has been updated.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Comments<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Comments: Allow for default comment form action, \/wp-comments-post.php, to be changed via the comment_form_defaults filter. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/26841\">#26841<\/a>)<\/li>\n\n\n\n<li>Comments: Add parameters to edit_comment_link() to allow specifying a Comment and link class. Matches the parameters for edit_post_link(). (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36538\">#36538<\/a>)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Comments: add a $comment parameter to&nbsp;get_comment_author_url_link(),&nbsp;comment_author_email_link(), and&nbsp;get_comment_author_email_link(). (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36571\">#36573<\/a>) (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36573\">#36573<\/a>)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Appearance<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Native Fonts in the&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Administration_Screens\">Administration Screen<\/a>&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36753\">#36753<\/a>) &#8211; Experience faster load times, especially when working offline, a removal of a third-party dependency, and a more&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/features\/font-natively\/\">native-feeling experience<\/a>&nbsp;as the lines between the mobile web and native applications continue to blur.&nbsp;<br>The operating system\u2019s UI font is used for any text that\u2019s part of the WordPress user interface. In other contexts, like the Editor, we continue to use a serif system typeface, Georgia. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/07\/native-fonts-in-4-6\/\">read more<\/a>)<\/li>\n\n\n\n<li>Import Screen overhaul ([<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35191\">https:\/\/core.trac.wordpress.org\/ticket\/35191<\/a>&nbsp;#35191) &#8211; The Import Screen was overhauled, improving accessibility and making it much easier to install and run an importer.<\/li>\n\n\n\n<li>Loading Translations in Different Order (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34213\">#34213<\/a>) &#8211;&nbsp;load_plugin_textdomain( $domain )&nbsp;and&nbsp;load_theme_textdomain( $domain )&nbsp;are used to load the translations for a specific text domain, where&nbsp;$domain&nbsp;equals the slug of your plugin or theme. Now, these functions first looked inside the&nbsp;wp-content\/languages&nbsp;directory, where language packs reside, then, the plugin\/theme folder.<\/li>\n\n\n\n<li>Just-in-time Loading for Translations (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34114\">#34114<\/a>) &#8211; Translations files are usually inside&nbsp;wp-content\/languages, and WordPress now scans that directory for available translations and automatically loads them if it encounters a text domain for the first time.<\/li>\n\n\n\n<li>jQuery UI datepicker localization (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/29420\">#29420<\/a>) &#8211; localization defaults were added for the jQuery UI datepicker based on the current locale using the new&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/wp_add_inline_script\">wp_add_inline_script()<\/a>&nbsp;function. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/jquery-ui-datepicker-localization-in-4-6\/\">read more<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Users<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Users: In wp_new_user_notification(), add &#8216;user&#8217; option for the $notify parameter, which allows for sending notification only to the user created. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36009\">#36009<\/a>)<\/li>\n\n\n\n<li>Multisite: Add the pre_get_blogs_of_user filter. This allows a plugin to short circuit get_blogs_of_user() in cases where the default behavior of the function is unnecessary or slow. (e.g. A user is a member of thousands of sites.) (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36707\">#36707<\/a>)<\/li>\n\n\n\n<li>List Tables: Pass the $which parameter to restrict_manage_posts and restrict_manage_users. $which contains the location of the extra table nav markup: &#8216;top&#8217; or &#8216;bottom&#8217;. ([<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35307\">#35307<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Install Process<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Shiny Updates v2 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37714\">#37714<\/a>) &#8211;&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/features\/shiny-updates\/\">Shiny Updates<\/a>&nbsp;replaces progress updates with a simpler and more straight forward experience when installing, updating, and deleting plugins and themes.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See the&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Version_4.6#For_Developers\">For Developers<\/a>&nbsp;section for information on the new Multisite classes, WP_Site_Query, WP_Network_Query, and WP_Term_Query.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Taxonomy pages tab order now reflects the visual order. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35664\">#35664<\/a>) (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/05\/16\/categories-and-tags-screens-changes\/\">read more<\/a>)<\/li>\n\n\n\n<li>Themes: Make default &#8220;read more&#8221; link more accessible. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36572\">#36572<\/a>)<\/li>\n\n\n\n<li>Import: Enhance accessibility on the Import screen. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35191\">#35191<\/a>)\n<ul class=\"wp-block-list\">\n<li>Remove title attributes.<\/li>\n\n\n\n<li>Show &#8220;Install Now&#8221; and &#8220;Details&#8221; links if the importer isn&#8217;t installed yet.<\/li>\n\n\n\n<li>Show a &#8220;Run Importer&#8221; link if the importer is installed. It also handles activation if the plugin isn&#8217;t activated.<\/li>\n\n\n\n<li>Add aria-label attributes to each link.<\/li>\n\n\n\n<li>Unify the importer descriptions to make them independent from the plugin state.<\/li>\n\n\n\n<li>Adjust JavaScript callbacks for ajaxified importer installs.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Under The Hood<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">General<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Resource Hints (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34292\">#34292<\/a>) \u2013 Allow browsers to prefetch specific pages, render them in the background, perform DNS lookups, or to begin the connection handshake (DNS, TCP, TLS) in the background.<br>By default,&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_resource_hints\">wp_resource_hints()<\/a>&nbsp;prints hints for&nbsp;s.w.org&nbsp;(the WordPress.org CDN) and for all scripts and styles which are enqueued from external hosts. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/resource-hints-in-4-6\/\">read more<\/a>)<\/li>\n\n\n\n<li>HTTP API internal changes (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/33055\">#33055<\/a>) &#8211; The HTTP API (<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_remote_request\">wp_remote_request()<\/a>&nbsp;and family) now uses the open-source independent&nbsp;<a href=\"http:\/\/requests.ryanmccue.info\/\">Requests library<\/a>, rather than using a WordPress-specific HTTP library. Requests provide the same functionalities with current library, and better HTTP standard support, case-insensitive headers, parallel HTTP requests, support for Internationalized Domain Names (like&nbsp;b\u00f6cean901.ch), and many other internal improvements. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/27\/http-api-in-4-6\/\">read more<\/a>)<\/li>\n\n\n\n<li>Language Packs (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34114\">#34114<\/a>,&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34213\">#34213<\/a>) &#8211; Translations managed through&nbsp;<a href=\"https:\/\/translate.wordpress.org\/\">translate.wordpress.org<\/a>&nbsp;now have a higher priority and are loaded just-in-time.<\/li>\n\n\n\n<li>Persistent Comment Cache (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36906\">#36906<\/a>) &#8211; Comments can now be stored in a persistent object cache. When comments are added, modified, or deleted, out of date cache values are properly invalidated. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/18\/comments-in-4-6-can-now-be-cached-by-a-persistent-object-cache\/\">read more<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Images<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Allowed upload file types are now checked before uploading (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/14244\">#14244<\/a>)<\/li>\n\n\n\n<li>Adds a new action hook,&nbsp;wp_edit_form_attachment_display&nbsp;to&nbsp;edit_form_image_editor(), which can be used as a fallback to render previews of an attachment that isn&#8217;t an image, audio, or video file included in the media library. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36052\">#36052<\/a>)<\/li>\n\n\n\n<li>Removed a private, deprecated and unused function,&nbsp;_wp_upload_dir_baseurl(). (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36375\">#36375<\/a>)<\/li>\n\n\n\n<li>Prior image edits are now cleaned up properly when `IMAGE_EDIT_OVERWRITE` is true. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/32171\">#32171<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Bootstrap \/ Load<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are changes to the bootstrap or loading process focused on making pieces available earlier. These changes are all expected to be backward compatible. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/bootstrapload-updates-in-4-6\/\">read more<\/a>)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Load&nbsp;plugin.php&nbsp;earlier in&nbsp;wp-settings.php&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36819\">#36819<\/a>)<\/li>\n\n\n\n<li>Reconcile&nbsp;wp-settings-cli.php&nbsp;with&nbsp;wp-settings.php&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34936\">#34936<\/a>)<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/is_ssl\">is_ssl()<\/a>&nbsp;is now located in&nbsp;wp-includes\/load.php&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35844\">#35844<\/a>)<\/li>\n\n\n\n<li>ABSPATH&nbsp;can now be safely defined before WordPress is loaded (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/26592\">#26592<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Bug Fixes<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Embeds<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Autoembeds now work with paragraphs. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/25387\">#25387<\/a>)<\/li>\n\n\n\n<li>Improved height calculation for slow loading images. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35657\">#35657<\/a>)<\/li>\n\n\n\n<li>Docs: Added missing&nbsp;@access&nbsp;tags to methods in&nbsp;WP_oEmbed_Controller. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36297\">#36297<\/a>)<\/li>\n\n\n\n<li>Removed support for Google Video since the service has been retired for years. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36304\">#36304<\/a>)<\/li>\n\n\n\n<li>Now WordPress includes the locale stylesheets after the default styles. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36839\">#36839<\/a>)<\/li>\n\n\n\n<li>Added unit tests for the&nbsp;WP_Embed&nbsp;class.(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37214\">#37214<\/a>)<\/li>\n\n\n\n<li>WordPress doesn&#8217;t print the HTML for a featured image if an embedded post has no featured image. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37288\">#37288<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For detail about multisite changes in&nbsp;<strong>Version 4.6<\/strong>, refer&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/08\/multisite-focused-changes-in-4-6\/\">this Tech Docs<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WP_Site_Query&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35791\">#35791<\/a>) &#8211; With new&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_site_query\">WP_Site_Query<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/get_sites\">get_sites()<\/a>, sites can now be queried from the&nbsp;$wpdb-&gt;blogstable in a flexible way by id, domain, path, and more.<\/li>\n\n\n\n<li>WP_Network_Query&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35791\">#32504<\/a>) &#8211; With new&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_network_query\">WP_Network_Query<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_networks\">get_networks()<\/a>, networks can now be queried from the&nbsp;$wpdb-&gt;site&nbsp;table by id, domain, and path.<\/li>\n\n\n\n<li>Enhancements to&nbsp;WP_Site&nbsp;and&nbsp;WP_Network&nbsp;&#8211; It includes new utility methods, property changes (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36717\">#36717<\/a>,&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37050\">#37050<\/a>), Lazy-loading extended properties (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36935\">#36935<\/a>), New Actions and Filters (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/26580\">#26580<\/a>) and others.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: WP Multi Network compatibility &#8211; The introduction of&nbsp;<a href=\"https:\/\/developer.wordpress.org\/functions\/get_networks\">get_networks()<\/a>&nbsp;in&nbsp;<strong>Version 4.6<\/strong>&nbsp;conflicts with the function of the same name in WP Multi Network, a plugin commonly used to provide multiple networks on a multisite installation. If you are using WP Multi Network, please be sure to update the plugin to the latest (<a href=\"https:\/\/github.com\/stuttter\/wp-multi-network\/compare\/2de58dd...840c834\">detail<\/a>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Classes<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">What&#8217;s New<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Visit the Code Reference for a&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/since\/4.6.0\/?post_type%5B%5D=wp-parser-class\">full list<\/a>&nbsp;of classes added or changed in 4.6.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>New&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_site_query\">WP_Site_Query<\/a>&nbsp;class to query sites with lazy loading for details. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35791\">#35791<\/a>)<\/li>\n\n\n\n<li>New&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_network_query\">WP_Network_Query<\/a>&nbsp;class to query networks with lazy loading for details. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/32504\">#32504<\/a>)<\/li>\n\n\n\n<li>New&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_term_query\">WP_Term_Query<\/a>&nbsp;is modeled on existing query classes and provides a more consistent structure for generating term queries. It brings parity between taxonomy term queries and WordPress&#8217;s other content type queries (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/wp_term_query-in-wordpress-4-6\/\">read more<\/a>)<\/li>\n\n\n\n<li>New&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_post_type\">WP_Post_Type<\/a>&nbsp;class provides methods to handle post type supports, rewrite rules, meta boxes, hooks, and taxonomies. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36217\">#36217<\/a>)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Functions<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">What&#8217;s New<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Visit the Code Reference for a&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/since\/4.6.0\/?post_type%5B%5D=wp-parser-function\">full list<\/a>&nbsp;of functions added or changed in 4.6.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Widgets API (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/28216\">#28216<\/a>) was enhanced to support registering pre-instantiated widgets. The&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_widget\">register_widget()<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/unregister_widget\">unregister_widget()<\/a>&nbsp;functions accept not only a class name but a class instance (object) of a&nbsp;WP_Widget&nbsp;subclass. (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/06\/pre-instantiated-widget-registration-in-4-6\/\">read more<\/a>)<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/dbDelta\/\">dbDelta()<\/a>&nbsp;function updates resolve following issues (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/13\/dbdelta-updates-in-4-6\/\">read more<\/a>)\n<ul class=\"wp-block-list\">\n<li>Normalized index definitions<\/li>\n\n\n\n<li>Backtick all the things<\/li>\n\n\n\n<li>Support for SPATIAL keys<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>REST API responses now include an auto-discovery header (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35580\">#35580<\/a>) and a refreshed nonce when responding to an authenticated response (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35662\">#35662<\/a>).<\/li>\n\n\n\n<li>Enhancing&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_meta\">register_meta()<\/a>&nbsp;(<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35658\">#35658<\/a>) &#8211;&nbsp;register_meta()&nbsp;is getting some updates to enable greater flexibility and features in the future (such as inclusion in the Rest API). It expands to support the registration of meta keys and what to expect from those keys. Its behavior is similar to&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_post_type\">register_post_type()<\/a>&nbsp;in that the registration of this data is stored in the global scope. This makes an object\u2019s meta data more accessible to parts of core and extending code. A global variable,&nbsp;$wp_meta_keys, contains all registered meta keys.(<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/20\/additional-register_meta-changes-in-4-6\/\">read more<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/08\/enhancing-register_meta-in-4-6\/\">more<\/a>)<\/li>\n\n\n\n<li>Customizer &#8211; Improved API for&nbsp;<a href=\"https:\/\/make.wordpress.org\/core\/2016\/05\/04\/improving-setting-validation-in-the-customizer\/\">Setting Validation in the Customizer<\/a>. (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/34893\">#34893<\/a>,&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36944\">#36944<\/a>) (<a href=\"https:\/\/make.wordpress.org\/core\/2016\/07\/05\/customizer-apis-in-4-6-for-setting-validation-and-notifications\/\">read more<\/a>).<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Deprecated<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_embed_handler_googlevideo\">wp_embed_handler_googlevideo()<\/a>&nbsp;was deprecated following removal of Google Video support.<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_get_sites\">wp_get_sites()<\/a>&nbsp;was deprecated in favor of&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_sites\">get_sites()<\/a>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Actions &amp; Filters<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Visit the Code Reference for a&nbsp;<a href=\"https:\/\/developer.wordpress.org\/reference\/since\/4.6.0\/?post_type%5B%5D=wp-parser-hook\">full list<\/a>&nbsp;of hooks added or changed in 4.6.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">External Libraries<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Masonry 3.3.2 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/32802\">#32802<\/a>)<\/li>\n\n\n\n<li>imagesLoaded 3.2.0 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/32802\">#32802<\/a>)<\/li>\n\n\n\n<li>MediaElement.js 2.22.0 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36759\">#36759<\/a>,&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37363\">#37363<\/a>)<\/li>\n\n\n\n<li>TinyMCE 4.4.1 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37225\">#37225<\/a>,&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37327\">#37327<\/a>)<\/li>\n\n\n\n<li>Backbone.js 1.3.3 (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/37099\">[1]<\/a>&nbsp;#37099)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Miscellaneous<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>On August 16, 2016, WordPress Version 4.6, named for jazz musician Pepper Adams, was released to the public. For more information on this enhancement and bug-fix release, read the&nbsp;WordPress Blog. For&nbsp;Version 4.6, the database version (db_version&nbsp;in&nbsp;wp_options) changed to 37965, and the&nbsp;Trac&nbsp;revision was 38270. Installation\/Upgrading Information To download WordPress 4.6, visit&nbsp;https:\/\/wordpress.org\/download\/release-archive\/ Highlights The Finer Points Shiny [&hellip;]<\/p>\n","protected":false},"author":1819835,"featured_media":0,"menu_order":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"helphub_major_release":[],"class_list":["post-11094279","helphub_version","type-helphub_version","status-publish","hentry"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11094279","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\/1819835"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11094279\/revisions"}],"predecessor-version":[{"id":16355183,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11094279\/revisions\/16355183"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=11094279"}],"wp:term":[{"taxonomy":"helphub_major_release","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/helphub_major_release?post=11094279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}