Skip to content

Commit

Permalink
fix: Default tag cloud name in translation function
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Jan 8, 2025
1 parent 0c7e7f9 commit 05ead12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/tag-cloud/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
function render_block_core_tag_cloud( $attributes ) {
$smallest_font_size = $attributes['smallestFontSize'];
$unit = ( preg_match( '/^[0-9.]+(?P<unit>[a-z%]+)$/i', $smallest_font_size, $m ) ? $m['unit'] : 'pt' );
$aria_label = isset( $attributes['ariaLabel'] ) ? $attributes['ariaLabel'] : 'Tag Cloud';
$aria_label = isset( $attributes['ariaLabel'] ) ? $attributes['ariaLabel'] : __( 'Tag Cloud' );

$args = array(
'echo' => false,
Expand Down

0 comments on commit 05ead12

Please sign in to comment.