diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-includes/blocks/tag-cloud.php --- a/wp/wp-includes/blocks/tag-cloud.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-includes/blocks/tag-cloud.php Fri Sep 05 18:52:52 2025 +0200 @@ -29,8 +29,13 @@ ); $tag_cloud = wp_tag_cloud( $args ); - if ( ! $tag_cloud ) { - $tag_cloud = __( 'There’s no content to show here yet.' ); + if ( empty( $tag_cloud ) ) { + // Display placeholder content when there are no tags only in editor. + if ( wp_is_serving_rest_request() ) { + $tag_cloud = __( 'There’s no content to show here yet.' ); + } else { + return ''; + } } $wrapper_attributes = get_block_wrapper_attributes();