[wp-trac] [WordPress Trac] #55617: /wp/v2/pattern-directory/patterns endpoint: slug parameter has no effect on the response

WordPress Trac noreply at wordpress.org
Mon Apr 25 16:10:33 UTC 2022


#55617: /wp/v2/pattern-directory/patterns endpoint: slug parameter has no effect on
the response
---------------------------+------------------------------
 Reporter:  antonvlasenko  |       Owner:  antonvlasenko
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  REST API       |     Version:  trunk
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by spacedmonkey):

 * keywords:  has-patch has-unit-tests =>


Comment:

 I haven't looked to deeply into this, but I noticed that slug was query
 params in `get_collection_params`. We could fix that as part of this
 solution.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55617#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list