alleyinteractive / alleyinteractive/searchpress
Child terms seem to come through as parent/child
Open
- Dominant language
- PHP
- Stars
- 85
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Might need to add something like below to [this block](https://github.com/alleyinteractive/searchpress/blob/master/lib/class-sp-wp-search.php#L175).
``` php
if ( ! empty( $args['terms']['category'] ) && strpos( $args['terms']['category'], '/' ) ) {
$terms = explode( '/', $args['terms']['category'] );
$args['terms']['category'] = end( $terms );
}
```
Contributor guide
Assessment
This issue has not been assessed yet.