Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#12883 closed defect (bug) (fixed)

Quick Edit column CSS isn't applied for custom post types

Reported by: caesarsgrunt Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Quick/Bulk Edit Keywords: needs-patch 2nd-opinion
Focuses: Cc:


For custom post types, the whole of Quick Edit is shown as one column, because the CSS for the columns isn't applied.

The problem is that the CSS specifically refers to .quick-edit-row-post and .quick-edit-row-page, whereas the classe for the Quick Edit for a custom post type of, for example, "Book", is actually .quick-edit-row-book.

I'm assuming this isn't intentional, so I'll upload a patch later.

Change History (4)

#1 @caesarsgrunt
12 years ago

  • Keywords 2nd-opinion added

Ah; I see; it needs different CSS depending upon whether the post type supports categories or not. I'm not sure what the best way to deal with that is... Any ideas?

#2 @nacin
12 years ago

We could check if the post type has a public hierarchical taxonomy attached to it.

#3 @caesarsgrunt
12 years ago

And then set a class based on that - yeah, I guess so. I'll play with it later, I hope.

#4 @nacin
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14023]) Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.

Note: See TracTickets for help on using tickets.