WordPress / wp-autoupdates

Feature plugin building a UI for opting-in to plugin, theme, and core auto-updates.
https://wordpress.org/plugins/wp-autoupdates/
GNU General Public License v2.0
56 stars 18 forks source link

Theme auto-updates: allow them to be enabled/disabled from within the Customizer #122

Open pbiron opened 4 years ago

pbiron commented 4 years ago

I just realized that themes can be updated from within the Customizer (in non-multisite setups).

  1. Go to Appearance > Customize
  2. Click `Change' (in the "Active Theme" panel on the left)
  3. You are presented with a screen that looks basically like wp-admin/themes.php
  4. In the Theme Details modal for a given theme, the Enable/Disable links are not displayed

I don't know the Customizer code really well, but it looks like it has it's own version of the Theme Details template (used for the modal) and there do not appear to be any hooks (or hacks) that could be used in the feature plugin to add the Enable/Disable links there.

I don't think it will be terribly difficult to add those links to the Customer once we're merged into core, so I don't think this should be a blocker for the initial merge.