WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8788 closed enhancement (fixed)

Extra Hooks in the Edit User/Category Table

Reported by: GM_Alex Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

This patch adds two new hooks (filters) like the manage_pages_custom_column or the manage_posts_custom_column hooks, so you can add custom columns to the user and category table.

Attachments (2)

template_patch.diff (880 bytes) - added by GM_Alex 5 years ago.
template.php.diff (1.4 KB) - added by PeteHoliday 5 years ago.

Download all attachments as: .zip

Change History (6)

GM_Alex5 years ago

comment:1 ionfish5 years ago

  • Keywords has-patch added
  • Milestone changed from 2.7.1 to 2.8
  • Version set to 2.7

comment:2 azaozz5 years ago

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

(In [10292]) Add hooks for the Users/Categories/Link Categories/Tags table columns, props GM_Alex, fixes #8788

comment:3 PeteHoliday5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Code added by [10292] does not work properly when more than one filter is applied to the custom column because the value being filtered is the column name. A third argument should be passed between the first and second so that the column name is preserved in successive filters.

Patch added.

PeteHoliday5 years ago

comment:4 azaozz5 years ago

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

(In [10493]) Fix hooks in Users/Categories/Link Categories/Tags table columns, props PeteHoliday, fixes #8788

Note: See TracTickets for help on using tickets.