[wp-trac] [WordPress Trac] #2441: edit_post_link() and edit_comment_link() do not user current_user_can()

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 14 01:50:26 GMT 2006


#2441: edit_post_link() and edit_comment_link() do not user current_user_can()
----------------------------+-----------------------------------------------
       Id:  2441            |      Status:  new                     
Component:  Administration  |    Modified:  Tue Feb 14 01:50:26 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  ryan            |    Reporter:  ryan                    
----------------------------+-----------------------------------------------
 edit_post_link() and edit_comment_link() are using the old user_can_*()
 functions rather than current_user_can().  They need to be updated to use
 current_user_can() so that capabilities are honored.

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


More information about the wp-trac mailing list