Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#21224 closed enhancement (duplicate)

Allow remove_post_type_support() to take a $feature array

Reported by: drewapicture's profile DrewAPicture Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:


add_post_type_support() already allows a single $feature string or array to be added at once. It would be nice not to have to call remove_post_type_support() multiple times just to remove multiple supports.

If this was specifically done this way for a reason, I'm all ears.

Attachments (1)

21224.diff (1.0 KB) - added by DrewAPicture 12 years ago.

Download all attachments as: .zip

Change History (4)

12 years ago

#1 @DrewAPicture
12 years ago

  • Keywords has-patch added

#2 @DrewAPicture
12 years ago

  • Cc DrewAPicture removed
  • Keywords has-patch removed
  • Resolution set to duplicate
  • Status changed from new to closed

My bad, duplicate of #14077.

#3 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.