Make WordPress Core

Opened 14 months ago

Last modified 2 months ago

#53523 new enhancement

Themes can't be bulk edited.

Reported by: nekojonez's profile NekoJonez Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-screenshots
Focuses: ui, administration Cc:

Description

On the plugin screen, you have a nice list of every plugin with a handy checkbox to put them all on auto-update or delete them in bulk.
This isn't possible in on the themes page while both of these things would be kind of handy. Especially for dev sites.

Attachments (2)

themes-grid-view.jpg (101.5 KB) - added by birgire 2 months ago.
Themes Grid view with toggle buttons
themes-list-view.jpg (101.3 KB) - added by birgire 2 months ago.
Themes List view with toggle buttons

Download all attachments as: .zip

Change History (9)

#1 @SergeyBiryukov
14 months ago

  • Component changed from General to Themes

#2 @birgire
2 months ago

Yes agree, a new theme list table is what's missing to be able to delete/autoupdate themes in bulk.

I imagine similar buttons, just like on the Media admin page:

https://i.imgur.com/2nHbwce.jpeg

where one can switch between the current theme view and the theme list table.

@birgire
2 months ago

Themes Grid view with toggle buttons

@birgire
2 months ago

Themes List view with toggle buttons

#4 @birgire
2 months ago

  • Keywords has-screenshots added

The two screenshots are suggestions how to toggle between list/grid view for themes.

The list view could be more similar to WP_MS_Themes_List_Table that extends WP_List_Table than WP_Themes_List_Table.

The list view table would contain the ways to bulk edit the themes in a typical WordPress admin table way.

#5 @NekoJonez
2 months ago

That concept looks amazing. I think it would be awesome if that UI also has places where plugins can hook in like: https://wordpress.org/plugins/force-update-translations/

Since now, the plugin adds an additional button in the menu for only updating the theme strings.

#6 @birgire
2 months ago

Thanks @NekoJonez

If the list table approach is the way to go here, then the action links would most probably be filterable, via hook similar to theme_action_links see. e.g https://developer.wordpress.org/reference/hooks/theme_action_links/

#7 @birgire
2 months ago

Related ticket #51832 for bulk delete of themes

Note: See TracTickets for help on using tickets.