Changeset 37031
- Timestamp:
- 03/17/2016 07:15:57 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r37021 r37031 946 946 'description' => get_option( 'blogdescription' ), 947 947 'url' => get_option( 'siteurl' ), 948 'home' => home_url(), 948 949 'namespaces' => array_keys( $this->namespaces ), 949 950 'authentication' => array(), -
trunk/tests/phpunit/tests/rest-api/rest-server.php
r36829 r37031 645 645 $this->assertArrayHasKey( 'description', $data ); 646 646 $this->assertArrayHasKey( 'url', $data ); 647 $this->assertArrayHasKey( 'home', $data ); 647 648 $this->assertArrayHasKey( 'namespaces', $data ); 648 649 $this->assertArrayHasKey( 'authentication', $data );
Note: See TracChangeset
for help on using the changeset viewer.