[wp-trac] [WordPress Trac] #11810: Some users able to comment on unpublished posts

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 18:23:50 UTC 2010


#11810: Some users able to comment on unpublished posts
--------------------------+-------------------------------------------------
 Reporter:  ericmann      |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.9.2                  
Component:  Comments      |     Version:  2.9.1                  
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by ericmann):

 Replying to [comment:15 nacin]:
 > Outside the scope of this ticket, I think. There are other tickets that
 discuss this. Basically, it is difficult to offer a branded warning as it
 requires the theme to cooperate. This was also in the context of, say, a
 warning for if the comment was blank. If you're trying to post to
 something for which you don't have permissions and have to modify what is
 posted to do so, you deserve a wp_die().

 wp_die() is appropriate in this case.  In fact, that's what you get when
 you try to post to comment on a Private post.

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


More information about the wp-trac mailing list