Title: Version 5.0.3
Author: Jb Audras
Published: January 9, 2019

---

# Version 5.0.3

## In this article

 * [Installation/Update Information](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#installation-update-information)
 * [Summary](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#summary)
    - [Core Tickets by Component](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#core-tickets-by-component)
    - [Block Editor Fixes](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#block-editor-fixes)
 * [List of Files Revised](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#list-of-files-revised)

[ Back to top](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#wp--skip-link--target)

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

## 󠀁[Installation/Update Information](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#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](https://wordpress.org/download/release-archive/).

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

 *  [Updating WordPress](https://wordpress.org/documentation/article/updating-wordpress/)

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

 *  [New To WordPress – Where to Start](https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/?output_format=md)
 *  [First Steps With WordPress](https://wordpress.org/support/article/first-steps-with-wordpress/?output_format=md)
   or [Upgrading WordPress Extended](https://wordpress.org/documentation/article/upgrading-wordpress-extended-instructions/)
 *  [WordPress Lessons](https://wordpress.org/support/article/wordpress-lessons/?output_format=md)

## 󠀁[Summary](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#summary)󠁿

From the [WordPress 5.0.3 release post](https://wordpress.org/news/?p=6530), 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](https://core.trac.wordpress.org/query?status=closed&milestone=5.0.3&group=component)
or the [changelog](https://core.trac.wordpress.org/changeset?old_path=%2Ftags%2F5.0.2&old=&new_path=%2Ftags%2F5.0.3&new=&sfp_email=&sfph_mail=).

### 󠀁[Core Tickets by Component](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#core-tickets-by-component)󠁿

**Component: Bundled Theme (15)**

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

**Component: Customize (2)**

 * [#44770](https://core.trac.wordpress.org/ticket/44770) – Customize: `option_{
   $option}` filter applied with a missing parameter
 * [#44809](https://core.trac.wordpress.org/ticket/44809) – Safeguard `has_errors()`
   check in extra Customizer validation

**Component: Editor (5)**

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

**Component: I18N (2)**

 * [#45441](https://core.trac.wordpress.org/ticket/45441) – wp_set_script_translations()
   does not support text domains other than “messages”
 * [#45769](https://core.trac.wordpress.org/ticket/45769) – Expose JSON translation
   file paths

**Component: Script Loader (1)**

 * [#45535](https://core.trac.wordpress.org/ticket/45535) – Unminified react and
   react-dom

**Component: Upload (1)**

 * [#45615](https://core.trac.wordpress.org/ticket/45615) – CSV Mime Type fails 
   upload

### 󠀁[Block Editor Fixes](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#block-editor-fixes)󠁿

All these fixes are grouped in [#45814](https://core.trac.wordpress.org/ticket/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**

    ```notranslate
    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
    ```

## 󠀁[List of Files Revised](https://wordpress.org/documentation/wordpress-version/version-5-0-3/?output_format=md#list-of-files-revised)󠁿

    ```wp-block-code
    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
    ```

First published

January 9, 2019

Last updated