{"id":11248728,"date":"2019-05-19T08:26:56","date_gmt":"2019-05-19T08:26:56","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_version&amp;p=11248728"},"modified":"2019-05-19T08:26:56","modified_gmt":"2019-05-19T08:26:56","slug":"version-3-9","status":"publish","type":"helphub_version","link":"https:\/\/wordpress.org\/documentation\/wordpress-version\/version-3-9\/","title":{"rendered":"Version 3.9"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On April 16, 2014, WordPress&nbsp;<strong>Version 3.9<\/strong>, named for jazz musician Jimmy Smith, was released to the public. For more information on this enhancement and bug-fix release, read the&nbsp;<a href=\"https:\/\/wordpress.org\/news\/2014\/04\/smith\/\">WordPress Blog<\/a>, and see the&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Changelog\/3.9\">Changelog for 3.9<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<strong>Version 3.9<\/strong>, the database version (<strong>db_version<\/strong>&nbsp;in&nbsp;<strong>wp_options<\/strong>) changed to 27916, and the&nbsp;<a href=\"https:\/\/core.trac.wordpress.org\/\">Trac<\/a>&nbsp;revision was 28154.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/trac.wordpress.org\/query?status=closed&amp;milestone=3.9\">View Closed Tickets<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Highlights<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>A smoother media editing experience<\/strong><ul><li>Improved visual editing &#8211; speed, accessibility, and mobile support<\/li><li>Edit images easily &#8211; quicker access to crop and rotation tools, scale images directly in the editor<\/li><li>Drag and drop your images right onto the editor<\/li><li>Image gallery previews right in the editor<\/li><li>Showcase music and clips with simple audio and video playlists<\/li><li>Live widget and header image previews in the Customizer<\/li><li>Stunning new theme browser<\/li><\/ul><\/li><li><strong>For Developers<\/strong><ul><li>Themes can now use&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Theme_Markup\">HTML5 markup<\/a>&nbsp;for captions and galleries<\/li><li>Inline code documentation for action and filter hooks, and media manager and customizer APIs<\/li><li>External libraries have been updated<\/li><li>Improved database layer<\/li><li>New utility functions<\/li><\/ul><\/li><\/ul>\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\"><li>The &#8220;update&#8221; message has been restored to the dashboard<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Posts<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Add &#8220;Return to post editor&#8221; link from Revisions screen<\/li><li>A &#8220;View Post&#8221; link will now show for any post an author can read<\/li><li>Distraction Free Writing mode is now responsive to any size device<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Media<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Edit images from the Add Media modal<\/li><li>Improvements to the &#8220;Attach Media&#8221; pop-up interface<\/li><li>Better support for auto-playing videos<\/li><li>Drag and Drop files into the editor<\/li><li>Full-screen Drag and Drop zone in Distraction Free Writing<\/li><li>oEmbed support added for imgur and meetup.com<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Comments<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Small improvements to comment administration screens, link colors, language tweaks<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Appearance<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Widget Customizer management<\/li><li>Upload header images with cropping in the Customizer<\/li><li>Improved theme install workflow<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Users<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Admin auto-complete improvements<\/li><li>Make sure the &#8220;Send this password to the new user by email&#8221; toggle option value is remembered<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Improved focus styles for form elements throughout the admin<\/li><li>Keyboard accessibility added for theme install screen and theme action buttons<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Install Process<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Make it easier to customize the install process<\/li><li>Passwords with apostrophes are no longer allowed on installation<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Add autocomplete for the admin email account to the &#8220;new site&#8221; form<\/li><\/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\"><li>Add ability to output galleries as HTML5<\/li><li>Introduce&nbsp;doing_filter()&nbsp;and&nbsp;doing_action()&nbsp;to identify hooks in progress<\/li><li>Introduce&nbsp;.dashicons-before&nbsp;class to make it easier to use a Dashicon before an element<\/li><li>Add ability to symlink plugins<\/li><li>The core colors.css file was merged into wp-admin.css, resulting in 1,065 fewer lines of admin CSS<\/li><li>Dashicons updated to latest. Adds line break, paragraph, code, and bbPress.<\/li><li>Add a TTL to core update checks to allow narrowing of the 12-hour update window<\/li><li>The &#8216;role&#8217; attribute is now allowed in kses for all elements<\/li><li>Rewrite endpoints can now specify a query variable name<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Autosave JS has been refactored to use the Heartbeat API<\/li><li>Heartbeat: Hooks will now always receive unslashed data<\/li><li>Options passed to Backbone.View\u2019s constructor are no longer attached automatically. wp.Backbone.View now handles this<\/li><li>Big improvements to documentation of Backbone media-views<\/li><li>Updated media-views and wp.Backbone.View for Backbone 1.1<\/li><li>Masonry has a new script handle, &#8216;masonry&#8217;, and no longer depends on jQuery<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Bug Fixes<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>wp_auth_check&nbsp;now runs properly on every Heartbeat tick<\/li><li>Post\/page items are now removed from nav menus when the post\/page is deleted<\/li><li>Ensure the&nbsp;$path&nbsp;is trailing-slashed in&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/domain_exists\">domain_exists()<\/a><\/li><li>Fix bulk activation of network-only plugins<\/li><li>Texturize: Massive performance improvements (~600% faster); better handling of braces, nbsp, double, and weird spaces<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Multisite<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Introduce&nbsp;get_network_by_path()<\/li><li>Introduce&nbsp;wp_get_network()<\/li><li>Introduce&nbsp;Function_Reference\/get_site_by_path|get_site_by_path()<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Incremental improvements and bug fixes with the multisite load process<\/li><li>Introduce an&nbsp;ms_site_not_found&nbsp;filter to replace NOBLOGREDIRECT<\/li><\/ul>\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<ul class=\"wp-block-list\"><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Customize_Widgets\">WP_Customize_Widgets<\/a><\/li><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Customize_Manager\">WP_Customize_Manager-&gt;$widgets<\/a><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Introduce&nbsp;WP_Upgrader_Skin::decrement_update_count()<\/li><li>Introduce&nbsp;Bulk_Upgrader_Skin::decrement_update_count()<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/wpdb\">wpdb::$reconnect_retries<\/a><\/li><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/wpdb\">wpdb::$incompatible_modes<\/a><\/li><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/wpdb\">wpdb::$use_mysqli<\/a><\/li><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/wpdb\">wpdb::set_sql_mode()<\/a><\/li><li>Introduce&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/wpdb\">wpdb::check_connection()<\/a><\/li><\/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<ul class=\"wp-block-list\"><li>Introduce&nbsp;wp_normalize_path|wp_normalize_path()<\/li><li>Introduce&nbsp;has_image_size()<\/li><li>Introduce&nbsp;remove_image_size()<\/li><li>Introduce&nbsp;wp_playlist_shortcode()<\/li><li>Introduce&nbsp;wp_maybe_generate_attachment_metadata()<\/li><li>Introduce&nbsp;_count_posts_cache_key()<\/li><li>Introduce&nbsp;get_the_permalink()<\/li><li>Introduce&nbsp;wp_validate_logged_in_cookie()<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Deprecated<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>_relocate_children()<\/li><li>default_topic_count_text()<\/li><li><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/get_current_site_name\">get_current_site_name()<\/a><\/li><li><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/format_to_post\">format_to_post()<\/a><\/li><li><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wpmu_current_site\">wpmu_current_site()<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Actions &amp; Filters<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">New Actions<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Introduce&nbsp;resetpass_form<\/li><li>Introduce&nbsp;wp_install<\/li><li>Introduce&nbsp;wp_upgrade<\/li><li>Introduce&nbsp;wp_playlist_scripts<\/li><li>Introduce&nbsp;dynamic_sidebar_before<\/li><li>Introduce&nbsp;dynamic_sidebar_after<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">New Filters<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Introduce&nbsp;get_adjacent_post_query_args<\/li><li>Introduce&nbsp;post_playlist<\/li><li>Introduce&nbsp;wp_insert_attachment_data<\/li><li>Introduce&nbsp;incompatible_sql_modes<\/li><li>Introduce&nbsp;theme_page_templates<\/li><li>Introduce&nbsp;pre_get_network_by_path<\/li><li>Introduce&nbsp;network_by_path_segments_count<\/li><li>Introduce&nbsp;site_by_path_segments_count<\/li><li>Introduce&nbsp;pre_get_site_by_path<\/li><li>Introduce&nbsp;pre_wp_nav_menu<\/li><li>Introduce&nbsp;pre_set_theme_mod_$name<\/li><li>Introduce&nbsp;determine_current_user<\/li><li>Introduce&nbsp;playlist_styles<\/li><li>Introduce&nbsp;dynamic_sidebar_has_widgets<\/li><li>Introduce&nbsp;is_active_sidebar<\/li><li>Introduce&nbsp;ms_site_not_found<\/li><li>Introduce&nbsp;pre_update_option<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Deprecated<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>format_to_post<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">External Libraries<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Update to TinyMCE 4.0<\/li><li>Update to Masonry 3.0<\/li><li>Update to Backbone 1.1.2<\/li><li>Update to Underscore 1.6<\/li><li>Update to PHPMailer 5.2.7<\/li><li>Update to Plupload 2.1.1<\/li><li>Update to jQuery 1.11.0<\/li><li>Update to jQuery UI 1.10.4<\/li><li>Update to MediaElement 2.14<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Miscellaneous<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">See also: other&nbsp;<a href=\"https:\/\/codex.wordpress.org\/WordPress_Versions\">WordPress Versions<\/a>.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>On April 16, 2014, WordPress&nbsp;Version 3.9, named for jazz musician Jimmy Smith, 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 3.9. For&nbsp;Version 3.9, the database version (db_version&nbsp;in&nbsp;wp_options) changed to 27916, and the&nbsp;Trac&nbsp;revision was 28154. View Closed Tickets Highlights A smoother media editing [&hellip;]<\/p>\n","protected":false},"author":0,"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-11248728","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\/11248728","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"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/wordpress-versions\/11248728\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=11248728"}],"wp:term":[{"taxonomy":"helphub_major_release","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/helphub_major_release?post=11248728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}