Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#7424 closed defect (bug) (fixed)

get_edit_post_link filter needs get_edit_post_link()'s $context

Reported by: mdawaffe Owned by:
Priority: low Milestone: 2.6.1
Component: General Version: 2.6
Severity: minor Keywords: has-patch
Cc: Focuses:

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 18 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
18 years ago

#1 @ryan
18 years ago

  • Resolutionfixed
  • Status newclosed

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

#2 @ryan
18 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.