WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#32497 new enhancement

The plugin list table is not very extendable

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

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 4 years ago.
32497-2.diff (1.4 KB) - added by roccotripaldi 4 years ago.

Download all attachments as: .zip

Change History (6)

@roccotripaldi
4 years ago

#1 @Compute
4 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 4 years ago by Compute (previous) (diff)

#2 @roccotripaldi
4 years ago

doh! thanks for catching that.

#3 @Compute
3 years ago

  • Keywords has-patch added

#4 @lukecavanagh
3 years ago

The patch applies cleanly.

Note: See TracTickets for help on using tickets.