[wp-trac] [WordPress Trac] #57950: Multisite filter count not adding up.
WordPress Trac
noreply at wordpress.org
Thu Apr 6 07:44:37 UTC 2023
#57950: Multisite filter count not adding up.
-------------------------------------+-------------------------------------
Reporter: richardkrone | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.1.1
Severity: normal | Resolution:
Keywords: needs-screenshots | Focuses: ui, administration,
needs-testing-info | multisite
-------------------------------------+-------------------------------------
Comment (by kelvinballoo):
Hi Richard,
So I was able to see something similar on my end:
[[Image(https://postimg.cc/cKdGnS1N)]
You will see that there is 21 as ALL and 20 public.
And you also see from the screenshot that there is the first one as 'Main'
and doesn't have any checkbox.
Now my deduction is that you might have similar ones, where you have a
main site which is not public and then the other language sites ride on
that one. The language sites are the ones which are public. Could you
confirm if you have something similar?
I also researched that there are multiple filters:
https://developer.wordpress.org/reference/functions/wp_count_sites/
(All, Public, Archived, Spam, Deleted, Mature).
I am not sure if some might hidden by certain access or logic (maybe an
engineer can confirm that) but I pretty much think it's my first point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57950#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list