#15699 closed defect (bug) (fixed)
WP_Users_List_Table queries post counts in network admin
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Network Admin | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | scribu, PeteMall |
Description (last modified by scribu)
When this table is displayed in the network admin for sites-users.php it calls count_many_users_posts in display_rows even when we are not going to display this info.
Attachments (1)
Change History (8)
Replying to westi:
Also is there a reason why the class attribute $site_id isn't called $blog_id because sites are different (One MS install can have many sites each with many blogs) so this is a confusing var name.
The network admin already broke the site/blog convention: /network/site-*.php
So, don't know which would be less confusing.
Files are fine. Code should be 'blog', never 'site'.
Actually, that means we should probably have WP_Blogs_List_Table, rather than WP_MS_Sites_List_Table. Surprised I didn't notice that before.
- Resolution set to fixed
- Status changed from new to closed

Also is there a reason why the class attribute $site_id isn't called $blog_id because sites are different (One MS install can have many sites each with many blogs) so this is a confusing var name.