[wp-trac] Re: [WordPress Trac] #9200: comment widget links draft articles

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 22 06:12:08 GMT 2009


#9200: comment widget links draft articles
--------------------------+-------------------------------------------------
 Reporter:  hakre         |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:           
Component:  General       |      Version:  2.7      
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by menelicte):

 If you take a look to my solution for the similar problem with 'private'
 entries ([http://core.trac.wordpress.org/ticket/9211]), you'll see I took
 a look to your ticket.

 I think that what you need could be done by adding
 {{{
 AND p.post_status<>'draft'
 }}}
 in the WHERE clause of the query I modified in the other ticket.

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


More information about the wp-trac mailing list