Make WordPress Core

Changeset 61702


Ignore:
Timestamp:
02/20/2026 09:06:52 AM (6 weeks ago)
Author:
ellatrix
Message:

Real-time collaboration: change to opt-in.

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

Props czarate.
Fixes #64622.

Location:
trunk
Files:
3 edited

Legend:

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

    r61689 r61702  
    566566
    567567        // 7.0.0
    568         'enable_real_time_collaboration'  => 1,
     568        'enable_real_time_collaboration'  => 0,
    569569    );
    570570
  • trunk/src/wp-includes/option.php

    r61690 r61702  
    28932893            'description'       => __( 'Enable Real-Time Collaboration' ),
    28942894            'sanitize_callback' => 'rest_sanitize_boolean',
    2895             'default'           => true,
     2895            'default'           => false,
    28962896            'show_in_rest'      => true,
    28972897        )
  • trunk/tests/qunit/fixtures/wp-api-generated.js

    r61697 r61702  
    2121        "wp-site-health/v1",
    2222        "wp-block-editor/v1",
    23         "wp-abilities/v1",
    24         "wp-sync/v1"
     23        "wp-abilities/v1"
    2524    ],
    2625    "authentication": {
     
    1270012699                }
    1270112700            ]
    12702         },
    12703         "/wp-sync/v1": {
    12704             "namespace": "wp-sync/v1",
    12705             "methods": [
    12706                 "GET"
    12707             ],
    12708             "endpoints": [
    12709                 {
    12710                     "methods": [
    12711                         "GET"
    12712                     ],
    12713                     "args": {
    12714                         "namespace": {
    12715                             "default": "wp-sync/v1",
    12716                             "required": false
    12717                         },
    12718                         "context": {
    12719                             "default": "view",
    12720                             "required": false
    12721                         }
    12722                     }
    12723                 }
    12724             ],
    12725             "_links": {
    12726                 "self": [
    12727                     {
    12728                         "href": "http://example.org/index.php?rest_route=/wp-sync/v1"
    12729                     }
    12730                 ]
    12731             }
    12732         },
    12733         "/wp-sync/v1/updates": {
    12734             "namespace": "wp-sync/v1",
    12735             "methods": [
    12736                 "POST"
    12737             ],
    12738             "endpoints": [
    12739                 {
    12740                     "methods": [
    12741                         "POST"
    12742                     ],
    12743                     "args": {
    12744                         "rooms": {
    12745                             "items": {
    12746                                 "properties": {
    12747                                     "after": {
    12748                                         "minimum": 0,
    12749                                         "required": true,
    12750                                         "type": "integer"
    12751                                     },
    12752                                     "awareness": {
    12753                                         "required": true,
    12754                                         "type": "object"
    12755                                     },
    12756                                     "client_id": {
    12757                                         "minimum": 1,
    12758                                         "required": true,
    12759                                         "type": "integer"
    12760                                     },
    12761                                     "room": {
    12762                                         "required": true,
    12763                                         "type": "string",
    12764                                         "pattern": "^[^/]+/[^/:]+(?::\\S+)?$"
    12765                                     },
    12766                                     "updates": {
    12767                                         "items": {
    12768                                             "properties": {
    12769                                                 "data": {
    12770                                                     "type": "string",
    12771                                                     "required": true
    12772                                                 },
    12773                                                 "type": {
    12774                                                     "type": "string",
    12775                                                     "required": true,
    12776                                                     "enum": [
    12777                                                         "compaction",
    12778                                                         "sync_step1",
    12779                                                         "sync_step2",
    12780                                                         "update"
    12781                                                     ]
    12782                                                 }
    12783                                             },
    12784                                             "required": true,
    12785                                             "type": "object"
    12786                                         },
    12787                                         "minItems": 0,
    12788                                         "required": true,
    12789                                         "type": "array"
    12790                                     }
    12791                                 },
    12792                                 "type": "object"
    12793                             },
    12794                             "type": "array",
    12795                             "required": true
    12796                         }
    12797                     }
    12798                 }
    12799             ],
    12800             "_links": {
    12801                 "self": [
    12802                     {
    12803                         "href": "http://example.org/index.php?rest_route=/wp-sync/v1/updates"
    12804                     }
    12805                 ]
    12806             }
    1280712701        }
    1280812702    },
     
    1465914553    "default_category": 1,
    1466014554    "default_post_format": "0",
    14661     "enable_real_time_collaboration": true,
     14555    "enable_real_time_collaboration": false,
    1466214556    "posts_per_page": 10,
    1466314557    "show_on_front": "posts",
Note: See TracChangeset for help on using the changeset viewer.