Opened 10 years ago
Closed 10 years ago
#34709 closed defect (bug) (fixed)
oEmbed REST namespace has trailing slash
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | REST API | Keywords: | |
Focuses: | Cc: |
Description
The oEmbed namespace used when registering the routes has a trailing slash, which is redundant (and not recommended). This means that the namespace in the index doesn't match the expected format.
Attachments (1)
Change History (4)
#2
in reply to:
↑ 1
@
10 years ago
Replying to swissspidy:
I assume changing it in the oEmbed controller is easier than in
register_rest_route()
.
Indeed :) The route should continue to have the leading /
though.
Note: See
TracTickets for help on using
tickets.
I assume changing it in the oEmbed controller is easier than in
register_rest_route()
.