Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7425 closed enhancement (fixed)

Use API internally for post/page/media edit links

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

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 16 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
16 years ago

#1 @mdawaffe
16 years ago

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

#2 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from assigned to 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.