Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#10579 closed enhancement (fixed)

Allow filtering of get_edit_post_link for custom post_type's

Reported by: prettyboymp Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.3
Component: General Keywords:
Focuses: Cc:


Currently the default case for the get_edit_post_link function returns void if the user can't edit the given post. However, when using a custom post_type with it's own custom permissions, the 'get_edit_post_link' filter is never called.

Attachments (1)

link-template.patch (406 bytes) - added by prettyboymp 9 years ago.
Suggested fix

Download all attachments as: .zip

Change History (3)

9 years ago

Suggested fix

#1 @ryan
9 years ago

  • Milestone changed from Unassigned to 2.9

#2 @ryan
9 years ago

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

(In [11795]) Apply get_edit_post_link filter. Props prettyboymp. fixes #10579

Note: See TracTickets for help on using tickets.