Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44745, comment 3


Ignore:
Timestamp:
10/24/2020 06:14:15 PM (4 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44745, comment 3

    initial v1  
    99> The parent is sometimes empty, leading to two consecutive slashes.
    1010
    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.
     11Do 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.
    1212
    1313Have you tested the fix above you proposed and verified it works as expected for your endpoints?