Skip to content

Commit

Permalink
save as object
Browse files Browse the repository at this point in the history
  • Loading branch information
teamcrombie committed Jul 16, 2024
1 parent b404aa4 commit 9402192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/Ilove_Img_Wm_Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function watermark( $images_id ) {

$images_restore = array_unique( $images_restore );

update_option( 'iloveimg_images_to_restore', wp_json_encode( $images_restore ) );
update_option( 'iloveimg_images_to_restore', wp_json_encode( $images_restore, JSON_FORCE_OBJECT ) );
}

foreach ( $_sizes as $_size ) {
Expand Down

0 comments on commit 9402192

Please sign in to comment.