Changeset 56945 for trunk/src/wp-includes/blocks/post-navigation-link.php
- Timestamp:
- 10/16/2023 07:14:55 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-navigation-link.php
r56710 r56945 39 39 $label = ''; 40 40 41 // Only use hardcoded values here, otherwise we need to add escaping where these values are used. 41 42 $arrow_map = array( 42 43 'none' => '', … … 89 90 90 91 // 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'] ] ) ) { 92 93 $arrow = $arrow_map[ $attributes['arrow'] ][ $navigation_type ]; 93 94
Note: See TracChangeset
for help on using the changeset viewer.