diff --git a/app/admin/class-init.php b/app/admin/class-init.php index 3d65500..f6d76a1 100644 --- a/app/admin/class-init.php +++ b/app/admin/class-init.php @@ -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 - // ); } } diff --git a/app/admin/class-product-machine.php b/app/admin/class-product-machine.php index 540712d..37f44e2 100644 --- a/app/admin/class-product-machine.php +++ b/app/admin/class-product-machine.php @@ -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'] ) { diff --git a/wordpress-development-toolkit.php b/wordpress-development-toolkit.php index 371bf85..dc820be 100644 --- a/wordpress-development-toolkit.php +++ b/wordpress-development-toolkit.php @@ -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