Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 2 years ago

#9382 closed enhancement (invalid)

Custom Columns: actions vs. filters

Reported by: 5ubliminal Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.7.1
Component: Administration Keywords: needs-patch dev-feedback
Focuses: Cc:


Please read this post: Custom Columns Problems in WP .

manage_posts_custom_column is an action while manage_users_custom_column is a filter. Custom columns for Posts & Pages are actions but Users, Categories and Link Categories are filters.

Filters not only cripple coding coherency but will force users to output buffer themselves for some complex HTML to show up there.

If would be great if all custom columns are actions throughout WP. For a quick fix using output_buffering check my post referenced above.

Change History (4)

#1 @Denis-de-Bernardy
9 years ago

  • Component changed from Plugins to Administration
  • Keywords needs-patch added
  • Milestone changed from Unassigned to 2.8
  • Owner set to anonymous
  • Priority changed from high to normal
  • Severity changed from major to minor
  • Type changed from defect (bug) to enhancement

#2 @Denis-de-Bernardy
9 years ago

  • Keywords dev-feedback added

suggesting wontfix -- changing the sematics could break plugins

#3 @Denis-de-Bernardy
9 years ago

  • Milestone 2.8 deleted
  • Resolution set to invalid
  • Status changed from new to closed

This ticket was mentioned in Slack in #core by thomaswm. View the logs.

2 years ago

Note: See TracTickets for help on using tickets.