Opened 3 years ago

Closed 3 years ago

#14104 closed defect (bug) (duplicate)

remove_post_type_support does not support arrays for support options

Reported by: dragonflyeye Owned by:
Priority: normal Milestone:
Component: Post Types Version: 3.0
Severity: normal Keywords: post, post type, remove_post_type_support
Cc: tbelknap@…

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 3 years ago.
Corrected post.php file with array support.

Download all attachments as: .zip

Change History (2)

Corrected post.php file with array support.

  • 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.