Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7424 closed defect (bug) (fixed)

get_edit_post_link filter needs get_edit_post_link()'s $context

Reported by: mdawaffe Owned by: 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 (1)

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

Download all attachments as: .zip

Change History (3)

comment:1   ryan5 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

comment:2   ryan5 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.