Make WordPress Core


Ignore:
Timestamp:
10/01/2024 01:16:30 AM (2 months ago)
Author:
noisysocks
Message:

Editor: Update packages for 6.7 Beta 1.

Syncs @wordpress/* packages to the wp-6.7 npm tag.

See #61906.

File:
1 edited

Legend:

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

    r59072 r59148  
    5050        $show_label     = empty( $attributes['showLabel'] ) ? ' screen-reader-text' : '';
    5151        $default_label  = $taxonomy->label;
    52         $label_text     = ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
     52        $label_text     = ! empty( $attributes['label'] ) ? wp_kses_post( $attributes['label'] ) : $default_label;
    5353        $wrapper_markup = '<div %1$s><label class="wp-block-categories__label' . $show_label . '" for="' . esc_attr( $id ) . '">' . $label_text . '</label>%2$s</div>';
    5454        $items_markup   = wp_dropdown_categories( $args );
Note: See TracChangeset for help on using the changeset viewer.