Changeset 44273 for trunk/src/wp-includes/blocks/latest-posts.php
- Timestamp:
- 12/17/2018 07:05:30 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43935,43949-43951
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/blocks/latest-posts.php
r44262 r44273 3 3 * Server-side rendering of the `core/latest-posts` block. 4 4 * 5 * @package gutenberg5 * @package WordPress 6 6 */ 7 7 … … 22 22 23 23 if ( isset( $attributes['categories'] ) ) { 24 $args['categor ies'] = $attributes['categories'];24 $args['category'] = $attributes['categories']; 25 25 } 26 26 … … 34 34 $title = get_the_title( $post_id ); 35 35 if ( ! $title ) { 36 $title = __( '(Untitled)' , 'default');36 $title = __( '(Untitled)' ); 37 37 } 38 38 $list_items_markup .= sprintf(
Note: See TracChangeset
for help on using the changeset viewer.