Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#21224 closed enhancement (duplicate)

Allow remove_post_type_support() to take a $feature array

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DrewAPicture
14 years ago

  • Keywords has-patch added

#2 @DrewAPicture
14 years ago

  • Cc DrewAPicture removed
  • Keywords has-patch removed
  • Resolution → duplicate
  • Status new → closed

My bad, duplicate of #14077.

#3 @SergeyBiryukov
14 years ago

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