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

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

comment:1   ryan4 years ago

  • 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

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