{"id":10891837,"date":"2018-11-18T05:00:32","date_gmt":"2018-11-18T05:00:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_version&amp;p=10891837"},"modified":"2018-11-18T05:00:32","modified_gmt":"2018-11-18T05:00:32","slug":"version-4-8","status":"publish","type":"helphub_version","link":"https:\/\/wordpress.org\/documentation\/wordpress-version\/version-4-8\/","title":{"rendered":"Version 4.8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On June 8, 2017, WordPress <a href=\"\/support\/wordpress-version\/version-4-8\/\">Version 4.8<\/a>, named for jazz pianist and composer William John \u201cBill\u201d Evans, was released to the public. For more information on this enhancement and bug-fix release, read the <a href=\"https:\/\/wordpress.org\/news\/2017\/06\/evans\/\">WordPress Blog<\/a>, and see the <a href=\"https:\/\/codex.wordpress.org\/Changelog\/4.8\">Changelog for 4.8<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For <a href=\"\/support\/wordpress-version\/version-4-8\/\">Version 4.8<\/a>, the database version (<strong>db_version<\/strong> in <strong>wp_options<\/strong>) changed to 38590, and the <a href=\"https:\/\/core.trac.wordpress.org\">Trac<\/a> revision was 40888.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/trac.wordpress.org\/query?status=closed&amp;milestone=4.8\">View Closed Tickets<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Highlights<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Exciting Widget Updates<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/02\/800px-widgets-with-all-four.png\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"551\" src=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-widgets-with-all-four.png\" alt=\"\" class=\"wp-image-10850086\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-widgets-with-all-four.png 800w, https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-widgets-with-all-four-300x207.png 300w, https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-widgets-with-all-four-768x529.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Image Widget<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> Adding an image to a widget is now a simple task that is achievable for any WordPress user without needing to know code. Simply insert your image right within the widget settings. Try adding something like a headshot or a photo of your latest weekend adventure \u2014 and see it appear automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Video Widget<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> A welcome video is a great way to humanize the branding of your website. You can now add any video from the Media Library to a sidebar on your site with the new Video widget. Use this to showcase a welcome video to introduce visitors to your site or promote your latest and greatest content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Audio Widget<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> Are you a podcaster, musician, or avid blogger? Adding a widget with your audio file has never been easier. Upload your audio file to the Media Library, go to the widget settings, select your file, and you\u2019re ready for listeners. This would be a easy way to add a more personal welcome message, too!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rich Text Widget<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> This feature deserves a parade down the center of town! Rich-text editing capabilities are now native for Text widgets. Add a widget anywhere and format away. Create lists, add emphasis, and quickly and easily insert links. Have fun with your newfound formatting powers, and watch what you can accomplish in a short amount of time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Link Boundaries<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/02\/800px-link_boundaries.png\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"504\" src=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-link_boundaries.png\" alt=\"\" class=\"wp-image-10850089\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-link_boundaries.png 800w, https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-link_boundaries-300x189.png 300w, https:\/\/wordpress.org\/documentation\/files\/2018\/11\/800px-link_boundaries-768x484.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Have you ever tried updating a link, or the text around a link, and found you can\u2019t seem to edit it correctly? When you edit the text after the link, your new text also ends up linked. Or you edit the text in the link, but your text ends up outside of it. This can be frustrating! With link boundaries, a great new feature, the process is streamlined and your links will work well. You\u2019ll be happier. We promise.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nearby WordPress Events<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wp-helphub.com\/wp-content\/uploads\/2018\/02\/400px-events-widget.png\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"294\" src=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/400px-events-widget.png\" alt=\"\" class=\"wp-image-10850091\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2018\/11\/400px-events-widget.png 400w, https:\/\/wordpress.org\/documentation\/files\/2018\/11\/400px-events-widget-300x221.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Did you know that WordPress has a thriving offline community with groups meeting regularly in more than 400 cities around the world? WordPress now draws your attention to the events that help you continue improving your WordPress skills, meet friends, and, of course, publish!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is quickly becoming one of our favorite features. While you are in the dashboard (because you\u2019re running updates and writing posts, right?) all upcoming WordCamps and official WordPress Meetups \u2014 local to you \u2014 will be displayed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Being part of the community can help you improve your WordPress skills and network with people you wouldn\u2019t otherwise meet. Now you can easily find your local events just by logging in to your dashboard and looking at the new Events and News dashboard widget.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Finer Points<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">For Developers<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">More Accessible Admin Panel Headings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">New CSS rules mean extraneous content (like \u201cAdd New\u201d links) no longer need to be included in admin-area headings. These panel headings improve the experience for people using assistive technologies.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Removal of Core Support for WMV and WMA Files<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">As fewer and fewer browsers support Silverlight, file formats which require the presence of the Silverlight plugin are being removed from core support. Files will still display as a download link, but will no longer be embedded automatically.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Multisite Updates<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">New capabilities have been introduced to 4.8 with an eye towards removing calls to<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">is_super_admin(). Additionally, new hooks and tweaks to more granularly control site and user counts per network have been added.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Text-Editor JavaScript API<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">With the addition of TinyMCE to the text widget in 4.8 comes a new JavaScript API for instantiating the editor after page load. This can be used to add an editor instance to any text area, and customize it with buttons and functions. Great for plugin authors!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Media Widgets API<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The introduction of a new base media widget REST API schema to 4.8 opens up possibilities for even more media widgets (like galleries or playlists) in the future. The three new media widgets are powered by a shared base class that covers most of the interactions with the media modal. That class also makes it easier to create new media widgets and paves the way for more to come.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Customizer Width Variable<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Rejoice! New responsive breakpoints have been added to the customizer sidebar to make it wider on high-resolution screens. Customizer controls should use percentage-based widths instead of pixels.<\/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<h3 class=\"wp-block-heading\">Posts<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Media<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Comments<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Appearance<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Users<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Install Process<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility<\/h3>\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<p class=\"wp-block-paragraph\">Roughly <a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;type=defect+(bug)&amp;milestone=4.8&amp;col=id&amp;col=summary&amp;col=milestone&amp;col=status&amp;col=type&amp;col=owner&amp;col=priority&amp;order=priority\">225<\/a> bugs, <a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;type=enhancement&amp;milestone=4.8&amp;col=id&amp;col=summary&amp;col=milestone&amp;col=status&amp;col=type&amp;col=owner&amp;col=priority&amp;order=priority\">109<\/a> enhancements, <a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;type=feature+request&amp;milestone=4.8&amp;col=id&amp;col=summary&amp;col=milestone&amp;col=status&amp;col=type&amp;col=owner&amp;col=priority&amp;order=priority\">1<\/a> feature request, and <a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;type=task+(blessed)&amp;milestone=4.8&amp;col=id&amp;col=summary&amp;col=milestone&amp;col=status&amp;col=type&amp;col=owner&amp;col=priority&amp;order=priority\">21<\/a> blessed tasks have been <a href=\"https:\/\/core.trac.wordpress.org\/query?status=closed&amp;milestone=4.8&amp;group=component&amp;col=id&amp;col=summary&amp;col=owner&amp;col=type&amp;col=priority&amp;col=component&amp;col=version&amp;order=priority\">marked as closed in WordPress 4.8<\/a>. Some additional ones to highlight include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>REST API: <code>orderby<\/code> normalization (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/38693\">#38693<\/a>)<\/li><li>REST API: Add <code>supports<\/code> object to <code>\/types<\/code> response (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39033\">#39033<\/a>)<\/li><li>New filter to disable auto-focus on the login screen (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40301\">#40301<\/a>)<\/li><li>Screencast.com was added as an oEmbed provider (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/38367\">#38367<\/a>)<\/li><li>HHVM removed from the test matrix on Travis (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40548\">#40548<\/a>)<\/li><li>Bundled Themes now support the new media and updated text widgets (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40745\">#40745<\/a>)<\/li><li>Popular plugins feed has been removed from the dashboard (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40702\">#40702<\/a>)<\/li><li>Support added for Bosnian locale (<code>bs_BA<\/code>) in <code>remove_accents()<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39658\">#39658<\/a>)<\/li><li>Easily enqueue <code>WP_Editor<\/code> JavaScript files using the new <code>wp_enqueue_editor()<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35760\">#35760<\/a>)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Images<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Embeds<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Script Loader<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Bug Fixes<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\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<h4 class=\"wp-block-heading\">Deprecated<\/h4>\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<h4 class=\"wp-block-heading\">Deprecated<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">Actions &amp; Filters<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">New Action Hooks<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><code>deleted_blog<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/25584\">#25584<\/a>)<\/li><li><code>print_default_editor_scripts<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35760\">#35760<\/a>)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">New Filter Hooks<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><code>file_mod_allowed replaces disallow_file_mods<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/38673\">#38673<\/a>)<\/li><li><code>minimum_site_name_length<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39676\">#39676<\/a>)<\/li><li><code>nav_menu_submenu_css_class<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/36163\">#36163<\/a>)<\/li><li><code>page_menu_link_attributes<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40359\">#40359<\/a>)<\/li><li><code>post_date_column_status<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39545\">#39545<\/a>)<\/li><li><code>signup_site_meta<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39223\">#39223<\/a>)<\/li><li><code>signup_user_meta<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39223\">#39223<\/a>)<\/li><li><code>wp_doing_cron<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39591\">#39591<\/a>)<\/li><li><code>widget_text_content<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40772\">#40772<\/a>)<\/li><li><code>rest_oembed_ttl<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40450\">#40450<\/a>)<\/li><li><code>widget_{$this-&gt;id_base}_instance<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/32417\">#32417<\/a>)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Modified Filter Hooks<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><code>widget_text_content<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40772\">#40772<\/a>)<\/li><li><code>{$type}_template<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39525\">#39525<\/a>)<\/li><li><code>display_media_states<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39628\">#39628<\/a>)<\/li><li><code>media_library_show_audio_playlist<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/31071\">#31071<\/a>)<\/li><li><code>media_library_show_video_playlist<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/31071\">#31071<\/a>)<\/li><li><code>rest_pre_insert_comment<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39578\">#39578<\/a>)<\/li><li><code>wp_is_large_network<\/code> (<a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40489\">#40489<\/a>)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Deprecated<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">External Libraries<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>TinyMCE was updated from version <strong>4.5.6<\/strong> to version <strong>4.6.2<\/strong> (see: <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40859\">#40859<\/a>)<\/li><li>Twemoji was updated from version <strong>2.2.2<\/strong> to version <strong>2.3.0<\/strong> (see: <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40858\">#40858<\/a>)<\/li><li>zxcvbn was updated from version <strong>1.0<\/strong> to version <strong>4.4.1<\/strong> (see: <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/31647\">#31647<\/a>)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Miscellaneous<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See also: other <a href=\"https:\/\/codex.wordpress.org\/WordPress_Versions\">WordPress Versions<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On June 8, 2017, WordPress Version 4.8, named for jazz pianist and composer William John \u201cBill\u201d Evans, was released to the public. For more information on this enhancement and bug-fix release, read the WordPress Blog, and see the Changelog for 4.8. For Version 4.8, the database version (db_version in wp_options) changed to 38590, and the [&hellip;]<\/p>\n","protected":false},"author":14216496,"featured_media":0,"menu_order":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"helphub_major_release":[47],"class_list":["post-10891837","helphub_version","type-helphub_version","status-publish","hentry","helphub_major_release-4_8"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/10891837","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\/14216496"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/10891837\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=10891837"}],"wp:term":[{"taxonomy":"helphub_major_release","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/helphub_major_release?post=10891837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}