--- a/wp/wp-includes/blocks/home-link.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/blocks/home-link.php Fri Sep 05 18:52:52 2025 +0200
@@ -137,9 +137,6 @@
*/
function render_block_core_home_link( $attributes, $content, $block ) {
if ( empty( $attributes['label'] ) ) {
- // Using a fallback for the label attribute allows rendering the block even if no attributes have been set,
- // e.g. when using the block as a hooked block.
- // Note that the fallback value needs to be kept in sync with the one set in `edit.js` (upon first loading the block in the editor).
$attributes['label'] = __( 'Home' );
}
$aria_current = '';