Make WordPress Core


Ignore:
Timestamp:
12/17/2018 07:05:30 PM (5 years ago)
Author:
desrosj
Message:

Block Editor: Update @wordpress package dependencies.

Update packages include:

  • block-library
  • components
  • edit-post
  • editor
  • format-library
  • list-reusable-blocks
  • nux

Other changes:

  • Fix a translator comment in edit-form-blocks.php.
  • Rename the gutenberg_ functions in blocks/latest-comments.php.

Props noisy socks, youknowriad, pinto, swissspidy.

Merges [43935] and [43949-43951] into trunk.

See #45145.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

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

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