WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Version 4.7.4

On 20 Apr, 2017, WordPress 4.7.4 was released to the public.

See also: other WordPress Versions.

Installation/Update Information

To download WordPress 4.7.4, update automatically from the Dashboard > Updates menu in your site's admin area or visit https://wordpress.org/download/release-archive/.

For step-by-step instructions on installing and updating WordPress:

If you are new to WordPress, we recommend that you begin with the following:

Summary

From the WordPress 4.7.4 release post: WordPress 4.7.4 fixes 47 bugs from Version 4.7.3, including an incompatibility between the upcoming Chrome version and the visual editor, inconsistencies in media handling, and further improvements to the REST API. It also includes:

Administration

  • #39983 - Consider to don't use the CSS class button-link for controls that don't look like links

Bootstrap/Load

  • #39445 - Add class_exists() check before defining the PasswordHash class

Build/Test Tools

  • #38500 - Automatically cancel pending Travis builds with each commit
  • #39219 - Add `assertNotFalse` method to `WP_UnitTestCase`.
  • #39367 - Don't no-op $user_id in test suite's wp_set_auth_cookie()
  • #39988 - The theme used during tests should call wp_head() and wp_footer()
  • #40066 - Remove the twentysixteen git clone from the Travis config
  • #40086 - Get Travis tests working again on PHP 7

Bundled Theme

  • #40216 - Twenty Seventeen: Some parts do not escape html attributes
  • #40224 - Twenty Seventeen: navigation.js should be enqueued with jQuery as dependency
  • #40264 - Twenty Seventeen: Incorrect heading hierarchy for front page sections
  • #40461 - Twenty Seventeen: Bump version and update changelog

Customize

  • #37471 - Customizer: Widgets: If your theme only has one widget area, we should open it automatically
  • #38953 - Customize Menus: clicking outside of the available menu items panel does not close the panel
  • #39430 - Customize: sections and panels that are open and become inactive should be closed
  • #40010 - Customize: Template for site icon control fails to check if full image size exists before using
  • #40018 - Customize: Selective refresh always falls back to full refreshes when customizing the 404 template
  • #40112 - Can't preview starter content "Home" menu item in subdirectory installation
  • #40271 - Use get_user_locale() in Customizer
  • #40277 - Adding page created with the dropdown-pages settings to menu creates Custom Link instead of Page
  • #40308 - Customize: Video header control fails to use is_header_video_active() for active_callback
  • #40405 - Customize: IE9 errors when attempting to generate changeset parameter
  • #39770 - Customize: Client-side notification error is unexpectedly cleared when no corresponding server-side validation
  • #40198 - Customize: all previewable links are blocked in the customize preview on IE11
  • #31850 - Customizer links should use canonical admin URL

Editor

  • #40480 - Cursor position bug when updating WPView shortcode in 4.7.4 RC

Login and Registration

  • #39497 - Can't log out completely without closing my browser

Media

  • #31071 - media / post_mime_type related queries are very slow on larger sites
  • #40017 - wp_get_image_mime() returns 'application/octet-stream' for non-image files.
  • #40075 - Broken video/audio thumbnails because of corrupted blob meta data
  • #40085 - Audio/video uploads are broken in 4.2.13 and 4.3.9
  • #40152 - Crop Image button off-screen on mobile

Networks and Sites

  • #40036 - Re-save Network Settings ruin starter content
  • #40063 - Handle site cache invalidation more specifically for option updates

Posts, Post Types

  • #39986 - Register missing REST API properties on WP_Post_Type

Quick/Bulk Edit

  • #40242 - Bulk edit tag autocomplete layout error

REST API

  • #39854 - REST API: Add gmt_offset to base /wp-json response
  • #39881 - `WP_REST_Posts_Controller::check_read_permission()` should check if `$parent` exists before calling itself
  • #40027 - Tags and Categories should have a "slugs" parameter for batch fetching
  • #40136 - REST API: Issues with dates and DST
  • #40213 - REST API: Users endpoint slug parameter should allow an array of slugs

Taxonomy

  • #39987 - Register missing REST API properties on WP_Taxonomy
  • #40154 - Incorrectly formatted $taxonomies parameter passed to wp_get_object_terms filter
  • #40306 - Term cache isn't cleared completely when setting and removing object terms

Themes

  • #38292 - Introduce exclusion for WP_Theme::scandir()

TinyMCE

  • #40305 - Image popup toolbar does not support Chrome Beta

List of Files Revised

