alleyinteractive / alleyinteractive/searchpress
Child terms seem to come through as parent/child
Aperta
- Lingua principale
- PHP
- Stelle
- 85
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 );
}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.