rel=noopener for target=_blank
-
Hello,
In your class-sanitizer.php, you have a function sanitize_a_attribute in which your remove all attributs rel which are not equal to nofollow.
But when we add link with target=”_blank”, wordpress add automatically the attribut rel=”noopener”, because the attribut rel=”noopener” can help to prevent phishing.
In my understanding, this attribut is authorized on ampproject since march 2016.I think it will better to authorize this attribut
Best regards
- The topic ‘rel=noopener for target=_blank’ is closed to new replies.