Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#14104 closed defect (bug) (duplicate)

remove_post_type_support does not support arrays for support options

Reported by: dragonflyeye's profile dragonflyeye Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: post, post type, remove_post_type_support
Focuses: Cc:

Description

While the add_post_type_support function allows for either a string or an array of strings to add support, the remove_ function does not. Patch attached.

Attachments (1)

post.diff (775 bytes) - added by dragonflyeye 13 years ago.
Corrected post.php file with array support.

Download all attachments as: .zip

Change History (2)

@dragonflyeye
13 years ago

Corrected post.php file with array support.

#1 @filosofo
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #14077

Note: See TracTickets for help on using tickets.