[wp-trac] [WordPress Trac] #20854: functions.php on line 155 ?

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 7 06:41:10 UTC 2012


#20854: functions.php on line 155 ?
-------------------------------+-----------------------------------
 Reporter:  leondari           |       Owner:  Nikolaos Raftopoulos
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Multisite          |     Version:  3.3.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+-----------------------------------

Comment (by kobenland):

 I have the same warning in my 3.3.2 (and prior) install, but I can't seem
 to reproduce it in 3.4-RC2.

 The number of users are stored in a site option, which is fed by a query
 returning a string:
 {{{
 #!php
 //in wp-includes/ms-functions.php line 1980
 $count = $wpdb->get_var( $wpdb->prepare("SELECT COUNT(ID) as c FROM
 $wpdb->users WHERE spam = '0' AND deleted = '0'") );
 update_site_option( 'user_count', $count );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20854#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list