Changeset 49215 for trunk/src/wp-includes/class-walker-nav-menu.php
- Timestamp:
- 10/19/2020 11:37:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-nav-menu.php
r49193 r49215 174 174 $atts['target'] = ! empty( $item->target ) ? $item->target : ''; 175 175 if ( '_blank' === $item->target && empty( $item->xfn ) ) { 176 $atts['rel'] = 'noopener noreferrer';176 $atts['rel'] = 'noopener'; 177 177 } else { 178 178 $atts['rel'] = $item->xfn;
Note: See TracChangeset
for help on using the changeset viewer.