Changeset 44262 for trunk/src/wp-includes/blocks/latest-comments.php
- Timestamp:
- 12/17/2018 03:35:21 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43891,43903,43919
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/blocks/latest-comments.php
r44163 r44262 30 30 $title = get_the_title( $post ); 31 31 if ( empty( $title ) ) { 32 $title = __( '(no title)', ' gutenberg' );32 $title = __( '(no title)', 'default' ); 33 33 } 34 34 return esc_html( $title ); … … 99 99 $list_items_markup .= sprintf( 100 100 /* translators: 1: author name (inside <a> or <span> tag, based on if they have a URL), 2: post title related to this comment */ 101 __( '%1$s on %2$s', ' gutenberg' ),101 __( '%1$s on %2$s', 'default' ), 102 102 $author_markup, 103 103 $post_title … … 120 120 121 121 $class = 'wp-block-latest-comments'; 122 if ( $attributes['align']) {122 if ( isset( $attributes['align'] ) ) { 123 123 $class .= " align{$attributes['align']}"; 124 124 } … … 144 144 '<div class="%1$s">%2$s</div>', 145 145 $classnames, 146 __( 'No comments to show.', ' gutenberg' )146 __( 'No comments to show.', 'default' ) 147 147 ); 148 148
Note: See TracChangeset
for help on using the changeset viewer.