Ticket #7424 (closed defect: fixed)

Opened 1 month ago

Last modified 1 month ago

get_edit_post_link filter needs get_edit_post_link()'s $context

Reported by: mdawaffe Assigned to: anonymous
Priority: low Milestone: 2.6.1
Component: General Version: 2.6
Severity: minor Keywords: has-patch
Cc:

Description

get_edit_post_link() returns different values based on its $context parameter. That parameter is not passed to the get_edit_post_link filter, though, so plugins have to guess.

Attached.

Attachments

7424.diff (0.5 kB) - added by mdawaffe on 07/28/08 23:37:04.

Change History

07/28/08 23:37:04 changed by mdawaffe

  • attachment 7424.diff added.

07/28/08 23:39:15 changed by ryan

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

(In [8478]) Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk

07/28/08 23:39:38 changed by ryan

(In [8479]) Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for 2.6