[wp-trac] [WordPress Trac] #61978: Managing Dynamic Search, Category Filtering, and Pagination for Bulk Patterns
WordPress Trac
noreply at wordpress.org
Tue Sep 3 17:52:50 UTC 2024
#61978: Managing Dynamic Search, Category Filtering, and Pagination for Bulk
Patterns
-----------------------------------+-----------------------------
Reporter: codersantosh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 6.6.1
Severity: major | Keywords:
Focuses: rest-api, performance |
-----------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61978>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list