-
Notifications
You must be signed in to change notification settings - Fork 18
Add and populate Automatic updates column, add and handle enable/disable auto-updates bulk actions to the multisite themes list table. #33
Conversation
…ble auto-updates bulk actions to the multisite themes list table.
wp-autoupdates.php
Outdated
|
||
|
||
/** | ||
* Add plugins autoupdates bulk actions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Themes, not plugins :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see, I knew I'd probably missed it somewhere :-). Thanks!!
That screen should now be covered. @audrasjb Supporting themes in both of the multisite screens complicated the code a little bit, since both the "action" and "redirect" URLs need to account for both screens. The code could probably use a refactor to make it cleaner, but I think it's good enough to merge and do the refactor separately once the |
…edirect URL for theme bulk disables.
Turns out that admin notices were correctly showing on non-network screens, and the reason admin notices weren't being show on the network screens is that another hook is needed for that. The recent commit adds that hook...and fixes another copy-past typo. |
Great job @pbiron thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to go
Fixes #15.
A few notes:
plugin
withtheme
(including in comments, etc).Auto-update enabled/disabled
views to the list table, there is not core hook equivalent to the one we use for the plugins list table to actually restrict the themes shown in the list according to those views. Therefore, this PR does not added those viewsNetwork > Sites > Edit > Themes
. I'll update this PR to cover that shortly.