mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
REST API: Remove permalink_structure from the index.
This was originally added to allow Gutenberg to do permalink editing, but is no longer required. It's also superceded by #41014. Reverts [42142]. Fixes #42465. git-svn-id: https://develop.svn.wordpress.org/trunk@42997 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -705,7 +705,6 @@ class Tests_REST_Server extends WP_Test_REST_TestCase {
|
||||
$this->assertArrayHasKey( 'home', $data );
|
||||
$this->assertArrayHasKey( 'gmt_offset', $data );
|
||||
$this->assertArrayHasKey( 'timezone_string', $data );
|
||||
$this->assertArrayHasKey( 'permalink_structure', $data );
|
||||
$this->assertArrayHasKey( 'namespaces', $data );
|
||||
$this->assertArrayHasKey( 'authentication', $data );
|
||||
$this->assertArrayHasKey( 'routes', $data );
|
||||
|
||||
Reference in New Issue
Block a user