Make WordPress Core


Ignore:
Timestamp:
10/16/2023 07:14:55 PM (11 months ago)
Author:
karmatosed
Message:

Update editor related npm packages for 6.4 RC1.

The npm packages needed a second part to the update for 6.4 RC1.

Props isabel_brison, andrewserong, jsnajdr, wildworks, joen, mciampini, tyxla, youknowriad, ramonopoly, spacedmonkey, dmsnell, mikachan, kishanjasani, czapla, siobhyb, darerodz, luisherranz

See #59411.

File:
1 edited

Legend:

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

    r56710 r56945  
    3939    $label  = '';
    4040
     41    // Only use hardcoded values here, otherwise we need to add escaping where these values are used.
    4142    $arrow_map = array(
    4243        'none'    => '',
     
    8990
    9091    // Display arrows.
    91     if ( isset( $attributes['arrow'] ) && ! empty( $attributes['arrow'] ) && 'none' !== $attributes['arrow'] ) {
     92    if ( isset( $attributes['arrow'] ) && 'none' !== $attributes['arrow'] && isset( $arrow_map[ $attributes['arrow'] ] ) ) {
    9293        $arrow = $arrow_map[ $attributes['arrow'] ][ $navigation_type ];
    9394
Note: See TracChangeset for help on using the changeset viewer.