Make WordPress Core

Opened 4 days ago

#61978 new defect (bug)

Managing Dynamic Search, Category Filtering, and Pagination for Bulk Patterns

Reported by: codersantosh's profile codersantosh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 6.6.1
Component: REST API Keywords:
Focuses: rest-api, performance Cc:

Description

I noticed that the get_collection_params method and query filter function are not present in the get_items method of the WP_REST_Block_Patterns_Controller class. How can this be effective when registering a large number of patterns? Relying solely on the init hook and register_block_pattern may negatively impact site performance. There should be an alternative approach to registering patterns that can better handle dynamic search, filtering, and pagination for a large volume of patterns.

Change History (0)

Note: See TracTickets for help on using tickets.