Make WordPress Core


Ignore:
Timestamp:
02/24/2026 02:28:33 AM (3 months 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/tests/phpunit/tests/rest-api/rest-sync-server.php

    r61689 r61722  
    1515
    1616    public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
    17         update_option( 'enable_real_time_collaboration', true );
     17        update_option( 'wp_enable_real_time_collaboration', true );
    1818
    1919        self::$editor_id     = $factory->user->create( array( 'role' => 'editor' ) );
     
    2626        self::delete_user( self::$subscriber_id );
    2727        wp_delete_post( self::$post_id, true );
    28         delete_option( 'enable_real_time_collaboration' );
     28        delete_option( 'wp_enable_real_time_collaboration' );
    2929    }
    3030
Note: See TracChangeset for help on using the changeset viewer.