WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10595 closed feature request (duplicate)

Allow plugins to add columns to user management screen

Reported by: martinv5 Owned by:
Milestone: Priority: high
Severity: trivial Version: 2.8.3
Component: Administration Keywords: manage_users_custom_column user management
Focuses: Cc:

Description

It's here on line 1974 in wp-admin/includes/template.php:

apply_filters('manage_users_custom_column', , $column_name, $user_object->ID);

An empty argument it passed to the filter instead of the actual column name.

See the file here http://core.trac.wordpress.org/browser/branches/2.8/wp-admin/includes/template.php

Or am I missing something?

Thanks,
M.

Change History (2)

comment:1 dd325 years ago

  • Milestone 2.8.4 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

You are.
As explained on the other ticket from yesterday, You're not filtering the column name, You're filtering the contents of a possible extra column, which by default, it an empty string.

This filter is NOT for adding an extra column, rather, its for adding an extra <td>...</td> to the row output, you need to hook somewhere else to add the column first.

See: #10585

comment:2 martinv55 years ago

Sorry about that, I wasn't seeing any of my tickets under "My tickets" and I didn't received any notification.

Thanks,
M.

Note: See TracTickets for help on using tickets.