| @@ -24,13 +24,8 @@ | ||
| 24 | 24 | 'label' => __( 'Experimental blocks', 'gutenberg' ), |
| 25 | 25 | 'description' => __( 'Enables experimental blocks on a rolling basis as they are developed. (Warning: these blocks may have significant changes during development that cause validation errors and display issues.)', 'gutenberg' ), |
| 26 | 26 | ), |
| 27 | 27 | array( |
| 28 | - 'id' => 'gutenberg-form-blocks', | |
| 29 | - 'label' => __( 'Form and input blocks', 'gutenberg' ), | |
| 30 | - 'description' => __( 'Enables new blocks to allow building forms. You are likely to experience UX issues that are being addressed.', 'gutenberg' ), | |
| 31 | - ), | |
| 32 | - array( | |
| 33 | 28 | 'id' => 'gutenberg-global-styles-inheritance-ui', |
| 34 | 29 | 'label' => __( 'Global Styles inheritance in the block inspector', 'gutenberg' ), |
| 35 | 30 | 'description' => __( 'Shows the value a block inherits from Global Styles in the block inspector when nothing is set on the block itself, and adds a control to clear a value you set back to the inherited one.', 'gutenberg' ), |
| 36 | 31 | ), |
| @@ -61,13 +56,8 @@ | ||
| 61 | 56 | 'slug' => 'data-views', |
| 62 | 57 | 'label' => _x( 'Data Views', 'experiments group name', 'gutenberg' ), |
| 63 | 58 | 'items' => array( |
| 64 | 59 | array( |
| 65 | - 'id' => 'gutenberg-content-only-inspector-fields', | |
| 66 | - 'label' => __( 'Block fields: Show dataform driven inspector fields on blocks that support them', 'gutenberg' ), | |
| 67 | - 'description' => __( 'Enables editable block inspector fields that are generated using a dataform.', 'gutenberg' ), | |
| 68 | - ), | |
| 69 | - array( | |
| 70 | 60 | 'id' => 'gutenberg-dataform-inspector', |
| 71 | 61 | 'label' => __( 'Editor Inspector: Use DataForm', 'gutenberg' ), |
| 72 | 62 | 'description' => __( 'Replaces the bespoke editor inspector panels with a unified DataForm-based implementation for Pages and Posts, matching the QuickEdit experience.', 'gutenberg' ), |
| 73 | 63 | ), |
| @@ -95,29 +85,12 @@ | ||
| 95 | 85 | ), |
| 96 | 86 | ), |
| 97 | 87 | ), |
| 98 | 88 | array( |
| 99 | - 'slug' => 'templates', | |
| 100 | - 'label' => _x( 'Templates', 'experiments group name', 'gutenberg' ), | |
| 101 | - 'items' => array( | |
| 102 | - array( | |
| 103 | - 'id' => 'active_templates', | |
| 104 | - 'label' => __( 'Template Activation', 'gutenberg' ), | |
| 105 | - 'description' => __( 'Allows multiple templates of the same type to be created, of which one can be active at a time. (Warning: when you deactivate this experiment, it is best to delete all created templates except for the active ones.)', 'gutenberg' ), | |
| 106 | - 'separateOption' => true, | |
| 107 | - ), | |
| 108 | - ), | |
| 109 | - ), | |
| 110 | - array( | |
| 111 | 89 | 'slug' => 'other', |
| 112 | 90 | 'label' => _x( 'Other', 'experiments group name', 'gutenberg' ), |
| 113 | 91 | 'items' => array( |
| 114 | 92 | array( |
| 115 | - 'id' => 'gutenberg-color-randomizer', | |
| 116 | - 'label' => __( 'Color randomizer', 'gutenberg' ), | |
| 117 | - 'description' => __( 'Enables the Global Styles color randomizer in the Site Editor; a utility that lets you mix the current color palette pseudo-randomly.', 'gutenberg' ), | |
| 118 | - ), | |
| 119 | - array( | |
| 120 | 93 | 'id' => 'gutenberg-workflow-palette', |
| 121 | 94 | 'label' => __( 'Workflow Palette', 'gutenberg' ), |
| 122 | 95 | 'description' => __( 'Enables the Workflow Palette for running workflows composed of abilities, from a unified interface.', 'gutenberg' ), |
| 123 | 96 | ), |
| @@ -155,16 +128,8 @@ | ||
| 155 | 128 | 'description' => $experiment['description'], |
| 156 | 129 | 'group' => $group['slug'], |
| 157 | 130 | 'group_label' => $group['label'], |
| 158 | 131 | ); |
| 159 | - | |
| 160 | - // Metadata-only entry: values for separateOption experiments live in | |
| 161 | - // their own option (e.g. `active_templates`). Surfaced here so the UI | |
| 162 | - // can render them from the settings schema. | |
| 163 | - if ( ! empty( $experiment['separateOption'] ) ) { | |
| 164 | - $property['separate_option'] = true; | |
| 165 | - $property['option_name'] = $experiment['id']; | |
| 166 | - } | |
| 167 | 132 | |
| 168 | 133 | $properties[ $experiment['id'] ] = $property; |
| 169 | 134 | } |
| 170 | 135 | } |