Opened 13 years ago
Closed 13 years ago
#21784 closed defect (bug) (wontfix)
Merge edit_form_advanced and edit_page_form hooks
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.4.1 |
Component: | Editor | Keywords: | 2nd-opinion has-patch close |
Focuses: | Cc: |
Description
In the era of custom post types, having to register one hook for pages (edit_page_form
) and one for all other post types (edit_form_advanced
) to add stuff to the post editor seems a bit weird. I think that these should be consolidated.
I guess the most backward-compatible way would be to deprecate both of these hooks and add one that fires for all post types, and passes the post type as an argument?
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Something like this