PluginProbe
ActivityPub / 9.2.1
ActivityPub v9.2.1
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 8.2.19.2.1 View file →
@@ -163,9 +163,9 @@
163 163 * @param int $outbox_id The ID of the outbox activity.
164 164 * @param \Activitypub\Activity\Activity $activity The Activity object.
165 165 */
166 166 public static function maybe_unbury( $outbox_id, $activity ) {
167 - if ( ! in_array( $activity->get_type(), array( 'Create', 'Update' ), true ) ) {
167 + if ( ! \in_array( $activity->get_type(), array( 'Create', 'Update' ), true ) ) {
168 168 return;
169 169 }
170 170
171 171 $object = $activity->get_object();