Changeset 42997 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 04/23/2018 04:11:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r42746 r42997 1023 1023 // General site data. 1024 1024 $available = array( 1025 'name' => get_option( 'blogname' ), 1026 'description' => get_option( 'blogdescription' ), 1027 'url' => get_option( 'siteurl' ), 1028 'home' => home_url(), 1029 'gmt_offset' => get_option( 'gmt_offset' ), 1030 'timezone_string' => get_option( 'timezone_string' ), 1031 'permalink_structure' => get_option( 'permalink_structure' ), 1032 'namespaces' => array_keys( $this->namespaces ), 1033 'authentication' => array(), 1034 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ), 1025 'name' => get_option( 'blogname' ), 1026 'description' => get_option( 'blogdescription' ), 1027 'url' => get_option( 'siteurl' ), 1028 'home' => home_url(), 1029 'gmt_offset' => get_option( 'gmt_offset' ), 1030 'timezone_string' => get_option( 'timezone_string' ), 1031 'namespaces' => array_keys( $this->namespaces ), 1032 'authentication' => array(), 1033 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ), 1035 1034 ); 1036 1035
Note: See TracChangeset
for help on using the changeset viewer.