|
@@ -1111,10 +1111,8 @@ |
|
1111
|
1111
|
]; |
|
1112
|
1112
|
} |
|
1113
|
1113
|
|
|
1114
|
1114
|
public function ajax_ai_upload_image( $data ) { |
|
1115
|
|
- $this->verify_upload_permissions( $data ); |
|
1116
|
|
- |
|
1117
|
1115
|
if ( empty( $data['image'] ) ) { |
|
1118
|
1116
|
throw new \Exception( 'Missing image data' ); |
|
1119
|
1117
|
} |
|
1120
|
1118
|
|