[wp-trac] [WordPress Trac] #57455: respond_to_request: store matched handlers across other methods, saving a call to get_routes().

WordPress Trac noreply at wordpress.org
Tue Sep 17 23:01:50 UTC 2024


#57455: respond_to_request: store matched handlers across other methods, saving a
call to get_routes().
------------------------------------+------------------------
 Reporter:  mreishus                |       Owner:  (none)
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  REST API                |     Version:
 Severity:  normal                  |  Resolution:  duplicate
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket @mreishus! Yeah I think it makes more sense to
 approach this as a fix to `get_routes()` instead of passing around the
 data. I'm going to close this as a dupe of #39473 so we can keep the work
 consolidated in one place.

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


More information about the wp-trac mailing list