Changeset 49324 for trunk/src/wp-includes/blocks/archives.php
- Timestamp:
- 10/27/2020 09:32:50 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/archives.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/archives.php
r49226 r49324 89 89 $classnames = esc_attr( $class ); 90 90 91 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classnames ) ); 92 91 93 if ( empty( $archives ) ) { 92 93 94 return sprintf( 94 '<div class="%1$s">%2$s</div>',95 $ classnames,95 '<div %1$s>%2$s</div>', 96 $wrapper_attributes, 96 97 __( 'No archives to show.' ) 97 98 ); 98 99 } 99 100 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classnames ) );101 100 102 101 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.