- Timestamp:
- 03/04/2026 08:04:35 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
r61722 r61828 255 255 * document, which can lead to duplicate inserts or deletions. 256 256 */ 257 $is_collaboration_ enabled = get_option( 'wp_enable_real_time_collaboration');258 259 if ( $is_draft && (int) $post->post_author === $user_id && ! $post_lock && ! $is_collaboration_enabled ) {257 $is_collaboration_disabled = boolval( get_option( 'wp_disable_real_time_collaboration' ) ); 258 259 if ( $is_draft && (int) $post->post_author === $user_id && ! $post_lock && $is_collaboration_disabled ) { 260 260 /* 261 261 * Draft posts for the same author: autosaving updates the post and does not create a revision.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)