mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Block Editor: Include the latest fixes targetted for 5.8 RC1.
It includes: - Add a label for screen reader in categories block gutenberg#33060 - Remove "is-dark-theme" rules from mixins. gutenberg#33058 - Adjust widget form margins in the new widget editor gutenberg#33040 - [Block Library - Query Loop]: Select first Query Loop found from pattern selection gutenberg#32737 See #53397. git-svn-id: https://develop.svn.wordpress.org/trunk@51261 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -28,7 +28,7 @@ function render_block_core_categories( $attributes ) {
|
||||
$id = 'wp-block-categories-' . $block_id;
|
||||
$args['id'] = $id;
|
||||
$args['show_option_none'] = __( 'Select Category' );
|
||||
$wrapper_markup = '<div %1$s>%2$s</div>';
|
||||
$wrapper_markup = '<div %1$s><label class="screen-reader-text" for="' . $id . '">' . __( 'Categories' ) . '</label>%2$s</div>';
|
||||
$items_markup = wp_dropdown_categories( $args );
|
||||
$type = 'dropdown';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user