Make WordPress Core

Ticket #35647: 35647.diff

File 35647.diff, 686 bytes (added by rachelbaker, 9 years ago)
  • src/wp-includes/rest-api/class-wp-rest-server.php

     
    945945                $available = array(
    946946                        'name'           => get_option( 'blogname' ),
    947947                        'description'    => get_option( 'blogdescription' ),
    948                         'url'            => get_option( 'siteurl' ),
     948                        'url'            => home_url(),
    949949                        'namespaces'     => array_keys( $this->namespaces ),
    950950                        'authentication' => array(),
    951951                        'routes'         => $this->get_data_for_routes( $this->get_routes(), $request['context'] ),