Changes between Initial Version and Version 1 of Ticket #44745, comment 3
- Timestamp:
- 10/24/2020 06:14:15 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44745, comment 3
initial v1 9 9 > The parent is sometimes empty, leading to two consecutive slashes. 10 10 11 Do you have a code sample for the endpoint (or steps to reproduce this)? I do see where we use a similar (hard to read) trinary above [https://github.com/WordPress/wordpress-develop/blob/8e3636b0d62146164708e69ee36917db6b4639be/src/js/_enqueues/wp/api.js#L1312 when using `this.parent` in the model route construction]. Just curious how to recreate with a collection.11 Do you have a code sample for the endpoint (or steps to reproduce this)? I do see where we use a similar (hard to read) trinary above [https://github.com/WordPress/wordpress-develop/blob/8e3636b0d62146164708e69ee36917db6b4639be/src/js/_enqueues/wp/api.js#L1312 when using `this.parent` in the model route construction]. Just curious how to recreate with a collection. 12 12 13 13 Have you tested the fix above you proposed and verified it works as expected for your endpoints?