-
Notifications
You must be signed in to change notification settings - Fork 2
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
Editor backfill query is hardcoded to posts #54
Comments
we probably need to create a custom endpoint or use |
ah yes, we had this fixed in the "first attempt": https://github.com/alleyinteractive/wp-curate/blob/first-attempt/src/class-wp-curate.php#L21-L35 |
update: this is fixed, but I don't know if it was fixed in the best way. |
Working on re-factoring to use the |
@jacobschweitzer I don't think |
@mogmarsh I got a PR started though it needs a bit more work to get it across the finish line. I'm uncertain if this will be used in the project I'm on so I need to shift my focus back to other things for the time being. |
Description of the bug
No matter the post types selected for the block, the
wp/v2/posts/
endpoint is used for searching, which returns only posts.Steps To Reproduce
page
to thewp_curate_duduplication_slotfill_post_types
filter.Additional Information
See here:
wp-curate/blocks/query/edit.tsx
Line 185 in b0d8273
Acceptance Criteria
The text was updated successfully, but these errors were encountered: