Opened 23 months ago
Last modified 23 months ago
#57453 new defect (bug)
Newly created sub-site in multisite not appearing immediately in My Sites list
Reported by: | richardkrone | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 6.1.1 |
Component: | Networks and Sites | Keywords: | |
Focuses: | multisite | Cc: |
Description
Hello:
Issue
When, as a super-admin, a sub-site is created while in a multisite environment, the newly created sub-site does not appear immediately in the toolbar's site list dropdown.
Expected Behavior
The expected result of adding a new sub-site is that while logged in as a super-admin, the super-admin would immediately see all sub-sites on the multisite.
Findings
New sub-sites will not appear to even a super-admin until the super-admin is manually added to the new site as a user.
Question-Request
Should WordPress require a super-admin to manually add themselves to a sub-site to include that sub-site in the super-admin's toolbar list of sites dropdown?
Attachments (1)
Change History (9)
#1
@
23 months ago
- Summary changed from Newly created subsite in multisite not appearing immediately. to Newly created subsite in multisite not appearing immediately in toolbar's site list dropdown.
#2
@
23 months ago
- Summary changed from Newly created subsite in multisite not appearing immediately in toolbar's site list dropdown. to Newly created sub-site in multisite not appearing immediately in toolbar's site-list dropdown.
#4
@
23 months ago
Hello:
The "My Sites >> Network Admin >> Sites" page did have the new site listed, even while it did not show up in the toolbar under the My Sites drop-down list.
I was able to access the sub-site dashboard though "My Sites >> Network Admin >> Sites" and make a guess about manually adding a super-user to the sub-site manually through the sub-site's own "Users >> Add New" interface. I chose the option to not send myself an email when adding the new user as well.
This test was run multiple times, on the same WP Multisite installation, to see if it was a one-off. It was not a one-off. I did not create any new fresh installations of WordPress Multisite to test on at this time.
I looked over your suggested issue #55149, and I would say that yes they probably either are related or the issue #55149 did not take it to my logical conclusion and fix. Of course, my conclusion, and fix may not have corrected their issue, yet it sounds the same or closely related.
Please let me know if there is anything I can do, try, or provide information you might need.
Best,
Richard
#5
@
23 months ago
I meant the "My Sites" page, which is both the top-level link in the toolbar and linked under Dashboard in the side menu. If the new site is in that list and not the toolbar, then we need to find out why the toolbar does not recognize it.
I think it is more likely a discrepancy when creating a site on the network admin page (/wp-admin/network/site-new.php
). If I create a site there with someone else as the administrator, my user account is not automatically added to the new site. If I use the signup page (/wp-signup.php
), however, my account is the first user for that new site.
It might help to have a (pre-selected?) checkbox with "Add new site to My Sites" or something like it for the label. I also think the Admin Email field could have the current user's email as its default value, though selecting my own account in the email field properly saved the site to My Sites.
#6
@
23 months ago
I ran a few tests on my multisite.
Success Test
I created a new folder based sub-site using my superuser email for the field "Admin Email" in the "Add New Site" screen. This worked as expected. The site appears in both the "My Sites dropdown" and in the "My Sites" page.
Failure Test
I created a new folder based sub-site using a generic but working email (fake example: webmaster@…) for the field "Admin Email" in the "Add New Site" screen. This failed. The site does NOT appear in either the "My Sites dropdown" or in the "My Sites" page.
I hope that this helps. Please let me know what else might be helpful.
#7
@
23 months ago
- Component changed from Toolbar to Networks and Sites
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Newly created sub-site in multisite not appearing immediately in toolbar's site-list dropdown. to Newly created sub-site in multisite not appearing immediately in My Sites list
Then I'll switch the component to discuss changing the New Site page.
Hi and thanks for the report!
Could you check whether the My Sites page has the new site listed when it is not in the toolbar?
Possibly related: #55149