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

WordPress Trac noreply at wordpress.org
Sun Oct 25 18:14:06 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:  needs-patch   |     Focuses:  javascript
--------------------------+------------------------------

Comment (by adamsilverstein):

 I was able to reproduce this by setting up woo-commerce and adding some
 multilevel product categories with two letter names as you mentioned. I
 created a slightly modified fix from your code that corrected the issue in
 my testing. patch incoming.

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


More information about the wp-trac mailing list