Add support for removal of multiple features from a post type in remove_post_type_support
|Reported by:||Utkarsh||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch dev-feedback needs-docs|
From this thread
add_post_type_support allows an array to be passed as the 2nd parameter, but remove_post_type_support doesn't.
The patch attached adds the functionality.
Change History (20)
- Keywords needs-refresh added; needs-testing removed
- Milestone changed from Awaiting Triage to Future Release
- Component changed from General to Post Types
- Keywords dev-feedback removed
- Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.