[wp-trac] [WordPress Trac] #4101: SQL error in wp-admin/users.php

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 6 14:12:17 GMT 2007


#4101: SQL error in wp-admin/users.php
----------------------------+-----------------------------------------------
 Reporter:  devil1591       |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.2      
Component:  Administration  |     Version:  2.2      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Here is the error in wp-admin/users.php :

 {{{
 error: [You have an error in your SQL syntax; check the manual that
 corresponds to your MySQL server version for the right syntax to use near
 '(post_status = 'publish' OR post_status = 'private')' at line 1]
 SELECT COUNT(*) FROM wp_posts WHERE post_author = '1' AND post_type =
 'post' (post_status = 'publish' OR post_status = 'private')

 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4101>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list