Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#32497 new enhancement

The plugin list table is not very extendable

Reported by: roccotripaldi's profile roccotripaldi Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Plugins Keywords: has-patch
Focuses: administration Cc:

Description

The plugin list table in wp-admin is a bit strict. For instance, it would be impossible to create custom views like this:
https://cldup.com/Qt2BpELMbZ.png

In the example above, we use custom plugin statuses 'Updates Automatically' and 'Updates Manually'

In order to support custom plugin statuses and lists, we need a few more filters in wp-admin/includes/class-wp-plugins-list-table.php

Attachments (2)

32497.diff (1.4 KB) - added by roccotripaldi 9 years ago.
32497-2.diff (1.4 KB) - added by roccotripaldi 9 years ago.

Download all attachments as: .zip

Change History (6)

@roccotripaldi
9 years ago

#1 @Compute
9 years ago

I also really think these list tables need some more filters. So +1.

Remember to remove test code for your diff:

Line 181:

error_log( print_r( $plugins, true ) );
Last edited 9 years ago by Compute (previous) (diff)

#2 @roccotripaldi
9 years ago

doh! thanks for catching that.

#3 @Compute
8 years ago

  • Keywords has-patch added

#4 @lukecavanagh
8 years ago

The patch applies cleanly.

Note: See TracTickets for help on using tickets.