Skip to content

Commit 041a3c6

Browse files
committed
capture id
1 parent 4374b49 commit 041a3c6

File tree

1 file changed

+1
-0
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media

1 file changed

+1
-0
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-upgrade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ function ( $val ) use ( $media ) {
106106
// Remove extension.
107107
$path = pathinfo( $public_id );
108108
$public_id = strstr( $public_id, '.' . $path['extension'], true );
109+
$this->media->update_post_meta( $attachment_id, Sync::META_KEYS['public_id'], $public_id );
109110

110111
return $public_id;
111112
}

0 commit comments

Comments
 (0)