Merge edit_form_advanced and edit_page_form hooks
|Reported by:||solarissmoke||Owned by:|
|Component:||Editor||Keywords:||2nd-opinion has-patch close|
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?