Changes proposed in this Pull Request
- When a user submits a post to the Forums, ensure that their URL is included. It also achieves the broader request made by @supernovia in #38280 (comment)
Testing instructions
The way this is supposed to work is based on the number of sites which the user owns. You can compare the flows below:
No Site |
One site |
Multiple sites |
|
|
|
When a user enters the URL, it also performs some quick checks:
- If the site is a WordPress.com one owned by another account, it provides a link to the Account Recovery page since it can’t be dealt with in the forums.
- If the site is not a WordPress.com one, and it’s not connected with Jetpack, it provides a warning of that.
Depending on the options, one of the following messages will be included at the end of the Forums post:
- I don’t have a site linked to this WordPress.com account
- I don’t have a site with WordPress.com yet (different to the term above due to topics relating to Account Recover)
- The site I need help with is x.
- The site I need help with is x. This site is not linked to my WordPress.com account.
Note: If the site is self-hosted, a message either saying “It is not hosted by WordPress.com, but it is connected with Jetpack” or “It is not hosted by WordPress.com or connected with Jetpack” will be included too. This should save volunteers from having to manually check each blog, which can quickly become tiresome.
This also introduces an option to hide the URL in the Forums by setting it as an email; it’ll automatically be hidden in the Forums due to this. You can see these changes in action below: https://wordpress.com/forums/topic/testing-please-ignore-apologies/
@supernovia @KokkieH I’d be really grateful for any feedback which you could provide about this. 🙂
cc @jsnajdr
Fixes #38280
Fixes #16015
Fixes #16016
Unfortunately, no screenshots were provided by the developer.