WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#7725 closed defect (bug) (fixed)

Allow columns on manage pages to be hidden

Reported by: ryan Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Much in the fashion of the metabox hiding, allow columns on the manage pages to be hidden. If you don't use Categories, hide them.

Attachments (5)

7725.diff (11.2 KB) - added by ryan 7 years ago.
Show hide for posts page. Inline edit not yet hidden column aware.
7725.2.diff (14.0 KB) - added by ryan 7 years ago.
With inline edit support
7725.comments.patch (24.8 KB) - added by Viper007Bond 7 years ago.
Column hiding for comments, has CSS issues (see reply)
7725.comments.2.patch (26.2 KB) - added by Viper007Bond 7 years ago.
Use edit-comments.js instead of new comments file + include settings-box.js file
7725.comments.3.patch (27.5 KB) - added by Viper007Bond 7 years ago.
Link colors fixed, but I can't figure out the column width issues (hide "Submitted" column to see)

Download all attachments as: .zip

Change History (18)

@ryan7 years ago

Show hide for posts page. Inline edit not yet hidden column aware.

@ryan7 years ago

With inline edit support

comment:1 @ryan7 years ago

(In [8858]) Column hiding for manage posts. see #7725

comment:2 @ryan7 years ago

Committed for wider testing. Need to consolidate some of those CSS classes and do this for pages, links, comments, etc.

comment:3 @ryan7 years ago

(In [8860]) Column hiding for pages. see #7725

comment:4 @ryan7 years ago

(In [8888]) Column hiding for links. see #7725

comment:5 @ryan7 years ago

(In [8894]) Column hiding for media library. see #7725

comment:6 @ryan7 years ago

(In [8923]) Consolidate column header code. Add column hiding to taxonomy pages (incomplete). see #7725

comment:7 @ryan7 years ago

(In [8930]) Column hiding for tags. see #7725

comment:8 @ryan7 years ago

(In [8932]) Column hiding for categories. see #7725

comment:9 @ryan7 years ago

(In [8933]) Column hiding for link categories. see #7725

comment:10 @ryan7 years ago

(In [8936]) Column hiding for users. see #7725

@Viper007Bond7 years ago

Column hiding for comments, has CSS issues (see reply)

comment:11 @Viper007Bond7 years ago

There's my shot at column hiding for edit-comments.php. I moved the JS for the "Advanced Settings" box to it's own file to avoid duplicating that JS all over the place.

There is one issue with my patch though: due to the generic CSS classes that are now added to the columns, the "Comment" column is a bit screwy. The links are the wrong color and I think there's an issue with the width of the column. Someone with better CSS skills than I will need to debug it.

@Viper007Bond7 years ago

Use edit-comments.js instead of new comments file + include settings-box.js file

@Viper007Bond7 years ago

Link colors fixed, but I can't figure out the column width issues (hide "Submitted" column to see)

comment:12 @ryan7 years ago

(In [8988]) Column hiding for comments. Settings box JS consolidation. Props Viper007Bond. see #7725

comment:13 @janeforshort7 years ago

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