Skip to content

Editor backfill query is hardcoded to posts #54

@dlh01

Description

@dlh01

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

  1. Add page to the wp_curate_duduplication_slotfill_post_types filter.
  2. Update the query block to draw backfill from only pages.
  3. See posts display in the backfill instead of pages.

Additional Information

See here:

'/wp/v2/posts',
.

Acceptance Criteria

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgutenbergRequires understanding GutenbergtypescriptRequires understanding TypeScript

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions