File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
test/e2e/specs/editor/collaboration/fixtures Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ function gutenberg_inject_real_time_collaboration_setting() {
146146 return ;
147147 }
148148
149+ // Temporary check to bridge the short time when this is change is merged in
150+ // Gutenberg but not in core.
151+ if ( ! get_option ( 'wp_enable_real_time_collaboration ' ) ) {
152+ return ;
153+ }
154+
149155 // Disable real-time collaboration on the site editor.
150156 $ enabled = true ;
151157 if (
Original file line number Diff line number Diff line change @@ -349,6 +349,10 @@ export async function setCollaboration(
349349
350350 formData [ optionName ] = optionValue ;
351351
352+ // Temporary addition to bridge the short time when this is change is merged in
353+ // Gutenberg but not in core.
354+ formData . wp_enable_real_time_collaboration = optionValue ;
355+
352356 await requestUtils . request . post ( '/wp-admin/options.php' , {
353357 form : formData ,
354358 failOnStatusCode : true ,
You can’t perform that action at this time.
0 commit comments