Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8788 closed enhancement (fixed)

Extra Hooks in the Edit User/Category Table

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

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 18 years ago.
template.php.diff​ (1.4 KB ) - added by PeteHoliday 18 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ionfish
18 years ago

  • Keywords has-patch added
  • Milestone 2.7.1 → 2.8
  • Version → 2.7

#2 @azaozz
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#3 @PeteHoliday
18 years ago

  • Resolution fixed
  • Status closed → 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
18 years ago

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