Make WordPress Core


Ignore:
Timestamp:
10/12/2023 02:48:05 PM (3 years ago)
Author:
jorgefilipecosta
Message:

Editor: Update packages with bug fixes.

Updates editor npm packages to latest patch versions for the 6.3.x branch.
This changeset is specifically for the 6.3 release branch.

Props mamaduka, gziolo, xknown, peterwilsoncc, jorbin, costdev, mcsf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3/src/wp-includes/blocks/post-navigation-link.php

    r55246 r56861  
    3535    $label  = '';
    3636
     37    // Only use hardcoded values here, otherwise we need to add escaping where these values are used.
    3738    $arrow_map = array(
    3839        'none'    => '',
     
    8586
    8687    // Display arrows.
    87     if ( isset( $attributes['arrow'] ) && ! empty( $attributes['arrow'] ) && 'none' !== $attributes['arrow'] ) {
     88    if ( isset( $attributes['arrow'] ) && 'none' !== $attributes['arrow'] && isset( $arrow_map[ $attributes['arrow'] ] ) ) {
    8889        $arrow = $arrow_map[ $attributes['arrow'] ][ $navigation_type ];
    8990
Note: See TracChangeset for help on using the changeset viewer.