Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12883 closed defect (bug) (fixed)

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

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

Description

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
17 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
17 years ago

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

#3 @caesarsgrunt
17 years ago

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

#4 @nacin
17 years ago

  • Resolution → fixed
  • Status new → 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.