Skip to content

Commit 3ad0446

Browse files
author
David Ryan
committed
small cleanup
1 parent ee84a88 commit 3ad0446

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

app/admin/class-init.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ function __construct( $installed_dir, $installed_url, $version ) {
5353
$this->version
5454
);
5555

56-
// initialize site options panel
57-
// new Options_Panel(
58-
// $this->installed_dir,
59-
// $this->installed_url
60-
// );
6156
}
6257

6358
}

app/admin/class-product-machine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static function make_zip_download( $filename, $origin_dir, $tmp_dir, $data, $con
5353
// check we have filesystem write access
5454
if ( $creation_success ) {
5555
// write json containing configuration data
56-
$plugin_data = apply_filter( 'wp_phx_plugingen_datazip', array( 'data' => $data, 'config' => $config ) );
56+
$plugin_data = apply_filters( 'wp_phx_plugingen_datazip', array( 'data' => $data, 'config' => $config ) );
5757
$zip->addFromString( 'plugin-data.json', json_encode( $plugin_data ) );
5858
// maybe include license
5959
if ( 'gpl' === $data['plugin_license'] ) {

wordpress-development-toolkit.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
if ( ! class_exists( 'WPAZ_Plugin_Base\\V_2_5\\Abstract_Plugin' ) ) {
3333
include_once trailingslashit( dirname( __FILE__ ) ) . 'vendor/wordpress-phoenix/abstract-plugin-base/src/abstract-plugin.php';
3434
}
35-
36-
// Load Options Panel
37-
if ( ! class_exists( 'WPOP\\V_2_9\\Page' ) ) {
38-
include_once trailingslashit( dirname( __FILE__ ) ) . 'vendor/wordpress-phoenix/wordpress-options-builder-class/wordpress-phoenix-options-panel.php';
39-
}
4035

4136
/**
4237
* Check PHX_WP_DEVKIT\V_1_2\Plugin Instantiated

0 commit comments

Comments
 (0)