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.

git-svn-id: https://develop.svn.wordpress.org/trunk@44273 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2018-12-17 19:05:30 +00:00
parent 5c6cc0f6ce
commit 9d85e5050d
10 changed files with 82 additions and 79 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
/**
* Server-side rendering of the `core/latest-posts` block.
*
* @package gutenberg
* @package WordPress
*/
/**
@@ -21,7 +21,7 @@ function render_block_core_latest_posts( $attributes ) {
);
if ( isset( $attributes['categories'] ) ) {
$args['categories'] = $attributes['categories'];
$args['category'] = $attributes['categories'];
}
$recent_posts = wp_get_recent_posts( $args );
@@ -33,7 +33,7 @@ function render_block_core_latest_posts( $attributes ) {
$title = get_the_title( $post_id );
if ( ! $title ) {
$title = __( '(Untitled)', 'default' );
$title = __( '(Untitled)' );
}
$list_items_markup .= sprintf(
'<li><a href="%1$s">%2$s</a>',