Skip to content

Commit b4aaec6

Browse files
authored
Merge pull request #67 from circuscode/develop
Disable Threaded Comments Check
2 parents 33f6000 + 4752903 commit b4aaec6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Following standard features of the WordPress Core are manipulated or extended.
9393
### Site Health
9494

9595
* Disable Persistent Object Cache Test
96+
* Disable Threaded Comments Check (Activity Pub)
9697

9798
### Update
9899

@@ -216,6 +217,7 @@ Release pending.
216217
* Added: Block Editor Support Custom Post Type Raketenstaub
217218
* Added: Fade Out UpdraftPlus Upgrade Message
218219
* Added: CPT in Activity Widget
220+
* Added: Disable Threaded Comments Test (ActivityPub/Site Health)
219221
* Changed: Maintenance Mode Internal Processing
220222
* Changed: Depreciated TSF Filters replaced with the_seo_framework_meta_render_data
221223
* Removed: Adding Current Menu Item

unmus_sitehealth.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,16 @@
1818

1919
add_filter('site_status_should_suggest_persistent_object_cache', '__return_false');
2020

21+
/**
22+
* Disable Threaded Comments Check @ Activity Pub
23+
*
24+
* @since 0.8
25+
*/
26+
27+
function unmus_activitypub_threaded_comments_check( $tests ) {
28+
unset( $tests['direct']['activitypub_test_threaded_comments'] );
29+
return $tests;
30+
}
31+
add_filter( 'site_status_tests', 'unmus_activitypub_threaded_comments_check',100 );
2132

2233
?>

0 commit comments

Comments
 (0)