[wp-trac] [WordPress Trac] #61842: Uncaught TypeError in /wp-json/wp/v2/menu-items REST API POST operation

WordPress Trac noreply at wordpress.org
Thu Dec 12 22:58:32 UTC 2024


#61842: Uncaught TypeError in /wp-json/wp/v2/menu-items REST API POST operation
--------------------------------------+------------------------------
 Reporter:  mlf20                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  6.2.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------
Changes (by antonvlasenko):

 * keywords:  has-patch has-unit-tests reporter-feedback => has-patch has-
     unit-tests


Comment:

 The [https://core.trac.wordpress.org/ticket/61842#comment:2 previous]
 reproduction report was unsuccessful because the JSON in the example above
 contained objects (`fuzzstring`) that couldn't be parsed.
 I tried without them, and now I can reproduce the issue.
 I've [https://github.com/WordPress/wordpress-develop/pull/7173 reviewed]
 the PR. Thank you.

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


More information about the wp-trac mailing list