WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.
Suggested fix

Download all attachments as: .zip

Change History (3)

prettyboymp5 years ago

Suggested fix

comment:1 ryan5 years ago

  • Milestone changed from Unassigned to 2.9

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