diff --git a/projects/packages/forms/src/blocks/contact-form/class-contact-form-block.php b/projects/packages/forms/src/blocks/contact-form/class-contact-form-block.php index 9999b830b7ae..f81347545646 100644 --- a/projects/packages/forms/src/blocks/contact-form/class-contact-form-block.php +++ b/projects/packages/forms/src/blocks/contact-form/class-contact-form-block.php @@ -106,7 +106,7 @@ public static function register_child_blocks() { 'color' => array( 'text' => true, 'background' => true, - 'gradient' => true, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true, @@ -129,7 +129,7 @@ public static function register_child_blocks() { 'color' => array( 'text' => true, 'background' => false, - 'gradient' => false, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true, @@ -168,7 +168,7 @@ public static function register_child_blocks() { 'color' => array( 'text' => true, 'background' => false, - 'gradient' => false, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true, diff --git a/projects/packages/forms/src/blocks/input/index.js b/projects/packages/forms/src/blocks/input/index.js index dbce766cf8e9..f01dc9fffbe4 100644 --- a/projects/packages/forms/src/blocks/input/index.js +++ b/projects/packages/forms/src/blocks/input/index.js @@ -32,7 +32,7 @@ const settings = { color: { text: true, background: true, - gradient: true, + gradients: false, }, __experimentalBorder: { color: true, diff --git a/projects/packages/forms/src/blocks/label/index.js b/projects/packages/forms/src/blocks/label/index.js index 45e3bfb41a5a..d897c8623dd8 100644 --- a/projects/packages/forms/src/blocks/label/index.js +++ b/projects/packages/forms/src/blocks/label/index.js @@ -33,7 +33,7 @@ const settings = { color: { text: true, background: false, - gradient: false, + gradients: false, }, typography: { fontSize: true, diff --git a/projects/packages/forms/src/blocks/option/index.js b/projects/packages/forms/src/blocks/option/index.js index 9eb18f7b5164..1dbfb95f8701 100644 --- a/projects/packages/forms/src/blocks/option/index.js +++ b/projects/packages/forms/src/blocks/option/index.js @@ -21,7 +21,7 @@ const settings = { color: { text: true, background: false, - gradient: false, + gradients: false, }, typography: { fontSize: true, diff --git a/projects/packages/forms/tests/php/contact-form/Contact_Form_Block_Test.php b/projects/packages/forms/tests/php/contact-form/Contact_Form_Block_Test.php index a28f9431b019..78cada23e2a9 100644 --- a/projects/packages/forms/tests/php/contact-form/Contact_Form_Block_Test.php +++ b/projects/packages/forms/tests/php/contact-form/Contact_Form_Block_Test.php @@ -75,7 +75,7 @@ public static function data_provider_test_register_child_blocks() { 'color' => array( 'text' => true, 'background' => true, - 'gradient' => true, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true, @@ -95,7 +95,7 @@ public static function data_provider_test_register_child_blocks() { 'color' => array( 'text' => true, 'background' => false, - 'gradient' => false, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true, @@ -123,7 +123,7 @@ public static function data_provider_test_register_child_blocks() { 'color' => array( 'text' => true, 'background' => false, - 'gradient' => false, + 'gradients' => false, ), 'typography' => array( 'fontSize' => true,