Timeline for Validate Uploaded Image using WordPress' Built-in Functions?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 12, 2014 at 1:06 | answer | added | Tom J Nowell♦ | timeline score: 3 | |
Dec 12, 2014 at 0:58 | comment | added | user1462 | The image is uploaded using BuddyPress, along with the BuddyPress XProfile Image Field plug-in. It just doesn't have any validation so users can upload whatever they want! | |
Dec 12, 2014 at 0:56 | comment | added | Tom J Nowell♦ | I'd recommend using the WordPress APIs for as much of it as possible. That way your using tried and tested code, maintained by people whose job it is to make it work | |
Dec 12, 2014 at 0:55 | comment | added | user1462 | Thanks for the reply. I'm not really familiar with it, nor am I a PHP developer. The only part I need is file validation. I have functionality in place to handle the image uploading, saving, etc. What do you recommend? | |
Dec 12, 2014 at 0:52 | comment | added | Tom J Nowell♦ |
Have you considered using media_handle_upload instead?
|
|
Dec 12, 2014 at 0:50 | history | edited | user1462 | CC BY-SA 3.0 |
edited body
|
Dec 12, 2014 at 0:44 | history | edited | user1462 | CC BY-SA 3.0 |
added 28 characters in body
|
Dec 12, 2014 at 0:38 | history | asked | user1462 | CC BY-SA 3.0 |