Make WordPress Core

Opened 11 years ago

Last modified 6 weeks ago

#32956 new enhancement

Adding Extra Table Navigation To Multisite Site list

Reported by: danielpataki's profile danielpataki Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Networks and Sites Keywords: has-patch needs-refresh reporter-feedback
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 11 years ago.
Adds extra_tablenav support to the site list

Download all attachments as: .zip

Change History (3)

@danielpataki
11 years ago

Adds extra_tablenav support to the site list

#1 @jeremyfelt
10 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.

#2 @huzaifaalmesbah
6 weeks ago

  • Keywords reporter-feedback added; needs-testing removed

I attempted to apply the attached patch (class-wp-ms-sites-list-table.diff) against current trunk (7.0-alpha), but it could not be applied.

The patch tool reports:

  • File to patch not found

It appears the patch is too old and no longer matches the current file structure, so testing is not possible at this time. Because of this, keeping needs-testing is not actionable until the patch is refreshed.

Since this ticket is quite old (~11 years), adding reporter-feedback as well to confirm whether this enhancement is still needed and whether the original approach is still desired for current multisite list tables.

Note: See TracTickets for help on using tickets.