WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/23/2018 04:11:42 AM (3 years ago)
Author:
pento
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-server.php

    r42724 r42997  
    706706        $this->assertArrayHasKey( 'gmt_offset', $data );
    707707        $this->assertArrayHasKey( 'timezone_string', $data );
    708         $this->assertArrayHasKey( 'permalink_structure', $data );
    709708        $this->assertArrayHasKey( 'namespaces', $data );
    710709        $this->assertArrayHasKey( 'authentication', $data );
Note: See TracChangeset for help on using the changeset viewer.