does WP have a function to ensure an uploaded image is really an image?
-
I have a plugin and looking to make sure that any uploaded file is really an image.
I allow only .jpg or .jpeg, but understand many things can fake an image file.Has WP Core created some function(s) to make sure no fake/malicious, etc. pretend image file is uploaded?
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘does WP have a function to ensure an uploaded image is really an image?’ is closed to new replies.