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

Update class-mainwp-utility.php #658

Merged
merged 2 commits into from Apr 2, 2024
Merged

Update class-mainwp-utility.php #658

merged 2 commits into from Apr 2, 2024

Conversation

giuscia
Copy link
Contributor

@giuscia giuscia commented Mar 15, 2024

some sites that use something like this as a domain:

prefix-www.mydomain.it
or
mystrangedomainwww.it

in these cases, MainWP always removes the www. breaking my domain as follows:

prefix-www.mydomain.it => prefix-mydomain.it
mystrangedomainwww.it => mystrangedomainit

my proposal solves the problem

All Submissions:

Changes proposed in this Pull Request:

Closes # .

How to test the changes in this Pull Request:

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

giuscia and others added 2 commits March 15, 2024 11:56
some sites that use something like this as a domain:

prefix-www.mydomain.it
or
mywwwstrangedomain.it

in these cases, MainWP always removes the www breaking my domain as follows:

prefix-www.mydomain.it => prefix-mydomain.it
mywwwstrangedomain.it => mystrangedomain.it


my proposal solves the problem
Copy link

sonarcloud bot commented Mar 30, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@thanghv thanghv merged commit 56f03f9 into mainwp:master Apr 2, 2024
3 checks passed
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.

None yet

3 participants