diff --git a/includes/class-directory-iterator.php b/includes/class-directory-iterator.php index 13f1704..d516146 100644 --- a/includes/class-directory-iterator.php +++ b/includes/class-directory-iterator.php @@ -135,6 +135,10 @@ private function prepare_scan_path( $option ) { $data['path'] = WP_CONTENT_DIR; $data['type'] = 'core'; break; + case ( 'wc-logs' === $option ): + $data['path'] = WP_CONTENT_DIR . '/uploads/wc-logs'; + $data['type'] = 'core'; + break; } if ( empty( $data['path'] ) ) { diff --git a/includes/class-string-locator.php b/includes/class-string-locator.php index 1e01305..887a275 100644 --- a/includes/class-string-locator.php +++ b/includes/class-string-locator.php @@ -60,8 +60,13 @@ public function add_search_options( $searchers, $search_location ) { ob_start(); ?> - - + + + + + + +