| @@ -34,12 +34,8 @@ | ||
| 34 | 34 | 'image_licence' => [ |
| 35 | 35 | 'id' => 'isc_image_licence', |
| 36 | 36 | 'default' => '', |
| 37 | 37 | ], |
| 38 | - 'ai_label' => [ | |
| 39 | - 'id' => 'isc_ai_label', | |
| 40 | - 'default' => '', | |
| 41 | - ], | |
| 42 | 38 | ]; |
| 43 | 39 | |
| 44 | 40 | /** |
| 45 | 41 | * Allowed image file types/extensions |
| @@ -178,9 +174,9 @@ | ||
| 178 | 174 | */ |
| 179 | 175 | public function maybe_update_attachment_post_meta( $meta_id, $object_id, $meta_key ) { |
| 180 | 176 | _deprecated_function( __METHOD__, '3.0.0', 'ISC\Image_Sources\Image_Sources::maybe_update_attachment_post_meta' ); |
| 181 | 177 | |
| 182 | - if ( in_array( $meta_key, [ 'isc_image_source_own', 'isc_image_source', ISC\Image_Sources\Ai_Labels::META_KEY ], true ) ) { | |
| 178 | + if ( in_array( $meta_key, [ 'isc_image_source_own', 'isc_image_source' ], true ) ) { | |
| 183 | 179 | ISC_Model::update_missing_sources_transient(); |
| 184 | 180 | } |
| 185 | 181 | } |
| 186 | 182 | |