Make WordPress Core

Opened 14 years ago

Closed 11 years ago

#12568 closed enhancement (wontfix)

Add filter to post_to_edit

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


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

Download all attachments as: .zip

Change History (4)

#1 @blepoxp
14 years ago

  • Keywords has-patch added

#2 @nacin
14 years ago

  • Milestone changed from 3.0 to Future Release

#3 @nacin
11 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.