Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8788 closed enhancement (fixed)

Extra Hooks in the Edit User/Category Table

Reported by: gm_alex's profile 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 15 years ago.
template.php.diff (1.4 KB) - added by PeteHoliday 15 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ionfish
15 years ago

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

#2 @azaozz
15 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

#3 @PeteHoliday
15 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.

#4 @azaozz
15 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.