Skip to content

Commit

Permalink
organization
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ryan committed Feb 22, 2018
1 parent 667555b commit ebc53e8
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/admin/class-generators-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ function __construct( $installed_dir, $installed_url, $version ) {
*/
function process_download() {
$data = $this->gather_submitted_data();
error_log( var_export( $data, true ) );
$plugin = isset( $data['plugin_arch_type'] ) ? $data['plugin_arch_type'] : 'simple';
$data['generator_version'] = $this->version;
new Product_Machine(
sanitize_title_with_dashes( $data['plugin_name'] ),
$this->installed_dir . '/admin/templates/plugin',
$this->installed_dir . '/boilerplates/' . $plugin,
$this->installed_dir . '/tmp',
$data,
$this->create_config()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ebc53e8

Please sign in to comment.