[wp-trac] [WordPress Trac] #55574: WP_REST_Pattern_Directory_Controller::get_items doesn't support array arguments
WordPress Trac
noreply at wordpress.org
Thu Apr 14 16:08:18 UTC 2022
#55574: WP_REST_Pattern_Directory_Controller::get_items doesn't support array
arguments
---------------------------+-----------------------------
Reporter: antonvlasenko | Owner: antonvlasenko
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Keywords:
Focuses: rest-api |
---------------------------+-----------------------------
Since `http://api.wordpress.org/patterns` API supports array parameters,
there is no need to implode slug values inside the
`_register_remote_theme_patterns` function.
Both `WP_REST_Pattern_Directory_Controller` and
`_register_remote_theme_patterns`must be updated to support array request
arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55574>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list