Make WordPress Core


Ignore:
Timestamp:
02/24/2026 02:28:33 AM (6 weeks ago)
Author:
peterwilsoncc
Message:

Editor: Add wp_ prefix real time collaboration option.

Renames the option enable_real_time_collaboration to wp_enable_real_time_collaboration to include the prefix as has been the practice for new options since WordPress 5.8.0.

Props peterwilsoncc, mukesh27, parthvataliya, czarate.
See #64622.

File:
1 edited

Legend:

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

    r61689 r61722  
    431431
    432432    // Collaboration.
    433     if ( get_option( 'enable_real_time_collaboration' ) ) {
     433    if ( get_option( 'wp_enable_real_time_collaboration' ) ) {
    434434        $sync_storage = new WP_Sync_Post_Meta_Storage();
    435435        $sync_server  = new WP_HTTP_Polling_Sync_Server( $sync_storage );
Note: See TracChangeset for help on using the changeset viewer.