Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add include, lower_limit_object_id and higher_limit_object_id for com… #4074

Merged
merged 6 commits into from
Feb 26, 2025

Conversation

burhandodhy
Copy link
Contributor

@burhandodhy burhandodhy commented Feb 5, 2025

Description of the Change

This PR adds include, exclude, upper-limit-object-id, and lower-limit-object-id support for the term and comment indexable

Closes #3654

How to test the Change

Changelog Entry

Added - Add include, exclude, upper-limit-object-id, and lower-limit-object-id support for the term and comment indexable

Credits

Props @burhandodhy @JakePT

Checklist:

@burhandodhy burhandodhy marked this pull request as ready for review February 26, 2025 12:19
@burhandodhy burhandodhy added this to the 5.2.0 milestone Feb 26, 2025
'offset' => 0,
]
);
add_filter( 'comments_clauses', array( $this, 'bulk_indexing_filter_comments_where' ), 9999, 2 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
add_filter( 'comments_clauses', array( $this, 'bulk_indexing_filter_comments_where' ), 9999, 2 );
add_filter( 'comments_clauses', [ $this, 'bulk_indexing_filter_comments_where' ], 9999, 2 );

(we should likely enforce the use of [] instead of array() in our CS)

@felipeelia felipeelia merged commit 42b11f8 into develop Feb 26, 2025
20 of 23 checks passed
@felipeelia felipeelia deleted the fix/3654 branch February 26, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Indexing parameters for object IDs only work for posts
2 participants