Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ryan committed Feb 22, 2018
1 parent ee84a88 commit 3ad0446
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions app/admin/class-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ function __construct( $installed_dir, $installed_url, $version ) {
$this->version
);

// initialize site options panel
// new Options_Panel(
// $this->installed_dir,
// $this->installed_url
// );
}

}
2 changes: 1 addition & 1 deletion app/admin/class-product-machine.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static function make_zip_download( $filename, $origin_dir, $tmp_dir, $data, $con
// check we have filesystem write access
if ( $creation_success ) {
// write json containing configuration data
$plugin_data = apply_filter( 'wp_phx_plugingen_datazip', array( 'data' => $data, 'config' => $config ) );
$plugin_data = apply_filters( 'wp_phx_plugingen_datazip', array( 'data' => $data, 'config' => $config ) );
$zip->addFromString( 'plugin-data.json', json_encode( $plugin_data ) );
// maybe include license
if ( 'gpl' === $data['plugin_license'] ) {
Expand Down
5 changes: 0 additions & 5 deletions wordpress-development-toolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
if ( ! class_exists( 'WPAZ_Plugin_Base\\V_2_5\\Abstract_Plugin' ) ) {
include_once trailingslashit( dirname( __FILE__ ) ) . 'vendor/wordpress-phoenix/abstract-plugin-base/src/abstract-plugin.php';
}

// Load Options Panel
if ( ! class_exists( 'WPOP\\V_2_9\\Page' ) ) {
include_once trailingslashit( dirname( __FILE__ ) ) . 'vendor/wordpress-phoenix/wordpress-options-builder-class/wordpress-phoenix-options-panel.php';
}

/**
* Check PHX_WP_DEVKIT\V_1_2\Plugin Instantiated
Expand Down

0 comments on commit 3ad0446

Please sign in to comment.