Files
WordPress/wp-includes/js
Adam Silverstein 518ff1576b REST API: JavaScript client - improve route discovery for custom namespaces.
Fix parsing of custom namespace routes. Transform class names, removing dashes and capitalizing each word/route part so a route path of `widgets/recent-posts` becomes a collection with the name `WidgetsRecentPosts`. Correct parent route part when routes are longer than expected, reversing parse direction.

Props westonruter, jazbek.
Fixes #39561.

Built from https://develop.svn.wordpress.org/trunk@40074


git-svn-id: http://core.svn.wordpress.org/trunk@40011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-02-17 20:54:44 +00:00
..
2012-11-17 15:11:29 +00:00
2015-03-11 17:15:27 +00:00
2012-04-17 23:09:29 +00:00
2015-06-28 14:51:30 +00:00
2013-11-15 04:42:09 +00:00
2013-12-28 23:53:15 +00:00
2013-12-28 23:53:15 +00:00