Changeset 43771 for branches/5.0/tests/qunit/wp-includes/js/api-request.js
- Timestamp:
- 10/19/2018 06:32:03 PM (5 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/tests/qunit/wp-includes/js/api-request.js
r41224 r43771 141 141 assert.deepEqual( wp.apiRequest.buildAjaxOptions( { 142 142 namespace: '/wp/v2/', 143 endpoint: '/posts '143 endpoint: '/posts?orderby=title' 144 144 } ), { 145 url: 'http://localhost/index.php?rest_route=/wp/v2/posts ',145 url: 'http://localhost/index.php?rest_route=/wp/v2/posts&orderby=title', 146 146 headers: nonceHeader 147 147 } );
Note: See TracChangeset
for help on using the changeset viewer.