Make WordPress Core


Ignore:
Timestamp:
12/17/2018 07:05:30 PM (6 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/latest-posts.php

    r44262 r44273  
    33 * Server-side rendering of the `core/latest-posts` block.
    44 *
    5  * @package gutenberg
     5 * @package WordPress
    66 */
    77
     
    2222
    2323    if ( isset( $attributes['categories'] ) ) {
    24         $args['categories'] = $attributes['categories'];
     24        $args['category'] = $attributes['categories'];
    2525    }
    2626
     
    3434        $title = get_the_title( $post_id );
    3535        if ( ! $title ) {
    36             $title = __( '(Untitled)', 'default' );
     36            $title = __( '(Untitled)' );
    3737        }
    3838        $list_items_markup .= sprintf(
Note: See TracChangeset for help on using the changeset viewer.