We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3a0ba4 commit 43582a7Copy full SHA for 43582a7
includes/scheduler/class-post.php
@@ -80,7 +80,7 @@ public static function schedule_post_activity( $post_id, $post, $update, $post_b
80
}
81
82
// 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 ) {
+ if ( get_wp_object_state( $post ) !== 'federated' && 'Update' === $type ) {
84
$type = 'Create';
85
86
0 commit comments