Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12869 closed defect (bug) (fixed)

Quick Edit displaying disabled controls for custom post type

Reported by: vlasky's profile vlasky Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: has-patch needs-testing
Focuses: Cc:


I am using 3.0-beta1.

I have registered a custom post type that is configured to only support the following controls: 'title', 'editor', 'custom-fields', 'revisions'.

When I do a quick edit for a post of this custom type, it displays checkboxes for "Allow Comments" and "Allow Pings". These should be disabled.

Attachments (1)

12886.1.diff (1.5 KB) - added by caesarsgrunt 14 years ago.
Hide Comment and Ping checkboxes when they don't apply

Download all attachments as: .zip

Change History (5)

14 years ago

Hide Comment and Ping checkboxes when they don't apply

#1 @caesarsgrunt
14 years ago

  • Keywords has-patch needs-testing added; quick edit removed

Attached patch fixes the problem.

#2 @nacin
14 years ago

(In [14025]) Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869

#3 @nacin
14 years ago

I went through all of the supports arguments and limited them the way we limit them on the post edit page. Let's see how that works.

#4 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.