#2441 closed defect (bug) (fixed)
edit_post_link() and edit_comment_link() do not user current_user_can()
| Reported by: | ryan | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0.1 |
| Severity: | normal | Keywords: | capabilities |
| Cc: | Focuses: |
Description
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.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
[3505]