Changeset 40238 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 03/07/2017 05:47:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r40038 r40238 1013 1013 // General site data. 1014 1014 $available = array( 1015 'name' => get_option( 'blogname' ), 1016 'description' => get_option( 'blogdescription' ), 1017 'url' => get_option( 'siteurl' ), 1018 'home' => home_url(), 1019 'namespaces' => array_keys( $this->namespaces ), 1020 'authentication' => array(), 1021 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ), 1015 'name' => get_option( 'blogname' ), 1016 'description' => get_option( 'blogdescription' ), 1017 'url' => get_option( 'siteurl' ), 1018 'home' => home_url(), 1019 'gmt_offset' => get_option( 'gmt_offset' ), 1020 'timezone_string' => get_option( 'timezone_string' ), 1021 'namespaces' => array_keys( $this->namespaces ), 1022 'authentication' => array(), 1023 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ), 1022 1024 ); 1023 1025
Note: See TracChangeset
for help on using the changeset viewer.