Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#7424 closed defect (bug) (fixed)

get_edit_post_link filter needs get_edit_post_link()'s $context

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: 2.6.1 Priority: low
Severity: minor Version: 2.6
Component: General Keywords: has-patch
Focuses: 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 (1)

7424.diff (556 bytes) - added by mdawaffe 17 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
17 years ago

#1 @ryan
17 years ago

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

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

#2 @ryan
17 years ago

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

Note: See TracTickets for help on using tickets.