REST API: Remove `permalink_structure` from the REST API settings endpoint.

This was ultimately fixed in #45017, so is redunant.

Reverts [42142,42359,42540].
See #41014.


Built from https://develop.svn.wordpress.org/trunk@44446


git-svn-id: http://core.svn.wordpress.org/trunk@44277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2019-01-08 02:51:50 +00:00
parent 3068e8d4e2
commit d5b7863fbf
2 changed files with 1 additions and 11 deletions

View File

@ -2058,16 +2058,6 @@ function register_initial_settings() {
'description' => __( 'Allow people to post comments on new articles.' ),
)
);
register_setting(
'permalink',
'permalink_structure',
array(
'show_in_rest' => true,
'type' => 'string',
'description' => __( 'Custom URL structure for permalinks and archives.' ),
)
);
}
/**

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44442';
$wp_version = '5.1-alpha-44446';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.