Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if rel contains nofollow instead of being just nofollow when excluding speculative loading #1232

Merged
merged 3 commits into from
May 20, 2024

Conversation

tunetheweb
Copy link
Contributor

Summary

Fixes issue raised here: https://wordpress.org/support/topic/arelnofollow-exact-match-only/

Relevant technical choices

Made the selector wider as detailed here.

There were no unit tests for this one. Maybe should add some but didn't see an easy one I could copy and paste as none of the existing ones are attribute based.

@tunetheweb tunetheweb added [Type] Bug An existing feature is broken [Plugin] Speculative Loading Issues for the Speculative Loading plugin (formerly Speculation Rules) labels May 20, 2024
@tunetheweb tunetheweb added this to the speculation-rules n.e.x.t milestone May 20, 2024
@tunetheweb tunetheweb requested a review from felixarntz as a code owner May 20, 2024 20:23
Copy link

github-actions bot commented May 20, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: tunetheweb <[email protected]>
Co-authored-by: westonruter <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@westonruter westonruter merged commit 3043f5e into trunk May 20, 2024
22 checks passed
@westonruter westonruter deleted the wider-no-follow branch May 20, 2024 20:36
@westonruter westonruter changed the title Check rel contains nofollow Check if rel contains nofollow instead of being just nofollow when excluding speculative loading May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Speculative Loading Issues for the Speculative Loading plugin (formerly Speculation Rules) [Type] Bug An existing feature is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants