Skip to content

Commit ed150d2

Browse files
committed
simplify logic
1 parent 9b4f95b commit ed150d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inc/traits/dam_offload_utils.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

33
trait Optml_Dam_Offload_Utils {
4+
use Optml_Normalizer;
5+
46
/**
57
* Checks that the attachment is a DAM image.
68
*
@@ -158,7 +160,6 @@ private function is_attachment_edit_page( $attachment_id ) {
158160
*/
159161
private function get_altered_metadata_for_remote_images( $metadata, $id ) {
160162

161-
162163
$post = get_post( $id );
163164

164165
$sizes_meta = [];

0 commit comments

Comments
 (0)