Make WordPress Core


Ignore:
Timestamp:
03/30/2022 11:28:30 AM (3 years ago)
Author:
audrasjb
Message:

Update WordPress packages for 5.9.3.

Updated packages:

  • @wordpress/block-directory@3.0.29
  • @wordpress/block-library@6.0.28
  • @wordpress/customize-widgets@2.0.29
  • @wordpress/edit-post@5.0.29
  • @wordpress/edit-site@3.0.29
  • @wordpress/edit-widgets@3.1.24

Props mamaduka, jorgefilipecosta.
Fixes #55474.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9/src/wp-includes/blocks/navigation.php

    r52402 r53030  
    514514    );
    515515
    516     $modal_unique_id = uniqid();
     516    $modal_unique_id = wp_unique_id( 'modal-' );
    517517
    518518    // Determine whether or not navigation elements should be wrapped in the markup required to make it responsive,
     
    539539
    540540    $responsive_container_markup = sprintf(
    541         '<button aria-haspopup="true" aria-label="%3$s" class="%6$s" data-micromodal-trigger="modal-%1$s"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" focusable="false"><rect x="4" y="7.5" width="16" height="1.5" /><rect x="4" y="15" width="16" height="1.5" /></svg></button>
    542             <div class="%5$s" style="%7$s" id="modal-%1$s">
     541        '<button aria-haspopup="true" aria-label="%3$s" class="%6$s" data-micromodal-trigger="%1$s"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" focusable="false"><rect x="4" y="7.5" width="16" height="1.5" /><rect x="4" y="15" width="16" height="1.5" /></svg></button>
     542            <div class="%5$s" style="%7$s" id="%1$s">
    543543                <div class="wp-block-navigation__responsive-close" tabindex="-1" data-micromodal-close>
    544544                    <div class="wp-block-navigation__responsive-dialog" aria-label="%8$s">
    545545                            <button aria-label="%4$s" data-micromodal-close class="wp-block-navigation__responsive-container-close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" role="img" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg></button>
    546                         <div class="wp-block-navigation__responsive-container-content" id="modal-%1$s-content">
     546                        <div class="wp-block-navigation__responsive-container-content" id="%1$s-content">
    547547                            %2$s
    548548                        </div>
Note: See TracChangeset for help on using the changeset viewer.