WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2018 03:08:01 PM (12 months 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-includes/blocks/archives.php

    r43840 r43919  
    3333
    3434        $dropdown_id = esc_attr( uniqid( 'wp-block-archives-' ) );
    35         $title       = __( 'Archives', 'gutenberg' );
     35        $title       = __( 'Archives' );
    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' );
    5454                break;
    5555            case 'monthly':
    56                 $label = __( 'Select Month', 'gutenberg' );
     56                $label = __( 'Select Month' );
    5757                break;
    5858            case 'daily':
    59                 $label = __( 'Select Day', 'gutenberg' );
     59                $label = __( 'Select Day' );
    6060                break;
    6161            case 'weekly':
    62                 $label = __( 'Select Week', 'gutenberg' );
     62                $label = __( 'Select Week' );
    6363                break;
    6464            default:
    65                 $label = __( 'Select Post', 'gutenberg' );
     65                $label = __( 'Select Post' );
    6666                break;
    6767        }
     
    102102                '<div class="%1$s">%2$s</div>',
    103103                $classnames,
    104                 __( 'No archives to show.', 'gutenberg' )
     104                __( 'No archives to show.' )
    105105            );
    106106        } else {
Note: See TracChangeset for help on using the changeset viewer.