[wp-trac] [WordPress Trac] #16129: Incorrect cap check in wp-admin/includes/comment.php : edit_comment()

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 03:42:17 UTC 2011


#16129: Incorrect cap check in wp-admin/includes/comment.php : edit_comment()
----------------------------+------------------
 Reporter:  westi           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by casben79):

 Yes, comment_post_ID is the post id that is being commented on.

 Seeing as we are no longer using $comment_post_ID I see no point in
 creating the variable in the first place, it is not used anywhere else in
 the function Nor returned in any way.

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


More information about the wp-trac mailing list