Ticket #2441 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: ryan Assigned to: ryan
Priority: normal Milestone:
Component: Administration Version: 2.0.1
Severity: normal Keywords: capabilities
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

02/14/06 01:50:43 changed by ryan

02/19/06 10:47:54 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

02/19/06 10:52:51 changed by ryan

  • milestone changed from 2.1 to 2.0.2.

11/30/06 19:41:50 changed by

  • milestone deleted.

Milestone 2.0.2 deleted