wp-settings.php
wp-admin/customize.php
wp-admin/css/customize-controls-rtl.css
wp-admin/css/customize-nav-menus-rtl.css
wp-admin/css/customize-controls-rtl.min.css
wp-admin/css/customize-nav-menus-rtl.min.css
wp-admin/css/customize-controls.css
wp-admin/css/customize-nav-menus.css
wp-admin/css/customize-controls.min.css
wp-admin/css/customize-nav-menus.min.css
wp-admin/install.php
wp-admin/widgets.php
wp-admin/includes/theme.php
wp-admin/includes/media.php
wp-admin/nav-menus.php
wp-admin/menu.php
wp-admin/js/customize-controls.min.js
wp-admin/js/customize-nav-menus.min.js
wp-admin/js/tags-suggest.js
wp-admin/js/customize-controls.js
wp-admin/js/inline-edit-post.min.js
wp-admin/js/customize-nav-menus.js
wp-admin/js/inline-edit-post.js
wp-admin/js/tags-suggest.min.js
wp-includes/class-wp-customize-panel.php
wp-includes/theme.php
wp-includes/css/buttons.min.css
wp-includes/css/wp-auth-check-rtl.min.css
wp-includes/css/media-views.min.css
wp-includes/css/buttons-rtl.css
wp-includes/css/wp-auth-check.css
wp-includes/css/media-views-rtl.css
wp-includes/css/buttons-rtl.min.css
wp-includes/css/wp-auth-check.min.css
wp-includes/css/media-views-rtl.min.css
wp-includes/css/buttons.css
wp-includes/css/wp-auth-check-rtl.css
wp-includes/css/media-views.css
wp-includes/functions.php
wp-includes/taxonomy.php
wp-includes/media.php
wp-includes/media-template.php
wp-includes/rest-api/class-wp-rest-server.php
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
wp-includes/version.php
wp-includes/ms-default-filters.php
wp-includes/class-wp-customize-manager.php
wp-includes/js/customize-preview.js
wp-includes/js/customize-base.min.js
wp-includes/js/mce-view.min.js
wp-includes/js/customize-preview.min.js
wp-includes/js/customize-base.js
wp-includes/js/tinymce/themes/inlite/theme.js
wp-includes/js/tinymce/themes/inlite/theme.min.js
wp-includes/js/tinymce/themes/modern/theme.js
wp-includes/js/tinymce/themes/modern/theme.min.js
wp-includes/js/tinymce/tinymce.min.js
wp-includes/js/tinymce/wp-tinymce.js.gz
wp-includes/js/tinymce/skins/lightgray/skin.min.css
wp-includes/js/tinymce/skins/lightgray/content.inline.min.css
wp-includes/js/tinymce/skins/lightgray/skin.ie7.min.css
wp-includes/js/tinymce/skins/lightgray/content.min.css
wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.eot
wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.json
wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.ttf
wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.svg
wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.woff
wp-includes/js/tinymce/plugins/directionality/plugin.min.js
wp-includes/js/tinymce/plugins/textcolor/plugin.min.js
wp-includes/js/tinymce/plugins/wordpress/plugin.js
wp-includes/js/tinymce/plugins/wordpress/plugin.min.js
wp-includes/js/tinymce/plugins/lists/plugin.js
wp-includes/js/tinymce/plugins/lists/plugin.min.js
wp-includes/js/tinymce/plugins/compat3x/plugin.js
wp-includes/js/tinymce/plugins/compat3x/plugin.min.js
wp-includes/js/tinymce/plugins/fullscreen/plugin.min.js
wp-includes/js/tinymce/plugins/tabfocus/plugin.min.js
wp-includes/js/tinymce/plugins/hr/plugin.min.js
wp-includes/js/tinymce/plugins/charmap/plugin.js
wp-includes/js/tinymce/plugins/charmap/plugin.min.js
wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js
wp-includes/js/tinymce/plugins/paste/plugin.js
wp-includes/js/tinymce/plugins/paste/plugin.min.js
wp-includes/js/tinymce/plugins/media/plugin.js
wp-includes/js/tinymce/plugins/media/plugin.min.js
wp-includes/js/tinymce/plugins/image/plugin.js
wp-includes/js/tinymce/plugins/image/plugin.min.js
wp-includes/js/mce-view.js
wp-includes/default-constants.php
wp-includes/class-wp-taxonomy.php
wp-includes/class-wp-customize-widgets.php
wp-includes/ms-blogs.php
wp-includes/class-wp-post-type.php
wp-includes/customize/class-wp-customize-site-icon-control.php
wp-includes/customize/class-wp-customize-selective-refresh.php
wp-includes/pluggable.php
wp-includes/class-wp-theme.php
wp-content/themes/twentyseventeen/footer.php
wp-content/themes/twentyseventeen/style.css
wp-content/themes/twentyseventeen/functions.php
wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php
wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php
wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php
wp-content/themes/twentyseventeen/template-parts/post/content-audio.php
wp-content/themes/twentyseventeen/template-parts/post/content-image.php
wp-content/themes/twentyseventeen/template-parts/post/content.php
wp-content/themes/twentyseventeen/template-parts/post/content-video.php
wp-content/themes/twentyseventeen/README.txt