[wp-trac] [WordPress Trac] #19116: If post type "post" not exist

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 2 17:06:36 UTC 2011

#19116: If post type "post" not exist
 Reporter:  djudorange               |       Owner:  djudorange
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  3.3
Component:  Database                 |     Version:  3.2.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
Changes (by duck_):

 * status:  new => closed
 * resolution:   => fixed


 In [19117]:
 #!CommitTicketReference repository="" revision="19117"
 Return full WHERE clause from get_posts_by_author_sql() if the post type
 isn't registerd. Fixes SQL sytax on users list when 'post' is
 unregistered. Fixes #19116.

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

More information about the wp-trac mailing list