#15699 closed defect (bug) (fixed)
WP_Users_List_Table queries post counts in network admin
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Network Admin | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description (last modified by )
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)
#4
in reply to:
↑ 1
@
14 years ago
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.
#5
@
14 years ago
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.
Note: See
TracTickets for help on using
tickets.
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.