From 8866ec2c3de1ee2087d10672b7d22c1a61a6b581 Mon Sep 17 00:00:00 2001 From: chriszarate Date: Thu, 19 Feb 2026 11:47:07 -0500 Subject: [PATCH 1/6] Enable RTC by default --- backport-changelog/7.0/11159.md | 3 +++ lib/compat/wordpress-7.0/collaboration.php | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 backport-changelog/7.0/11159.md diff --git a/backport-changelog/7.0/11159.md b/backport-changelog/7.0/11159.md new file mode 100644 index 00000000000000..5c087e83f73061 --- /dev/null +++ b/backport-changelog/7.0/11159.md @@ -0,0 +1,3 @@ +https://github.com/WordPress/wordpress-develop/pull/11159 + +* https://github.com/WordPress/gutenberg/pull/75739 diff --git a/lib/compat/wordpress-7.0/collaboration.php b/lib/compat/wordpress-7.0/collaboration.php index 4d123d51674ebe..402e54b5b680a6 100644 --- a/lib/compat/wordpress-7.0/collaboration.php +++ b/lib/compat/wordpress-7.0/collaboration.php @@ -112,7 +112,7 @@ function gutenberg_register_real_time_collaboration_setting() { 'type' => 'boolean', 'description' => __( 'Enable Real-Time Collaboration', 'gutenberg' ), 'sanitize_callback' => 'rest_sanitize_boolean', - 'default' => false, + 'default' => true, 'show_in_rest' => true, ) ); @@ -121,7 +121,7 @@ function gutenberg_register_real_time_collaboration_setting() { $option_name, __( 'Collaboration', 'gutenberg' ), function () use ( $option_name ) { - $option_value = get_option( $option_name ); + $option_value = get_option( $option_name, 1 ); ?>