Merge pull request #1077 from Automattic/settings-endpoint

Settings Endpoint
Check for array input in AtD_change_mce_settings, and unit tests.
Revert "Using $this->http() to make http usage consistent"

This reverts commit 6ca58614f689c3ff9fe1252fd5f03d4e0440536c.
Contact Form: Fix success message.

Don't rely on label number prefix to find the correct field, as with multiple choice fields the numbers are not running from 1 to n, but there are gaps.
Merge pull request #1086 from Automattic/fix/contact-form-success-message

Contact Form: Fix success message.
Contact Form: Fix same labels in success message.

When two labels are identical, the success message used to show the value of the first label for both.
Fix for shutter speed values from EXIF data

Shutter speeds were not displayed correctly, depending on their value (see https://github.com/Automattic/jetpack/issues/692). With this fix, shutter speeds up to 1/10000 s should be displayed correctly. Also now allows for one digit when shutter speed is greater than 1 s.
Contact Form: Ensure contact forms fit properly in text widgets.

Fixes #themes2665.

Merges r104666-wpcom.
Merge pull request #1089 from Automattic/add/com-merge

Contact Form: Ensure contact forms fit properly in text widgets.
Landing page module cards more accessible.

- Added tabindex to module cards
- Added keypress listener triggering modal show on enter
- Added styles on focus in addition to hover
Recompile Sass.
Merge pull request #1012 from Automattic/fix/landing-page-module-accessibility

Landing page module cards more accessible.
Add active class to active modules on landing page

See #1088 — just needs styling now.
Infinite Scroll: early set the DOING_AJAX constant.
Do it when the plugin is sourced -- don't wait until the `template_redirect` action.
Lets plugins / themes rely on the constant in prior actions (like `init`).
See issue: #1093
REST API: Enable field filtering of Jetpack sites by casting object response to array

Includes (previously failing) test case
Issue: https://help.automattic.com/staff/index.php?_m=tickets&_a=viewticket&ticketid=1932282&departmentid=39&ticketstatusid=5

Merges r104553-wpcom.
REST API: Resolve empty response being stripped of all keys

Was previously treated as object response since `empty` would pass as true on empty response, and `$has_filtered` would only be set to true if response key was non-empty.
Ticket: https://help.automattic.com/staff/index.php?_m=tickets&_a=viewticket&ticketid=1932282

Merges r104645-wpcom.
Merge commit 'b8d8168'
REST API

Helper functions for loading a theme's functions.php (so things such as post formats, or CPTS can be loaded).
See #3046.

Merges r104371-wpcom.
REST API: Add support for "auto-draft" post status

This adds support for auto-drafts, which are temporary
placeholders created under the hood when the new post
page is loaded up, reserving a post ID so that e.g.
embed/shortcode previewing works.

Merges r104664-wpcom.
REST API

New endpoint for loading a theme's post formats. The current method (now deprecated - and will be removed in a vesioning) doesn't work properly.
This new endpoint uses [104371] to load a theme context so we always get the right set of formats.
This change is going to be used to fix https://github.com/Automattic/beep-beep-boop/issues/48 in the interim editor.

Merges r104372-wpcom.