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:
@@ -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.' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user