| @@ -156,12 +156,12 @@ | ||
| 156 | 156 | $destination = WPO_WebP_Utils::get_destination_path($file_path); |
| 157 | 157 | if ($webp_tools_available && file_exists($destination)) { |
| 158 | 158 | if (is_multisite()) { |
| 159 | 159 | switch_to_blog($this->get_option('blog_id', 1)); |
| 160 | - update_post_meta($attachment_id, '_wpo-webp-conversion-complete', true); | |
| 160 | + update_post_meta($attachment_id, WPO_Webp_Convert_Image_Task::WEBP_CONVERSION_META_KEY, true); | |
| 161 | 161 | restore_current_blog(); |
| 162 | 162 | } else { |
| 163 | - update_post_meta($attachment_id, '_wpo-webp-conversion-complete', true); | |
| 163 | + update_post_meta($attachment_id, WPO_Webp_Convert_Image_Task::WEBP_CONVERSION_META_KEY, true); | |
| 164 | 164 | } |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | return $this->success; |