Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2441 closed defect (bug) (fixed)

edit_post_link() and edit_comment_link() do not user current_user_can()

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version: 2.0.1
Component: Administration Keywords: capabilities
Focuses: Cc:

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)

#2 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3552]) Use current_user_can. fixes #2441

#3 @ryan
19 years ago

  • Milestone changed from 2.1 to 2.0.2

#4 @(none)
18 years ago

  • Milestone 2.0.2 deleted

Milestone 2.0.2 deleted

Note: See TracTickets for help on using tickets.