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

Commenting out the override method shouldOverrideUrlLoading() fixes the issue #11600

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

gibtang
Copy link

@gibtang gibtang commented Apr 7, 2020

Fixes #
Fixed issue where the URL for the popup does not load due to shouldOverrideUrlLoading()

To test:
In the WordPress app, go to My Sites > Settings > More > Learn More > Website loads correctly

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

…ngs/#default-article-settings triggers the calling of shouldOverrideUrlLoading() when it redirects to https://wordpress.com/support/settings/discussion-settings/#default-article-settings. So I just changed the URL in site_settings.xml to point to https://wordpress.com/support/settings/discussion-settings/#default-article-settings directly so that there is no redirect which will trigger shouldOverrideUrlLoading() and result in a blank screen
@aerych aerych added this to the 14.7 milestone Apr 8, 2020
Copy link
Member

@aerych aerych left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @gibtang! Thanks for the patch :)

@aerych aerych merged commit 166e866 into wordpress-mobile:develop Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants