Why Nostr? What is Njump?
2024-01-10 12:11:59

Jan on Nostr: As of v2.0.0 of ActivityPub for WordPress, you can add this here code snippet to your ...

As of v2.0.0 of ActivityPub for WordPress, you can add this here code snippet to your WordPress site to stop it from silently accepting comment updates:add_action( 'activitypub_handled_update', function( $activity, $second_param, $state, $reaction ) {if ( $reaction instanceof \WP_Comment ) {wp_set_comment_status( $reaction, 'hold' );}}, 99, 4 );

That is, it won’t stop the comment from being updated, but it’ll require reapproval before it gets shown on your blog.

(I still don’t know what the second argument does exactly.) 🤣

https://jan.boddez.net/notes/130b3fcf6c
Author Public Key
npub10sf8vjxxz2h5c4y9p9vdprrpje86qkulr359fms42dm6gkvf23wqpg73uw