Skip to content

Commit

Permalink
Require Post_Types class on uninstall.php to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
fjorgemota committed Dec 22, 2023
1 parent 57d43eb commit df7b39f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-wp-job-manager-data-cleaner.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
exit;
}

require __DIR__ . '/class-wp-job-manager-post-types.php';

/**
* Methods for cleaning up all plugin data.
Expand Down
1 change: 1 addition & 0 deletions uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}

// Cleanup all data.
require 'includes/class-wp-job-manager-post-types.php';
require 'includes/class-wp-job-manager-data-cleaner.php';

if ( ! is_multisite() ) {
Expand Down

0 comments on commit df7b39f

Please sign in to comment.