Version 5.0.3

On January 9, 2019, WordPress 5.0.3 was released to the public.

Installation/Update Information Installation/Update Information

To download WordPress 5.0.3, update automatically from the Dashboard > Updates menu in your site’s admin area or visit the 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:

Top ↑

Summary Summary

From the WordPress 5.0.3 release post, this maintenance release contains 37 bug fixes and 7 performance improvements for the block editor.

For a full list of changes, please consult the list of tickets on Trac or the changelog.

Core Tickets by Component Core Tickets by Component

Component: Bundled Theme (15)

  • #45541 – Bundled Themes: Button blocks not respecting settings
  • #45679 – Bundled Themes: Bump script and style version numbers
  • #45792 – Bundled Themes: Bump version numbers and update changelogs for 5.0.3 release
  • #45510 – Twenty Nineteen: Link are triggered on touchstart instead of touchend
  • #45689 – Twenty Nineteen: Incorrect opacity and text shadow on submenus when there’s a featured image.
  • #45693 – Twenty Nineteen: Update theme description and tags
  • #45713 – Twenty Nineteen: Improve menu semantics and keyboard navigation.
  • #45715 – Twenty Nineteen: Remove underline from the arrow that follows “Continue reading” links
  • #45716 – Twenty Nineteen: Push right-aligned images outside of the text column on the front end
  • #45726 – Twenty Nineteen: By default, the hover on outlined buttons is white text on a white background
  • #44883 – Twenty Seventeen: Use simple counter rather than uniqid() for generating unique IDs for HTML elements
  • #45426 – Twenty Seventeen: Missing colours from blocks.css for editor colour palette
  • #45732 – Twenty Fourteen Button block link displayed with underscore
  • #44664 – Twenty Fourteen: Video play icon alignment
  • #45794 – px/rem order reversed in Twenty Twelve blocks.css

Component: Customize (2)

  • #44770 – Customize: option_{$option} filter applied with a missing parameter
  • #44809 – Safeguard has_errors() check in extra Customizer validation

Component: Editor (5)

  • #43253 – Insert Link Dialog captures shift+arrow and changes selected item rather than highlighting text
  • #44919 – Tooltip for the ‘edit’ button in the Classic Editor has unnecessary suffix
  • #45788 – Not translated: “add media” in block classic in WP 5.0.2
  • #45814 – Update the WordPress packages for 5.0.3
  • #45453 – Block Editor: Add a Message if JavaScript is disabled

Component: I18N (2)

  • #45441 – wp_set_script_translations() does not support text domains other than “messages”
  • #45769 – Expose JSON translation file paths

Component: Script Loader (1)

  • #45535 – Unminified react and react-dom

Component: Upload (1)

  • #45615 – CSV Mime Type fails upload

Top ↑

Block Editor Fixes Block Editor Fixes

All these fixes are grouped in #45814.

Performance (7)

  • Optimizing the addHook function
  • Optimizing the viewport state initialization.
  • Splitting the state tree for more performant selectors.
  • Partial application of runSelector.
  • Optimize selector calls.
  • Avoid rendering DropZone children if not necessary.
  • Avoid initializing variables if not necessary.

Bug Fixes (11)

  • Fix RTL support for the DatePicker component.
  • Change the header level in the BlockCompare component.
  • Show all the taxonomies in the sidebar.
  • Fix the latest posts date className.
  • Fix the “align center” button in Latest Posts block in the backend.
  • Fix block height when DropCap is used.
  • Fix converting caption shortcode with link.
  • Fix edge case in addQueryArgs function.
  • Don’t return the permalink if the CPT is not publicly viewable.
  • Fix error when saving non public CPTs.
  • Properly disable the Publish button when saving is disabled.

Core (1)

  • Code style fixes and expand the phpcs coverage.

Updated packages

