Skip to content

fix: save normalized URL - #219

Merged
Kallyan01 merged 1 commit into
mainfrom
fix/normalized-url
Nov 17, 2026
Merged

Kallyan01 merged 1 commit into
mainfrom
fix/normalized-url

Conversation

@justlevine

@justlevine justlevine commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What

Saves the normalized site URL when checking a Brand Site.

Why

Normalization strips unnecessary whitespace etc, so by comparing the normalized version but not storing the normalized version, it leads to failed matches later on.

Related Issue(s):

How

Replaces the raw URL with the normalized one we use for comparisons before passing it to Remote_Client::check_brand_site()

AI Disclosure

None

Testing Instructions

Screenshots

Additional Info

Checklist

  • I have read the Contribution Guidelines.
  • I have read the Development Guidelines.
  • I have added necessary tests to cover my changes.
  • I have updated the project documentation as needed.
  • My code has detailed inline documentation.
  • My code is tested to the best of my abilities.
  • My code passes all lints, tests, and checks.
Open WordPress Playground Preview

@justlevine
justlevine requested a review from Kallyan01 November 17, 2026 18:21
@Kallyan01
Kallyan01 merged commit 14eff30 into main Nov 17, 2026
18 checks passed
@Kallyan01
Kallyan01 deleted the fix/normalized-url branch November 17, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants