Wordpress/tests/qunit/fixtures
Pascal Birchler 8e68bdace3 REST API: Add `gmt_offset` and `timezone_string` to the base `/wp-json` response.
The site's current timezone offset is an important piece of information for any REST API client that needs to manipulate dates.  It has not been 
previously available.

Expose both the `gmt_offset` (the site's current offset from UTC in hours) and `timezone_string` (which also provides information about daylight 
savings time) via the "site info" endpoint (the base `/wp-json` response).

Also update the `wp-api-generated.js` fixture file with the changes to the default API responses.

Props sagarkbhatt.
Fixes #39854.

Merges [40238] to the 4.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40336 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-27 07:08:54 +00:00
..
customize-header.js
customize-menus.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
customize-settings.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:04:36 +00:00
customize-widgets.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
js-widgets-endpoint.js REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00
updates.js Updates: Improve experience for Bulk Actions when FTP is dismissed. 2016-08-09 01:13:08 +00:00
wp-api-generated.js REST API: Add `gmt_offset` and `timezone_string` to the base `/wp-json` response. 2017-03-27 07:08:54 +00:00
wp-api.js REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00