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/src/wp-includes/post.php

    r61718 r61722  
    658658    );
    659659
    660     if ( get_option( 'enable_real_time_collaboration' ) ) {
     660    if ( get_option( 'wp_enable_real_time_collaboration' ) ) {
    661661        register_post_type(
    662662            'wp_sync_storage',
     
    86708670    );
    86718671
    8672     if ( get_option( 'enable_real_time_collaboration' ) ) {
     8672    if ( get_option( 'wp_enable_real_time_collaboration' ) ) {
    86738673        register_meta(
    86748674            'post',
Note: See TracChangeset for help on using the changeset viewer.