Fixed infinite scroll on archive page#4486
Fixed infinite scroll on archive page#4486girishpanchal30 wants to merge 2 commits intodevelopmentfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to fix infinite scroll on taxonomy archive pages by ensuring the REST infinite-scroll request includes the necessary taxonomy filtering information.
Changes:
- Adjusts localized infinite-scroll query payload for taxonomy archives by injecting a
post_type. - Extends infinite-scroll query sanitization to construct a
tax_queryfrom taxonomy query vars. - Updates the sanitization docblock messaging around expensive query vectors.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@girishpanchal30, to confirm, the regression was because you missed the taxonomy handling on 721d2ad? I was wondering, since in that commit you removed the |
|
@Soare-Robert-Daniel Yes, I missed the taxonomy handling in 721d2ad. Because of that, |
Summary
Created the
tax_queryfor the infinite scroll on the archive page.Check before Pull Request is ready:
Closes https://github.com/Codeinwp/neve-pro-addon/issues/3151