- Timestamp:
- 03/20/2026 03:25:02 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
r62058 r62075 255 255 * document, which can lead to duplicate inserts or deletions. 256 256 */ 257 $is_collaboration_enabled = (bool) get_option( 'wp_collaboration_enabled');257 $is_collaboration_enabled = wp_is_collaboration_enabled(); 258 258 259 259 if ( $is_draft && (int) $post->post_author === $user_id && ! $post_lock && ! $is_collaboration_enabled ) {
Note: See TracChangeset
for help on using the changeset viewer.