- Timestamp:
- 03/19/2026 07:35:44 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-autosaves-controller.php
r61833 r62058 571 571 572 572 public function test_rest_autosave_draft_post_same_author() { 573 add_filter( 'pre_option_wp_ enable_real_time_collaboration', '__return_zero' ); // Zero as false doesn't work for pre-flight options.573 add_filter( 'pre_option_wp_collaboration_enabled', '__return_zero' ); // Zero as false doesn't work for pre-flight options. 574 574 575 575 wp_set_current_user( self::$editor_id ); … … 747 747 748 748 public function test_update_item_draft_page_with_parent() { 749 add_filter( 'pre_option_wp_ enable_real_time_collaboration', '__return_zero' ); // Zero as false doesn't work for pre-flight options.749 add_filter( 'pre_option_wp_collaboration_enabled', '__return_zero' ); // Zero as false doesn't work for pre-flight options. 750 750 751 751 wp_set_current_user( self::$editor_id ); … … 931 931 */ 932 932 public function test_rest_autosave_draft_post_same_author_with_rtc() { 933 add_filter( 'pre_option_wp_ enable_real_time_collaboration', '__return_true' );933 add_filter( 'pre_option_wp_collaboration_enabled', '__return_true' ); 934 934 935 935 wp_set_current_user( self::$editor_id ); … … 977 977 */ 978 978 public function test_update_item_draft_page_with_parent_with_rtc() { 979 add_filter( 'pre_option_wp_ enable_real_time_collaboration', '__return_true' );979 add_filter( 'pre_option_wp_collaboration_enabled', '__return_true' ); 980 980 981 981 wp_set_current_user( self::$editor_id );
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)