Make WordPress Core

Opened 10 years ago

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

Download all attachments as: .zip

Change History (6)

@roccotripaldi
10 years ago

#1 @Compute
10 years ago

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

Remember to remove test code for your diff:

Line 181:

error_log( print_r( $plugins, true ) );
Version 1, edited 10 years ago by Compute (previous) (next) (diff)

#2 @roccotripaldi
10 years ago

doh! thanks for catching that.

#3 @Compute
9 years ago

  • Keywords has-patch added

#4 @lukecavanagh
9 years ago

The patch applies cleanly.

Note: See TracTickets for help on using tickets.