diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php
index 4f5ae76..be75b35 100644
a
|
b
|
class WP_REST_Server { |
1021 | 1021 | 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ), |
1022 | 1022 | ); |
1023 | 1023 | |
| 1024 | if ( 'edit' === $request['context'] ) { |
| 1025 | if ( is_user_logged_in() ) { |
| 1026 | $available['gmt_offset'] = get_option( 'gmt_offset' ); |
| 1027 | } |
| 1028 | } |
| 1029 | |
1024 | 1030 | $response = new WP_REST_Response( $available ); |
1025 | 1031 | |
1026 | 1032 | $response->add_link( 'help', 'http://v2.wp-api.org/' ); |