Ticket #35647: 35647.diff
File 35647.diff, 686 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/rest-api/class-wp-rest-server.php
945 945 $available = array( 946 946 'name' => get_option( 'blogname' ), 947 947 'description' => get_option( 'blogdescription' ), 948 'url' => get_option( 'siteurl'),948 'url' => home_url(), 949 949 'namespaces' => array_keys( $this->namespaces ), 950 950 'authentication' => array(), 951 951 'routes' => $this->get_data_for_routes( $this->get_routes(), $request['context'] ),