Changes between Initial Version and Version 1 of Ticket #39473, comment 9
- Timestamp:
- 01/12/2023 11:53:37 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39473, comment 9
initial v1 1 I'm happy to revive this; `get_routes()` in the meantime now has a parameter: `get_routes( $route_namespace )`. I came up with an idea in the attached patch above, but it doesn't feel quite right. Any ideas?1 I'm happy to revive this; `get_routes()` in the meantime now has a parameter: `get_routes( $route_namespace )`. I came up with an idea in the attached patch above, but it doesn't feel quite right. Any ideas? 2 2 3 3 This patch also doesn't solve the problem of `get_routes()` being called more than once, because the `$route_namespace` optimization was applied to the main callsite of `get_routes()`, but not the others. But that could be tackled as a second step.