Skip to content

Commit

Permalink
Stop showing outdated field statuses for anything besides derivative …
Browse files Browse the repository at this point in the history
…drafts
  • Loading branch information
brandonkelly committed Feb 16, 2022
1 parent 4ccf97b commit 48f91f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -3741,7 +3741,7 @@ public function isFieldModified(string $fieldHandle, bool $anySite = false): boo
*/
private function _outdatedFields(): array
{
if (!static::trackChanges() || $this->getIsCanonical()) {
if (!static::trackChanges() || !$this->getIsDraft() || $this->getIsCanonical()) {
return [];
}

Expand Down

0 comments on commit 48f91f7

Please sign in to comment.