[wp-trac] [WordPress Trac] #31530: Shiny Updates: Installing themes

WordPress Trac noreply at wordpress.org
Mon Mar 9 18:40:12 UTC 2015


#31530: Shiny Updates: Installing themes
-----------------------------+---------------------------------------------
 Reporter:  pento            |       Owner:
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  shiny-updates    |     Focuses:  ui, javascript, administration
-----------------------------+---------------------------------------------

Comment (by stephdau):

 [attachment:31530-theme-install-workinprogress.diff] shows where I'm at
 and going with AJAX theme install, so we can discuss. This code will
 currently install a theme "via AJAX" when click on the install button on a
 theme, in theme results.

 Screenshots: https://cloudup.com/cYjd7oIeDp7

 The `is-installed` class is added to the theme's card, which makes the
 "Install[ing|ed!]" button disappear (existing behavior). Backbone
 currently sets a "Already installed" banner for installed themes, which
 we'll need to trigger upon successful install (ideally Backbone would do
 that upon adding the `is-installed` class to the card.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31530#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list