Opened 16 years ago
Closed 16 years ago
#7425 closed enhancement (fixed)
Use API internally for post/page/media edit links
Reported by: | mdawaffe | Owned by: | 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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [8484]) Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425