You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/test-term-sync.php
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -539,6 +539,44 @@ public function test_post_trash_to_publish_creates_term_and_restores_relationshi
539
539
$this->assertEquals( array( $term->slug ), $associated_terms, 'Existing shadow term relationships should be restored when its connected post is moved from trash to publish.' );
540
540
}
541
541
542
+
/**
543
+
* A published post without a shadow term should have one created on update.
0 commit comments