wordpress/annotations@1.0.5
wordpress/api-fetch@2.2.7
wordpress/block-library@2.2.12
wordpress/block-serialization-default-parser@2.0.3
wordpress/blocks@6.0.5
wordpress/components@7.0.5
wordpress/core-data@2.0.16
wordpress/data@4.2.0
wordpress/deprecated@2.0.4
wordpress/dom@2.0.8
wordpress/edit-post@3.1.7
wordpress/editor@9.0.7
wordpress/format-library@1.2.10
wordpress/hooks@2.0.4
wordpress/list-reusable-blocks@1.1.18
wordpress/notices@1.1.2
wordpress/nux@3.0.6
wordpress/plugins@2.0.10
wordpress/rich-text@3.0.4
wordpress/url@2.3.3
wordpress/viewport@2.1.0

Top ↑

List of Files Revised List of Files Revised

license.txt
wp-admin/about.php
wp-admin/css/common.css
wp-admin/edit-form-blocks.php
wp-admin/post.php
wp-content/themes/twentyeleven/blocks.css
wp-content/themes/twentyeleven/editor-blocks.css
wp-content/themes/twentyeleven/functions.php
wp-content/themes/twentyeleven/languages/twentyeleven.pot
wp-content/themes/twentyeleven/readme.txt
wp-content/themes/twentyeleven/style.css
wp-content/themes/twentyfifteen/css/blocks.css
wp-content/themes/twentyfifteen/css/editor-blocks.css
wp-content/themes/twentyfifteen/functions.php
wp-content/themes/twentyfifteen/readme.txt
wp-content/themes/twentyfifteen/style.css
wp-content/themes/twentyfourteen/css/blocks.css
wp-content/themes/twentyfourteen/css/editor-blocks.css
wp-content/themes/twentyfourteen/css/editor-style.css
wp-content/themes/twentyfourteen/functions.php
wp-content/themes/twentyfourteen/readme.txt
wp-content/themes/twentyfourteen/style.css
wp-content/themes/twentynineteen/functions.php
wp-content/themes/twentynineteen/inc/customizer.php
wp-content/themes/twentynineteen/inc/template-functions.php
wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js
wp-content/themes/twentynineteen/readme.txt
wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss
wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss
wp-content/themes/twentynineteen/sass/site/primary/_posts-and-pages.scss
wp-content/themes/twentynineteen/style-rtl.css
wp-content/themes/twentynineteen/style.css
wp-content/themes/twentynineteen/style.scss
wp-content/themes/twentynineteen/template-parts/header/site-branding.php
wp-content/themes/twentyseventeen/README.txt
wp-content/themes/twentyseventeen/assets/css/blocks.css
wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
wp-content/themes/twentyseventeen/functions.php
wp-content/themes/twentyseventeen/inc/icon-functions.php
wp-content/themes/twentyseventeen/searchform.php
wp-content/themes/twentyseventeen/style.css
wp-content/themes/twentysixteen/css/blocks.css
wp-content/themes/twentysixteen/css/editor-blocks.css
wp-content/themes/twentysixteen/functions.php
wp-content/themes/twentysixteen/readme.txt
wp-content/themes/twentysixteen/style.css
wp-content/themes/twentythirteen/css/blocks.css
wp-content/themes/twentythirteen/css/editor-blocks.css
wp-content/themes/twentythirteen/functions.php
wp-content/themes/twentythirteen/readme.txt
wp-content/themes/twentythirteen/style.css
wp-content/themes/twentytwelve/css/blocks.css
wp-content/themes/twentytwelve/css/editor-blocks.css
wp-content/themes/twentytwelve/functions.php
wp-content/themes/twentytwelve/readme.txt
wp-content/themes/twentytwelve/style.css
wp-includes/class-wp-block-parser.php
wp-includes/class-wp-customize-manager.php
wp-includes/class-wp-customize-widgets.php
wp-includes/class-wp-editor.php
wp-includes/class.wp-scripts.php
wp-includes/functions.php
wp-includes/js/wplink.js
wp-includes/l10n.php
wp-includes/script-loader.php
wp-includes/version.php