Remove background, primary_border, secondary_border from the API sche… (#40553)
* Remove background, primary_border, secondary_border from the API schema -- they are not used * Add changefile(s) from automation for the following project(s): woocommerce * Fix lint --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
04bcc4a315
commit
92eb4efd9d
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Remove backround, primary_border, secondary_border from the schema from themes REST API
|
|
@ -419,26 +419,14 @@ class OnboardingThemes extends \WC_REST_Data_Controller {
|
|||
'items' => array(
|
||||
'type' => 'object',
|
||||
'properties' => array(
|
||||
'primary' => array(
|
||||
'primary' => array(
|
||||
'type' => 'string',
|
||||
'description' => 'Primary color',
|
||||
),
|
||||
'secondary' => array(
|
||||
'secondary' => array(
|
||||
'type' => 'string',
|
||||
'description' => 'Secondary color',
|
||||
),
|
||||
'background' => array(
|
||||
'type' => 'string',
|
||||
'description' => 'Background color',
|
||||
),
|
||||
'primary_border' => array(
|
||||
'type' => 'string',
|
||||
'description' => 'Primary border color (optional)',
|
||||
),
|
||||
'secondary_border' => array(
|
||||
'type' => 'string',
|
||||
'description' => 'Secondary border color (optional)',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue