Opened 3 years ago

Closed 5 months ago

#12568 closed enhancement (wontfix)

Add filter to post_to_edit

Reported by: themattharris Owned by:
Priority: normal Milestone:
Component: Post Types Version:
Severity: normal Keywords: has-patch
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 3 years ago.

Download all attachments as: .zip

Change History (4)

  • Keywords has-patch added
  • Milestone changed from 3.0 to Future Release
  • 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.