Skip to content

Commit 43582a7

Browse files
committed
fix tests!
1 parent b3a0ba4 commit 43582a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/scheduler/class-post.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static function schedule_post_activity( $post_id, $post, $update, $post_b
8080
}
8181

8282
// If the post was not federated before but is an Update activity, it should be a Create activity.
83-
if ( get_wp_object_state( $post ) === 'federated' && 'Update' === $type ) {
83+
if ( get_wp_object_state( $post ) !== 'federated' && 'Update' === $type ) {
8484
$type = 'Create';
8585
}
8686

0 commit comments

Comments
 (0)