Changeset 51199 for trunk/src/wp-includes/blocks/site-tagline.php
- Timestamp:
- 06/22/2021 09:58:32 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/site-tagline.php
r50929 r51199 14 14 */ 15 15 function render_block_core_site_tagline( $attributes ) { 16 $site_tagline = get_bloginfo( 'description' ); 17 if ( ! $site_tagline ) { 18 return; 19 } 16 20 $align_class_name = empty( $attributes['textAlign'] ) ? '' : "has-text-align-{$attributes['textAlign']}"; 17 21 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); … … 20 24 '<p %1$s>%2$s</p>', 21 25 $wrapper_attributes, 22 get_bloginfo( 'description' )26 $site_tagline 23 27 ); 24 28 }
Note: See TracChangeset
for help on using the changeset viewer.