WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#6125 closed defect (bug) (fixed)

get_link_to_edit() does not sanitize link

Reported by: mdawaffe Owned by:
Milestone: 2.5 Priority: high
Severity: blocker Version: 2.5
Component: General Keywords: has-patch commit
Focuses: Cc:
PR Number:

Description

get_link_to_edit() calls the deprecated get_link() which does not have a filter parameter.

Attached uses get_bookmark() and updates get_link() to accept filter parameter.

Attachments (1)

6125.diff (944 bytes) - added by mdawaffe 12 years ago.

Download all attachments as: .zip

Change History (2)

@mdawaffe
12 years ago

#1 @ryan
12 years ago

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

(In [7193]) Add sanitization to get_link() and get_link_to_edit(). Props mdawaffe. fixes #6125

Note: See TracTickets for help on using tickets.