nickbreen/docker-wp-cli

remote ZIP installation doesn't work for parent themes

Closed this issue · 0 comments

a child theme declares it's parent's "slug" but wp-cli installs a ZIP (without a root directory in the ZIP?) to a generated directory name. E.g.

wp theme install http://www.cherryframework.com/releases/CherryFramework.zip

Contains:

$ unzip -l CherryFramework.zip | head
Archive: CherryFramework.zip
Length Date Time Name

   0  2015-03-27 05:20   admin/
   0  2015-03-27 05:20   admin/css/
3507  2015-03-27 05:20   admin/css/colorpicker.css

24501 2015-03-27 05:20 admin/css/optionsframework.css

And gets installed to (e.g.) themes/CherryFramework-uWHqGv.