[wp-trac] [WordPress Trac] #44745: REST API: incorrect slashes in url if parent empty

WordPress Trac noreply at wordpress.org
Mon Oct 26 10:41:08 UTC 2020


#44745: REST API: incorrect slashes in url if parent empty
------------------------------------------------+--------------------------
 Reporter:  nicomollet                          |       Owner:
                                                |  adamsilverstein
     Type:  defect (bug)                        |      Status:  assigned
 Priority:  normal                              |   Milestone:  Awaiting
                                                |  Review
Component:  REST API                            |     Version:  4.9.8
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch reporter-feedback commit  |     Focuses:  javascript
------------------------------------------------+--------------------------

Comment (by nicomollet):

 Hello everyone,

 Sorry I am late, I am here to confirm I tested the code myself.

 The example I provided with ProductCategories in WooCommerce, is also an
 issue with the core "PageRevisions" collection: two slashes.

 @adamsilverstein you reproduced and documented exactly what happened,
 thank you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44745#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list