Make WordPress Core


Ignore:
Timestamp:
03/04/2026 08:04:35 PM (7 months ago)
Author:
ellatrix
Message:

Real-time collaboration: enable by default.

The option name is changed since the previous option name set a default value during database initialization. A default is no longer needed since the default is false.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/11159.

Fixes #64622.
Props czarate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/option.php

    r61722 r61828  
    28882888        register_setting(
    28892889                'writing',
    2890                 'wp_enable_real_time_collaboration',
     2890                'wp_disable_real_time_collaboration',
    28912891                array(
    28922892                        'type'              => 'boolean',
    2893                         'description'       => __( 'Enable Real-Time Collaboration' ),
     2893                        'description'       => __( 'Disable real-time collaboration' ),
    28942894                        'sanitize_callback' => 'rest_sanitize_boolean',
    28952895                        'default'           => false,
Note: See TracChangeset for help on using the changeset viewer.