Skip to content

Commit

Permalink
fix: return void, not $valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed May 3, 2024
1 parent c97dfdd commit e7aef87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Admin/Acf/ImageAltTextValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function checkAttachedImagesAltTexts($valid, $value, $field, $name) {

//Not a post action
if (empty($postData) || !is_array($postData)) {
return $valid;
return;
}

//Featured image
Expand Down

0 comments on commit e7aef87

Please sign in to comment.