Make WordPress Core


Ignore:
Timestamp:
12/17/2018 03:35:21 PM (6 years ago)
Author:
desrosj
Message:

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

  • Update the annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, dom, edit-post, editor, element, format-library, html-entities, i18n, jest-console, jest-preset-default, keycodes, list-reusable-blocks, notices, nux, plugins, rich-text, scripts, token-lists, url, viewport packages.
  • Upgrades React from 16.5.2 to 16.6.3.
  • Adds a missing wp-date dependency to the editor script.
  • Updates changed dependencies in script-loader.php.
  • Fixes undefined notices in some blocks.
  • Removes incorrect gutenberg textdomain.

Merges [43891], [43903], and [43919] to trunk.

Props atimmer, aduth, youknowriad, danielbachhuber.
See #45145.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-includes/blocks/archives.php

    r44177 r44262  
    3333
    3434        $dropdown_id = esc_attr( uniqid( 'wp-block-archives-' ) );
    35         $title       = __( 'Archives', 'gutenberg' );
     35        $title       = __( 'Archives', 'default' );
    3636
    3737        /** This filter is documented in wp-includes/widgets/class-wp-widget-archives.php */
     
    5151        switch ( $dropdown_args['type'] ) {
    5252            case 'yearly':
    53                 $label = __( 'Select Year', 'gutenberg' );
     53                $label = __( 'Select Year', 'default' );
    5454                break;
    5555            case 'monthly':
    56                 $label = __( 'Select Month', 'gutenberg' );
     56                $label = __( 'Select Month', 'default' );
    5757                break;
    5858            case 'daily':
    59                 $label = __( 'Select Day', 'gutenberg' );
     59                $label = __( 'Select Day', 'default' );
    6060                break;
    6161            case 'weekly':
    62                 $label = __( 'Select Week', 'gutenberg' );
     62                $label = __( 'Select Week', 'default' );
    6363                break;
    6464            default:
    65                 $label = __( 'Select Post', 'gutenberg' );
     65                $label = __( 'Select Post', 'default' );
    6666                break;
    6767        }
     
    102102                '<div class="%1$s">%2$s</div>',
    103103                $classnames,
    104                 __( 'No archives to show.', 'gutenberg' )
     104                __( 'No archives to show.', 'default' )
    105105            );
    106106        } else {
Note: See TracChangeset for help on using the changeset viewer.