WordPress 5.0.3

WordPress 5.0.3 is now available. This maintenance release contains 37 bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fixes and 7 performance improvements for the blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. editor.

You can download WordPress 5.0.3 or visit Dashboard → Updates on your site and click Update Now. Sites that support automatic background updates have already started to update automatically.

Thank you to everyone who helped through bug reporting, submitting patches and building/testing the release. A full list of people who contributed to 5.0.3 can be found in the official release post.


The full changelog and the list of revised files can be found on 5.0.3 version page on Helphub.

There were no additional changes to 5.0.3 after RC1.

CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Tickets by Component

Component: Bundled Theme (13)

  • #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 imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts..
  • #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 HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. 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} filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. applied with a missing parameter
  • #44809 – Safeguard has_errors() check in extra CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings. 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 JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. is disabled

Component: I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill. (2)

  • #45441 – wp_set_script_translations() does not support text domains other than “messages”
  • #45769 – Expose JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. file paths

Component: Script Loader (1)

  • #45535 – Unminified reactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. and react-dom

Component: Upload (1)

  • #45615 – CSV Mime Type fails upload

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 headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. level in the BlockCompare component.
  • Show all the taxonomies in the sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme..
  • 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 shortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site. 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)

Updated packages