PluginProbe
ActivityPub / 3.2.2
ActivityPub v3.2.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/handler/class-create.php +1 -1 2.1.13.2.2 View file →
@@ -60,9 +60,9 @@
60 60
61 61 $state = Interactions::add_comment( $array );
62 62 $reaction = null;
63 63
64 - if ( $state && ! \is_wp_error( $reaction ) ) {
64 + if ( $state && ! \is_wp_error( $state ) ) {
65 65 $reaction = \get_comment( $state );
66 66 }
67 67
68 68 \do_action( 'activitypub_handled_create', $array, $user_id, $state, $reaction );