[wp-trac] [WordPress Trac] #44745: REST API: incorrect slashes in url if parent empty
WordPress Trac
noreply at wordpress.org
Thu Oct 29 18:30:57 UTC 2020
#44745: REST API: incorrect slashes in url if parent empty
------------------------------------------------+--------------------------
Reporter: nicomollet | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: REST API | Version: 4.9.8
Severity: normal | Resolution: fixed
Keywords: has-patch reporter-feedback commit | Focuses: javascript
------------------------------------------------+--------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"49390" 49390]:
{{{
#!CommitTicketReference repository="" revision="49390"
REST API: JS Client - improve collection route construction for empty
parents.
Fix an issue where the constructed path for hierarchical collections could
contain a double slash ("//") when items contained empty parents, causing
an error.
Props nicomollet.
Fixes #44745.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44745#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list