- Timestamp:
- 10/12/2023 02:48:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.3/src/wp-includes/blocks/post-navigation-link.php
r55246 r56861 35 35 $label = ''; 36 36 37 // Only use hardcoded values here, otherwise we need to add escaping where these values are used. 37 38 $arrow_map = array( 38 39 'none' => '', … … 85 86 86 87 // 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'] ] ) ) { 88 89 $arrow = $arrow_map[ $attributes['arrow'] ][ $navigation_type ]; 89 90
Note: See TracChangeset
for help on using the changeset viewer.