Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#7425 closed enhancement (fixed)

Use API internally for post/page/media edit links

Reported by: mdawaffe Owned by: mdawaffe
Priority: normal Milestone: 2.7
Component: Administration Version: 2.6
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Plugins adding new types of post types or adding specific functionality for specific media mime types may need more flexibility than simply adding form fields to a post's, page's or media item's edit screen. These plugins may need to offer completely new edit screens for their specialized data.

WordPress currently has post, page, and media item edit links hardcoded rather than using the filterable get_edit_post_link() function.

The attached converts all the hardcoded links to links created with get_edit_post_link().

Attachments (1)

7425.diff​ (11.7 KB ) - added by mdawaffe 18 years ago.

Download all attachments as: .zip

Change History (3)

#1 @mdawaffe
18 years ago

  • Owner changed from anonymous to mdawaffe
  • Status new → assigned

#2 @ryan
18 years ago

  • Resolution → fixed
  • Status assigned → closed

(In [8484]) Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425

Note: See TracTickets for help on using tickets.