Opened 13 years ago
Closed 13 years ago
#14320 closed defect (bug) (invalid)
ms-function: get_user_count incorrect query
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | has-patch |
Focuses: | Cc: |
Description
line 166:
$count = $wpdb->get_var( $wpdb->prepare("SELECT COUNT(ID) as c FROM $wpdb->users WHERE spam = '0' AND deleted = '0'") );
spam and deleted columns don't exist in the users table...im guessing a copy paste error from the get_blog_count() below it....unless I am completely missing something.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Yes, you're missing something :-)
The spam and deleted columns are multisite only. See install_network().