alleyinteractive / alleyinteractive/searchpress
Child terms seem to come through as parent/child
Đang mở
- Ngôn ngữ chính
- PHP
- Star
- 85
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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 );
}
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.