WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 8 years ago

#12568 closed enhancement (wontfix)

Add filter to post_to_edit

Reported by: themattharris Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:

Description

Patch attached to add a filter to post_to_edit to allow plugins to add their custom fields to the post object when it is retrieved - just like the post_to_edit function does for the _wp_page_template when page type is retrieved.

Attachments (1)

post_to_edit_filter.diff (404 bytes) - added by themattharris 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @blepoxp
11 years ago

  • Keywords has-patch added

#2 @nacin
11 years ago

  • Milestone changed from 3.0 to Future Release

#3 @nacin
8 years ago

  • Component changed from General to Post Types
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

get_post_to_edit() was deprecated in 3.5. Glad we didn't add this, as it would have hamstrung us quite a bit.

Note: See TracTickets for help on using tickets.