WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7424 closed defect (bug) (fixed)

get_edit_post_link filter needs get_edit_post_link()'s $context

Reported by: 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 7 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe7 years ago

comment:1 @ryan7 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 @ryan7 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.