WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 2 months ago

#32956 new enhancement

Adding Extra Table Navigation To Multisite Site list

Reported by: danielpataki Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Networks and Sites Keywords: has-patch needs-testing needs-refresh
Focuses: multisite Cc:

Description

This is related to #26580. I thought it would be nice to add support for extra_tablenav() to the multisite table list. I'm not quite sure how this should be done, I used the same format other tables use, i created the "restrict_manage_sites" action.

I think this may not be the best naming since if a "sites" post type exists it may conflict with this. If anyone has any ideas that would be awesome.

Attachments (1)

class-wp-ms-sites-list-table.diff (431 bytes) - added by danielpataki 4 years ago.
Adds extra_tablenav support to the site list

Download all attachments as: .zip

Change History (2)

@danielpataki
4 years ago

Adds extra_tablenav support to the site list

#1 @jeremyfelt
4 years ago

  • Keywords has-patch needs-testing needs-refresh added
  • Milestone changed from Awaiting Review to Future Release

This makes sense, I'm surprised there isn't anything there already. :) Nothing really stands out as to why we haven't included it yet.

We should probably make sure the same thing exists for the MS users and MS themes list tables as well. I don't think restrict_manage_sites would conflict with anything.

Note: See TracTickets for help on using tickets.