Make WordPress Core


Ignore:
Timestamp:
11/21/2018 03:08:01 PM (6 years ago)
Author:
danielbachhuber
Message:

Block Editor: Update @WordPress dependencies to match Gutenberg 4.5.1.

Updates packages: annotations,
api-fetch,
block-library,
blocks,
components,
core-data,
data,
dom, edit-post,
editor,
format-library,
jest-console,
jest-preset-default,
keycodes,
html-entities,
list-reusable-blocks,
notices,
nux,
rich-text,
scripts,
token-list, url,
viewport

Fixes undefined notices in some blocks. Removes incorrect 'gutenberg' textdomain too.

See #45145

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/edit-form-blocks.php

    r43916 r43919  
    178178    ),
    179179);
     180
     181/*
     182 * Set a locale specific default font.
     183 * Translators: Use this to specify the CSS font family for the default font
     184 */
     185$locale_font_family = esc_html_x( 'Noto Serif', 'CSS Font Family for Editor Font' );
     186$styles[]           = array(
     187    'css' => "body { font-family: '$locale_font_family' }",
     188);
     189
    180190if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
    181191    foreach ( $editor_styles as $style ) {
Note: See TracChangeset for help on using the changeset viewer.