Make WordPress Core


Ignore:
Timestamp:
03/04/2026 08:04:35 PM (6 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/post.php

    r61789 r61828  
    658658        );
    659659
    660         if ( get_option( 'wp_enable_real_time_collaboration' ) ) {
     660        if ( ! boolval( get_option( 'wp_disable_real_time_collaboration' ) ) ) {
    661661                register_post_type(
    662662                        'wp_sync_storage',
     
    86728672        );
    86738673
    8674         if ( get_option( 'wp_enable_real_time_collaboration' ) ) {
     8674        if ( ! boolval( get_option( 'wp_disable_real_time_collaboration' ) ) ) {
    86758675                register_meta(
    86768676                        'post',
Note: See TracChangeset for help on using the changeset viewer.