Ticket #54580: 54580.diff
File 54580.diff, 480 bytes (added by , 22 months ago) |
---|
-
src/wp-includes/blocks/latest-posts.php
diff --git a/src/wp-includes/blocks/latest-posts.php b/src/wp-includes/blocks/latest-posts.php index 00565cda6c..963b2e6526 100644
a b function render_block_core_latest_posts( $attributes ) { 54 54 $args['author'] = $attributes['selectedAuthor']; 55 55 } 56 56 57 $args = apply_filters( 'widget_posts_args', $args ); 58 57 59 $recent_posts = get_posts( $args ); 58 60 59 61 $list_items_markup = '';