Skip to content
#

nav

Here are 104 public repositories matching this topic...

LukaszJaro
LukaszJaro commented May 14, 2019

Suggestion

WordPress core recently added this to the navwalker:
https://core.trac.wordpress.org/ticket/43290

Without adding these attributes google audit flags as a security risk, suggested change for class-wp-bootsrap-navwalker.php:

`//$atts['rel'] = ! empty( $item->xfn ) ? $item->xfn : '';

	if ( '_blank' === $item->target && empty( $item->xfn ) ) {
		$atts['rel'] = 'noopener 

Improve this page

Add a description, image, and links to the nav topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nav topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.