WordPress/wp-includes/js
Adam Silverstein b76da1fdf3 REST API: Handle api-request query parameters with plain permalinks.
When constructing the request URL, ensure that  `?` is replaced with `&` when the API root  already contains a `?`. Fixes an issue where requests were broken when sites had permalinks set to plain.

Props aduth.
Fixes #42382.


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


git-svn-id: http://core.svn.wordpress.org/trunk@42794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-09 13:10:31 +00:00
..
codemirror Remove JSHint due to license compatibility 2018-01-23 01:29:32 +00:00
crop
imgareaselect Media: Update minified version of imgAreaSelect after [42874]. 2018-04-03 19:46:30 +00:00
jcrop
jquery External Libraries: Update jQuery Form (unused in core) to the latest version, 4.2.1. 2017-08-05 13:00:47 +00:00
mediaelement Customize: Ensure media playlists get initialized after selective refresh; expose new `wp.playlist.initialize()` API. 2018-01-29 23:56:29 +00:00
plupload Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:42:46 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce Administration: CSS coding standards: use double quotes for values that require quotes. 2018-02-03 13:19:32 +00:00
admin-bar.js
admin-bar.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
api-request.js REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:10:31 +00:00
api-request.min.js REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:10:31 +00:00
autosave.js Docs: Remove `@summary` tags from JSDoc. 2017-12-18 14:14:53 +00:00
autosave.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
backbone.min.js External Libraries: Update Backbone to version 1.3.3. 2016-06-16 09:27:29 +00:00
colorpicker.js
colorpicker.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
comment-reply.js Docs: Remove `@summary` tags from JSDoc. 2017-12-18 14:14:53 +00:00
comment-reply.min.js Comments: Modernise JavaScript for comment reply links. 2017-12-03 22:37:45 +00:00
customize-base.js Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:42:46 +00:00
customize-base.min.js Customize: Constrain focus when overlay notification is displayed. 2017-10-10 03:34:53 +00:00
customize-loader.js Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in `top` window. 2017-10-09 16:04:48 +00:00
customize-loader.min.js Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in `top` window. 2017-10-09 16:04:48 +00:00
customize-models.js Customizer: Minimize duplicate header crops in the media library. 2017-10-04 14:59:48 +00:00
customize-models.min.js Customizer: Minimize duplicate header crops in the media library. 2017-10-04 14:59:48 +00:00
customize-preview-nav-menus.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-preview-nav-menus.min.js Customize: Fix ability to shift-click on placeholder/pre-saved nav menu items in preview to focus on corresponding control. 2016-12-10 23:47:41 +00:00
customize-preview-widgets.js Docs: Improve JSDoc for `customize-preview-widgets.js`. 2017-12-21 15:12:49 +00:00
customize-preview-widgets.min.js Widgets: Update preview for Gallery widget when one of its attachments is modified in the media modal, outside the customized state. 2017-10-16 06:46:48 +00:00
customize-preview.js Customize: Prevent `history.replaceState()` and `history.pushState()` calls from causing error in customize preview before DOM ready. 2017-11-02 19:27:47 +00:00
customize-preview.min.js Customize: Prevent `history.replaceState()` and `history.pushState()` calls from causing error in customize preview before DOM ready. 2017-11-02 19:27:47 +00:00
customize-selective-refresh.js Docs: Fix typo in `wp.customize.selectiveRefresh.placements()` description. 2018-02-26 17:52:31 +00:00
customize-selective-refresh.min.js Customize: Ensure media playlists get initialized after selective refresh; expose new `wp.playlist.initialize()` API. 2018-01-29 23:56:29 +00:00
customize-views.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-views.min.js Customize: Prevent vertical clipping of thumbnail in header image customizer control. 2017-02-20 00:10:49 +00:00
heartbeat.js Docs: Improve JS Docs for `wp-includes/js/heartbeat.js`. 2017-12-12 14:33:54 +00:00
heartbeat.min.js Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:01:46 +00:00
hoverIntent.js
hoverIntent.min.js
imagesloaded.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
json2.js
json2.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
masonry.min.js External Libraries: Update Masonry to 3.3.2 and imagesLoaded to 3.2.0. 2016-06-28 18:48:31 +00:00
mce-view.js Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode. 2017-12-13 05:17:48 +00:00
mce-view.min.js Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode. 2017-12-13 05:17:48 +00:00
media-audiovideo.js Docs: Remove `@summary` tags from JSDoc. 2017-12-18 14:14:53 +00:00
media-audiovideo.min.js Media: Fix MEJS error when removing a media player. 2017-10-06 16:31:54 +00:00
media-editor.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
media-editor.min.js Media: Remove `alt` fallbacks to improve accessibility. 2016-10-19 03:06:28 +00:00
media-grid.js Media Grid: Fix escape key sometimes failing to close details modal. 2017-10-13 18:21:49 +00:00
media-grid.min.js Media Grid: Fix escape key sometimes failing to close details modal. 2017-10-13 18:21:49 +00:00
media-models.js Media: grid view - correct placeholder positioning during uploads. 2018-02-25 16:41:31 +00:00
media-models.min.js Media: grid view - correct placeholder positioning during uploads. 2018-02-25 16:41:31 +00:00
media-views.js Media: Update built files after [42798]. 2018-04-03 19:49:30 +00:00
media-views.min.js Media: grid view - correct placeholder positioning during uploads. 2018-02-25 16:41:31 +00:00
quicktags.js Editor: manually trigger `change` event when text is modified from JS. 2017-05-11 00:29:41 +00:00
quicktags.min.js Editor: manually trigger `change` event when text is modified from JS. 2017-05-11 00:29:41 +00:00
shortcode.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
shortcode.min.js Shortcodes: Allow using single quotes for empty value attributes. 2017-07-11 00:54:41 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
twemoji.min.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
underscore.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
utils.js Move `sanitizeText` and `stripTags` from press this to `wp.sanitize`. 2017-07-15 15:48:46 +00:00
utils.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-a11y.js File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins. 2017-10-04 00:20:45 +00:00
wp-a11y.min.js Accessibility: Make Safari 10 + VoiceOver announce repeated, identical, `wp.a11y.speak()` messages. 2017-04-19 19:53:42 +00:00
wp-ajax-response.js General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
wp-ajax-response.min.js General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
wp-api.js REST API JavaScript Client: Support an empty string for `nonce` to disable sending the X-WP-Nonce header. 2018-03-18 17:21:30 +00:00
wp-api.min.js REST API JavaScript Client: Support an empty string for `nonce` to disable sending the X-WP-Nonce header. 2018-03-18 17:21:30 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-backbone.min.js
wp-custom-header.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-custom-header.min.js Themes: Improve a11y and extendability of custom video headers. 2016-11-16 23:26:31 +00:00
wp-embed-template.js Embeds: After [37745], check if a featured image exists before attaching an event listener. 2016-07-05 16:16:57 +00:00
wp-embed-template.min.js Embeds: After [37745], check if a featured image exists before attaching an event listener. 2016-07-05 16:16:57 +00:00
wp-embed.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-embed.min.js Embeds: Correctly remove security attribute from iframes in IE 10 and IE 11. 2016-11-23 13:38:33 +00:00
wp-emoji-loader.js Emoji: Update Emoji browser support tests for Twemoji v2.4.0 2018-01-24 22:02:30 +00:00
wp-emoji-loader.min.js Emoji: Update Emoji browser support tests for Twemoji v2.4.0 2018-01-24 22:02:30 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
wp-emoji.js Emoji: Update the Twemoji loader to include the rainbow flag. 2016-08-04 20:51:31 +00:00
wp-emoji.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-lists.js wpLists: Pass the current element to `process()` to properly register event handlers. 2016-10-03 18:39:30 +00:00
wp-lists.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-pointer.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-pointer.min.js
wp-sanitize.js Security: Rename new `wp.sanitize.sanitizeText` to `stripTagsAndEncodeText`.' 2017-10-04 18:58:47 +00:00
wp-sanitize.min.js Security: Rename new `wp.sanitize.sanitizeText` to `stripTagsAndEncodeText`.' 2017-10-04 18:58:47 +00:00
wp-util.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-util.min.js Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
wpdialog.js
wpdialog.min.js
wplink.js Accessibility: Insert Link modal: Improve keyboard interaction. 2018-03-08 20:58:30 +00:00
wplink.min.js Accessibility: Insert Link modal: Improve keyboard interaction. 2018-03-08 20:58:30 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:23:42 +00:00