Make WordPress Core


Ignore:
Timestamp:
02/07/2025 03:44:07 PM (5 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 pre-Betas.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, joemcgill, youknowriad, swissspidy, sergiomdgomes, gziolo.
See #62887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/home-link.php

    r58187 r59775  
    138138function render_block_core_home_link( $attributes, $content, $block ) {
    139139    if ( empty( $attributes['label'] ) ) {
    140         // Using a fallback for the label attribute allows rendering the block even if no attributes have been set,
    141         // e.g. when using the block as a hooked block.
    142         // 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).
    143140        $attributes['label'] = __( 'Home' );
    144141    }
Note: See TracChangeset for help on using the changeset viewer.