PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | lib/experimental/experiments/load.php +14 -60 23.3.0 → 24.1.0 View file →
@@ -24,11 +24,11 @@
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' ),
28 + 'id' => 'gutenberg-global-styles-inheritance-ui',
29 + 'label' => __( 'Global Styles inheritance indicators in the block inspector', 'gutenberg' ),
30 + 'description' => __( 'Marks which block inspector controls show a value inherited from Global Styles, and adds a shortcut to clear a value you set back to the inherited one. Inherited values show in the inspector whether or not this is on.', 'gutenberg' ),
31 31 ),
32 32 array(
33 33 'id' => 'gutenberg-grid-interactivity',
34 34 'label' => __( 'Grid interactivity', 'gutenberg' ),
@@ -33,13 +33,8 @@
33 33 'id' => 'gutenberg-grid-interactivity',
34 34 'label' => __( 'Grid interactivity', 'gutenberg' ),
35 35 'description' => __( 'Enables enhancements to the Grid block that let you move and resize items in the editor canvas.', 'gutenberg' ),
36 36 ),
37 - array(
38 - 'id' => 'gutenberg-classic-block-deprecation',
39 - 'label' => __( 'Classic block deprecation', 'gutenberg' ),
40 - 'description' => __( 'Enables UI changes aimed at deprecating the Classic block, including prompts on existing Classic blocks to migrate their content to blocks or to a Custom HTML block.', 'gutenberg' ),
41 - ),
42 37 ),
43 38 ),
44 39 array(
45 40 'slug' => 'media',
@@ -47,9 +42,9 @@
47 42 'items' => array(
48 43 array(
49 44 'id' => 'gutenberg-media-editor',
50 45 'label' => __( 'Media Editor (Route)', 'gutenberg' ),
51 - 'description' => __( 'Enables a dedicated route-based media editor screen for editing media items (metadata and content).', 'gutenberg' ),
46 + 'description' => __( 'Replaces the core Edit Media screen with a dedicated route-based media editor for editing media items (metadata and content).', 'gutenberg' ),
52 47 ),
53 48 array(
54 49 'id' => 'gutenberg-dataviews-media-modal',
55 50 'label' => __( 'Media Upload Modal', 'gutenberg' ),
@@ -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 ),
@@ -84,16 +74,15 @@
84 74 ),
85 75 ),
86 76 ),
87 77 array(
88 - 'slug' => 'templates',
89 - 'label' => _x( 'Templates', 'experiments group name', 'gutenberg' ),
78 + 'slug' => 'real-time-collaboration',
79 + 'label' => _x( 'Real-Time Collaboration', 'experiments group name', 'gutenberg' ),
90 80 'items' => array(
91 81 array(
92 - 'id' => 'active_templates',
93 - 'label' => __( 'Template Activation', 'gutenberg' ),
94 - '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' ),
95 - 'separateOption' => true,
82 + 'id' => 'gutenberg-real-time-collaboration',
83 + 'label' => __( 'Enable real-time collaboration', 'gutenberg' ),
84 + 'description' => __( 'Allows multiple people to edit the same post at the same time.', 'gutenberg' ),
96 85 ),
97 86 ),
98 87 ),
99 88 array(
@@ -100,13 +89,8 @@
100 89 'slug' => 'other',
101 90 'label' => _x( 'Other', 'experiments group name', 'gutenberg' ),
102 91 'items' => array(
103 92 array(
104 - 'id' => 'gutenberg-color-randomizer',
105 - 'label' => __( 'Color randomizer', 'gutenberg' ),
106 - 'description' => __( 'Enables the Global Styles color randomizer in the Site Editor; a utility that lets you mix the current color palette pseudo-randomly.', 'gutenberg' ),
107 - ),
108 - array(
109 93 'id' => 'gutenberg-workflow-palette',
110 94 'label' => __( 'Workflow Palette', 'gutenberg' ),
111 95 'description' => __( 'Enables the Workflow Palette for running workflows composed of abilities, from a unified interface.', 'gutenberg' ),
112 96 ),
@@ -117,24 +101,19 @@
117 101 ),
118 102 array(
119 103 'id' => 'gutenberg-guidelines',
120 104 'label' => __( 'Guidelines', 'gutenberg' ),
121 - 'description' => __( 'Enables guidelines feature for managing editorial voice and tone guidelines under Settings.', 'gutenberg' ),
105 + 'description' => __( 'Enables the Guidelines page under Settings and the experimental knowledge storage (wp_knowledge).', 'gutenberg' ),
122 106 ),
123 107 array(
124 - 'id' => 'gutenberg-content-types',
125 - 'label' => __( 'Content types', 'gutenberg' ),
126 - 'description' => __( 'Enables a UI for creating and managing custom taxonomies and custom post types under Settings.', 'gutenberg' ),
127 - ),
128 - array(
129 108 'id' => 'gutenberg-dashboard-widgets',
130 109 'label' => __( 'New Dashboard experience', 'gutenberg' ),
131 110 'description' => __( 'Enables a new dashboard experience with resizable, reorderable widgets that plugins can register and users can personalize.', 'gutenberg' ),
132 111 ),
133 112 array(
134 - 'id' => 'gutenberg-admin-bar-in-editor',
135 - 'label' => __( 'Toolbar in editor', 'gutenberg' ),
136 - 'description' => __( 'Shows the Toolbar in the fullscreen Post and Site Editor.', 'gutenberg' ),
113 + 'id' => 'gutenberg-react-19',
114 + 'label' => __( 'React 19', 'gutenberg' ),
115 + 'description' => __( 'Registers React 19 as the bundled React version, replacing the default React 18 scripts.', 'gutenberg' ),
137 116 ),
138 117 ),
139 118 ),
140 119 );
@@ -150,16 +129,8 @@
150 129 'group' => $group['slug'],
151 130 'group_label' => $group['label'],
152 131 );
153 132
154 - // Metadata-only entry: values for separateOption experiments live in
155 - // their own option (e.g. `active_templates`). Surfaced here so the UI
156 - // can render them from the settings schema.
157 - if ( ! empty( $experiment['separateOption'] ) ) {
158 - $property['separate_option'] = true;
159 - $property['option_name'] = $experiment['id'];
160 - }
161 -
162 133 $properties[ $experiment['id'] ] = $property;
163 134 }
164 135 }
165 136
@@ -181,23 +152,8 @@
181 152
182 153 add_action( 'rest_api_init', 'gutenberg_initialize_experiments_settings' );
183 154
184 155 /**
185 - * Registers the Experiments submenu page under the Gutenberg menu.
186 - */
187 -function gutenberg_experiments_menu() {
188 - add_submenu_page(
189 - 'gutenberg',
190 - __( 'Experiments Settings', 'gutenberg' ),
191 - __( 'Experiments', 'gutenberg' ),
192 - 'manage_options',
193 - 'experiments-wp-admin',
194 - 'gutenberg_experiments_wp_admin_render_page'
195 - );
196 -}
197 -add_action( 'admin_menu', 'gutenberg_experiments_menu' );
198 -
199 -/**
200 156 * Allows the legacy `gutenberg-experiments` route. Without this, accessing
201 157 * `?page=gutenberg-experiments` results in an HTTP 403 error.
202 158 *
203 159 * Allowing the route is done by adding a wp-admin submenu page that won't be rendered.
@@ -211,10 +167,8 @@
211 167 * Redirects the legacy `?page=gutenberg-experiments` URL to the new
212 168 * `?page=experiments-wp-admin` URL.
213 169 */
214 170 function gutenberg_redirect_legacy_experiments_page() {
215 - wp_safe_redirect( admin_url( 'admin.php?page=experiments-wp-admin' ) );
171 + wp_safe_redirect( admin_url( 'options-general.php?page=experiments-wp-admin' ) );
216 172 exit;
217 173 }
218 174 add_action( 'load-admin_page_gutenberg-experiments', 'gutenberg_redirect_legacy_experiments_page' );
219 -add_action( 'load-toplevel_page_gutenberg-experiments', 'gutenberg_redirect_legacy_experiments_page' );
220 -add_action( 'load-gutenberg_page_gutenberg-experiments', 'gutenberg_redirect_legacy_experiments_page' );