Confirm that site is indeed not a WordPress site after XML-RPC validation fails#21904
Conversation
f10cbfd to
5997b3b
Compare
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21904-45dcc79 | |
| Version | 23.9 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | 45dcc79 | |
| App Center Build | WPiOS - One-Offs #8187 |
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21904-45dcc79 | |
| Version | 23.9 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | 45dcc79 | |
| App Center Build | jetpack-installable-builds #7209 |
|
Automattic/peril-settings#118 and Automattic/dangermattic#30 will resolve Danger warnings. |
|
Hey @SiobhyB, I saw you originally reported this issue #18497 maybe you could to take a look at the solution? This is not urgent. My proposal was to do an additional check to determine if a site is a WP site if XML-RPC validation fails, just so we wouldn't confuse users with incorrect error messages.
|
There was a problem hiding this comment.
Approving via wordpress-mobile/WordPressAuthenticator-iOS#796 (review), with the note that I think it'd be wise for @guarani or another iOS developer to also do a review, based on my lower level of experience in iOS. (I also see a couple of failing tests, which I assume are the ones referenced here.)
Thanks again for working on this @staskus! 🙌
|
@SiobhyB thank you very much for your testing and review! 🙇
I think that's a very good point. Given the goal of this fix is to reduce the number of confused and misled users. I will see what could be the improvement!
👍 |
…sometimes-displays-incorrectly
|
Improved error messages to suggest contacting the host: wordpress-mobile/WordPressKit-iOS#655 |
There was a problem hiding this comment.
Sorry for the long delay reviewing this, @staskus!
Tested:
- I see the new "Couldn't connect. Required XML-RPC methods are missing on the server. Please contact your hosting provider to solve this problem." message as expected when using the test URL "https://www.inter..." (redacted)
- Using the XMLRPC tweak tool and
Mode 4: Block All Calls, the new & updated message is also shown (as above) - The other XMLRPC tweak tool scenarios also work as expected
- Login to a functional self-hosted site continues to work
…sometimes-displays-incorrectly


Partially addresses #18497
Related WordPressAuthenticator PR: wordpress-mobile/WordPressAuthenticator-iOS#796
Related WordPressKit PR: wordpress-mobile/WordPressKit-iOS#655
To test:
A URL for testing can be found at pbArwn-4xZ-p2#comment-5712 and/or 5170539-zd-a8c (not included in this ticket to protect user privacy):
Regression
Regression Notes
Breaking site address login
Manual testing, existing tests
Added new tests into WordPressAuthenticator-iOS
PR submission checklist:
RELEASE-NOTES.txtif necessary.UI Changes testing checklist: